ian_heys wrote: 
> If someone could give me a template for writing them in the menu.opml
> (Say Using Live Event No 001  with a New Section for Live Events) I
> would be happy to copy and paste the remaining twenty or so and publish
> here.

Not clear whether you want high or low quality or UK and non UK - these
are the decisions before create a menu - otherwise you'll have dozens of
entries for same event.

Have a look at the dffierences between the alterntive supplied menu.opml
file such as national-non-uk-menu.opml and national-uk-menu.opml

Structure of menu.opml is same as all LMS opml with standard parameter
such as name, url, type and icon.  The BBCiPlayer special URL type is
iplayer:// and this is used to pass to BBCiPlayer plugin alternative
URLs for a station/program

Example of OPML outline element

Code:
--------------------
    
                <outline text="BBC Radio 1" type="audio"  
icon="http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_one/600x600.png";
                                 
URL="iplayer://live?hls=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_one.m3u8&amp;dash=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/nonuk/dash_low/ak/bbc_radio_one.mpd&amp;icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_one/600x600.png&amp;radiovis=fm/ce1/c201/09880&amp;onair=bbc_radio_one";
 />
  
--------------------


A full iPlayer is URL is shown in red.  It follows normal URL layout
with protocol desigrator preceding "//:" and parameters after location
with an initial "?" and separate by "&".  The "&" in a URL has to be
escaped in OPML file using "&amp;"

It starts with iplayer://live? for Live streams or  iplayer://aod? for
On-demand
Next the URls for the stream this is in the form of a "hls=" for HLS
stream and "dash=" for SASH stream.  The special handling of MP3 live
streams etc is not detailed here.

>From the above example HLS URL is shown below. 
In the URL the "nonuk" determines a non UK stream. "ak" is the CDN. 
Quality is determined by the "sbr_low"
hls=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_one.m3u8

>From the above example dash URL is shown below. 
In the URL the "nonuk" determines a non UK stream. "ak" is the CDN.  
dash=http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/nonuk/dash_low/ak/bbc_radio_one.mpd

The icon displayed when playing is the "icon=" as part of BNBCViP{;layer
URL and not the icon in the opml outline element
icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_one/600x600.png

Radiovis is a BBC expeirmential service and can be ignored for event -
don't bothe including the parameter.
radiovis=fm/ce1/c201/09880&amp;onair=bbc_radio_one


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=104672

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

Reply via email to