•   
  • 1
  • 247
  • 248
  • 249(current)
  • 250
  • 251
  • 315
  •   
  Thread Closed
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
I see that its possible to specify a Download folder in the setup of the addon... but how do I download stuff to that folder?
(2013-12-21, 20:36)freddykrueger59 Wrote: hi
same issue for me , i can connect ,search , but unable to see any videos
it worked yesterday , but not today

I cant play any Vevo videos , others play fine , but not Vevo

Is there a way to fix it ?
thanks a lot

same here... replaced Youtubeplayer.py again, but nothing.
Use this Youtubeplayer.py
Press THANK USER if I Help
Hi, I am still unable to play certain videos with the YouTube addon. Such as

http://youtu.be/fwN_Axs7pL4 (Not a Vevo video)

I've tried multiple YouTubePlayer.py scripts including the one posted by AuXBoX. None of them seemed to have helped.

ATV2
XBMC 12.2

Code:
01:00:30 T:162975744  NOTICE: -->Python Interpreter Initialized<--
01:00:31 T:162975744  NOTICE: Loading cookies from :'/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
01:00:31 T:162975744  NOTICE: YouTube-4.4.6
01:00:31 T:162975744  NOTICE: CommonFunctions-2.5.1
01:00:34 T:162975744  NOTICE: links: 'dict'
01:00:35 T:133455872  NOTICE: DVDPlayer: Opening: https://r6---sn-nx57ynel.googlevideo.com/videoplayback?key=yt5&ip=50.65.136.165&ratebypass=yes&ipbits=0&gcr=ca&source=youtube&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&mt=1387958381&mv=m&ms=au&id=7f037f031b3ba4be&upn=xs4bjvPeaJk&fexp=900359,909717,932295,936912,936910,923305,936913,907231,907240,921090&itag=22&sver=3&expire=1387981909&signature=44CF6E82CD52892FC98EF0438AD76AEAD60BB6B37.980EE50E62ABDF2DE2EEF03B34C872F315067AF|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1
01:00:35 T:133455872 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
01:00:35 T:162975744  NOTICE: Creating InputStream
01:00:35 T:162975744 WARNING: FillBuffer: curl failed with code 22
01:00:35 T:162975744   ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
01:00:35 T:162975744   ERROR: Open - failed to open source <https://r6---sn-nx57ynel.googlevideo.com/videoplayback?key=yt5&ip=50.65.136.165&ratebypass=yes&ipbits=0&gcr=ca&source=youtube&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&mt=1387958381&mv=m&ms=au&id=7f037f031b3ba4be&upn=xs4bjvPeaJk&fexp=900359,909717,932295,936912,936910,923305,936913,907231,907240,921090&itag=22&sver=3&expire=1387981909&signature=44CF6E82CD52892FC98EF0438AD76AEAD60BB6B37.980EE50E62ABDF2DE2EEF03B34C872F315067AF|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1>
01:00:35 T:162975744   ERROR: CDVDPlayer::OpenInputStream - error opening [https://r6---sn-nx57ynel.googlevideo.com/videoplayback?key=yt5&ip=50.65.136.165&ratebypass=yes&ipbits=0&gcr=ca&source=youtube&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&mt=1387958381&mv=m&ms=au&id=7f037f031b3ba4be&upn=xs4bjvPeaJk&fexp=900359,909717,932295,936912,936910,923305,936913,907231,907240,921090&itag=22&sver=3&expire=1387981909&signature=44CF6E82CD52892FC98EF0438AD76AEAD60BB6B37.980EE50E62ABDF2DE2EEF03B34C872F315067AF|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1]
01:00:35 T:162975744  NOTICE: CDVDPlayer::OnExit()
01:00:35 T:162975744  NOTICE: CDVDPlayer::OnExit() deleting input stream
01:00:35 T:133455872   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=fwN_Axs7pL4]
01:00:35 T:113098752  NOTICE: PrimeWire: Playback Stopped
01:00:35 T:113098752  NOTICE: PrimeWire: Service: Resetting...
01:00:35 T:133455872  NOTICE: CDVDPlayer::CloseFile()
01:00:35 T:133455872 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
01:00:35 T:133455872  NOTICE: DVDPlayer: waiting for threads to exit
01:00:35 T:133455872  NOTICE: DVDPlayer: finished waiting

Edit: If it helps, I used wireshark to look at the conversation when the addon is making the request. Here is the TCP conversation of the failed request.

Code:
GET /videoplayback?mt=1388351918&ip=50.65.136.165&mv=m&sver=3&pcm2fr=yes&ipbits=0&gcr=ca&ratebypass=yes&source=youtube&ms=au&itag=22&fexp=924614,933006,914026,916611,909717,924616,932295,936912,936910,923305,936913,907231,907240,921090&sparams=gcr,id,ip,ipbits,itag,pcm2fr,ratebypass,source,upn,expire&expire=1388374309&upn=2kMapGb5Vzg&key=yt5&id=7f037f031b3ba4be&signature=13752893F37760255BD7503EE5419373F46930C5C.461668782DCE2500B986AFF754CD51185672A5F HTTP/1.1
Range: bytes=0-
User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1
Host: r6---sn-nx57ynel.googlevideo.com
Accept: */*
Connection: keep-alive

HTTP/1.1 403 Forbidden
Last-Modified: Wed, 02 May 2007 10:26:10 GMT
Content-Type: text/plain
Connection: close
X-Content-Type-Options: nosniff
Date: Sun, 29 Dec 2013 21:19:35 GMT
Server: gvs 1.0
Problem solved with #95 https://code.google.com/p/youtubexbmc/is...tail?id=95
The post 95 is missing, I don't see it. So I applied the fix referenced from #99 using the diff from github but it did not work. I noticed that those posts are from 6 months ago. I also tried the fix from 195 which is more recent. That also did not work.

I just wanted to point out, this is not an issue with Vevo. The video I referenced is not from Vevo.
Can't get trailers to play. This is my first real attempt to get this addon working on my system so I can't really be sure if or when it quit working. Something like 90 percent of the trailers I attempt to play show a script failure. I don't know if this is some temporary issue with the website or a problem with my system.

Debug Log

Appreciate any help.
ASUS Chromebox M004U (LibreELEC 8.2/Aeon Nox SiLVO)--->HDMI--->Onkyo TX-NR646--->HDMI--->Panasonic P65VT30
The 2 factor login issues seem to have been resolved on Github.

Replace your YouTubeLogin.py with https://github.com/HenrikDK/youtube-xbmc...beLogin.py
(2013-12-27, 04:44)j005u Wrote: The 2 factor login issues seem to have been resolved on Github.

Replace your YouTubeLogin.py with https://github.com/HenrikDK/youtube-xbmc...beLogin.py

TY my it works ! i have problem with that plugin 2 weeks ! Smile))
This addon has become unusable in Gotham Alpha 10 on XBMCBuntu. It just freezes in any attempt to use it and hangs the system. Spits out errors like this:

Code:
ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?action=settings&path=%2froot%2flogin
00:46:46 T:2798607168  NOTICE: Thread LanguageInvoker start, auto delete: false
00:46:46 T:2798607168  NOTICE: -->Python Interpreter Initialized<--
00:46:46 T:2815392576  NOTICE: Thread FileCache start, auto delete: false
00:46:46 T:2798607168  NOTICE: Previous line repeats 2 times.
00:46:46 T:2798607168  NOTICE: Loading cookies from :'/home/christin/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
00:46:46 T:2798607168  NOTICE: YouTube-4.4.6
00:46:46 T:2815392576  NOTICE: Thread FileCache start, auto delete: false
00:46:46 T:2798607168   ERROR: Open - failed to open source </home/christin/.xbmc/userdata/addon_data/script.common.plugin.cache/settings.xml>
00:46:46 T:2798607168   ERROR: Open - failed to open source <special://profile/addon_data/script.common.plugin.cache/settings.xml>
00:46:46 T:2798607168  NOTICE: CommonFunctions-2.5.1
00:46:46 T:2798607168   ERROR: Open - failed to open source </home/christin/.xbmc/addons/plugin.video.youtube/resources/language/English/strings.po>
00:46:46 T:2815392576  NOTICE: Thread FileCache start, auto delete: false
00:46:46 T:2798607168  NOTICE: Previous line repeats 1 times.
00:46:46 T:2798607168   ERROR: Open - failed to open source </home/christin/.xbmc/userdata/addon_data/script.module.simple.downloader/settings.xml>
00:46:46 T:2798607168   ERROR: Open - failed to open source <special://profile/addon_data/script.module.simple.downloader/settings.xml>
00:46:46 T:2815392576  NOTICE: Thread FileCache start, auto delete: false
00:46:46
(2013-10-04, 14:08)xypista Wrote: The problem is with the word: Bejelentkezés (Bejelentkez\xe9s) which means 'log in' in Hungarian. Maybe I should try vpn or change google account language? (I don't know where is that word come from, i did not typed in anywhere, so it has to be in a response from google)
The OS language is English, both on the OpenELEC and the Arch linux.

I have the same problem except that the phrase for 'log in' in Czech is different ;-) I'm not actually Czech but live here and my experience is that Google often makes the mistake of assuming my preferred language depends on my location rather than browser preferences etc. So for me it seems perfectly possible that the OS language (English) is sent in requests without being taken properly into account by Google.

I have a workaround which involves hacking ~/.xbmc/addons/plugin.video.youtube/YouTubeCore.py:
Code:
@@ -397,7 +397,11 @@
             return ret_obj

         if get("url_data"):
-            request = urllib2.Request(link, urllib.urlencode(get("url_data")))
+            d = dict(get("url_data"))
+            if "signIn" in d:
+                d.pop("signIn")
+            print("url_data = " + str(d))
+            request = urllib2.Request(link, urllib.urlencode(d))
             request.add_header('Content-Type', 'application/x-www-form-urlencoded')
         elif get("request", "false") == "false":
             if get("proxy"):
I consider this a hack/workaround rather than a fix because my programming experience is in other languages and I do not really know what is going on in this code. I would not expect that the phrase for "log in" in any language would be required in a URL e.g. as a query parameter. So my guess is that it is just bundled into the Python dict and made available to urllib2.Request() after attempting to encode using urllib.urlencode(d) on the assumption that it is ASCII, as it should be for a URL. Probably it is in fact UTF-8 (so would need to be escaped for more than one reason i.e. to convert to ASCII and get rid of characters with special meaning in URLs). Hence in the logs:
Code:
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 401, in _fetchPage
                                                request = urllib2.Request(link, urllib.urlencode(get("url_data")))
                                              File "./Lib/urllib.py", line 1312, in urlencode
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\u0159' in position 1: ordinal not in range(128)
A proper fix would require removing the possibility of any such junk getting passed to urllib.urlencode() in the dict.

Note that without
Code:
if "signIn" in d: ...
the print() statement shows this in the dictionary:
Code:
u'signIn': u'P\u0159ihl\xe1sit se'
which shows the Czech for 'log in" with accented characters escaped. Also:
  • Without the condition if "signIn" in d there is a KeyError most likely because this code is executed more than once without the signIn key in the dictionary every time.
  • Instead of modifying the original dict I created a copy and modified that for use here. May not be necessary.
  • A real patch should not include the print() which is just for debugging

Now I am considering filing a bug and perhaps a patch, but need to find my way around first...
I found the latest source and it looks like it is already fixed. (For me the problem was in OpenELEC (official) Version: 3.2.0 on a Raspberry Pi downloaded in the last few days.)

So now for the sofa and YouTube on TV:)
Bug 
I'm still unable to view playlists or subscriptions. Script fail. I've even re-installed xbmc from fresh and it's still failing when attempting to open "New Subscription Videos".
It's fetching thumbnails and navigating directories - script fails at playback. I suspect something has changed YouTube's end? I'm logging in fine. ( Permissions listed in YouTube, access granted for "YouTube XBMC Plugin — YouTube".

I've tried different builds, and I've replaced the YouTubePlayer.py from:

https://github.com/HenrikDK/youtube-xbmc...beLogin.py -> No change
https://dl.dropboxusercontent.com/s/gb24...gmSY1yf9bg -> Crashes, unusable.

I miss this addon already, and it's been less than one hour! Sad
(2013-12-30, 00:37)MrBozack Wrote: I'm still unable to view playlists or subscriptions. Script fail. I've even re-installed xbmc from fresh and it's still failing when attempting to open "New Subscription Videos".
It's fetching thumbnails and navigating directories - script fails at playback. I suspect something has changed YouTube's end? I'm logging in fine. ( Permissions listed in YouTube, access granted for "YouTube XBMC Plugin — YouTube".

I've tried different builds, and I've replaced the YouTubePlayer.py from:

https://github.com/HenrikDK/youtube-xbmc...beLogin.py -> No change
https://dl.dropboxusercontent.com/s/gb24...gmSY1yf9bg -> Crashes, unusable.

I miss this addon already, and it's been less than one hour! Sad

I also have this issue, appeared yesterday or the day before. Dont know if its the nightly from 26/27th that screwed it up.
(2013-12-30, 01:36)snyft Wrote: I also have this issue, appeared yesterday or the day before. Dont know if its the nightly from 26/27th that screwed it up.
I think it must be a YouTube server issue? I don't think the plugin is actually to blame, I've tried older builds (on fresh HDD) and they still don't work.

However I do enjoy my nightlies too....
  •   
  • 1
  • 247
  • 248
  • 249(current)
  • 250
  • 251
  • 315
  •   
  Thread Closed
 
Thread Rating:
  • 28 Vote(s) - 4.14 Average



Logout Mark Read Team Forum Stats Members Help
[depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only4.1428