plexinc-plugins / abc.bundle Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dbl-a/abc.bundle
This project forked from dbl-a/abc.bundle
the URL Service should have the RealRTMP flag set as well.
The "break" in Seasons( ), line 80, prevents watching TVShows/Episodes from earlier years. As ABC broadcasts older episodes from time to time it would be great to have access to those, too.
I checked one (Castle, currently 2 of season 5 available), and the format seems to fit as well.
Thanks!
This is actually an issue in the ABC URL Service, but not something that can be fixed from within the channel or URL Service code :'(
URLError: <urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
It seems as though most of the shows in ABC are working, it just so happens that we use this one more often. Is this something that anyone else is seeing when trying to play AFV on Android devices:
I'm getting the same error on my Android Tablets/phones and Firetv.
Is it just me? The episodes seem ok on the website.
Thanks for any and all help.
GetHTML(url) uses a 5sec "sleep" time - apparently to do some load balancing on ABC's server. Browsing the library when knowing what to look for gets laggy...
Is this timeout really needed? Is it possible to reduce it to 1sec or so?
need to exclude from episode list where episode has "accesslevel":"1" in SHOW_EPISODES json
2016-10-02 19:06:16,257 (7f7ddf7fe700) : DEBUG (runtime:717) - Handling request GET /video/abc/season?id=SH551883122&title=Quantico
2016-10-02 19:06:16,259 (7f7ddf7fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2016-10-02 19:06:16,260 (7f7ddf7fe700) : DEBUG (runtime:814) - Found route matching /video/abc/season
2016-10-02 19:06:16,263 (7f7ddf7fe700) : DEBUG (networking:161) - Fetching 'https://api.pluto.watchabc.go.com/api/ws/pluto/v1/layout?brand=001&device=002&type=show&show=SH551883122' from the HTTP cache
2016-10-02 19:06:16,267 (7f7ddf7fe700) : DEBUG (runtime:88) - Sending packed state data (104 bytes)
2016-10-02 19:06:16,267 (7f7ddf7fe700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 498 bytes
2016-10-02 19:06:16,300 (7f7ddf7fe700) : DEBUG (runtime:717) - Handling request GET /video/abc/episodes?season=2&id=SH551883122&title=Quantico
2016-10-02 19:06:16,302 (7f7ddf7fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2016-10-02 19:06:16,303 (7f7ddf7fe700) : DEBUG (runtime:814) - Found route matching /video/abc/episodes
2016-10-02 19:06:16,306 (7f7ddf7fe700) : DEBUG (networking:161) - Fetching 'https://api.pluto.watchabc.go.com/api/ws/pluto/v1/module/tilegroup/1925878?brand=001&device=002&show=SH551883122&season=2&start=0&size=50' from the HTTP cache
2016-10-02 19:06:16,311 (7f7ddf7fe700) : DEBUG (services:603) - No service found for URL 'abc://VDKA3400790'
2016-10-02 19:06:16,312 (7f7ddf7fe700) : DEBUG (services:618) - No matching services found for 'abc://VDKA3400790'
2016-10-02 19:06:16,313 (7f7ddf7fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2016-10-02 19:06:16,316 (7f7ddf7fe700) : DEBUG (services:603) - No service found for URL 'abc://VDKA3400790'
2016-10-02 19:06:16,316 (7f7ddf7fe700) : CRITICAL (runtime:970) - Exception when constructing response (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-24ffd60/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-24ffd60/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-24ffd60/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-24ffd60/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-24ffd60/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-24ffd60/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-24ffd60/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'
2016-10-02 19:06:16,316 (7f7ddf7fe700) : DEBUG (runtime:1027) - Unable to handle response type: <class 'Framework.modelling.objects.MediaContainer'>
2016-10-02 19:06:16,317 (7f7ddf7fe700) : DEBUG (runtime:88) - Sending packed state data (104 bytes)
2016-10-02 19:06:16,317 (7f7ddf7fe700) : DEBUG (runtime:924) - Response: [500] MediaContainer, 0 bytes
It appears that ABC has switched to using a flash video format which may not work with the existing plugin.
Log for fetching the latest episodes of "Revenge":
2013-12-02 22:43:05,507 (7fb226ffd700) : DEBUG (networking:167) - Fetching 'http://abc.go.com/vp2/s/carousel?service=playlists&parser=VP2_Data_Parser_Playlist&postprocess=VP2_Data_Carousel_ProcessPlaylist&showid=SH55126554&seasonid=3&vidtype=lf&view=showplaylist&playlistid=PL5515994&start=0&size=100&paging=1' from the HTTP cache
2013-12-02 22:43:05,525 (7fb226ffd700) : DEBUG (services:602) - No service found for URL '/revenge/SH55126554/VDKA0_laehtnh0/secrecy'
2013-12-02 22:43:05,525 (7fb226ffd700) : DEBUG (services:617) - No matching services found for '/revenge/SH55126554/VDKA0_laehtnh0/secrecy'
2013-12-02 22:43:05,525 (7fb226ffd700) : DEBUG (services:41) - Loading service code for Fallback (URLServiceRecord)
2013-12-02 22:43:05,691 (7fb226ffd700) : DEBUG (services:602) - No service found for URL '/revenge/SH55126554/VDKA0_laehtnh0/secrecy'
2013-12-02 22:43:05,693 (7fb226ffd700) : CRITICAL (runtime:960) - Exception when constructing response (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 941, in construct_response
el = result._to_xml()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/objectkit.py", line 612, in _to_xml
el = Framework.modelling.objects.ModelInterfaceObjectContainer._to_xml(self)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 382, in _to_xml
root = Container._to_xml(self)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 139, in _to_xml
self._append_children(root, self._objects)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 145, in _append_children
el = obj._to_xml()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/objectkit.py", line 531, in _to_xml
if self._core.services.function_in_service_is_deferred(Framework.components.services.MEDIA_OBJECTS_FUNCTION_NAME, service):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 556, in function_in_service_is_deferred
service.sandbox.context.import_values(values)
AttributeError: 'NoneType' object has no attribute 'sandbox'
2013-12-02 22:43:05,693 (7fb226ffd700) : DEBUG (runtime:1017) - Unable to handle response type: <class 'Framework.modelling.objects.MediaContainer'>
2013-12-02 22:43:05,694 (7fb226ffd700) : DEBUG (runtime:914) - Response: [500] MediaContainer, 0 bytes
Hello,
I don't know if I'm reporting this right but I will try. Please advise with any feedback or suggestions. So I am having trouble playing ABC episodes from my TiVo plex Clent. The Tivo is at 21.7.2.RC19-846-6-846, (known as Hydra - Tivo Experience as well I believe) When I try to playback videos on the TiVo it presents three dots and then changes to a screen which displays, (There was a problem this item. The video did not start playing at this time.) I believe the issue began when I upgraded the TiVo to the TiVo Hydra client. For reference, I have uninstalled and re-installed the ABC plugin on my Win 10 Plex Media Server. I also pulled the latest github files for the ABC bundle. The episodes play fine when I play directly on my WIN 10 Plex Media Server. If it's useful I can be reached at [email protected] I am attaching some log files that seem relevant, please advise as required and Thanks for any assistance you may provide.
TT
As of 10/31 (not sure when it actually broke), the show listings for ABC seem to have stopped working.
The exception seems to indicate this line:
thumb = description.xpath('.//img')[0].get('src')
The issue is that the description seems to not contain any embedded images any more, so we get an index out of bounds.
There is an <image/> tag in the RSS feed, but it's blank. (Not sure if it always was or not.)
DEBUG (networking:166) - Requesting 'https://api.pluto.watchabc.go.com/api/ws/pluto/v1/module/tilegroup/1389461?brand=001&device=002&start=0&size=100'
2016-09-11 13:05:40,141 (5bc) : CRITICAL (core:574) - Exception (most recent call last):
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-7caf41d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
result = f(*d)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-7caf41d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\handlers\base.py", line 111, in call
result = self.func(args, **kwargs)
File "C:\Users\john\AppData\Local\Plex Media Server\Plug-ins\ABC.bundle\Contents\Code__init.py", line 32, in MainMenu
id = show['show']['id']
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-7caf41d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 108, in
getitem = lambda x, y: x.getitem(y),
KeyError: 'show'
I also posted this in the Services.bundle plugin comments. With direct play enabled ABC is the only channel of the major broadcast channels that I use (CBS, NBC, FOX, CW) that will not play content. The channel launches and I can view and select content. However, when launched the ring spins a couple of times and then goes back to the content list without playing. This does not happen on the Roku client. Direct play works fine there. ABC on ATV4 will play if direct play is disabled but the video quality suffers. This either has to be a specific ATV4 client issue, or there is some broken code in the channel or the services.bundle file. Will you please investigate this issue? Thanks.
Hi,
I did a quick modification locally to remove the platform/OS checks to check out the channel and videos are working for me on PHT running on OSX
Trying to launch the channel, on the Roku App I get the error message:
Content Unavailable
Sorry, we couldn't load the requested content
on the Web Interface I get:
The channel is not responding
We use this channel once a week and it was working last week. I was on Plex 1.1.4 but tried upgrading to the latest version just now to fix the issue...it did not help. I still get these error messages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.