philchillbill wrote:
> Well I can pull the station name out of any of the JSON parameters as
> long as things are consistent. It does not -have- to specifically be
> remote_title. In the returned -playlist_loop-, paramaters such as title,
> artist and album should be self-explanatory but reality is that album
> often gets hijacked for e.g. a programme description. It's immaterial to
> me where I pluck the data from as long as it's consistent...
As mentioned, BBC Sounds streams (live radio and audio-on-demand) have a
duration and populate the album tag, so remote_title is never presented
by LMS for BBC Sounds streams.
I think for specific types of continuous remote streams it does show the
radio station name in remote_title. So what you are doing is probably
correct. If remote_title is not there, the answer is probably plugin or
stream specific, which is probably not a route you want to go down to
solve your problem. I think probably the best thing to do is not say
the 'on..' bit if remote_title is not there. We are probably in the
wrong thread for this discussion.
Stuart McLean
EXPECTINGTOFLY PLUGINS :
- *BBC Sounds* :
https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin
- *Virgin Radio (UK)* :
https://github.com/expectingtofly/LMS_Virgin_Radio_Plugin
- *Times Radio* :
https://github.com/expectingtofly/LMS_TIMES_RADIO_PLUGIN
- *Global Player (UK)* :
https://github.com/expectingtofly/LMS_GlobalPlayer_Plugin
For BBC Sounds help see the 'BBC Sounds Wiki'
(https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin/wiki).
------------------------------------------------------------------------
expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=113045
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins