Page 2 of 2

Re: [RELEASE] YouTube

Posted: Tue Mar 28, 2017 1:17 pm
by tim619
I think it is possible in the player settings to limit the amount of megabytes to buffer, but don't know where exactly.
Maybe you could ask this in a new thread, I think there are some people who know it better than me.

On kodi it is the "forward value" they already limited it from 10mb to 7.5mb, I don't know what it is in xbmc4xbox you could
try to change the value and tell us if it fixes the freezings on longer videos. (Obviously this will force more buffering stops, but atleast it won't freeze from what I assume)

Re: [RELEASE] YouTube

Posted: Mon Apr 03, 2017 4:28 pm
by Mayson
Thank You very much. Works great.
excelent job.

Re: [RELEASE] YouTube

Posted: Sun Nov 12, 2017 2:21 am
by Lex
Thank you!!!!!

Re: [RELEASE] YouTube

Posted: Mon Mar 05, 2018 11:36 pm
by Softmodder
I keep getting script failed even though I am on the latest version of XBMC4XBOX. I did a clean fresh reupdate (as in I just reinstalled the XBMC4XBOX in another folder using the update addon thing) just in case and tried the YouTube script again, but it gave the same error. I don't know what could be causing it. I looked in the log to see what the problem is, but all it says is that the video I am trying to play (as in url), and it failed. How do I fix this?

Re: [RELEASE] YouTube

Posted: Tue Mar 06, 2018 4:33 pm
by tim619
The api.get_video_url function doesn't work anymore. Maybe I will fix it, if I find time for it.

for the kodi version they used this code:
https://github.com/jdf76/plugin.video.y ... 4b1e6a6288

Re: [RELEASE] YouTube

Posted: Sun Apr 08, 2018 1:27 pm
by tim619
Update v1.1.0
  • fixed playback using js-interpreter

Re: [RELEASE] YouTube

Posted: Wed Apr 11, 2018 5:52 am
by fxmech
Thank you!

Sent from my XT1254 using Tapatalk


Re: [RELEASE] YouTube

Posted: Tue May 01, 2018 3:32 am
by guruckler cardiel
thank you sir for your work really appreciate the effort I thought the plugin would end

Re: [RELEASE] YouTube

Posted: Thu May 31, 2018 11:33 pm
by Poxa
Thanks a lot, it works great ;)

Re: [RELEASE] YouTube

Posted: Wed Jun 06, 2018 6:42 am
by Mersa316
I've tooled around with the api.py file and i'm only able to get it to lock into either 720p or 360p. Anything in between will not let it run in 480p, which i think the xbox could handle. How can i stream YouTube to the xbox in 480p? I'm very happy with this plugin, as it actually works as of June 5th 2018, the resolution has just given me trouble.

Any help would be greatly appreciated.

Re: [RELEASE] YouTube

Posted: Mon Jan 07, 2019 7:12 am
by woss
Hi, most of the videos will not play, here is the log, is it possible to fix it by modifying .py files?, please can you give a hint?

Code: Select all

23:53:45 M: 31977472   DEBUG: CPlayerCoreFactory::GetPlayers()
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: ogv/flv/mov
23:53:45 M: 31997952   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: MPlayer (2)
23:53:45 M: 31997952   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
23:53:45 M: 31997952  NOTICE: DVDPlayer: Opening:
23:53:45 M: 31997952 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:53:45 M: 31473664  NOTICE: Creating InputStream
23:53:45 M: 31473664   ERROR: CDVDPlayer::OpenInputStream - error opening []
23:53:45 M: 31473664  NOTICE: CDVDPlayer::OnExit()
23:53:45 M: 31473664  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:53:45 M: 31997952   DEBUG: CApplication::OnPlayBackStopped - Playback was stopped
23:53:45 M: 31997952   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://video/YouTube/?id=32F2d-wj4Xw&f=play]

Re: [RELEASE] YouTube

Posted: Wed Feb 06, 2019 4:45 pm
by tim619
The following would need to be implemented https://github.com/rg3/youtube-dl
with autoupdating when it doesnt work anymore. I think there is a function like "get_video_url(video_id)" this should call "youtube-dl" from the above repo.

Then a manual download to "https://github.com/rg3/youtube-dl/archive/master.zip" would be needed + extraction and deletion of old files when it's used first or is out of date.

See here: https://github.com/rg3/youtube-dl#embedding-youtube-dl

Re: [RELEASE] YouTube

Posted: Tue Apr 09, 2019 7:28 pm
by Lee Brandon
hey your plugin dosnt work anymore i dont know if its me but it cant find any videos and im connected with the internet on my xbox

Re: [RELEASE] YouTube

Posted: Wed May 29, 2019 10:54 am
by PPlayerxx
@tim619
So no more updates from this plugin?
I've used it in the past year and everything went good, it was a good plugin.

Re: [RELEASE] YouTube

Posted: Mon Aug 05, 2019 12:20 pm
by gabbers77
Good guys, some way to revive this plugin? THX!!

Re: [RELEASE] YouTube

Posted: Mon Aug 19, 2019 2:58 pm
by tim619
Even if youtube-dl was embedded, the YouTube API key used (which was hardcoded in the android app) is blocked since a few months and I don't know a new one that is unlimited.