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.
toymachine2009 Wrote:I am on dharma 10.1

ill work on getting a debug log I guess

Edit: Nevermind I guess it was a bad video on youtube sorry for the question.

No problem.

If i could get the video id i can make sure the next version handles the error properly. We already have a lot of that in beta 2.6.0, but can never get enough. Smile
TobiasTheCommie Wrote:No problem.

If i could get the video id i can make sure the next version handles the error properly. We already have a lot of that in beta 2.6.0, but can never get enough. Smile

It was on 2 videos actually. And the odd thing was I have played both videos in HD atleast 10x each within the past month.. All the sudden stopped working...

The 2 videos that played for me many times and all the sudden stopped these are them

http://www.youtube.com/watch?v=hKntC1vMxSs
http://www.youtube.com/watch?v=AeMsfEK-a...ure=relmfu

Thanks for the support and quick replies. Much appreciated.
toymachine2009 Wrote:It was on 2 videos actually. And the odd thing was I have played both videos in HD atleast 10x each within the past month.. All the sudden stopped working...

The 2 videos that played for me many times and all the sudden stopped these are them

http://www.youtube.com/watch?v=hKntC1vMxSs
http://www.youtube.com/watch?v=AeMsfEK-a...ure=relmfu

Thanks for the support and quick replies. Much appreciated.

Both videos works for me with 2.6.0, weird they don't play for you. :/
Still getting 404 page not found when trying Free Movies. Pastebin attached, I also began looking into the API error, it seems that almost all the Movie selections that do not work is due to charges ($$$) to view the movie. That sucks, almost all the ones that used to be Free are now Pay to View.

And I can not get into the Free Movies selection.

http://pastebin.com/CMzfqm2R

FYI, posted just to see if it would work and provide you with additional info.

toymachine2009 error that I get when selecting the http://www.youtube.com/watch?v=hKntC1vMxSs link:

http://pastebin.com/NRTGXFwb

Even the YouTube Disco selection I'm getting errors on Top25 and most popular artists which is just about every option on the screen. Maybe I need to be at a later release of XBMC, I have the latest stable XBMC Dahrma Built on Mar 9 2011 (Git:Unknown). (not sure if it is now though)

Code:
10:57:19 T:2842069872 M:1316601856  NOTICE: YouTube-2.1.1
10:57:21 T:3078395776 M:1316474880   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/explore/disco/top_25&scraper=disco_top_25&login=false&
10:57:21 T:3078395776 M:1316474880   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/explore/disco/top_25&scraper=disco_top_25&login=false&) failed
10:57:21 T:2932865904 M:1316474880  NOTICE: -->Python Interpreter Initialized<--
10:57:21 T:2932865904 M:1316474880  NOTICE: YouTube-2.1.1
Thanks a lot, you guys!
I got the plugin working again using the stable repos.

The only thing I notice that there is no way to download a video. (the CD icon never lights up).
The CD icon is for downloading, right??
Hi,
I have found a issue regarding playback of a specific yt video id

I'm using XBMC.PlayMedia to play a video now I get the following error is there any other way to play the video correctly by Event server or execbuildin metods...

Code:
17:32:12 T:2887684800 M:3371581440   ERROR: XBMC.PlayMedia could not play media: plugin://plugin.video.youtube/?action=play_video&videoid=s-3wN7HacnQ


logs:
http://pastebin.com/0PzjTYQ7

It works fine in xbmc nightly build with yt plugin v2.6

Regards
Love the plugin BTW Smile
Hi, ive been using the youtube plugin for a while now, but recently just started having an issue. When i go to the plugin, i dont see subscriptions or any other items, other than search, explore and login, signifying i'm not logged in. I go to login. and my username and password is already stored, but when i press ok it says script failed. I have tried entering my login and apssword again but same error. I am trying to look for my log file but cant find it, can someone tell me where it is.

SEcondly, i have been using nightlies for about 2 months now, and this problem didn't show up. Recently, i switched back to the official stable 10.1 release, then switched between a couple of nightlies and now i cant run youtube. I even went back to the last stable build i was on on which youtube was working, but it wont work.
What nmirza said login doesn't work I get this in log:

Code:
03:55:13 T:1728  NOTICE: YouTube2.6.0
03:55:13 T:1236   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
03:55:13 T:1236   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed
and there are two strings from settings/explore youtube missing in strings.xml:

<setting id="music" type="bool" label="30286" default="true" />
<setting id="live" type="bool" label="30287" default="true" />

edit: also these errors are in the log

Code:
File "C:\Users\japaja\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 66, in <module>
    __login__.login()
File "C:\Users\japaja\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 76, in login
    (result, status) = self._apiLogin()
File "C:\Users\japaja\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 135, in _apiLogin
    oauth = json.loads(ret["content"])
File "C:\Program Files\XBMC\system\python\Lib\json\__init__.py", line 307, in loads
    return _default_decoder.decode(s)
File "C:\Program Files\XBMC\system\python\Lib\json\decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\XBMC\system\python\Lib\json\decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
This is my first ever post. I have update to version 2.6 on Apple TV2 and all seems ok except certain videos wont play.
I goto you tube on my PC and find videos to add to my playlists , but when i use XBMC YT addon they wont play.

URL is http://www.youtube.com/watch?v=TxsNYpCrU...7C675C16E9

I can only assume its because there is an advert for Crackle and then redirects to the video.

Is there anything that can be done to fix this.

And great job to the person/s that made the YT addon. my kids love it.

