MathewWi / xbmc-addons

Automatically exported from code.google.com/p/xbmc-addons
0 stars 0 forks source link

Youtube plugin no playback #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Search for a video
2. Select any search result for playback

What is the expected output? What do you see instead?
Expect video to play. Playback failed message comes up

What version of XBMC are you using? On what operating system?  What version
of the addon are you using?
XBMC PRE-10.5 r27256 Compiled Mar 1, 2010
Ubuntu Linux 2.6.28-18-generic #60-ubuntu SMP
Plugin version is 1.7.4

Please provide any additional information below.

Some relevant log entries:
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerSelectionRule::GetPlayers: 
considering 
rule: sdp/asf
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerSelectionRule::GetPlayers: 
considering 
rule: nsv
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerCoreFactory::GetPlayers: 
matched 0 rules 
with players
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerCoreFactory::GetPlayers: 
adding 
videodefaultplayer (1)
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerCoreFactory::GetPlayers: for 
video=1, 
audio=0
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerCoreFactory::GetPlayers: for 
video=1, 
audio=1
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerCoreFactory::GetPlayers: 
adding player: 
DVDPlayer (1)
21:43:25 T:3025528704 M:468398080   DEBUG: CPlayerCoreFactory::GetPlayers: 
added 1 players
21:43:25 T:3025528704 M:467701760  NOTICE: DVDPlayer: Opening: 
http://v3.lscache6.c.youtube.com/videoplayback?
ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor
%2Coc
%3AU0dWSlZOVl9FSkNNNl9OSFpF&fexp=902303&algorithm=throttle-
factor&itag=35&ipbits=0&burst=40&sver=3&expire=1275638400&key=yt1&signature=CE14
09
D86CB50450928A2FC268AAA01FBD628D7F.5595B993C55DC38DD7F
F3E72568A7D9431189D84&factor=1.25&id=162e1a3329d246a5
21:43:25 T:3025528704 M:467701760 WARNING: CDVDMessageQueue(player)::Put 
MSGQ_NOT_INITIALIZED
21:43:25 T:2623507344 M:467628032   DEBUG: thread start, auto delete: 0
21:43:25 T:2623507344 M:467628032  NOTICE: Creating InputStream
21:43:25 T:2623507344 M:467558400   DEBUG: CFileCache::Open - opening 
<videoplayback> 
using cache
21:43:25 T:2623507344 M:467558400   DEBUG: FileCurl::Open(0xc909aa8) 
http://v3.lscache6.c.youtube.com/videoplayback?
ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor
%2Coc
%3AU0dWSlZOVl9FSkNNNl9OSFpF&fexp=902303&algorithm=throttle-
factor&itag=35&ipbits=0&burst=40&sver=3&expire=1275638400&key=yt1&signature=CE14
09
D86CB50450928A2FC268AAA01FBD628D7F.5595B993C55DC38DD7FF3E72568A7D9431189D8
4&factor=1.25&id=162e1a3329d246a5
21:43:25 T:2582641552 M:467558400    INFO: Python script stopped
21:43:25 T:2582641552 M:467558400   DEBUG: Thread 2582641552 terminating
21:43:25 T:3025528704 M:467558400   DEBUG: ------ Window Init (DialogBusy.xml) 
------
21:43:25 T:3025528704 M:467558400   DEBUG: Alloc resources: 0.01ms (0.01 ms 
skin load)
21:43:25 T:2623507344 M:467558400 WARNING: FillBuffer: curl failed with code 22
21:43:25 T:2623507344 M:467558400   ERROR: CFileCurl::CReadState::Open, didn't 
get any data 
from stream.
21:43:25 T:2623507344 M:467558400   DEBUG: FileCurl::Close(0xc909aa8) 
http://v3.lscache6.c.youtube.com/videoplayback?
ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor
%2Coc
%3AU0dWSlZOVl9FSkNNNl9OSFpF&fexp=902303&algorithm=throttle-
factor&itag=35&ipbits=0&burst=40&sver=3&expire=1275638400&key=yt1&signature=CE14
09
D86CB50450928A2FC268AAA01FBD628D7F.5595B993C55DC38DD7FF3E72568A7D9431189D8
4&factor=1.25&id=162e1a3329d246a5
21:43:25 T:2623507344 M:467558400   ERROR: Open - failed to open source 
<http://v3.lscache6.c.youtube.com/videoplayback?
ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor
%2Coc
%3AU0dWSlZOVl9FSkNNNl9OSFpF&fexp=902303&algorithm=throttle-
factor&itag=35&ipbits=0&burst=40&sver=3&expire=1275638400&key=yt1&signature=CE14
09
D86CB50450928A2FC268AAA01FBD628D7F.5595B993C55DC38DD7FF3E72568A7D9431189D8
4&factor=1.25&id=162e1a3329d246a5>
21:43:25 T:2623507344 M:467558400   ERROR: CDVDPlayer::OpenInputStream - error 
opening 
[http://v3.lscache6.c.youtube.com/videoplayback?
ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor
%2Coc
%3AU0dWSlZOVl9FSkNNNl9OSFpF&fexp=902303&algorithm=throttle-
factor&itag=35&ipbits=0&burst=40&sver=3&expire=1275638400&key=yt1&signature=CE14
09
D86CB50450928A2FC268AAA01FBD628D7F.5595B993C55DC38DD7FF3E72568A7D9431189D8
4&factor=1.25&id=162e1a3329d246a5]
21:43:25 T:2623507344 M:467558400  NOTICE: CDVDPlayer::OnExit()
21:43:25 T:2623507344 M:467558400  NOTICE: CDVDPlayer::OnExit() deleting input 
stream
21:43:25 T:2623507344 M:467558400   DEBUG: Thread 2623507344 terminating
21:43:25 T:3025528704 M:467558400   DEBUG: CAnnouncementManager - Announcement: 
PlaybackStopped from xbmc

