garym999;544927 Wrote:
> There a couple of stations that I regualy timeshift by using the listen
> again feature of the wonderful iPlayer (Thanks Triode!)
>
> I'd like to save these as a favorite or preset but when I do this is
> saves the full link, which makes sense, but of course that link changes
> with the next edition of the show. Is there a way around this?
You probably can but its quite involved and requires edditing of the
menu.opml file which is part of the Iplayer plugin. You can add menu
entries which are the main listing for a channel filtered by some
criteria - for instance you will see the Radio4 FM listing is:
Code:
--------------------
<outline text="BBC Radio 4 FM"
URL="http://www.bbc.co.uk/radio/aod/availability/radio4.xml?fm"
icon="http://www.bbc.co.uk/iplayer/img/radio/bbc_radio_four.gif"
parser="Plugins::BBCiPlayer::BBCXMLParser?byday&bykey&reversedays&reverse&filter:service=fm"
/>
--------------------
Which is the full radio4 listing, filtered by service=fm, to exclude
all the LW programmes which the bbc usefully put in the same xml feed.
To create a menu for a specific program on within a specific channel
you could try:
Code:
--------------------
<outline text="BBC Radio 4 FM"
URL="http://www.bbc.co.uk/radio/aod/availability/radio4.xml?today"
icon="http://www.bbc.co.uk/iplayer/img/radio/bbc_radio_four.gif"
parser="Plugins::BBCiPlayer::BBCXMLParser?filter:title=Today" />
--------------------
Note the server caches the parsed list so if you are playing with this
then you need to empty Cache/FileCache each time. Also note the param
on the end of the availability url is a dummy one to ensure this menu
is not cached in place of the main radio4 one.
Once you have a menu which does what you want you should be able to
turn this into a favorite from the web interface. (not sure if this
still works)
The params on the end of the parser definition define how it parses the
list and you can have multiple ones separated by & Other than
filter, they mainly describe which types of menus to build. (you will
end up reading the perl code if you get to this point!)
--
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=53229
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins