Kodi Community Forum

Full Version: [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Plugin gives error when trying to view age restricted videos

http://pastebin.com/Xk3R5ne8
My favourites have disappeared Sad
(2012-09-19, 21:33)tinfox Wrote: [ -> ]
(2012-09-19, 15:39)tinfox Wrote: [ -> ]
(2012-09-19, 11:11)NaDs Wrote: [ -> ]Is the play all and shuffle and play all not working again?

I get the error

Error
Script failed!: plugln.video.youtube

Version 3.2

Thanks
Confirmed

Looks like it was an auto-update to 3.2 that broke it.
I tried the plugin from a few posts ago and the "play all" (right click -> New Subscription Videos) feature still wont work. ? strange,, it was working. I use this feature all the time. sad face...

Hi,

I have the same problem too ! strange it was working.
Any idea to resolve the insure.
(2012-09-20, 00:42)Martijn Wrote: [ -> ] Learn how to use pastebin.com like mentioned in debug log wiki

Voila:

http://pastebin.com/Dw0zy1hj
(2012-09-23, 02:56)nokian Wrote: [ -> ]
(2012-09-20, 00:42)Martijn Wrote: [ -> ] Learn how to use pastebin.com like mentioned in debug log wiki

Sorry for the delay...
Please re-read that link Martjn provided above about the debug log (wiki)
  • Do not post logs directly in the thread here. Instead, upload the log file contents to http://www.pastebin.com or http://www.xbmclogs.com and post just the URL link with your reply.
  • Do not post log snippets. Post the entire log file.
Does the updated plugin now support two factor authorization method and log in correctly by giving a numeric code entry window.
version 3.2 on openelec 1.95.7
5 of 10 Videos doesn´t work and end up in an "script-error"

for example:

http://www.google.de/url?sa=t&source=web...J15lmfRlkw


any ideas?

DC

.
Is it possible to use the Youtube addon without the need for Common plugin cache?

CPC is giving me very strange behavior when i want to resume episodes/movies or sometimes new files.
It seems a few peoplem are having issues where "Play all" and "Shuffle and Play all" is no longer working. I am in the same boat.

I have taken a look at the code and there seems to be an issue somewhere on YouTubePlaylistControl.py when it loads the list of videos in the playlist.

Commenting away line 94 or more specifically the line that says
Code:
listitem.setInfo(type='Video', infoLabels=entry)
in that file seems to solve the issue (at least for me)

A copy of the edited file for those less versed in programming can be found here but keep in mind this is a quick fix until a more permanent solution is in place by authors.

Modified YouTubePlaylistControl.py

EDIT:

I cannot get shuffle to work, it seems to always play in the same order but I am not sure if this is a result of the workaround or how it used to be since I haven't really used the shuffle function much. I am thinking the latter.
Can't play some videos, eg http://www.youtube.com/watch?v=Mxt8NmM0jxg (a superb piece of satire), the plugin failing. Log is http://pastebin.com/JV22qxFJ. Problem is because URL doesn't return the video but a verification page with following text:

The following content has been identified by the YouTube community as being potentially offensive or inappropriate. Viewer discretion is advised.

and a Continue button as well as a Do not display this warning in the future checkbox. The checkbox selection is recorded in a cookie not the account (I have a youtube account and provided my logon details to the plugin).
(2012-09-23, 03:30)artrafael Wrote: [ -> ]
(2012-09-23, 02:56)nokian Wrote: [ -> ]
(2012-09-20, 00:42)Martijn Wrote: [ -> ] Learn how to use pastebin.com like mentioned in debug log wiki

Sorry for the delay...
Please re-read that link Martjn provided above about the debug log (wiki)
  • Do not post logs directly in the thread here. Instead, upload the log file contents to http://www.pastebin.com or http://www.xbmclogs.com and post just the URL link with your reply.
  • Do not post log snippets. Post the entire log file.

Done: http://pastebin.com/Dw0zy1hj
(2012-09-23, 15:22)Alethenorio Wrote: [ -> ]It seems a few peoplem are having issues where "Play all" and "Shuffle and Play all" is no longer working. I am in the same boat.

I have taken a look at the code and there seems to be an issue somewhere on YouTubePlaylistControl.py when it loads the list of videos in the playlist.

Commenting away line 94 or more specifically the line that says
Code:
listitem.setInfo(type='Video', infoLabels=entry)
in that file seems to solve the issue (at least for me)

A copy of the edited file for those less versed in programming can be found here but keep in mind this is a quick fix until a more permanent solution is in place by authors.

Modified YouTubePlaylistControl.py

EDIT:

I cannot get shuffle to work, it seems to always play in the same order but I am not sure if this is a result of the workaround or how it used to be since I haven't really used the shuffle function much. I am thinking the latter.






Hi,

It works great thanks.
hi.
i am on eden . i copied the youtube files inside the user application data /xbmc/addons and the you tube stoped working.
am i missing something?
can you please give me instructions what to do with your zip files?
thanks!!
(2012-09-17, 22:17)dracula Wrote: [ -> ]
(2012-09-15, 15:53)anteo Wrote: [ -> ]I managed to fix issues described above. I've attached fixed versions of video youtube (3.1.0) and simple downloader (0.9.3) plugins. What issues are fixed:
  • latest change in YouTube that totally broke viewing videos
  • unsupported (=http) protocol problem
  • exceptions in transformAnnotationToSSA (list out of index) for some videos
  • subtitles are not displayed
  • videos with non-ascii names are not downloaded or downloaded with all non-ascii characters stripped (I tested fix on Windows platform, so not sure about correct downloading on *nix platforms)

https://dl.dropbox.com/u/33024933/plugin...outube.zip
https://dl.dropbox.com/u/33024933/script...loader.zip

Thanks mister, works like a charm (on XBMC 11.0 Eden @ Windows).
When will these changes be merged into the repository version?

how to setup these files?
i tried to install from zip and i get an error "dependanxies not met" in eden.
i tried to uninstall the 3.1 but i get a message that the addon is used by moveidb addon and it is imposible to uninstall.
what to do?
thanks
(2012-09-23, 20:09)AchillesGr Wrote: [ -> ]
(2012-09-17, 22:17)dracula Wrote: [ -> ]
(2012-09-15, 15:53)anteo Wrote: [ -> ]I managed to fix issues described above. I've attached fixed versions of video youtube (3.1.0) and simple downloader (0.9.3) plugins. What issues are fixed:
  • latest change in YouTube that totally broke viewing videos
  • unsupported (=http) protocol problem
  • exceptions in transformAnnotationToSSA (list out of index) for some videos
  • subtitles are not displayed
  • videos with non-ascii names are not downloaded or downloaded with all non-ascii characters stripped (I tested fix on Windows platform, so not sure about correct downloading on *nix platforms)

https://dl.dropbox.com/u/33024933/plugin...outube.zip
https://dl.dropbox.com/u/33024933/script...loader.zip

Thanks mister, works like a charm (on XBMC 11.0 Eden @ Windows).
When will these changes be merged into the repository version?

how to setup these files?
i tried to install from zip and i get an error "dependanxies not met" in eden.
i tried to uninstall the 3.1 but i get a message that the addon is used by moveidb addon and it is imposible to uninstall.
what to do?
thanks

You shouldn't need to download the files anymore. Version 3.2.0 which you can download from within xbmc is released and should fix the issue.