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.
jmarshall Wrote:Just a heads up: The official repository is now accepting rtmp(e) addons - they'll be hosted outside of the US but will be available to users everywhere. Please ensure you have a statement to the effect of: "some parts of this addon may not be legal in your country of residence - please check with your local laws" in the <disclaimer>.

Cheers,
Jonathan

That's great news.

Glad you got it worked out.
jmarshall Wrote:Just a heads up: The official repository is now accepting rtmp(e) addons - they'll be hosted outside of the US but will be available to users everywhere. Please ensure you have a statement to the effect of: "some parts of this addon may not be legal in your country of residence - please check with your local laws" in the <disclaimer>.

Cheers,
Jonathan

Great news, definitely gonna add this to version 2.. Big Grin
looking forward to next releaseNod
Any plans to replace the current repo version with the RTMP enabled version? Or are you going to wait until the next release for this?
Mindzai Wrote:Any plans to replace the current repo version with the RTMP enabled version? Or are you going to wait until the next release for this?

Hmm the new release should have been in beta by now, (its practically there just a few bugs holding it up) but since it's dragging its feet and we would like a good 2 week testing period before requesting a pull to the repo, we'll do a bugfix/rtmpe update of the old version when we go beta on v2..
hi devs. any chance of making 'My Favorites' the first option in browse mode ? I know myself and I usually start the plugin to check a video on my tv that I JUST favorited on youtube.com

If this is already possible some way, feel free to spank me, I haven't looked very hard for an option
pike Wrote:hi devs. any chance of making 'My Favorites' the first option in browse mode ? I know myself and I usually start the plugin to check a video on my tv that I JUST favorited on youtube.com

If this is already possible some way, feel free to spank me, I haven't looked very hard for an option

Not quite sure if I understand what you're looking for but xbmc includes a default "add to favorites" option thats also available for the different plugin folders:
Image

This would make the specific folder available from the home screen (Though It's awfully well hidden, and doesn't really seem to fit into xbmc's existing flow I'll admit.):
Image

I guess alternately we could add a setting forcing a specific plugin listing as the default, though I'm not quite sure if that was what you asked for?, or if its still necessary?.
joeranjensen Wrote:Looking forward to thatSmile keep up the good work with this nice plugin, its getting better and better.

Btw, is it possible to add youtubevideos into the same playlists as my local musicfiles? If not, that whould be a great feature for this plugin (if its possible)

I haven't found a way to mix youtube items with music files. But i can freely mix it in the current playlist with all my local files.

The only limitation i have found is that i can't add a video to the xbmc favorites. Which i could investigate a bit more if anyone wants it.
Just release 1.8.1 with RTMP support.

For good measure it is here as well.
http://code.google.com/p/youtubexbmc/downloads/list

A pull request to the addon repo has been sent.

Changelog for 1.8.1:
- RTMP Support enabled
- Changed icon to conform to XBMC icon guidelines
- Added disclaimer to addon xml (as requested by Team XBMC)

Note: Just reuploaded the file with a proper changelog.
We just released YouTube version 2 beta ( release 1.9.0 )

http://code.google.com/p/youtubexbmc/downloads/list

Interesting changes:
- Implemented scraper for categories, trailers and disco.
- Before the plugin could play age restricted videos after the account had been verified(in a browser) as being over 18. The plugin will now verify as being of age if YouTube SafeSearch is set to "off"
- More videos by user (I personally love this feature).
- Refactored the core. It should now be more stable, and have better error handling.
- Automatically retry on certain errors. ( The timeout can be set in settings. Default is 5seconds and i don't recommend changing it. 5 seconds should give a max waiting time of 25 seconds. But that is only on massive failures on YouTube's server)

