New to Plex but I have tried to research this problem I’ve encountered and am not sure how to proceed in debugging it. I am trying to develop a channel for foxbusiness.com and it turns out that foxnews.com, for which Plex has a channel for, is virtually identical. I’ve copied the FoxNews plugin and changed references for foxnews.com to foxbusiness.com. It seemed as if it were going to work and everything was loaded within the server, News Clips, Show Clips, clicking on those categories and then sub-categories, etc. Clicking on one of these should take you to videos but then you’re hit with the ‘This channel is not responding’ error. Looking into the logs reveals that the error that broke the process was:
No service found for URL ‘http://video.foxbusiness.com/v/4707153717001’
Putting this url into a browser shows it to be a valid url which started a video and some research on this error led me to entering this url to test directly: http://127.0.0.1:32400/system/services/url/lookup?url=http%3A%2F%2Fvideo.foxbusiness.com%2Fv%2F4707153717001
This returns nothing where it evidentally should return a xml MediaContainer structure. I’m just not sure how to proceed on debugging this although I suspect that it’s something simple that someone with more knowledge and experience developing channel plugins would recognize, so I’m hoping someone here can help me to resolve this.
The URLPatterns regex in the file was:
^http://video.foxbusiness.com(/#)?/v/[0-9]+.*
It seemed to me that it should be:
^http://video.foxbusiness.com/v/[0-9]+.*
so I changed it and restarted the server and now I don’t get the No service found in URL error but I am still getting This channel is not responding, manual entering url fails to return the MediaContainer structure and the logs produced this:
2016-01-17 15:02:07,938 (7fced4ff9700) : DEBUG (runtime:717) - Handling request GET /video/foxbusiness
2016-01-17 15:02:07,940 (7fced4ff9700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2016-01-17 15:02:07,944 (7fced4ff9700) : DEBUG (runtime:814) - Found route matching /video/foxbusiness
2016-01-17 15:02:07,946 (7fced4ff9700) : DEBUG (base:117) - Checking if com.plexapp.plugins.foxbusiness is broken
2016-01-17 15:02:07,948 (7fced4ff9700) : DEBUG (networking:166) - Requesting ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzEKY29tLnBsZXhhcHAucGx1Z2lucy5mb3hidXNpbmVzc3MxMAppZGVudGlmaWVycjAK’
2016-01-17 15:02:07,973 (7fced4ff9700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2016-01-17 15:02:07,974 (7fced4ff9700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 710 bytes
2016-01-17 15:02:10,294 (7fced4ff9700) : DEBUG (runtime:717) - Handling request GET /video/foxbusiness
2016-01-17 15:02:10,297 (7fced4ff9700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2016-01-17 15:02:10,301 (7fced4ff9700) : DEBUG (runtime:814) - Found route matching /video/foxbusiness
2016-01-17 15:02:10,303 (7fced4ff9700) : DEBUG (base:117) - Checking if com.plexapp.plugins.foxbusiness is broken
2016-01-17 15:02:10,305 (7fced4ff9700) : DEBUG (networking:166) - Requesting ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzEKY29tLnBsZXhhcHAucGx1Z2lucy5mb3hidXNpbmVzc3MxMAppZGVudGlmaWVycjAK’
2016-01-17 15:02:10,337 (7fced4ff9700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2016-01-17 15:02:10,338 (7fced4ff9700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 710 bytes
2016-01-17 15:02:11,796 (7fced4ff9700) : DEBUG (runtime:717) - Handling request GET /video/foxbusiness
2016-01-17 15:02:11,799 (7fced4ff9700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2016-01-17 15:02:11,803 (7fced4ff9700) : DEBUG (runtime:814) - Found route matching /video/foxbusiness
2016-01-17 15:02:11,805 (7fced4ff9700) : DEBUG (base:117) - Checking if com.plexapp.plugins.foxbusiness is broken
2016-01-17 15:02:11,808 (7fced4ff9700) : DEBUG (networking:166) - Requesting ‘http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzEKY29tLnBsZXhhcHAucGx1Z2lucy5mb3hidXNpbmVzc3MxMAppZGVudGlmaWVycjAK’
2016-01-17 15:02:11,840 (7fced4ff9700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2016-01-17 15:02:11,841 (7fced4ff9700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 710 bytes
It looks like you’ve been editing the included “Search” service, but you should be editing the “URL Service”, which, in this case, is included in the Services bundle. You have to copy that one over to the channel bundle. I’ll upload a version with those changes in a minute.