Moode Forum
[PROBLEM] all http streams are classified as radio - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [PROBLEM] all http streams are classified as radio (/showthread.php?tid=7767)



all http streams are classified as radio - lachaln-00 - 05-28-2025

Hi,

I've finally realised what the issue is that i've been having for ages.

I have music streaming over http links with direct links to songs through MPD. (eg https://music/play.php?song=1&name=etc)

When playing in moode it will keep trying to hit the stream repeatedly over and over even though the stream should be completed after 2/3 seconds.

So a 4 minute song will easily have over 500 requests on the URL when at most it should request, hit http 416 (no more data to stream) and then stop requesting until the next song.

Moode looks to be treating every http stream as a continuous radio stream and i can' see a way to make it be treated as a media file instead.

is there a way to stop this happening? i'm not sure how the player works but i tested in volumio and didn't get the same requests watching my web server

Calling the http stream affects things like server load / data and playback history and other things i'd like to avoid.


RE: all http streams are classified as radio - the_bertrum - 05-29-2025

I might be missing something here.
There is a way to get moOde to treat tracks like tracks, and it's called th library. Play tracks from there rather than streaming them, and they play like tracks rather than a stream.


RE: all http streams are classified as radio - Tim Curtis - 05-29-2025

It sounds like your particular usage scenario is not going to work with moode but in any case when you instruct moode to play something it just adds the URI to the MPD queue and then sends MPD the 'play' command.

Maybe try looking at the MPD log with verbose logging on to see how it's handling those http URI's.


RE: all http streams are classified as radio - lachaln-00 - 05-31-2025

(05-29-2025, 10:32 AM)Tim Curtis Wrote: It sounds like your particular usage scenario is not going to work with moode but in any case when you instruct moode to play something it just adds the URI to the MPD queue and then sends MPD the 'play' command.

Maybe try looking at the MPD log with verbose logging on to see how it's handling those http URI's.

That's a good point the Uri and mpd might need something else. I'll check that logging as it doesn't seem to be a fully moode problem