Full Changelog:
- Plugin can now confirm that the user is above 18 ( will only try if safe_search is disabled )
- Added support for trailer thumbnails.
- Added timeout option in advanced settings
- Added sorting options (title, upload date, rating, runtime)
- Added Scraper for YouTube categories (1 level only)
- Added Scraper for YouTube Trailers
- Added Scraper for YouTube Disco music searches
- Added "More videos by User" option as requested by spiff
- Added edit search feature, pops up with search in question and allows you to change it..
- Added "Set content to movies" for video lists as this will allow the user to use other skin view modes
- Added advanced setting to enable users to select playback quality pr video item in the context menu as requested by Nektarios
- Added Nicer default icons for video items
- Added Nicer default icons for searches
- Added useragent to requests send by XBMC.
- Reversed the "folders" settings tab ie Show Feeds (Enabled) instead of "Hide Feeds" (Disabled)
- Refactored core functions for stability and readability.
- Loop all url requests upto 5 times, should increase stability.
- Refactor of navigation layer, hopefully simplifying maintainance
- Removed unnessecary remapping of variable names between core and navigation
- Fixed "Unknown Uploader" for some folders
- Added dummy video items in batch requests for when youtube removed an item.
- Loop on 503: Service Unavailable errors.
- Updated Browse Youtube to use regex.


Hope we didn't miss anything. Smile

Please try it out, and report anything wrong, weird or missing you find.

Hope you enjoy it.

Now, here are a few things you can do to help us make this plugin better.
- Report errors with debug log ( No matter how small it is, we would rather get a log and try to handle it gracefully than ignore it. No matter how small ).

- Help us find the best order for the context menu items. Which would you prefer at the top? At the bottom? Why?

- Any error reported with a three digit number. IE ( 401, 503 )
These errors are http errors from YouTube's server, and usually just require a one line change to fix them.
Error 503 has been the cause of many issues seen with this plugin, and accounts for almost all the Login issues that have been seen this far in the plugin. Though i have seen a playback fail with this error as well.
In this case the error would have been "503 (Service unavailable)"
If you encounter this error. Please retry your attempt a few times, at most 5, and provide me with a full debug log
We should handle all of these gracefully by now (Expect 1.9.1 within the hour that will improve on this), but please tell me if you got one, even if you don't have a debug log(or even any log).
-

As always i suggest posting debug logs here http://pastebin.ca/upload.php because there is no need to cut and paste, just select the file and upload.
Woot, thanks for the quick beta Big Grin

However, it appears I can't login at all now Oo.. I enter my login details as before, it thinks about it, and then it pops up with 'Login Failed: IOERROR'

If I then go to play an age restricted video, I now get the 'You must be over 18..' popup.

Log here: http://pastebin.com/ArKyvFqZ

Confused
Ok, Here is 1.9.1

http://code.google.com/p/youtubexbmc/downloads/list

I don't know how, but i missed an obvious error from YouTube that the plugin should retry on.

Changelog:
- Loop on 500, don't know how i missed this.
- Minor cleanup

Btw, we have one know bug. Videoes sometimes have an unknown uploader, this only happens in certain areas of the plugin, and i haven't found all of them yet. I am actively working on this issue. Should be better in the next release.
Sneeka Wrote:Woot, thanks for the quick beta Big Grin

However, it appears I can't login at all now Oo.. I enter my login details as before, it thinks about it, and then it pops up with 'Login Failed: IOERROR'

If I then go to play an age restricted video, I now get the 'You must be over 18..' popup.

Log here: http://pastebin.com/ArKyvFqZ

Confused

That is weird and... new... Haven't seen that before. But it appears to be an SSL error. Shouldn't happen with your version of xbmc though.

And you could login with the 1.8.x version?
TobiasTheCommie Wrote:That is weird and... new... Haven't seen that before. But it appears to be an SSL error. Shouldn't happen with your version of xbmc though.

And you could login with the 1.8.x version?
Just tried v1.9.1 on another pc with xbmc on (again, Dharma b2) and got the same thing..

http://pastebin.com/Rr2NuuV4

It logged in ok with v1.8.x (ie. i could see my subscriptions and favorites), but age restricted vids didn't play.

I think I'm cursed No
Hi - same issue here - 'Login Failed: IOERROR'