I've just discovered the iplayer plugin is failing to list tv shows. For instance if you select "highlights" or "most popular" it errors with this in the logs.
I'm suspecting "No service found for URL" means it doesn't know what to do with the episode data it retrieves. However my logs have rotated and I don't have logs to compare it against when it was working. Iplayer is working like normal in other situations for me.
Interestingly live TV is fine (log exert at the bottom, showing it "finds" a matching service for the URLs).
Updated both the plugin (git commit ba843b7) & plex (1.5.5.3634) but no luck.
What might be causing the plugin to not find a service for the url?
Thanks.
2017-04-23 18:54:09,144 (7fc573fff700) : DEBUG (runtime:717) - Handling request GET /video/iplayer/highlights?url=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer&title=Highlights
2017-04-23 18:54:09,145 (7fc573fff700) : DEBUG (runtime:814) - Found route matching /video/iplayer/highlights
2017-04-23 18:54:09,146 (7fc573fff700) : DEBUG (networking:161) - Fetching 'http://www.bbc.co.uk/iplayer' from the HTTP cache
2017-04-23 18:54:09,224 (7fc573fff700) : DEBUG (services:603) - No service found for URL 'http://www.bbc.co.uk/iplayer/episode/b08nwx5r/line-of-duty-series-4-episode-5'
2017-04-23 18:54:09,224 (7fc573fff700) : DEBUG (services:618) - No matching services found for 'http://www.bbc.co.uk/iplayer/episode/b08nwx5r/line-of-duty-series-4-episode-5'
2017-04-23 18:54:09,224 (7fc573fff700) : INFO (services:707) - No normalization function found for URL 'http://www.bbc.co.uk/iplayer/episode/b08nwx5r/line-of-duty-series-4-episode-5'
2017-04-23 18:54:09,225 (7fc573fff700) : DEBUG (services:603) - No service found for URL 'http://www.bbc.co.uk/iplayer/episode/b08nwx5r/line-of-duty-series-4-episode-5'
2017-04-23 18:54:09,225 (7fc573fff700) : CRITICAL (runtime:970) - Exception when constructing response (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 951, in construct_response
el = result._to_xml()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/objectkit.py", line 667, in _to_xml
el = Framework.modelling.objects.ModelInterfaceObjectContainer._to_xml(self)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 382, in _to_xml
root = Container._to_xml(self)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 139, in _to_xml
self._append_children(root, self._objects)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 145, in _append_children
el = obj._to_xml()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/objectkit.py", line 580, in _to_xml
if self._core.services.function_in_service_is_deferred(Framework.components.services.MEDIA_OBJECTS_FUNCTION_NAME, service):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 557, in function_in_service_is_deferred
service.sandbox.context.import_values(values)
AttributeError: 'NoneType' object has no attribute 'sandbox'
2017-04-23 18:54:09,225 (7fc573fff700) : DEBUG (runtime:1027) - Unable to handle response type: <class 'Framework.modelling.objects.MediaContainer'>
2017-04-23 18:54:09,225 (7fc573fff700) : DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-04-23 18:54:09,225 (7fc573fff700) : DEBUG (runtime:924) - Response: [500] MediaContainer, 0 bytes
And there's an example from live channels (which works):
2017-04-23 19:00:56,874 (7fc573fff700) : DEBUG (runtime:717) - Handling request GET /video/iplayer/live?title=Live+TV
2017-04-23 19:00:56,875 (7fc573fff700) : DEBUG (runtime:814) - Found route matching /video/iplayer/live
2017-04-23 19:00:56,875 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcone' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:56,876 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcone' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:56,877 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbcone'
2017-04-23 19:00:57,355 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbctwo' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:57,356 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbctwo' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:57,358 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbctwo'
2017-04-23 19:00:57,807 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcthree' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:57,807 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcthree' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:57,808 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbcthree'
2017-04-23 19:00:58,251 (7fc573fff700) : CRITICAL (services:745) - Exception calling function in URL service "BBC iPlayer Live" (com.plexapp.plugins.iplayer)
2017-04-23 19:00:58,251 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcfour' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:58,252 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcfour' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:58,253 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbcfour'
2017-04-23 19:00:58,700 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/cbbc' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:58,701 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/cbbc' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:58,702 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/cbbc'
2017-04-23 19:00:59,159 (7fc573fff700) : CRITICAL (services:745) - Exception calling function in URL service "BBC iPlayer Live" (com.plexapp.plugins.iplayer)
2017-04-23 19:00:59,160 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/cbeebies' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:59,161 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/cbeebies' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:59,162 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/cbeebies'
2017-04-23 19:00:59,607 (7fc573fff700) : CRITICAL (services:745) - Exception calling function in URL service "BBC iPlayer Live" (com.plexapp.plugins.iplayer)
2017-04-23 19:00:59,608 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcnews' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:59,608 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcnews' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:00:59,609 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbcnews'
2017-04-23 19:01:00,080 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcparliament' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:00,080 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcparliament' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:00,081 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbcparliament'
2017-04-23 19:01:01,066 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcalba' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:01,067 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcalba' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:01,069 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/bbcalba'
2017-04-23 19:01:01,559 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/s4c' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:01,559 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/s4c' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:01,560 (7fc573fff700) : DEBUG (networking:166) - Requesting 'http://www.bbc.co.uk/iplayer/live/s4c'
2017-04-23 19:01:02,012 (7fc573fff700) : CRITICAL (services:745) - Exception calling function in URL service "BBC iPlayer Live" (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,013 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcone' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,014 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbctwo' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,015 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcfour' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,016 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcnews' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,018 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcparliament' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,019 (7fc573fff700) : DEBUG (services:616) - Found a service matching 'http://www.bbc.co.uk/iplayer/live/bbcalba' - BBC iPlayer Live (com.plexapp.plugins.iplayer)
2017-04-23 19:01:02,020 (7fc573fff700) : DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-04-23 19:01:02,020 (7fc573fff700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 8380 bytes