Original issue reported on code.google.com by therealp...@gmail.com on 4 Jun 2010 at 2:11

GoogleCodeExporter commented 9 years ago
I get a Similar problem.
Many of the videos' playback fails without any sort of error messages.

Some of them have "Playback failed" popping up, as I click upon them

I'm running XBMC on Windows XP based machine. version 9.11 Release.
Version is 1.7.4

Original comment by coola...@gmail.com on 15 Jun 2010 at 4:21

GoogleCodeExporter commented 9 years ago
Since no longer than two months ago I also can't playback video's through the 
Youtube plugin. I run the 9.11 stable version, and can search or reach my saved 
favorites, but on playback, nothing happens, no error other than 'Busy" while I 
spam playback on several video. How to solve this? The plugin version I run is 
up to date according to svn.

Original comment by r.remei...@gmail.com on 2 Jul 2010 at 10:34

GoogleCodeExporter commented 9 years ago
Same problem here.
I am running XBMC on my Xbox (the most up-to-date version, FYI)
I think it has something to do with the newest YouTube changes.
You know, there were changes in the design and the Player....

Original comment by Kevi...@gmx.de on 21 Jul 2010 at 10:23

GoogleCodeExporter commented 9 years ago
it's been reported to be a bad cookie.txt, so somewhere in userdata, find 
youtube's cookie.txt and delete it.

Original comment by nuka1195@gmail.com on 25 Jul 2010 at 3:22

GoogleCodeExporter commented 9 years ago
Deleted the cookie.txt, still get an error, no playback. This is on Linux. I 
suspect it has to do with the youtube changes as well. Also, not all of the 
source for the plugin is in source control, is some of it non-gpl?

Original comment by therealp...@gmail.com on 25 Jul 2010 at 6:42

GoogleCodeExporter commented 9 years ago
modified version of xbmcplugin_categories.py file attached which removes the 
corrupt cookie.txt file after authentication. Playback tested on linux (UBN 
10.04) and xbox, latest T3CH build.

Tweaked subscriptions to display 25 min entries instead of 3. 

There are issues with increasing the perpage ini setting past 4 (breaks the 
script), and sometimes duplicate list entries when returning from video 
playback. Refresh file list to fix.

Original comment by sai...@gmail.com on 26 Jul 2010 at 9:45

Attachments:

GoogleCodeExporter commented 9 years ago
I got this error, when playing some videos.
At some point, XBMC does not play anything on youtube anymore.
For that, I´ve to restart XBMC, than it´s working again for some videos, 
until the same happens again.

I will look into it tonight again, since I did update the YT addon yesterday ;)

Original comment by Stefan1...@gmail.com on 6 Oct 2010 at 1:34

GoogleCodeExporter commented 9 years ago
Sairuk, your attached xbmcplugin_categories.py solved my youtube playback 
problem. Im running xbmc on headless ubuntu 10.04. Thanks

Original comment by alji...@gmail.com on 23 Oct 2010 at 10:19

GoogleCodeExporter commented 9 years ago
I get a script error when trying to play ANY YouTube video on my xbox...
Loading "my favourites" fails completly.
Searching videos does work.
Will anybody fix the plugin?

Original comment by Kevi...@gmx.de on 30 Nov 2010 at 5:58

GoogleCodeExporter commented 9 years ago
I have had this problem as well, I am running windows 7 64 bit, I have never 
been able to run YouTube, even after formatting my computer and re-installing 
windows. Here is the log file.
10:38:43 T:6924  NOTICE: [YouTube-2.8.0] selectVideoQuality : ''
10:38:43 T:6924  NOTICE: [YouTube-2.8.0] selectVideoQuality : 'Done'
10:38:43 T:6924  NOTICE: [YouTube-2.8.0] playVideo : 'Playing video: 'TOBUSCUS 
ANIMATED CHRISTMAS ADVENTURES!' - 'TeDpRCD59fU' - 
u'http://o-o.preferred.teksavvy-xcm1.v14.lscache6.c.youtube.com/videoplayback?sp
arams=id,expire,ip,ipbits,itag,source,ratebypass,cp&fexp=914039,913003,910210,90
1604&itag=22&ip=69.0.0.0&signature=1C1C3B1BFFD710DA3A613A47BF5A01D2A549114C.C898
1FEA622583887369B6AE2C7A877CFF0D3312&sver=3&ratebypass=yes&source=youtube&expire
=1325197111&key=yt1&ipbits=8&cp=U0hRSlFUVV9GS0NOMV9JTllCOnhoNkNudFJRdlpW&id=4de0
e94420f9f5f5&quality=hd720&fallback_host=tc.v14.cache6.c.youtube.com | 
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 
Firefox/3.6.8''
10:38:44 T:3584  NOTICE: DVDPlayer: Opening: 
http://o-o.preferred.teksavvy-xcm1.v14.lscache6.c.youtube.com/videoplayback?spar
ams=id,expire,ip,ipbits,itag,source,ratebypass,cp&fexp=914039,913003,910210,9016
04&itag=22&ip=69.0.0.0&signature=1C1C3B1BFFD710DA3A613A47BF5A01D2A549114C.C8981F
EA622583887369B6AE2C7A877CFF0D3312&sver=3&ratebypass=yes&source=youtube&expire=1
325197111&key=yt1&ipbits=8&cp=U0hRSlFUVV9GS0NOMV9JTllCOnhoNkNudFJRdlpW&id=4de0e9
4420f9f5f5&quality=hd720&fallback_host=tc.v14.cache6.c.youtube.com | 
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 
Firefox/3.6.8
10:38:44 T:3584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:38:44 T:5776  NOTICE: Creating InputStream
10:38:44 T:5776 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed 
with code 56
10:38:44 T:5776   ERROR: CFileCurl::CReadState::Open, didn't get any data from 
stream.
10:38:44 T:5776   ERROR: XFILE::CFileCache::Open - failed to open source 
<http://o-o.preferred.teksavvy-xcm1.v14.lscache6.c.youtube.com/videoplayback?spa
rams=id,expire,ip,ipbits,itag,source,ratebypass,cp&fexp=914039,913003,910210,901
604&itag=22&ip=69.0.0.0&signature=1C1C3B1BFFD710DA3A613A47BF5A01D2A549114C.C8981
FEA622583887369B6AE2C7A877CFF0D3312&sver=3&ratebypass=yes&source=youtube&expire=
1325197111&key=yt1&ipbits=8&cp=U0hRSlFUVV9GS0NOMV9JTllCOnhoNkNudFJRdlpW&id=4de0e
94420f9f5f5&quality=hd720&fallback_host=tc.v14.cache6.c.youtube.com | 
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 
Firefox/3.6.8>
10:38:44 T:5776   ERROR: CDVDPlayer::OpenInputStream - error opening 
[http://o-o.preferred.teksavvy-xcm1.v14.lscache6.c.youtube.com/videoplayback?spa
rams=id,expire,ip,ipbits,itag,source,ratebypass,cp&fexp=914039,913003,910210,901
604&itag=22&ip=69.0.0.0&signature=1C1C3B1BFFD710DA3A613A47BF5A01D2A549114C.C8981
FEA622583887369B6AE2C7A877CFF0D3312&sver=3&ratebypass=yes&source=youtube&expire=
1325197111&key=yt1&ipbits=8&cp=U0hRSlFUVV9GS0NOMV9JTllCOnhoNkNudFJRdlpW&id=4de0e
94420f9f5f5&quality=hd720&fallback_host=tc.v14.cache6.c.youtube.com | 
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 
Firefox/3.6.8]

Original comment by riz...@gmail.com on 29 Dec 2011 at 3:49