Many thanks for all the work, however version 2.6.7 is now a *lot* slower when entering the catchup channels than 2.6.6 - for instance with a 1GHz Pi it now takes over 30 seconds before the listing is displayed after clicking the BBC One icon.
The extra time is spent processing the data, with the CPU maxed out at 100% for all of this time.
This is the debug log when selecting BBC One catchup with 2.6.7:
Code:
04:55:40 14527.781250 T:3041038336 DEBUG: LIRC: Update - NEW at 313195:160 0 KEY_OK_UP devinput (KEY_OK_UP)
04:55:41 14528.676758 T:2748314688 INFO: plugin.video.iplayer: Version: 2.6.7
04:55:41 14528.676758 T:2748314688 INFO: plugin.video.iplayer: Subtitles dir: /storage/.kodi/userdata/addon_data/plugin.video.iplayer/Subtitles
04:55:41 14528.680664 T:2748314688 INFO: plugin.video.iplayer: (<iplayer2.feed object at 0xa1d7c650>, 'list', None, None, None, None, None, None, None, None, None, None, None, None)
04:55:41 14528.681641 T:2748314688 INFO: plugin.video.iplayer: Read RSS: http://www.bbc.co.uk/iplayer/ion/listview/masterbrand/bbc_one/service_type/tv/format/xml
04:55:41 14528.681641 T:2748314688 INFO: plugin.video.iplayer: Feed URL not in cache, requesting...
04:55:41 14528.872070 T:2748314688 INFO: plugin.video.iplayer: URL Fetch took 0.18 sec for http://www.bbc.co.uk/iplayer/ion/listview/masterbrand/bbc_one/service_type/tv/format/xml
04:56:03 14550.994141 T:3041038336 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm.so)
04:56:03 14550.994141 T:3041038336 DEBUG: Unloading: /ImageLib-arm.so
04:56:09 14557.271484 T:2691691584 DEBUG: Thread JobWorker 2691691584 terminating (autodelete)
04:56:09 14557.272461 T:2758800448 DEBUG: Thread JobWorker 2758800448 terminating (autodelete)
04:56:09 14557.272461 T:2879386688 DEBUG: Thread JobWorker 2879386688 terminating (autodelete)
04:56:13 14560.515625 T:2748314688 INFO: plugin.video.iplayer: Found 337 entries
04:56:13 14560.833984 T:2862609472 DEBUG: WaitOnScriptResult- plugin returned successfully
04:56:13 14560.839844 T:2748314688 INFO: CPythonInvoker(12, /storage/.kodi/addons/plugin.video.iplayer/default.py): script successfully run
04:56:13 14560.862305 T:3041038336 DEBUG: Saving fileitems [plugin://plugin.video.iplayer/?feed_channel=bbc_one&listing=list]
04:56:13 14560.876953 T:3041038336 DEBUG: -- items: 114, sort method: 0, ascending: false
04:56:13 14560.879883 T:3041038336 INFO: MYSQL server has gone. Will try 4 more attempt(s) to reconnect.
04:56:13 14561.008789 T:2879386688 NOTICE: Thread BackgroundLoader start, auto delete: false
04:56:14 14561.509766 T:2879386688 DEBUG: Thread BackgroundLoader 2879386688 terminating
04:56:14 14561.517578 T:3041038336 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
04:56:14 14562.047852 T:2748314688 INFO: Python script stopped
04:56:14 14562.055664 T:2748314688 DEBUG: Thread LanguageInvoker 2748314688 terminating
It took 32 seconds to process 337 entries.
Navigating into pretty much any list, for example "Antiques Roadshow (5)" or "Alex Salmond - A Rebel's Journey (1)" both take another 30+ seconds each.
With 2.6.6, the same query/processing takes only 2 seconds - this is entering BBC One (catchup):
Code:
05:04:06 15033.764648 T:3040964608 DEBUG: LIRC: Update - NEW at 92607:160 0 KEY_OK_UP devinput (KEY_OK_UP)
05:04:07 15034.715820 T:2761294912 INFO: plugin.video.iplayer: Version: 2.6.6
05:04:07 15034.715820 T:2761294912 INFO: plugin.video.iplayer: Subtitles dir: /storage/.kodi/userdata/addon_data/plugin.video.iplayer/Subtitles
05:04:07 15034.719727 T:2761294912 INFO: plugin.video.iplayer: (<iplayer2.feed object at 0x4670a10>, 'list', None, None, None, None, None, None, None, None, None, None, None, None)
05:04:07 15034.720703 T:2761294912 INFO: plugin.video.iplayer: Read RSS: http://www.bbc.co.uk/iplayer/ion/listview/masterbrand/bbc_one/service_type/tv/format/xml
05:04:07 15034.720703 T:2761294912 INFO: plugin.video.iplayer: Feed URL not in cache, requesting...
05:04:07 15035.000000 T:2761294912 INFO: plugin.video.iplayer: URL Fetch took 0.27 sec for http://www.bbc.co.uk/iplayer/ion/listview/masterbrand/bbc_one/service_type/tv/format/xml
05:04:09 15036.833008 T:2761294912 INFO: plugin.video.iplayer: Found 337 entries
05:04:09 15037.173828 T:2705323072 DEBUG: WaitOnScriptResult- plugin returned successfully
05:04:09 15037.174805 T:2761294912 INFO: CPythonInvoker(10, /storage/.kodi/addons/plugin.video.iplayer/default.py): script successfully run
05:04:09 15037.216797 T:3040964608 DEBUG: Saving fileitems [plugin://plugin.video.iplayer/?feed_channel=bbc_one&listing=list]
05:04:09 15037.231445 T:3040964608 DEBUG: -- items: 114, sort method: 0, ascending: false
05:04:10 15037.355469 T:2751460416 NOTICE: Thread BackgroundLoader start, auto delete: false
05:04:10 15037.735352 T:2761294912 INFO: Python script stopped
It appears that a very significant XML inefficiency has been introduced with this latest version.