so, reading your comments it seems to me that if you don't really want
to have the players always there as they cannot be started from LMS,
then using the stream.mp3 url and controlling flow right in Perl might
be the fastest option. 

I think the regulation can happen in a player class that calls
Slim::Player::Source::nextChunk. That method is called by
Slim::Player::Client which is the base class of all players. I probably
can create a new player class (if we want thing to be isolated from core
LMS).

But to start with, if you can run LMS from the Perl source that would be
easier. I would then simply add an option to the URI like
http://<lms>:9000/stream.mp3&throttle and put throttling directly inside
LMS to see if it works for you



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to