Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: all http streams are classified as radio
#1
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.
Reply
#2
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.
----------------
Robert
Reply
#3
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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
(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
Reply


Forum Jump: