Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:FakePlugin:Request error: [400] Player not recognized #3

Open
santiagoluz opened this issue Apr 27, 2014 · 2 comments
Open

ERROR:FakePlugin:Request error: [400] Player not recognized #3

santiagoluz opened this issue Apr 27, 2014 · 2 comments

Comments

@santiagoluz
Copy link

Hello Rafael, I've tried to find any other way to contact you, but I've only found this.
I'm trying to run gbDownloader, but it is returning error when I try to download a video:

pi@raspbmc:~/gbDownloader-master$ ./globoDownloader.sh -dv 3297823
********************************************
**    run on Sat Apr 26 22:14:47 BRT 2014
********************************************
** running job globoDownloader.sh on Sat Apr 26 22:14:48 BRT 2014 running = 0
INFO:FakePlugin:Using Properties file: globoDownloader.ini
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297823/playlist HTTP/1.1" 200 868
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/playlist HTTP/1.1" 200 666
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297585/playlist HTTP/1.1" 200 667
DEBUG:FakePlugin:resolving video: 3297776
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): security.video.globo.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/hash?resource_id=5356c13add238148fa001985&version=2.5.8&player=flash HTTP/1.1" 200 None
DEBUG:FakePlugin:resource ids: 5356c13add238148fa001985
DEBUG:FakePlugin:return: {"http_status_code":400,"message":"Player not recognized","code":"PNR"}
ERROR:FakePlugin:Request error: [400] Player not recognized
Traceback (most recent call last):
  File "./globoDownloader.py", line 202, in <module>
    gd.downloadVideoParts(video,args['downloadDir'],args['force'])
  File "./globoDownloader.py", line 131, in downloadVideoParts
    url = self.api.resolve_video_url(video.id)
  File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 234, in resolve_video_url
    hashes = self._get_hashes(video_id, [r['_id']])
  File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 85, in _get_hashes
    raise Exception(data['message'])
Exception: Player not recognized
********************************************
**    End run on Sat Apr 26 22:15:02 BRT 2014 - Total Execution (Minutes) - 0
********************************************

Does this program still work? Could you help me with this? I'm trying to use it in Raspbmc. BTW, I do not have any experience in python programming.

Thanks!

@rdtorres
Copy link
Owner

Hi Santiago,

Yes. The program still works.

GbDownload relies on plugin.video.globotv library1. The version of the
library that you are using is outdated. Please update it and gbDownload
will work.

Let me know if you need any additional help.

[]'s
Rafael Torres

On Sat, Apr 26, 2014 at 9:19 PM, santiagoluz [email protected]:

Hello Rafael, I've tried to find any other way to contact you, but I've
only found this.
I'm trying to run gbDownloader, but it is returning error when I try to
download a video:

pi@raspbmc:~/gbDownloader-master$ ./globoDownloader.sh -dv 3297823


** run on Sat Apr 26 22:14:47 BRT 2014


** running job globoDownloader.sh on Sat Apr 26 22:14:48 BRT 2014 running = 0
INFO:FakePlugin:Using Properties file: globoDownloader.ini
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297823/playlist HTTP/1.1" 200 868
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/playlist HTTP/1.1" 200 666
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297585/playlist HTTP/1.1" 200 667
DEBUG:FakePlugin:resolving video: 3297776
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): security.video.globo.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/hash?resource_id=5356c13add238148fa001985&version=2.5.8&player=flash HTTP/1.1" 200 None
DEBUG:FakePlugin:resource ids: 5356c13add238148fa001985
DEBUG:FakePlugin:return: {"http_status_code":400,"message":"Player not recognized","code":"PNR"}
ERROR:FakePlugin:Request error: [400] Player not recognized
Traceback (most recent call last):
File "./globoDownloader.py", line 202, in
gd.downloadVideoParts(video,args['downloadDir'],args['force'])
File "./globoDownloader.py", line 131, in downloadVideoParts
url = self.api.resolve_video_url(video.id)
File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 234, in resolve_video_url
hashes = self._get_hashes(video_id, [r['_id']])
File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 85, in _get_hashes
raise Exception(data['message'])
Exception: Player not recognized


** End run on Sat Apr 26 22:15:02 BRT 2014 - Total Execution (Minutes) - 0


Does this program still work? Could you help me with this? I'm trying to
use it in Raspbmc. BTW, I do not have any experience in python programming.

Thanks!

Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

@santiagoluz
Copy link
Author

Thank you so much! :)
It's working fine now! Great! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants