Thank you for your donation!


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


Limit the MPD input buffer to less than the available memory.
#1
An essential feature to prevent idiots like me from having to debug why their player stopped responding halfway through an album.

Turns out a Pi3A+ with an input buffer of 512 completely locks up and emits random cheeps every so often as the system gets totally starved of memory.
So if the input cache selection could only show values less than say 75% of the available memory that would protect me from my own stupidity Smile
----------------
Robert
Reply
#2
That would take all the DIY fun out it ;-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
I've done some stupid things with my installation over the years, but this one has to be the stupidest Smile
----------------
Robert
Reply
#4
lol.
Was the MPD input cache ever fully developed? When I last looked at it a long while back it was still a WIP with a couple of devs contributing fixes and improvements. I think it sort of works if you allocate enough RAM.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(05-15-2024, 10:28 AM)Tim Curtis Wrote: lol.
Was the MPD input cache ever fully developed? When I last looked at it a long while back it was still a WIP with a couple of devs contributing fixes and improvements. I think it sort of works if you allocate enough RAM.

It does work in that it will get the whole of a track into memory at track change rather than get it in chunks as needed throughout the playback.  I rather expected it to get as many tracks as it could until the allotted cache was full.
Either way, I'm not sure it confers much benefit, but I think it just "feels better" to get a whole track in one hit.
----------------
Robert
Reply
#6
(05-15-2024, 01:01 PM)the_bertrum Wrote: It does work in that it will get the whole of a track into memory at track change rather than get it in chunks as needed throughout the playback.

How does it behave when you have a whole rip in one flac and the tracks are just delimited with a CUE sheet?
Does it load the single FLAC chunk defining the track, or ill it attempt to load the whole FLAC at once?
Reply
#7
(05-15-2024, 01:16 PM)Nutul Wrote:
(05-15-2024, 01:01 PM)the_bertrum Wrote: It does work in that it will get the whole of a track into memory at track change rather than get it in chunks as needed throughout the playback.

How does it behave when you have a whole rip in one flac and the tracks are just delimited with a CUE sheet?
Does it load the single FLAC chunk defining the track, or ill it attempt to load the whole FLAC at once?

No idea, but I suspect it works on files so it would be the entire FLAC file.  I don't have any suitable files to try it with.
----------------
Robert
Reply


Forum Jump: