Beta 0.0.15c now available.

I've taken a different approach this time*.
It does track the real start-time a bit better but is still in advance -
sometimes 20 seconds or so.
But that is better than the 2 minutes I was seeing with their "official"
data.
They are currently in fund-drive mode so there are a few jingles that
they drop in that are asking for donations - so this might also have an
effect on the underlying data.

The album art comes from the same place as their streaming provider
drops into their player.
This is called with artist & track - and it returns the artwork along
with a lot of other info (a bit like MAI).
I use the album name from there - because it matches the artwork - but
it is not necessarily the correct album name because they find one for
the track but it might have appeared in a few different albums and they
picked the wrong one. I have seen different album names in the station's
own data for a few but never mind ... it is usually OK. It is really
annoys you then you can turn off the presentation of album names for the
whole plugin.

One thing that adding this station has done has enhanced the way that I
collect additional track information.
This approach also means that I am now in a position to add artwork to
more stations - even where the station itself does not have any.

*I am now using the stream ICY data rather than the JSON data that their
web site uses.
This means that I do not have access to the broadcaster's richer field
set including Start-time and Duration.
It was the start-time being so far in advance, and by a variable amount,
of the stream that was causing the earlier problem with
synchronisation.
It also means that I do not know the album name that the broadcaster
claims it is from.
Without the start-time and duration I cannot use the "stream offset"
capability in the browser to show data a bit later than scheduled.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin, allzic radio, caroline
flashback, cesky rozhlas, frequence3, jukeradio, klassikradio.de, linn
radio, mother earth, naim radio, nova.fr, radioblues flac, radio espace,
radio swiss, rte ireland, somehow jazz, supla finland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=115201

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

Reply via email to