Hi - A little patch to see duration & progress on the UI
Code:
--------------------
diff -r plugin.pm
1205a1206,1207
> $song->duration( $info->{duration} );
> $song->startOffset( -$client->songElapsedSeconds );
--------------------
There is probably better to do, especially starting from where the track
currently is instead of since there is a delay between the actual
position and the time when it's scraped from the Radio France website. I
juts don't know enough about the plugin to find that information
LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106900
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins