expectingtofly wrote: 
> It's a bit of a convoluted answer to that.  This has caught me out a
> couple of times.
> I get the duration of a track as a minutes in text e.g "00:04:00" from
> the Virgin API.  I use a simple convenient trick to convert that into
> seconds using perl function that will convert a date/time string into
> the number of seconds since 01/01/1970.  For a simple "00:04:00" without
> the date that should just give me the straight seconds.   That usually
> works,  but some operating systems remember that there was no GMT time
> in 1970 !  They were experimenting with british summer time all year
> round !!!
> 
> So actually your Raspbian Operating System is right,  your windows 10 is
> wrong and so was my picoreplayer installation!
> 
> Anyway, sorry that was probably a more indepth answer than you were
> expecting.  
> The lesson I learnt was to stop being a bit lazy and stop using that
> trick to calculate seconds from a time string.

Interesting. When that BST experiment took place they gave us school
kids a fluorescent sash to wear when walking to school in the mornings
[emoji3]. So if you had produced this plugin a couple of months later we
wouldn't have found the issue until the clocks went back.

Sent from my Pixel 3a using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113974

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to