2013-02-04, 22:33
Hi Exobuzz
First, THANK YOU for this superb plugin. Living as an expat in the US where TV is unbelievably awful, access to the Beeb is the only thing keeping me sane !
Second; I've got a couple of suggestions to make the plugin more user friendly:
I've found it quite difficult to work out which episode is which by date as the plugin sorts by name rather than the aired date. So I've made some changes:
- In "def list_feed_listings" after "programmes = sort_by_attr(programmes, 'title')" add:
programmes = sort_by_attr(programmes, 'updated')
Also change "xbmcplugin.addSortMethod(handle=__plugin_handle__, sortMethod=xbmcplugin.SORT_METHOD_LABEL)" to
xbmcplugin.addSortMethod(handle=__plugin_handle__, sortMethod=xbmcplugin.SORT_METHOD_NONE)
- In "def add_programme" after "date=datestr" add:
date2=datestr[:4] + '-' + datestr[5:7] + '-' + datestr[8:10]
- In "def add_prgramme" at top, add:
xbmc.executebuiltin('Container.SetViewMode(504)')
- In the following "listitem.setInfo" add:
'Premiered' : date2,
'Episode' : tracknumber + 1
The effect of these changes is to sort the programmes by aired date, put the programme view mode into "Mode Info" and fill-in the "Aired" and "Episode" labels. Now when you scroll through the programmes you see them in the date broadcast order and this information shows on the right-hand side.
Cheers !
D
First, THANK YOU for this superb plugin. Living as an expat in the US where TV is unbelievably awful, access to the Beeb is the only thing keeping me sane !
Second; I've got a couple of suggestions to make the plugin more user friendly:
I've found it quite difficult to work out which episode is which by date as the plugin sorts by name rather than the aired date. So I've made some changes:
- In "def list_feed_listings" after "programmes = sort_by_attr(programmes, 'title')" add:
programmes = sort_by_attr(programmes, 'updated')
Also change "xbmcplugin.addSortMethod(handle=__plugin_handle__, sortMethod=xbmcplugin.SORT_METHOD_LABEL)" to
xbmcplugin.addSortMethod(handle=__plugin_handle__, sortMethod=xbmcplugin.SORT_METHOD_NONE)
- In "def add_programme" after "date=datestr" add:
date2=datestr[:4] + '-' + datestr[5:7] + '-' + datestr[8:10]
- In "def add_prgramme" at top, add:
xbmc.executebuiltin('Container.SetViewMode(504)')
- In the following "listitem.setInfo" add:
'Premiered' : date2,
'Episode' : tracknumber + 1
The effect of these changes is to sort the programmes by aired date, put the programme view mode into "Mode Info" and fill-in the "Aired" and "Episode" labels. Now when you scroll through the programmes you see them in the date broadcast order and this information shows on the right-hand side.
Cheers !
D