all the best
nmirza Wrote:Hi, ive been using the youtube plugin for a while now, but recently just started having an issue. When i go to the plugin, i dont see subscriptions or any other items, other than search, explore and login, signifying i'm not logged in. I go to login. and my username and password is already stored, but when i press ok it says script failed. I have tried entering my login and apssword again but same error. I am trying to look for my log file but cant find it, can someone tell me where it is.

SEcondly, i have been using nightlies for about 2 months now, and this problem didn't show up. Recently, i switched back to the official stable 10.1 release, then switched between a couple of nightlies and now i cant run youtube. I even went back to the last stable build i was on on which youtube was working, but it wont work.

Check the version that you're using. When you are in the nightlies it updates the plugin to the 2.5.0 (Beta) version, so if you are now using Dharma it most likely will not work. Remove it and download the version from the XBMC repository.
k_zeon Wrote:This is my first ever post. I have update to version 2.6 on Apple TV2 and all seems ok except certain videos wont play.
I goto you tube on my PC and find videos to add to my playlists , but when i use XBMC YT addon they wont play.

URL is http://www.youtube.com/watch?v=TxsNYpCrU...7C675C16E9

I can only assume its because there is an advert for Crackle and then redirects to the video.

Is there anything that can be done to fix this.

And great job to the person/s that made the YT addon. my kids love it.

all the best

These video's arent hosted on youtube servers but are instead hosted by crackle, so video playback isn't supported.
speed32219 Wrote:And I can not get into the Free Movies selection.

Not sure what this free movies section is, i don't think its available when viewing youtube from outside US.

Quote:Even the YouTube Disco selection I'm getting errors on Top25 and most popular artists which is just about every option on the screen. Maybe I need to be at a later release of XBMC, I have the latest stable XBMC Dahrma Built on Mar 9 2011 (Git:Unknown). (not sure if it is now though)

Disco Top 25 was rename top 50 a few months ago, but now it seems they removed it all together, instead you get the disco top 100 which is supported in 2.6.
wasabi Wrote:Thanks a lot, you guys!
I got the plugin working again using the stable repos.

The only thing I notice that there is no way to download a video. (the CD icon never lights up).
The CD icon is for downloading, right??

CD icon? I don't remember creating a cd icon for the plugin ever, so that would be a no Smile

you should be able to select download from the context menu as pictured here:
http://code.google.com/p/youtubexbmc/wiki/VideoFeed1

If that doesnt work please create a debug log and upload it to pastebin.
FSS_Dawid Wrote:Hi,
I have found a issue regarding playback of a specific yt video id

I'm using XBMC.PlayMedia to play a video now I get the following error is there any other way to play the video correctly by Event server or execbuildin metods...

Code:
17:32:12 T:2887684800 M:3371581440   ERROR: XBMC.PlayMedia could not play media: plugin://plugin.video.youtube/?action=play_video&videoid=s-3wN7HacnQ

logs:
http://pastebin.com/0PzjTYQ7

It works fine in xbmc nightly build with yt plugin v2.6

Regards
Love the plugin BTW Smile

Hmmm,
Code:
17:19:14 T:2954383360 M:3402391552   ERROR: Traceback (most recent call last):
                                              File "/Users/irek/Library/Application Support/XBMC/addons/plugin.video.youtube/default.py", line 52, in ?
                                                import YouTubePlayer as player
                                              File "/Users/irek/Library/Application Support/XBMC/addons/plugin.video.youtube/YouTubePlayer.py", line 20, in ?
                                                import xbmc, xbmcgui, xbmcplugin, xbmcvfs
                                            ImportError: No module named xbmcvfs
17:19:14 T:2887684800 M:3402383360   ERROR: XBMC.PlayMedia could not play media: plugin://plugin.video.youtube/?action=play_video&videoid=xp4zGUl0iRg

this would seem to be a problem with your build of xbmc, we've recently added a dependency to the xbmcvfs api to support downloading to "smb://" shares and playback from local filesystem, but your xbmc seems to be missing that module?

------------------ EDIT ----------------------

Just rechecked you log, that nightly is VERY old

Code:
17:17:49 T:2887684800 M:3499618304  NOTICE: Starting XBMC, Platform: Mac OS X (11.0.0 x86_64). Built on Mar  9 2011 (Git:e9e9099)
you need a nightly that is at most a couple of weeks old.
nmirza Wrote:Hi, ive been using the youtube plugin for a while now, but recently just started having an issue. When i go to the plugin, i dont see subscriptions or any other items, other than search, explore and login, signifying i'm not logged in. I go to login. and my username and password is already stored, but when i press ok it says script failed. I have tried entering my login and apssword again but same error. I am trying to look for my log file but cant find it, can someone tell me where it is.
We'd be very interested in a proper debug log, try and follow the guide here to find you log:
http://code.google.com/p/youtubexbmc/wik...oginIssues
please not that im not quite sure about the log paths as i drew them from memory and its been a while since i ran the plugin on windows (if thats what your using)

Quote:SEcondly, i have been using nightlies for about 2 months now, and this problem didn't show up. Recently, i switched back to the official stable 10.1 release, then switched between a couple of nightlies and now i cant run youtube. I even went back to the last stable build i was on on which youtube was working, but it wont work.

Hi, this problem is probably cause by you have had nightly installed before, xbmc doesnt downgrade the plugin when you switch back to stable, so you need to completely uninstall it to get a proper working one, alternatively you can try deleting the plugin folders mentioned in the previous guide. Smile