2014-08-21, 20:14
(2014-08-21, 19:32)ronie Wrote: that's yet another problem, to xbmc a stream is just 1 endless song.
there are no 'song ends' / 'new song has started' notifications on which cu lrc depends.
Never considered that problem !!
It would be nice to have it work on a live stream (I stream radio 6-8 hrs each day) but I can live without having the lyrics.
As a serious question though, and bearing in mind I know little python programming (although when reading someones code I can usually follow what it does), would it not be possible to use a similar method to the fanart script ?
ie if its a live stream then call json and if the artist - song is the same then do nothing, if one is different then (possible user set delay here) do the lyric lookup, else if its not a live stream just do what it does now?
I don't know whether this would be a viable method or not, nor indeed how much extra coding/re-writing this might involve, but I am keen to master python and would appreciate your thoughts.
Cheers.