Open vizzah opened 11 years ago
Hi Thanks for the heads up, cant say when i will have time to look into it... but i will :)
I think this is the same problem I am having. Basically, my youtube profile got sucked into my google profile, but that google profile already had a youtube profile linked to it. So my real youtube profile became some kind of afterthought, second linked account. I dunno how it happened, but it has and it is very frustrating.
Loading things like favourites (any subscription feed), etc was impossible so I changed the plugin code to put in the username as mentioned in vizzah's comment and it was working for a while. I posted my changes here a while back: https://code.google.com/p/youtubexbmc/issues/detail?id=108#c23
Since the latest update of this plugin however I can no longer play videos when logged into my youtube account. Even if I logout (reset to default settings) I can't play a video, I have to go into terminal and delete the addon user data and restart XBMC before I can play videos again. So I tried to re-implemented my changes mentioned above and all it did was fix the subscription feeds (favourites list, etc), but playing videos still does not work - it definitely seems related to this issue#28 because my account is relatively unique. I have not confirmed if a new Google/Youtube account works, but I am sure more people would be complaining if this plugin was not working for normal Google/Youtube acccounts.
I also tried the latest code from github (YouTube Beta-3.4.0) which did not improve/change the error in any way.
I have lots of favourites, etc and it will take me forever to move it all to a brand new account and I am sure others are having the same problems as I am. I am happy to code the fix for this, but perhaps someone can just give me some input on where to start looking, or what they think I should try first - it would be greatly appreciated!
EDIT: I must also mention, that the video link it shows in the logs plays the video fine if I copy/paste it into a browser. It also works if I curl from the terminal on the XBMC machine. In some tests, the link returned a 302 redirect and in others it returned a 200, but still resulted in the same error in the log file.
Details:
Here is some of my log file to show the error when trying to play a video (this one was a video from searching and is before my changes):
22:02:41 T:4572520448 NOTICE: -->Python Interpreter Initialized<--
22:02:41 T:4572520448 NOTICE: Loading cookies from :'/Users/TV/Library/Application Support/XBMC/userdata/addon_data/plugin.video.youtube.beta/yt-cookiejar.txt'
22:02:41 T:4572520448 NOTICE: YouTube Beta-3.4.0 ARGV: ['plugin://plugin.video.youtube.beta/', '16', '?login=true&path=%2froot%2ffavorites&user_feed=favorites']
22:02:41 T:4572520448 NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
22:02:41 T:4572520448 NOTICE: CommonFunctions-2.5.1
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] __init__ : ''
22:02:42 T:4572520448 NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] __init__ : 'Done'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] getXBMCVersion : '13.1'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _getAuth : ''
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/users/seraphimalia/favorites?start-index=1&max-results=50', 'auth': 'true'}'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'got auth'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _getAuth : ''
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'updated link: http://gdata.youtube.com/feeds/api/users/seraphimalia/favorites?start-index=1&max-results=50&oauth_token=ya29.LgBeMkfCjAaP2BoAAAA2QdYQCrhs5CZJrUtK76VmMlfGGSXa_Qsc0icoIYUEyg'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'got default: http://gdata.youtube.com/feeds/api/users/seraphimalia/favorites?start-index=1&max-results=50&oauth_token=ya29.LgBeMkfCjAaP2BoAAAA2QdYQCrhs5CZJrUtK76VmMlfGGSXa_Qsc0icoIYUEyg'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'got api'
22:02:42 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'connecting to server... http://gdata.youtube.com/feeds/api/users/seraphimalia/favorites?start-index=1&max-results=50&oauth_token=ya29.LgBeMkfCjAaP2BoAAAA2QdYQCrhs5CZJrUtK76VmMlfGGSXa_Qsc0icoIYUEyg'
22:02:44 T:4572520448 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'done'
22:02:45 T:4572520448 NOTICE: [YouTube Beta-3.4.0] videoIsUnavailable : 'removing video, reason: blocked value: Blocked by content owner'
22:02:45 T:4572520448 NOTICE: [YouTube Beta-3.4.0] videoIsUnavailable : 'removing video, reason: termsOfUse value: Terms of use violation'
22:02:45 T:4572520448 NOTICE: Previous line repeats 1 times.
22:02:45 T:4572520448 NOTICE: [YouTube Beta-3.4.0] updateVideoIdStatusInCache : 'videoidcache'
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] 'setMulti' : 'videoidcache'
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/Users/TV/.xbmc/temp/commoncache.socket''
22:02:45 T:4572520448 NOTICE: [YouTube Beta-3.4.0] getVideoIdStatusFromCache : 'vidstatus-'
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] 'getMulti' : 'vidstatus-'
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/Users/TV/.xbmc/temp/commoncache.socket''
22:02:45 T:4572520448 NOTICE: [YouTube Beta-3.4.0] store : 'Got key 'favorites_thumb''
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] 'set' : 'favorites_thumb'
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
22:02:45 T:4572520448 NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/Users/TV/.xbmc/temp/commoncache.socket''
22:02:45 T:4572520448 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
22:02:45 T:4573057024 WARNING: Previous line repeats 1 times.
22:02:45 T:4573057024 NOTICE: Thread BackgroundLoader start, auto delete: false
22:02:54 T:4573057024 NOTICE: Thread LanguageInvoker start, auto delete: false
22:02:54 T:4573057024 NOTICE: -->Python Interpreter Initialized<--
22:02:54 T:4573057024 NOTICE: Loading cookies from :'/Users/TV/Library/Application Support/XBMC/userdata/addon_data/plugin.video.youtube.beta/yt-cookiejar.txt'
22:02:54 T:4573057024 NOTICE: YouTube Beta-3.4.0 ARGV: ['plugin://plugin.video.youtube.beta/', '17', '?path=/root/video&action=play_video&videoid=veyoWeCmmU4']
22:02:54 T:4573057024 NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
22:02:54 T:4573057024 NOTICE: CommonFunctions-2.5.1
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] __init__ : ''
22:02:54 T:4573057024 NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] __init__ : 'Done'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] getXBMCVersion : '13.1'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] buildVideoObject : '{'action': 'play_video', 'path': '/root/video', 'videoid': 'veyoWeCmmU4'}'
22:02:54 T:4573057024 NOTICE: [StorageClient-2.5.4] 'get' : 'videoidcacheveyoWeCmmU4'
22:02:54 T:4573057024 NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
22:02:54 T:4573057024 NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/Users/TV/.xbmc/temp/commoncache.socket''
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] getInfo : 'returning cache '
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] extractVideoLinksFromYoutube : 'trying website: {'action': 'play_video', 'path': '/root/video', 'videoid': 'veyoWeCmmU4'}'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'called for : {'login': 'true', u'link': 'http://www.youtube.com/watch?v=veyoWeCmmU4&safeSearch=none'}'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'got default: http://www.youtube.com/watch?v=veyoWeCmmU4&safeSearch=none'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'got login'
22:02:54 T:4573057024 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'connecting to server... http://www.youtube.com/watch?v=veyoWeCmmU4&safeSearch=none'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] _fetchPage : 'done'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] getVideoPageFromYoutube : 'Step1: 21548'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] isVideoAgeRestricted : '[]'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] scrapeWebPageForVideoLinks : ''
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] removeAdditionalEndingDelimiter : 'found extra delimiter, removing'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] extractFlashVars : 'flashvars: {u'idpj': u'-7', u'account_playback_token': u'QUFFLUhqbkJ5SDFSZjVkTkJ6MEpCTXZGSXNhdndZR3BoUXxBQ3Jtc0ttLWU0bUM0elUwV2VhNTVubE5mWkJSbzFzZHJnQjFGanRYYmpqWWVESHhNU3N2dk5MZHVWa3BBUVRWWWM4NFpfVDBEZ2xjTXktVFA5SHlmaWt0SllMdGpYSFZqQ0drQ21wY3hqc210WEFDb2RnYi1YNA==', u'ptk': u'youtube_none', u'enablecsi': u'1', u'adaptive_fmts': u'init=0-707&type=video%2Fmp4%3B+codecs%3D%22avc1.4d401e%22&size=640x480&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D8945491%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.433%26expire%3D1402540357%26signature%3D0E0A4080AB7E6DA8B6681E0ECD2968EA341452C5.2AAEC3129E077C4E1CAF900686C4C6B169FDDB41%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1390746948844950%26mt%3D1402516852%26itag%3D135&clen=8945491&index=708-1075&lmt=1390746948844950&itag=135&bitrate=565931,init=0-234&type=video%2Fwebm%3B+codecs%3D%22vp9%22&size=640x480&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D7172231%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.400%26expire%3D1402540357%26signature%3DA0AF67772B266C2AC43B8D54A8810D84484A7C30.0641771E6833A9D52BB4878C1BAF3A6E5AC3D9AC%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1400984694686937%26mt%3D1402516852%26itag%3D244&clen=7172231&index=235-700&lmt=1400984694686937&itag=244&bitrate=461084,init=0-709&type=video%2Fmp4%3B+codecs%3D%22avc1.4d401e%22&size=480x360&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D4385985%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.433%26expire%3D1402540357%26signature%3D34BF0B0AE5FE6B424DA1503613128B9F292C6B79.4AA6C716BA0AAFF26817A3F9871C993E992108E3%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1390746943885422%26mt%3D1402516852%26itag%3D134&clen=4385985&index=710-1077&lmt=1390746943885422&itag=134&bitrate=304789,init=0-234&type=video%2Fwebm%3B+codecs%3D%22vp9%22&size=480x360&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D3676218%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.400%26expire%3D1402540357%26signature%3DDBD53D299E2356A4A3B480815191CA56FB9981CC.A1EF029C5EC9F74B493EC2A916FF26694C8D6C6E%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1400984669785244%26mt%3D1402516852%26itag%3D243&clen=3676218&index=235-700&lmt=1400984669785244&itag=243&bitrate=233662,init=0-672&type=video%2Fmp4%3B+codecs%3D%22avc1.4d400d%22&size=320x240&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D4198930%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.433%26expire%3D1402540357%26signature%3D37889BF7DBBC092912AC21B97AA5354DB7E54EEE.CC1A716414736867548B6C1D8F8259A867E51F0B%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1390746944884998%26mt%3D1402516852%26itag%3D133&clen=4198930&index=673-1040&lmt=1390746944884998&itag=133&bitrate=245856,init=0-233&type=video%2Fwebm%3B+codecs%3D%22vp9%22&size=320x240&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D1953279%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.400%26expire%3D1402540357%26signature%3D47E3E13A35D713AD86A611CD569DB3B07DA2B10E.731889CB58E46002A496C3588C4FAC668F28E973%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1400984611403520%26mt%3D1402516852%26itag%3D242&clen=1953279&index=234-698&lmt=1400984611403520&itag=242&bitrate=122070,init=0-671&type=video%2Fmp4%3B+codecs%3D%22avc1.4d400c%22&size=192x144&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D1772830%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.433%26expire%3D1402540357%26signature%3DB8BD6F8E15415E4BB67982D5A9C6C74AE0446F65.012BEE35FEDEC5364E214D60593DB3559B0C6F2E%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1390746944862541%26mt%3D1402516852%26itag%3D160&clen=1772830&index=672-1039&lmt=1390746944862541&itag=160&bitrate=116639,init=0-591&type=audio%2Fmp4%3B+codecs%3D%22mp4a.40.2%22&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D2185300%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.555%26expire%3D1402540357%26signature%3DE2B34A45D0F4D7FBC7AFAAD650B76DA2AAF07D41.03FF71FADD50D261CFE40BA45414358FD2D4509B%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1390746938828954%26mt%3D1402516852%26itag%3D140&clen=2185300&index=592-791&lmt=1390746938828954&itag=140&bitrate=127960,init=0-4451&type=audio%2Fwebm%3B+codecs%3D%22vorbis%22&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Dclen%252Cdur%252Cgir%252Cid%252Cip%252Cipbits%252Citag%252Clmt%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26upn%3D_jUKOZ2LDBg%26ipbits%3D0%26ms%3Dau%26clen%3D1646965%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26dur%3D137.501%26expire%3D1402540357%26signature%3D6EF4B5EBD019E3D8BCE2853C219E1960AD0719D6.5E157EEE9513FEC80CF7321908537F8592215585%26gir%3Dyes%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26mws%3Dyes%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26lmt%3D1400984519392602%26mt%3D1402516852%26itag%3D171&clen=1646965&index=4452-4686&lmt=1400984519392602&itag=171&bitrate=102335', u'rvs': u'video_id=veyoWeCmmU4&thumbnail_ids=veyoWeCmmU4&list=RDveyoWeCmmU4&session_data=feature%3Dendscreen&playlist_length=3&playlist_title=Mix+-+Enya+-+Watermark+%28Piano%29,title=Enya+-+Watermark+%28full+album%29&length_seconds=2612&author=NatzaUK&id=mom1K4V18Do&session_data=feature%3Dendscreen,title=Watermark+Piano+Tutorial+1&length_seconds=398&author=Brian+Trobee&id=dGT99vJUrcc&session_data=feature%3Dendscreen,title=Enya+The+Best+of+Enya+-+Lo+Mejor+de+Enya+%28+Full+Album+%29&length_seconds=9524&author=RayitosdelRecuerdo&id=jLJvyP2JjYU&session_data=feature%3Dendscreen,title=Enya+-+Only+Time&length_seconds=213&author=Andreas+B%C3%B6hm&id=a2q3lPnm5rQ&session_data=feature%3Dendscreen,title=Enya+Caribbean+Blue+10+Hours&length_seconds=36003&author=Ingenieros+Frustrados&id=vca_cKHuiAg&session_data=feature%3Dendscreen,title=Enya+Greatest+Hits+-+Full+Album&length_seconds=9547&author=plata+oro&id=2ABlQXmbcp8&session_data=feature%3Dendscreen,title=Enya+-+Book+Of+Days&length_seconds=174&author=Andreas+B%C3%B6hm&id=uPceGwYUkIw&session_data=feature%3Dendscreen,title=Enya+%28+Full+Album+%29+The+Best+of+Enya&length_seconds=9524&author=Patty+N.+Levy&id=uZ91KDaW7kc&session_data=feature%3Dendscreen,title=Beethoven+-+Moonlight+Sonata+%28FULL%29&length_seconds=901&author=andrea+romano&id=4Tr0otuiQuU&session_data=feature%3Dendscreen,title=Blade+Runner+-+Memories+Of+Green+%28Piano%29&length_seconds=300&author=AnotherSchmoe&id=Yz_G9MwRWEs&session_data=feature%3Dendscreen,title=Braveheart+%28Piano%29&length_seconds=309&author=AnotherSchmoe&id=I5YjrI4e-Bc&session_data=feature%3Dendscreen', u'vq': u'auto', u'fexp': u'913434,915501,916625,919122,923341,930008,931833,932617,934026,935640,938645', u'csi_page_type': u'watch,watch7', u'keywords': u'Enya,Watermark,New,Age,Piano,Digital,Yamaha,P-155', u'cr': u'ZA', u'host_language': u'en', u'user_display_name': u'seraphimalia', u'fmt_list': u'43/640x360/99/0/0,18/640x360/9/0/115,5/320x240/7/0/0,36/320x240/99/1/0,17/176x144/99/1/0', u'title': u'Enya - Watermark (Piano)', u'length_seconds': 138, u'enablejsapi': 1, u'plid': u'AAT7lO4pImKnAUal', u'tmi': u'1', u'cosver': u'6.2', u'eventid': u'8LWYU7KUC-6Oigar5IEQ', u'dash': u'1', u'url_encoded_fmt_stream_map': u'fallback_host=tc.v24.cache5.googlevideo.com&quality=medium&type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22&itag=43&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Did%252Cip%252Cipbits%252Citag%252Cratebypass%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26mws%3Dyes%26ipbits%3D0%26ms%3Dau%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26expire%3D1402540357%26signature%3D3AFED32D177C313A69B5793447AF13747572AE36.0140DA75B625741CE769CA459EB3F968814B7BDC%26mt%3D1402516852%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26upn%3DdWbO4dWCBDU%26ratebypass%3Dyes%26itag%3D43,fallback_host=tc.v23.cache5.googlevideo.com&quality=medium&type=video%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22&itag=18&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Did%252Cip%252Cipbits%252Citag%252Cratebypass%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26mws%3Dyes%26ipbits%3D0%26ms%3Dau%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26expire%3D1402540357%26signature%3DAAF4609CD7118F3F2BC3D8B5E26F06EEA7EC79AB.D848197768E15CEAB8DE05924A6ED3B884BC77C3%26mt%3D1402516852%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26upn%3DdWbO4dWCBDU%26ratebypass%3Dyes%26itag%3D18,fallback_host=tc.v11.cache2.googlevideo.com&quality=small&type=video%2Fx-flv&itag=5&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Did%252Cip%252Cipbits%252Citag%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26mws%3Dyes%26ipbits%3D0%26ms%3Dau%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26expire%3D1402540357%26signature%3DAB15166BAF83D70CC736F69DC076783B987E97B0.9F308CC5A968FE4EC43A34DC96937840E903563D%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26upn%3DdWbO4dWCBDU%26mt%3D1402516852%26itag%3D5,fallback_host=tc.v14.cache1.googlevideo.com&quality=small&type=video%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22&itag=36&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Did%252Cip%252Cipbits%252Citag%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26mws%3Dyes%26ipbits%3D0%26ms%3Dau%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26expire%3D1402540357%26signature%3DBEC209EACFD4B5C09F13E03F5B2F05583DDD6A23.57449F4FCF2AFFAD490A4D77119B81C984DC9874%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26upn%3DdWbO4dWCBDU%26mt%3D1402516852%26itag%3D36,fallback_host=tc.v11.cache3.googlevideo.com&quality=small&type=video%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22&itag=17&url=https%3A%2F%2Fr2---sn-huo15-woce.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26sparams%3Did%252Cip%252Cipbits%252Citag%252Crequiressl%252Csource%252Cupn%252Cexpire%26mv%3Dm%26mws%3Dyes%26ipbits%3D0%26ms%3Dau%26sver%3D3%26id%3Do-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31%26expire%3D1402540357%26signature%3D7A5DD2038379473CF1CDE8402A4A781B3336C1A4.BE721C6CE1E6370D5A0A725C765C90C3C45969FE%26fexp%3D913434%252C915501%252C916625%252C919122%252C923341%252C930008%252C931833%252C932617%252C934026%252C935640%252C938645%26ip%3D105.236.24.148%26key%3Dyt5%26requiressl%3Dyes%26upn%3DdWbO4dWCBDU%26mt%3D1402516852%26itag%3D17', u'watermark': u',https://s.ytimg.com/yts/img/watermark/youtube_watermark-vflHX6b6E.png,https://s.ytimg.com/yts/img/watermark/youtube_hd_watermark-vflAzLcD6.png', u'timestamp': 1402516976, u'storyboard_spec': u'https://i1.ytimg.com/sb/veyoWeCmmU4/storyboard3_L$L/$N.jpg|48#27#100#10#10#0#default#izlzW4hAXb3leaiOz__HUHvLrn0|60#45#70#10#10#2000#M$M#WKKiTKZfNpPVLZfOI7PfW49wCWc|120#90#70#5#5#2000#M$M#zXAV_wew6Ot44clYFrP8phQQteQ|240#180#70#3#3#2000#M$M#CGJMxYYx_bp8yBBEdgcCCVGLL4o', u'cos': u'Windows', u'watch_ajax_token': u'QUFFLUhqbXpjNFZlMF9Uam13YTZIam5vTEN3UHhzTWJOd3xBQ3Jtc0trakx5eVBhRWpnRWFrRXhHSGhLQ0hReFdnXy1GNWxjSGdtX0hiSWtiVllFa1RhWjZNbHFXbmx5US1yMzhMaVVVUDRfeUFwWEtpMUJsZGJYbzhvY2ZmTkVrYl8wcEpBWFYwMjV4Qk1BVGJQUXdSd2I0OA==', u'ssl': 1, u'hl': u'en', u'pageid': u'115870472743458324540', u'no_get_video_log': u'1', u'ldpj': u'-7', u'logwatch': u'1', u'cbr': u'Firefox', u'c': u'WEB', u'authuser': 0, u'atc': u'a=3&b=bdJvUb9vt7UL_faPsgG1CPfZ-h0&c=1402516976&d=1&e=veyoWeCmmU4&c3a=13&c1a=1&hh=-1NUFwJzNtAhXaDVIHuIkOeW2kA', u'referrer': None, u'dashmpd': u'https://manifest.googlevideo.com/api/manifest/dash/source/youtube/sparams/as%2Ccmbypass%2Cid%2Cip%2Cipbits%2Citag%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/m/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm_sd_hd_clear/ipbits/0/ms/au/upn/WS6xB9W3rDU/sver/3/id/o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31/expire/1402540357/signature/1C76D5D4C7E4768C1E85F3CF94F7E3D08FA685C7.EF4FC06B28D101A668A76A8D816F742E3199C80C/playback_host/r2---sn-huo15-woce.googlevideo.com/fexp/913434%2C915501%2C916625%2C919122%2C923341%2C930008%2C931833%2C932617%2C934026%2C935640%2C938645/key/yt5/ip/105.236.24.148/cmbypass/yes/requiressl/yes/mws/yes/mt/1402516852/itag/0', u'video_id': u'veyoWeCmmU4', u'cbrver': u'16.0.1', u'loaderUrl': u'https://www.youtube.com/watch?v=veyoWeCmmU4&safeSearch=none', u'sendtmp': u'1', u'pltype': u'contentugc', u't': u'1', u'ucid': u'UCsyT-NECssfgdbUAslri64A', u'loudness': -23.840000152599998, u'user_display_image': u'https://yt3.ggpht.com/-9c_ea_Lnv74/AAAAAAAAAAI/AAAAAAAAAAA/zU0qxVUgVos/s28-c-k-no/photo.jpg'}'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] scrapeWebPageForVideoLinks : 'url_map: {u'url': [u'https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=3AFED32D177C313A69B5793447AF13747572AE36.0140DA75B625741CE769CA459EB3F968814B7BDC&mt=1402516852&fexp=913434%2C915501%2C916625%2C919122%2C923341%2C930008%2C931833%2C932617%2C934026%2C935640%2C938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&ratebypass=yes&itag=43'], u'type': [u'video/webm; codecs="vp8.0, vorbis"'], u'fallback_host': [u'tc.v24.cache5.googlevideo.com'], u'quality': [u'medium'], u'itag': [u'43']}'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] scrapeWebPageForVideoLinks : 'url_map: {u'url': [u'https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=AAF4609CD7118F3F2BC3D8B5E26F06EEA7EC79AB.D848197768E15CEAB8DE05924A6ED3B884BC77C3&mt=1402516852&fexp=913434%2C915501%2C916625%2C919122%2C923341%2C930008%2C931833%2C932617%2C934026%2C935640%2C938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&ratebypass=yes&itag=18'], u'type': [u'video/mp4; codecs="avc1.42001E, mp4a.40.2"'], u'fallback_host': [u'tc.v23.cache5.googlevideo.com'], u'quality': [u'medium'], u'itag': [u'18']}'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] scrapeWebPageForVideoLinks : 'url_map: {u'url': [u'https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id%2Cip%2Cipbits%2Citag%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=AB15166BAF83D70CC736F69DC076783B987E97B0.9F308CC5A968FE4EC43A34DC96937840E903563D&fexp=913434%2C915501%2C916625%2C919122%2C923341%2C930008%2C931833%2C932617%2C934026%2C935640%2C938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&mt=1402516852&itag=5'], u'type': [u'video/x-flv'], u'fallback_host': [u'tc.v11.cache2.googlevideo.com'], u'quality': [u'small'], u'itag': [u'5']}'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] scrapeWebPageForVideoLinks : 'url_map: {u'url': [u'https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id%2Cip%2Cipbits%2Citag%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=BEC209EACFD4B5C09F13E03F5B2F05583DDD6A23.57449F4FCF2AFFAD490A4D77119B81C984DC9874&fexp=913434%2C915501%2C916625%2C919122%2C923341%2C930008%2C931833%2C932617%2C934026%2C935640%2C938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&mt=1402516852&itag=36'], u'type': [u'video/3gpp; codecs="mp4v.20.3, mp4a.40.2"'], u'fallback_host': [u'tc.v14.cache1.googlevideo.com'], u'quality': [u'small'], u'itag': [u'36']}'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] scrapeWebPageForVideoLinks : 'url_map: {u'url': [u'https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id%2Cip%2Cipbits%2Citag%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=7A5DD2038379473CF1CDE8402A4A781B3336C1A4.BE721C6CE1E6370D5A0A725C765C90C3C45969FE&fexp=913434%2C915501%2C916625%2C919122%2C923341%2C930008%2C931833%2C932617%2C934026%2C935640%2C938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&mt=1402516852&itag=17'], u'type': [u'video/3gpp; codecs="mp4v.20.3, mp4a.40.2"'], u'fallback_host': [u'tc.v11.cache3.googlevideo.com'], u'quality': [u'small'], u'itag': [u'17']}'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] extractVideoLinksFromYoutube : 'Done'
22:02:57 T:4573057024 NOTICE: links: 'dict'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : ''
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : '17 - Unknown'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : '18 - 360p h264 mp4 container | 270 for rtmpe?'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : '43 - 360p h264 flv container*'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : '36 - Unknown'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : '5 - 240p h263 flv container'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] selectVideoQuality : 'Done'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] buildVideoObject : 'Done'
22:02:57 T:4573057024 NOTICE: [YouTube Beta-3.4.0] playVideo : 'Playing video: u'Enya - Watermark (Piano)' - 'veyoWeCmmU4' - u'https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id,ip,ipbits,itag,ratebypass,requiressl,source,upn,expire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=3AFED32D177C313A69B5793447AF13747572AE36.0140DA75B625741CE769CA459EB3F968814B7BDC&mt=1402516852&fexp=913434,915501,916625,919122,923341,930008,931833,932617,934026,935640,938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&ratebypass=yes&itag=43|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1''
22:02:57 T:4573057024 NOTICE: [StorageClient-2.5.4] 'set' : 'vidstatus-veyoWeCmmU4'
22:02:57 T:4573057024 NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
22:02:57 T:4573057024 NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/Users/TV/.xbmc/temp/commoncache.socket''
22:02:57 T:140735315642720 NOTICE: DVDPlayer: Opening: https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id,ip,ipbits,itag,ratebypass,requiressl,source,upn,expire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=3AFED32D177C313A69B5793447AF13747572AE36.0140DA75B625741CE769CA459EB3F968814B7BDC&mt=1402516852&fexp=913434,915501,916625,919122,923341,930008,931833,932617,934026,935640,938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&ratebypass=yes&itag=43|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1
22:02:57 T:140735315642720 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:02:57 T:4573593600 NOTICE: Thread DVDPlayer start, auto delete: false
22:02:57 T:4573593600 NOTICE: Creating InputStream
22:02:57 T:4574130176 NOTICE: Thread FileCache start, auto delete: false
22:02:57 T:4573593600 NOTICE: Creating Demuxer
22:02:58 T:4573593600 WARNING: could not find codec parameters for https://r2---sn-huo15-woce.googlevideo.com/videoplayback?source=youtube&sparams=id,ip,ipbits,itag,ratebypass,requiressl,source,upn,expire&mv=m&mws=yes&ipbits=0&ms=au&sver=3&id=o-AMiQjRnWiGl3wj1sgf7SV8spgQ-vCjv2RWhipc4EES31&expire=1402540357&signature=3AFED32D177C313A69B5793447AF13747572AE36.0140DA75B625741CE769CA459EB3F968814B7BDC&mt=1402516852&fexp=913434,915501,916625,919122,923341,930008,931833,932617,934026,935640,938645&ip=105.236.24.148&key=yt5&requiressl=yes&upn=dWbO4dWCBDU&ratebypass=yes&itag=43
22:02:58 T:4573593600 ERROR: OpenDemuxStream - Error creating demuxer
22:02:58 T:4573593600 NOTICE: CDVDPlayer::OnExit()
22:02:58 T:4573593600 NOTICE: CDVDPlayer::OnExit() deleting input stream
22:02:58 T:140735315642720 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube.beta/?path=/root/video&action=play_video&videoid=veyoWeCmmU4]
22:02:58 T:140735315642720 NOTICE: CDVDPlayer::CloseFile()
22:02:58 T:140735315642720 NOTICE: DVDPlayer: waiting for threads to exit
22:02:58 T:140735315642720 NOTICE: DVDPlayer: finished waiting
22:02:58 T:140735315642720 NOTICE: CDVDPlayer::CloseFile()
22:02:58 T:140735315642720 NOTICE: DVDPlayer: waiting for threads to exit
22:02:58 T:140735315642720 NOTICE: DVDPlayer: finished waiting
Apparently after Google messed up usernames to be used with Youtube (requiring realnames / or creating Google+ profile to be "used as a login" - wtf?) the plugin no longer correctly loads subscription feeds.
**GET /feeds/api/users/username/subscriptions?v=2.1&start-index=1&max-results=50&oauth_token=*****
Results in:
The script is choosing username based on the provided login string (i.e. default value), however it seems Youtube believes username is not always default.
Based on Google's API reference:
It seems that the issue can be fixed by chaging plugin behaviour to give preference to userId tag instead of using default username.