[PLUGIN: Released] YouTube for Original Xbox

Discussion of plugin / script development for XBMC4Xbox
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

[PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

Hello guys. I'm happy to release new YouTube plugin for Original Xbox. Yes, it's now again possible to watch YouTube on this dated hardware. I'm using Invidious for fetching data from YouTube. Here is a video that shows this plugin in action. Some features of this plugin are:
  • Trending Videos
  • Popular Videos
  • Searching
  • Channel view
  • Channel searching
  • Subscribtions
  • Import subscriptions from local YouTube account
  • Suggested channels
  • Suggested videos
Limitations:
  • Videos length - currently I don't understand how adaptive streams works and how to use them on Xbox. Because of that I'm using formated streams which means that whole video must be loaded in RAM memory. Because of that on Xboxes with 64MB RAM you can watch video of max 1 hour lenght and on 128MB RAM Xboxes videos of max 3 hours length. I hope I will fix this in the next release.
Download Link
How to install
Last edited by MasterChief2 on Wed Feb 01, 2023 8:03 pm, edited 2 times in total.
User avatar
sixties keith
Posts: 534
Joined: Wed Aug 01, 2012 9:30 am
Has thanked: 27 times
Been thanked: 32 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by sixties keith »

good job, always nice when work continues on the old xbox :)
Image

120gb hdd, vinyl magma skin, front lights, side strip lights, clear jewel mod with lights, ir dongle mod, hdd indicator. X3 with LCD many mods inc custom x3 jewel.
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

Thanks! :) One guy from YouTube in comments said this isn't for Original Xbox... :D
My next project will be port of Estuary skin to XBMC4Xbox, but I currently don't know when I will start working on that.
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

New release is available at link. Now you can use YouTube solely on Xbox without need of PC Gateway. Thanks to Mr. Rochemont from YouTube now we can watch YouTube on OG Xbox without PC Gateway. He is hosting Invidious Instance without HTTP security protocols like TLS.

Chanelog:
  • User now can switch between direct and proxy connection to Invidious Instance inside plugin setttings.
So in the other word, you can decide if you want to use PC Gateway between Xbox and Invidious or you want direct connection to Invidious. By default, direct connection is enabled and it's using Instance that Mr. Rochemont is hosting. Hovever, this is the only one known public instance that have disabled HTTP security protocols. In the other words, you can use this direct connection only with instances that doesn't require TLS1.2 encryption. But, while Instance from Mr. Rochemont is online you shouldn't worry.

How to install:
Extract downloaded zip file. Copy YouTube from Xbox folder to Q:\plugins\video.
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

New version is released! Plugin is completely rewriten using xbmcswift2. You can download new v0.5.1 release from here. Tutorial on how to install it on Xbox can be found here.

Changelog:
  • Builded from scratch using xbmcswift2
  • Fixed freezing bug #6
  • Added multilanguage support
  • Added option to unsubscribe from channel
  • You don't need to setup proxy on your local network! Just install it on Xbox and start using it!
If you find any bug please open an issue on GitHub! Be sure to find and report all bugs. Thanks in advance!

Links are also updated on first post!
XadPT
Posts: 2
Joined: Tue Jan 10, 2023 8:59 pm
Has thanked: 2 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by XadPT »

MasterChief2 wrote: Fri Dec 09, 2022 12:57 am New version is released! Plugin is completely rewriten using xbmcswift2. You can download new v0.5.1 release from here. Tutorial on how to install it on Xbox can be found here.

Changelog:
  • Builded from scratch using xbmcswift2
  • Fixed freezing bug #6
  • Added multilanguage support
  • Added option to unsubscribe from channel
  • You don't need to setup proxy on your local network! Just install it on Xbox and start using it!
If you find any bug please open an issue on GitHub! Be sure to find and report all bugs. Thanks in advance!

Links are also updated on first post!
Is there a possibility on the future to have a update option on the pluggins you are making? like imagine you have a new version of YT, on the plugin we can see that there is a new version and get the new one directly on xbox? Best regards
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

It's possible, I've seen that in some plugins. Maybe I will add that sometimes in the future. I'm currently working on Estuary skin and trying to port some things which will make port of that skin possible. But current progress iz zero :D
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

Hi
when searching for a channel, it doesn't allow me to watch the videos, I get an error
https://pastebin.com/ZGrC94a3
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

That can happen sometimes because some videos in title have unsupported characters. And that's exactly what is error inside xbmc.log you provided. Please open an issue on github page of plugin because if you don't I will forgot about that bug. I'm currently busy with GUILIB and Estuary skin so don't have time to deal with my plugins at this time. But as soon as I get time I will take a look on it. Can you send exact steps you did do get this error? What channel did you search, what channel did you open and what video did you try to play? Or event better send me an id of video so I can check it on my console.
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

Hi, Thanks for your quick response, I have tried many channels and I always get the same error. I have even replicated the steps of this demo video one by one and in my case it does not work.

Time: ~6m 30s

[youtube]https://youtu.be/qSzjIY5Qtek[/youtube]
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

I will take a quick look on that when I get back from work. If there is quick fix I will fix it, but if not you will need to be patient because I'm currently porting some stuffs from Kodi's GUILIB and that's more important right know. So you get error when opening new video or you get error when you select stream?
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

Hi
Thanks again, patience is one of my few virtues ;)
Regards
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

New minor release is available! You can download it from here.

Changelog:
  • fixed bug not loading videos on channel page
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

WOW, works 100% :D
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

Does it still work? Not for me.
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

I will check it tonight. Maybe Invidious instance was down. Or my website could also be down since if you are not using your proxy all traffic is sended to my API which acts like a proxy between Xbox and Invidious.

EDIT: FYI, better place to report such bugs is XBOX-SCENE discord server. I'm active there on daily basis, here I'm not. ;)
MasterChief2
Posts: 42
Joined: Tue Oct 01, 2019 9:57 am
Has thanked: 2 times
Been thanked: 46 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by MasterChief2 »

Something has changed in URL path. Until I fix it, disable 'Enable DASH to bypass region blocking' and be sure to use Invidious instance from your country. If it's not from your country 90% of videos will be blocked because of google region check.
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

MasterChief2 wrote: Sat Oct 28, 2023 1:04 am Something has changed in URL path. Until I fix it, disable 'Enable DASH to bypass region blocking' and be sure to use Invidious instance from your country. If it's not from your country 90% of videos will be blocked because of google region check.
Yes, works ;)
User avatar
hal9000
Posts: 58
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 35 times
Been thanked: 6 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by hal9000 »

Hi, yesterday I decided to try it again and I see that there is no way it works. Thank you very much for your great work. :D
Obviously it is more curiosity than functionality.
Coldly-Indifferent
Posts: 443
Joined: Thu Mar 19, 2015 4:01 am
Has thanked: 77 times
Been thanked: 59 times

Re: [PLUGIN: Released] YouTube for Original Xbox

Post by Coldly-Indifferent »

There's another problem with YT now and that is it has, in the last month, gone from simply 'warning' you your browser is unsupported but 'allowing' you to continue, to actively preventing you from accessing YT with anything but its selection of supported browsers. Stupid, and we can bet it is for some self-serving reason rather than any else. :cry:

It is therefore unsurprising that trying to access it with the Xbox via a XBMC plugin or, incidentally, with the XB360 either will now not work at all. :(
Post Reply