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.
can you please explain this better

can you please explain this better
(2014-02-08, 11:57)[email protected] Wrote: [ -> ]@vojtishek: wow, you are AWESOME! I literally just removed username, password from my settings.xml as you suggested. (I don't like how the login credentials are saved without encryption anyways)
now every youtube video loads up extremely fast. before this little patch it took nearly 10 seconds, now it takes 1 or 2 seconds until the playback starts!
this made my day Smile
Youtube 4.4.6nu5
raspbmc 12.2 git20131204

Code:
00:23:19 T:2867860544  NOTICE: Thread Background Loader start, auto delete: false
00:23:27 T:2867860544  NOTICE: Thread Jobworker start, auto delete: true
00:23:32 T:2838492224  NOTICE: Thread XBPyThread start, auto delete: false
00:23:32 T:2838492224  NOTICE: -->Python Interpreter Initialized<--
00:23:33 T:2838492224  NOTICE: [xbmcswift2] Request for "/playLive/dotascene/" matches rule for function "playLive"
00:23:35 T:2838492224  NOTICE: #EXTM3U
                                            #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="high",NAME="High",AUTOSELECT=YES,DEFAULT=YES
                                            #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1760000,VIDEO="high"
                                            http://video11.arn01.hls.twitch.tv/hls72/dotascene_8899872544_75185074/high/index-live.m3u8?token=id=7156541319675782069,bid=8899872544,exp=1395174214,node=video11-1.arn01.hls.justin.tv,nname=video11.arn01,fmt=high&sig=cb8dc545264eefc28877fe3e4b3a98087e727904
00:23:35 T:3040976896  NOTICE: COMXPlayer: Opening: /home/pi/.xbmc/temp/hlsplaylist.m3u8
00:23:35 T:3040976896 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
00:23:35 T:2716628032  NOTICE: Thread COMXPlayer start, auto delete: false
00:23:35 T:2716628032  NOTICE: Creating InputStream
00:23:35 T:2716628032  NOTICE: Creating Demuxer
00:23:42 T:2716628032  NOTICE: Opening video stream: 1 source: 256
00:23:42 T:2716628032  NOTICE: Creating video thread
00:23:42 T:2745168960  NOTICE: Thread COMXPlayerVideo start, auto delete: false
00:23:42 T:2716628032  NOTICE: Opening audio stream: 0 source: 256
00:23:42 T:2716628032  NOTICE: Creating audio thread
00:23:42 T:2753557568  NOTICE: Thread COMXPlayerAudio start, auto delete: false
00:23:42 T:2716628032  NOTICE: OMXClock using audio as reference
00:23:42 T:2745168960  NOTICE: Display resolution DESKTOP : 1360x768 @ 60.00 - Full Screen (16)
00:23:42 T:3040976896  NOTICE: Using GL_TEXTURE_2D
00:23:42 T:3040976896  NOTICE: GL: Using BYPASS render method
00:23:42 T:3040976896  NOTICE: GL: NPOT texture support detected
00:23:43 T:3040976896  NOTICE: COMXPlayer: Opening: /home/pi/.xbmc/temp/hlsplaylist.m3u8
00:23:43 T:3040976896  NOTICE: COMXPlayer::CloseFile
00:23:43 T:3040976896  NOTICE: COMXPlayer: waiting for threads to exit
00:23:43 T:2716628032  NOTICE: COMXPlayer::OnExit()
00:23:43 T:2716628032  NOTICE: OMXPlayer: closing audio stream
00:23:43 T:2716628032  NOTICE: Closing audio stream
00:23:43 T:2753557568  NOTICE: thread end: OMXPlayerAudio::OnExit()
00:23:43 T:2716628032  NOTICE: OMXPlayer: closing video stream
00:23:43 T:2716628032  NOTICE: Closing video stream
00:23:43 T:2745168960  NOTICE: thread end: video_thread
00:23:43 T:2716628032  NOTICE: COMXPlayer::OnExit() deleting demuxer
00:23:43 T:2716628032  NOTICE: COMXPlayer::OnExit() deleting input stream
00:23:43 T:3040976896  NOTICE: DVDPlayer: finished waiting
00:23:43 T:3040976896 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
00:23:43 T:2745168960  NOTICE: Thread COMXPlayer start, auto delete: false
00:23:43 T:2745168960  NOTICE: Creating InputStream
00:23:43 T:2745168960  NOTICE: Creating Demuxer
00:23:49 T:2745168960  NOTICE: Opening video stream: 1 source: 256
00:23:49 T:2745168960  NOTICE: Creating video thread
00:23:49 T:2716628032  NOTICE: Thread COMXPlayerVideo start, auto delete: false
00:23:49 T:2745168960  NOTICE: Opening audio stream: 0 source: 256
00:23:49 T:2745168960  NOTICE: Creating audio thread
00:23:49 T:2753557568  NOTICE: Thread COMXPlayerAudio start, auto delete: false
00:23:49 T:2716628032  NOTICE: Display resolution DESKTOP : 1360x768 @ 60.00 - Full Screen (16)
00:23:49 T:3040976896  NOTICE: Using GL_TEXTURE_2D
00:23:49 T:3040976896  NOTICE: GL: Using BYPASS render method
00:23:49 T:3040976896  NOTICE: GL: NPOT texture support detected
02:35:05 T:3040976896  NOTICE: COMXPlayer::CloseFile
02:35:05 T:3040976896  NOTICE: COMXPlayer: waiting for threads to exit
02:35:05 T:2745168960  NOTICE: COMXPlayer::OnExit()
02:35:05 T:2745168960  NOTICE: OMXPlayer: closing audio stream
02:35:05 T:2745168960  NOTICE: Closing audio stream
02:35:05 T:2753557568  NOTICE: thread end: OMXPlayerAudio::OnExit()
02:35:05 T:2745168960  NOTICE: OMXPlayer: closing video stream
02:35:05 T:2745168960  NOTICE: Closing video stream
02:35:05 T:2716628032   ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting
02:35:05 T:2716628032  NOTICE: thread end: video_thread
02:35:05 T:2745168960  NOTICE: COMXPlayer::OnExit() deleting demuxer
02:35:05 T:2745168960  NOTICE: COMXPlayer::OnExit() deleting input stream
02:35:05 T:3040976896  NOTICE: DVDPlayer: finished waiting
02:35:06 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:35:06 T:2716628032  NOTICE: Thread Jobworker start, auto delete: true
02:35:07 T:3040976896  NOTICE: COMXPlayer::CloseFile
02:35:07 T:3040976896 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
02:35:07 T:3040976896  NOTICE: COMXPlayer: waiting for threads to exit
02:35:07 T:3040976896  NOTICE: DVDPlayer: finished waiting
02:35:07 T:2753557568  NOTICE: Thread Jobworker start, auto delete: true
02:35:07 T:2771383360  NOTICE: Thread CFileCache start, auto delete: false
02:35:08 T:2771383360  NOTICE: Thread Jobworker start, auto delete: true
02:35:09 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:35:34 T:2745168960  NOTICE: Previous line repeats 2 times.
02:35:34 T:2745168960  NOTICE: Thread CFileCache start, auto delete: false
02:36:05 T:2771383360  NOTICE: Previous line repeats 2 times.
02:36:05 T:2771383360  NOTICE: Thread Jobworker start, auto delete: true
02:36:05 T:2716628032  NOTICE: Thread Background Loader start, auto delete: false
02:36:35 T:2771383360  NOTICE: Thread Jobworker start, auto delete: true
02:36:35 T:2716628032  NOTICE: Thread XBPyThread start, auto delete: false
02:36:36 T:2716628032  NOTICE: -->Python Interpreter Initialized<--
02:36:39 T:2716628032  NOTICE: YouTube-4.4.4 ARGV: ['plugin://plugin.video.youtube/', '17', '']
02:36:41 T:2716628032  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
02:36:43 T:2716628032  NOTICE: CommonFunctions-2.5.1
02:36:45 T:2716628032  NOTICE: [YouTube-4.4.4] __init__ : ''
02:36:45 T:2716628032  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
02:36:46 T:2716628032  NOTICE: [YouTube-4.4.4] __init__ : 'Done'
02:36:46 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:36:48 T:2788160576  NOTICE: ES: Client  from 192.168.1.142 timed out
02:36:49 T:2716628032  NOTICE: Thread XBPyThread start, auto delete: false
02:36:49 T:2716628032  NOTICE: -->Python Interpreter Initialized<--
02:36:51 T:2716628032  NOTICE: YouTube-4.4.4 ARGV: ['plugin://plugin.video.youtube/', '18', '?login=false&path=%2froot%2fexplore']
02:36:53 T:2716628032  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
02:36:54 T:2716628032  NOTICE: CommonFunctions-2.5.1
02:36:55 T:2716628032  NOTICE: [YouTube-4.4.4] __init__ : ''
02:36:55 T:2716628032  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
02:36:55 T:2716628032  NOTICE: [YouTube-4.4.4] __init__ : 'Done'
02:36:55 T:2716628032  NOTICE: [YouTube-4.4.4] getXBMCVersion : '12.2'
02:36:56 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:36:58 T:2716628032  NOTICE: Thread XBPyThread start, auto delete: false
02:36:58 T:2716628032  NOTICE: -->Python Interpreter Initialized<--
02:37:00 T:2716628032  NOTICE: YouTube-4.4.4 ARGV: ['plugin://plugin.video.youtube/', '19', '?feed=feed_categories&folder=true&login=false&path=%2froot%2fexplore%2fcategories']
02:37:02 T:2716628032  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
02:37:03 T:2716628032  NOTICE: CommonFunctions-2.5.1
02:37:05 T:2716628032  NOTICE: [YouTube-4.4.4] __init__ : ''
02:37:05 T:2716628032  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
02:37:05 T:2716628032  NOTICE: [YouTube-4.4.4] __init__ : 'Done'
02:37:05 T:2716628032  NOTICE: [YouTube-4.4.4] getXBMCVersion : '12.2'
02:37:05 T:2716628032  NOTICE: today
02:37:05 T:2716628032  NOTICE: [YouTube-4.4.4] _fetchPage : 'called for : {'link': 'http://gdata.youtube.com/schemas/2007/categories.cat?'}'
02:37:05 T:2716628032  NOTICE: [YouTube-4.4.4] _fetchPage : 'got default: http://gdata.youtube.com/schemas/2007/categories.cat?'
02:37:05 T:2716628032  NOTICE: [YouTube-4.4.4] _fetchPage : 'connecting to server... http://gdata.youtube.com/schemas/2007/categories.cat?'
02:37:06 T:2716628032  NOTICE: [YouTube-4.4.4] _fetchPage : 'done'
02:37:06 T:2716628032  NOTICE: [YouTube-4.4.4] getCategoriesFolderInfo : ''
02:37:06 T:2716628032  NOTICE: [YouTube-4.4.4] getCategoriesFolderInfo : '<?xml version='1.0' encoding='UTF-8'?><app:categories xmlns:app='http://www.w3.org/2007/app' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:yt='http://gdata.youtube.com/schemas/2007' fixed='yes' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'><atom:category term='Film' label='Film &amp; Animation' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Autos' label='Autos &amp; Vehicles' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Music' label='Music' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Animals' label='Pets &amp; Animals' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Sports' label='Sports' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Shortmov' label='Short Movies' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Travel' label='Travel &amp; Events' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Games' label='Gaming' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Videoblog' label='Videoblogging' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='People' label='People &amp; Blogs' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Comedy' label='Comedy' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Entertainment' label='Entertainment' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='News' label='News &amp; Politics' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Howto' label='Howto &amp; Style' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Education' label='Education' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Tech' label='Science &amp; Technology' xml:lang='en-US'><yt:assignable/><yt:browsable regions='AE AR AT AU BE BH BR CA CH CL CO CZ DE DK DZ EG ES FI FR GB GH GR HK HU ID IE IL IN IT JO JP KE KR KW MA MX MY NG NL NO NZ OM PE PH PL PT QA RO RU SA SE SG SK SN TN TR TW UA UG US YE ZA'/></atom:category><atom:category term='Nonprofit' label='Nonprofits &amp; Activism' xml:lang='en-US'><yt:assignable/><yt:browsable regions='US'/></atom:category><atom:category term='Movies' label='Movies' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_anime_animation' label='Anime/Animation' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_action_adventure' label='Action/Adventure' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_classics' label='Classics' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_comedy' label='Comedy' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_documentary' label='Documentary' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_drama' label='Drama' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_family' label='Family' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_foreign' label='Foreign' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_horror' label='Horror' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_sci_fi_fantasy' label='Sci-Fi/Fantasy' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_thriller' label='Thriller' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Movies_shorts' label='Shorts' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Shows' label='Shows' xml:lang='en-US'><yt:deprecated/></atom:category><atom:category term='Trailers' label='Trailers' xml:lang='en-US'><yt:deprecated/></atom:category></app:categories>'
02:37:07 T:2716628032  NOTICE: [YouTube-4.4.4] store : 'Got key '''
02:37:07 T:2716628032  NOTICE: [StorageClient-2.5.4] 'set' : ''
02:37:07 T:2716628032  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:37:07 T:2716628032  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:37:08 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:37:13 T:2745168960  NOTICE: Previous line repeats 1 times.
02:37:13 T:2745168960  NOTICE: Thread XBPyThread start, auto delete: false
02:37:13 T:2745168960  NOTICE: -->Python Interpreter Initialized<--
02:37:15 T:2745168960  NOTICE: YouTube-4.4.4 ARGV: ['plugin://plugin.video.youtube/', '20', '?category=Music&feed=feed_category&path=%2froot%2fexplore%2fcategories']
02:37:17 T:2745168960  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
02:37:18 T:2745168960  NOTICE: CommonFunctions-2.5.1
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] __init__ : ''
02:37:20 T:2745168960  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] __init__ : 'Done'
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] getXBMCVersion : '12.2'
02:37:20 T:2745168960  NOTICE: today
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music?v=2&time=today&start-index=1&max-results=50', 'auth': None}'
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'got default: http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music?v=2&time=today&start-index=1&max-results=50'
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'got api'
02:37:20 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'connecting to server... http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music?v=2&time=today&start-index=1&max-results=50'
02:37:21 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'done'
02:37:36 T:2745168960  NOTICE: [YouTube-4.4.4] updateVideoIdStatusInCache : 'videoidcache'
02:37:37 T:2745168960  NOTICE: [StorageClient-2.5.4] 'setMulti' : 'videoidcache'
02:37:37 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:37:37 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:37:37 T:2745168960  NOTICE: [YouTube-4.4.4] getVideoIdStatusFromCache : 'vidstatus-'
02:37:37 T:2745168960  NOTICE: [StorageClient-2.5.4] 'getMulti' : 'vidstatus-'
02:37:37 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:37:38 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:37:58 T:2745168960  NOTICE: [StorageClient-2.5.4] '_send' : 'Except error timeout('timed out',)'
02:37:58 T:2745168960  NOTICE: Previous line repeats 1 times.
02:37:58 T:2745168960  NOTICE: [StorageClient-2.5.4] '_send' : 'Over time'
02:38:04 T:2745168960  NOTICE: [StorageClient-2.5.4] '_evaluate' : 'Couldn't evaluate message : "COMPLETE\r\n     ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']"'
02:38:04 T:2745168960  NOTICE: [YouTube-4.4.4] getVideoIdStatusFromCache : 'Length mismatch:'' - [u'IgGjUjQRAxw', u'9Lk6lnTS5sU', u'BOw8ldvlNrc', u'mAhZWPMOtnY', u'L7P3Sf6eFBc', u'iTdMfuQCy38', u'Fa6bW4cTB2o', u'u7_3xn3E-is', u'h_QqzeXczH4', u'9P81eqDpdp8', u'JfEPMmOkeSg', u'f-1_2V1fEy0', u'zsfj9j0kjoU', u'R-VkhMyUT4w', u'c4oiEhf9M04', u'ap_Wc-RBQbc', u'BrJKAqFRWzQ', u'HMUDVMiITOU', u'HWp-JQ7jGeg', u'iGjVEAVRT6E', u'McEoTIqoRKk', u'X7QIjw5UTko', u'FForos6_je0', u'9vDmuZAI0bs', u'PPXIWmBPi20', u'47y5bo8wtqM', u'0X_W1wBt2SQ', u'pH1hkWeQBrc', u'TtArla7PVsM', u'0aZ7lPQ5EXs', u'pV4ZUbXRltM', u'2D83P9Fg3pA', u'RnT2SQXL5z0', u'XVYjAbP2k4A', u'tqyibODPYnQ', u'1JyDq9XZAPY', u'AmTFiXcpyl0', u'8DL7eyzxzdI', u'PEJVxdN8rKw', u'ROG9T0KJ3wM', u'_swg_Wds5j0', u'91ZO9BW3dFI', u'P2zgjIGaIo4', u'UzJlO1aQnv8', u'7h6FPfQjl9Y', u'sDiIeW3q5ZA', u'wopbZDgGPpQ', u'84XLJIrYJd0', u'DMdHlCrRbPY', u'VicP1LwN398']'
02:38:04 T:2745168960  NOTICE: [YouTube-4.4.4] store : 'Got key '''
02:38:04 T:2745168960  NOTICE: [StorageClient-2.5.4] 'set' : ''
02:38:04 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:38:04 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:38:07 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:38:07 T:2716628032  NOTICE: Thread Jobworker start, auto delete: true
02:38:13 T:2745168960  NOTICE: Previous line repeats 1 times.
02:38:13 T:2745168960  NOTICE: Thread XBPyThread start, auto delete: false
02:38:14 T:2745168960  NOTICE: -->Python Interpreter Initialized<--
02:38:16 T:2745168960  NOTICE: YouTube-4.4.4 ARGV: ['plugin://plugin.video.youtube/', '21', '?path=/root/video&action=play_video&videoid=9Lk6lnTS5sU']
02:38:18 T:2745168960  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
02:38:19 T:2745168960  NOTICE: CommonFunctions-2.5.1
02:38:20 T:2745168960  NOTICE: [YouTube-4.4.4] __init__ : ''
02:38:20 T:2745168960  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
02:38:20 T:2745168960  NOTICE: [YouTube-4.4.4] __init__ : 'Done'
02:38:20 T:2745168960  NOTICE: [YouTube-4.4.4] getXBMCVersion : '12.2'
02:38:20 T:2745168960  NOTICE: [YouTube-4.4.4] buildVideoObject : '{'action': 'play_video', 'path': '/root/video', 'videoid': '9Lk6lnTS5sU'}'
02:38:20 T:2745168960  NOTICE: [StorageClient-2.5.4] 'get' : 'videoidcache9Lk6lnTS5sU'
02:38:20 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:38:21 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:38:21 T:2745168960  NOTICE: [YouTube-4.4.4] getInfo : 'returning cache '
02:38:21 T:2745168960  NOTICE: [YouTube-4.4.4] extractVideoLinksFromYoutube : 'trying website: {'action': 'play_video', 'path': '/root/video', 'videoid': '9Lk6lnTS5sU'}'
02:38:21 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'called for : {'login': 'false', u'link': 'http://www.youtube.com/watch?v=9Lk6lnTS5sU&safeSearch=none'}'
02:38:21 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'got default: http://www.youtube.com/watch?v=9Lk6lnTS5sU&safeSearch=none'
02:38:21 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'connecting to server... http://www.youtube.com/watch?v=9Lk6lnTS5sU&safeSearch=none'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'Socket timeout'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] getVideoPageFromYoutube : 'Step1: -1'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] isVideoAgeRestricted : '[]'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] extractVideoLinksFromYoutube : 'Couldn't get video page from YouTube'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] buildVideoObject : 'Done'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] playVideo : 'construct video url failed contents of video item {'Count': 140593, 'Plot': u'Date Uploaded: 2014-03-17 11:59:13, View count: 140593\n[2NE1 - "\ub108 \uc544\ub2d8 \uc548\ub3fc (GOTTA BE YOU)" Dance Practice]\n\n2NE1 NEW ALBUM \'CRUSH\' available on iTunes @ http://smarturl.it/2NE1_CRUSH\n2NE1 NEW ALBUM \'CRUSH\' released offline on March 7th.\nMore info @ https://www.facebook.com/2NE1/photos/a.125821540800382.18439.120434301339106/624029464312918/?type=1&theater\n\nMore 2NE1 AON World Tour Information @\nhttp://aon.yg-2ne1.com\n\nMore Information @\nhttp://www.yg-2ne1.com\nhttp://www.facebook.com/2ne1\nhttp://twitter.com/ygent_official\nApp Store: http://goo.gl/l9TU6\nGoogle Play: http://goo.gl/UiEn1', 'Title': u'2NE1 - "\ub108 \uc544\ub2d8 \uc548\ub3fc (GOTTA BE YOU)" Dance Practice', u'apierror': u"Couldn't locate video url", 'Duration': 3, 'Rating': 4.978116, 'editid': '', 'playlist_entry_id': u'9Lk6lnTS5sU', 'videoid': u'9Lk6lnTS5sU', 'Date': '17-03-2014', 'Studio': u'2ne1', 'Genre': u'Music', 'thumbnail': u'http://i.ytimg.com/vi/9Lk6lnTS5sU/0.jpg'}'
02:38:42 T:2745168960  NOTICE: [YouTube-4.4.4] showMessage : '<type 'unicode'> - <type 'unicode'>'
02:38:42 T:3040976896   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=9Lk6lnTS5sU]
02:39:39 T:2745168960  NOTICE: Thread XBPyThread start, auto delete: false
02:39:39 T:2745168960  NOTICE: -->Python Interpreter Initialized<--
02:39:41 T:2745168960  NOTICE: YouTube-4.4.4 ARGV: ['plugin://plugin.video.youtube/', '22', '?category=Music&feed=feed_category&path=%2froot%2fexplore%2fcategories']
02:39:43 T:2745168960  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : YouTube'
02:39:44 T:2745168960  NOTICE: CommonFunctions-2.5.1
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] __init__ : ''
02:39:46 T:2745168960  NOTICE: [StorageClient-2.5.4] '__init__' : 'Setting table to : Downloader'
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] __init__ : 'Done'
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] getXBMCVersion : '12.2'
02:39:46 T:2745168960  NOTICE: today
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music?v=2&time=today&start-index=1&max-results=50', 'auth': None}'
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'got default: http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music?v=2&time=today&start-index=1&max-results=50'
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'got api'
02:39:46 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'connecting to server... http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed_Music?v=2&time=today&start-index=1&max-results=50'
02:39:47 T:2745168960  NOTICE: [YouTube-4.4.4] _fetchPage : 'done'
02:40:00 T:2745168960  NOTICE: [YouTube-4.4.4] updateVideoIdStatusInCache : 'videoidcache'
02:40:00 T:2745168960  NOTICE: [StorageClient-2.5.4] 'setMulti' : 'videoidcache'
02:40:00 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:40:00 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:40:00 T:2745168960  NOTICE: [YouTube-4.4.4] getVideoIdStatusFromCache : 'vidstatus-'
02:40:00 T:2745168960  NOTICE: [StorageClient-2.5.4] 'getMulti' : 'vidstatus-'
02:40:00 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:40:00 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:40:12 T:2745168960  NOTICE: [YouTube-4.4.4] store : 'Got key '''
02:40:12 T:2745168960  NOTICE: [StorageClient-2.5.4] 'set' : ''
02:40:12 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : ''
02:40:12 T:2745168960  NOTICE: [StorageClient-2.5.4] '_sock_init' : 'Done: u'/home/pi/.xbmc/temp/commoncache.socket''
02:40:16 T:2745168960  NOTICE: Thread Background Loader start, auto delete: false
02:40:16 T:2771383360  NOTICE: Thread Jobworker start, auto delete: true
Just wondering where development officially stands on this plugin?
Hi,

I'm running Gotham beta 1 and I experience a lot of distortion on some of the videos I play.
Anyone else had this problem?
Looks like Channels with large playlists make XBMC hang and ultimately crash. This just started a couple days ago. I tried it on two different systems, with clean XBMC installs.

Xubuntu 12.04
XBMC 12.3

Here my log. Not sure if it will help, because I have to end up killing the XBMC process. Although after watching a bit, it seems just to gradually eat memory. If I need to provide more information please let me know and I will be happy to do so.

Full Log here http://pastebin.com/n0wxWNKp

Code:
07:08:13 T:2857364288   DEBUG: Process - Entering source directory /home/MyName/.xbmc/addons/plugin.video.youtube
07:08:13 T:2857364288   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.1.0 of the xbmc.python api
07:08:13 T:2857364288  NOTICE: Loading cookies from :'/home/MyName/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
07:08:13 T:2857364288  NOTICE: YouTube-4.4.6
07:08:13 T:2857364288  NOTICE: CommonFunctions-2.5.1
07:08:13 T:2857364288   DEBUG: LocalizeStrings: no strings.po file exist at /home/MyName/.xbmc/addons/plugin.video.youtube/resources/language/English, fallback to strings.xml
07:08:14 T:3001428352   DEBUG: ------ Window Init (DialogBusy.xml) ------
07:08:14 T:3001428352   DEBUG: LIRC: Update - NEW at 54758:000000037ff07bdd 00 KEY_OK mceusb (KEY_OK)
07:08:14 T:3001428352   DEBUG: OnKey: 11 (0b) pressed, action is Select
07:08:14 T:2716838720   DEBUG: WaitOnScriptResult- plugin returned successfully
07:08:14 T:2857364288    INFO: Scriptresult: Success
07:08:14 T:2857364288    INFO: Python script stopped
07:08:14 T:2857364288   DEBUG: Thread XBPyThread 2857364288 terminating
07:08:14 T:2857364288  NOTICE: Thread Background Loader start, auto delete: false
07:08:14 T:2857364288   DEBUG: Thread Background Loader 2857364288 terminating
07:08:14 T:2857364288  NOTICE: Thread Background Loader start, auto delete: false
07:08:14 T:2857364288   DEBUG: Thread Background Loader 2857364288 terminating
07:08:14 T:3001428352   DEBUG: waiting for python thread 11 (/home/MyName/.xbmc/addons/plugin.video.youtube/default.py) to stop
07:08:14 T:3001428352   DEBUG: python thread 11 (/home/MyName/.xbmc/addons/plugin.video.youtube/default.py) destructed
07:08:14 T:3001428352   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
07:08:16 T:3001428352   DEBUG: LIRC: Update - NEW at 56764:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:16 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:16 T:3001428352   DEBUG: LIRC: Update - NEW at 57047:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:16 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:17 T:3001428352   DEBUG: LIRC: Update - NEW at 57226:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:17 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:17 T:3001428352   DEBUG: LIRC: Update - NEW at 57456:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:17 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:17 T:3001428352   DEBUG: LIRC: Update - NEW at 57685:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:17 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:17 T:3001428352   DEBUG: LIRC: Update - NEW at 57916:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:17 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:17 T:3001428352   DEBUG: LIRC: Update - NEW at 58147:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:17 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:18 T:3001428352   DEBUG: LIRC: Update - NEW at 58392:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:18 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:18 T:3001428352   DEBUG: LIRC: Update - NEW at 58622:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:18 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:18 T:3001428352   DEBUG: LIRC: Update - NEW at 58846:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:18 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:18 T:3001428352   DEBUG: LIRC: Update - NEW at 59078:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:18 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:19 T:3001428352   DEBUG: LIRC: Update - NEW at 59324:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:19 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:19 T:3001428352   DEBUG: LIRC: Update - NEW at 59548:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:19 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:19 T:3001428352   DEBUG: LIRC: Update - NEW at 59798:000000037ff07be0 00 KEY_DOWN mceusb (KEY_DOWN)
07:08:19 T:3001428352   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:08:21 T:3001428352   DEBUG: LIRC: Update - NEW at 61183:000000037ff07bdd 00 KEY_OK mceusb (KEY_OK)
07:08:21 T:3001428352   DEBUG: OnKey: 11 (0b) pressed, action is Select
07:08:21 T:3001428352   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/?login=true&path=%2froot%2fsubscriptions&playlist=PLtZHIFR5osfCOPQgSfPoCWh1tgUh5f_xw&user_feed=playlist)
07:08:21 T:3001428352   DEBUG:   ParentPath = [plugin://plugin.video.youtube/?path=/root/subscriptions&channel=yogscastsjin&action=change_subscription_view&view_mode=playlists&folder=true&]
07:08:21 T:2832186176   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','6','?login=true&path=%2froot%2fsubscriptions&playlist=PLtZHIFR5osfCOPQgSfPoCWh1tgUh5f_xw&user_feed=playlist')
07:08:21 T:2832186176    INFO: initializing python engine.
07:08:21 T:2832186176   DEBUG: new python thread created. id=12
07:08:21 T:2832186176   DEBUG: WaitOnScriptResult - waiting on the YouTube (id=12) plugin...
07:08:21 T:2857364288  NOTICE: Thread XBPyThread start, auto delete: false
07:08:21 T:2857364288   DEBUG: Python thread: start processing
07:08:21 T:2857364288  NOTICE: -->Python Interpreter Initialized<--
07:08:21 T:2857364288   DEBUG: Process - The source file to load is /home/MyName/.xbmc/addons/plugin.video.youtube/default.py
07:08:21 T:2857364288   DEBUG: Process - Setting the Python path to /home/MyName/.xbmc/addons/plugin.video.youtube:/home/MyName/.xbmc/addons/script.module.t0mm0.common/lib:/home/MyName/.xbmc/addons/script.module.watchhistory/lib:/home/MyName/.xbmc/addons/script.module.dialogaddonscan/lib:/home/MyName/.xbmc/addons/script.module.cryptopy/lib:/home/MyName/.xbmc/addons/script.module.demjson/lib:/home/MyName/.xbmc/addons/script.module.simplejson/lib:/home/MyName/.xbmc/addons/script.module.xmltodict/lib:/home/MyName/.xbmc/addons/script.module.beautifulsoup4/lib:/home/MyName/.xbmc/addons/script.module.addon.common/lib:/home/MyName/.xbmc/addons/plugin.program.sabnzbd/lib:/home/MyName/.xbmc/addons/script.module.myconnpy/lib:/home/MyName/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/MyName/.xbmc/addons/script.common.plugin.cache/lib:/home/MyName/.xbmc/addons/script.module.simple.downloader/lib:/home/MyName/.xbmc/addons/script.module.coveapi/lib:/home/MyName/.xbmc/addons/script.module.free.cable.database/lib:/home/MyName/.xbmc/addons/script.module.requests/lib:/home/MyName/.xbmc/addons/script.module.urlresolver/lib:/home/MyName/.xbmc/addons/script.module.playbackengine/lib:/home/MyName/.xbmc/addons/script.module.universal/lib:/home/MyName/.xbmc/addons/script.module.buggalo/lib:/home/MyName/.xbmc/addons/script.module.mechanize/lib:/home/MyName/.xbmc/addons/script.module.parsedom/lib:/home/MyName/.xbmc/addons/script.module.xbmcswift2/lib:/home/MyName/.xbmc/addons/script.module.xbmc.ads/lib:/home/MyName/.xbmc/addons/script.web.viewer/lib:/home/MyName/.xbmc/addons/script.module.elementtree/lib:/home/MyName/.xbmc/addons/script.module.metahandler/lib:/usr/local/lib/python2.7/dist-packages/virtualenv-1.8.4-py2.7.egg:/usr/local/lib/python2.7/dist-packages/PyOpenGL-3.0.2-py2.7.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode:
07:08:21 T:2857364288   DEBUG: Process - Entering source directory /home/MyName/.xbmc/addons/plugin.video.youtube
07:08:21 T:2857364288   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.1.0 of the xbmc.python api
07:08:21 T:2857364288  NOTICE: Loading cookies from :'/home/MyName/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
07:08:21 T:2857364288  NOTICE: YouTube-4.4.6
07:08:21 T:2857364288  NOTICE: CommonFunctions-2.5.1
07:08:21 T:2857364288   DEBUG: LocalizeStrings: no strings.po file exist at /home/MyName/.xbmc/addons/plugin.video.youtube/resources/language/English, fallback to strings.xml
07:08:21 T:3001428352   DEBUG: ------ Window Init (DialogBusy.xml) ------
07:08:39 T:3001428352    INFO: CheckIdle - Closing session to http://i.ytimg.com (easy=0xa476c838, multi=0x9f1bfcb8)
07:08:39 T:3001428352    INFO: CheckIdle - Closing session to http://i.ytimg.com (easy=0xa832c720, multi=0xb19034d0)
07:08:40 T:3001428352   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
07:08:40 T:3001428352   DEBUG: Unloading: ImageLib-i486-linux.so
07:08:40 T:3001428352    INFO: CheckIdle - Closing session to http://i.ytimg.com (easy=0x9efdb2d8, multi=0xaf562e30)
07:08:40 T:3001428352    INFO: CheckIdle - Closing session to http://i.ytimg.com (easy=0xaf954cb8, multi=0xae5a3e68)
07:08:43 T:3001428352   DEBUG: Keyboard: scancode: 36, sym: 0063, unicode: 0063, modifier: 1000
07:08:43 T:3001428352   DEBUG: OnKey: c (f043) pressed, action is ContextMenu
07:08:43 T:3001428352   DEBUG: Keyboard: scancode: 28, sym: 0064, unicode: 0064, modifier: 1000
07:08:43 T:3001428352   DEBUG: OnKey: d (f044) pressed, action is
07:08:44 T:3001428352   DEBUG: Keyboard: scancode: 41, sym: 0020, unicode: 0020, modifier: 1000
07:08:44 T:3001428352   DEBUG: OnKey: space (f020) pressed, action is Pause
07:08:51 T:2716838720   DEBUG: Thread Jobworker 2716838720 terminating (autodelete)
07:08:51 T:2934303552   DEBUG: Thread Jobworker 2934303552 terminating (autodelete)
07:08:51 T:2708446016   DEBUG: Thread Jobworker 2708446016 terminating (autodelete)
07:08:51 T:2686450496   DEBUG: Thread Jobworker 2686450496 terminating (autodelete)
07:11:44 T:3001428352   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
07:11:44 T:3001428352   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
07:11:44 T:3001428352   DEBUG: ------ Window Init () ------
Couple of days ago, this script started to fail upon logging in. The simplest fix that worked for me was the following...


Code:
"Find on your computer and open (eg with wordpad) the file: YouTubeLogin.py
Look for text string: nick = self.common.parseDOM(ret["content"], "p", attrs={"class": "masthead-expanded-acct-sw-id2"})

Replace that with: nick = self.common.parseDOM(ret["content"], "span", attrs={"id": "yt-masthead-user-displayname"})

Save and Exit"

AND

Remove the cookie (yt-cookiejar.txt) in .xbmc/userdata/addon_data/plugin.video.youtube/

restart and re-login

This was originally posted on http://code.google.com/p/youtubexbmc/iss...id=115#c52
PLEASE VISIT THIS POST FOR UPDATED INFORMATION --> http://forum.xbmc.org/showthread.php?tid...pid1681632

I integrated the fixes to get the YouTube and Vimeo addon working in Gotham Beta 2. I uploaded the addons with the fixes. Just uninstall your current addons and manually re-install with the fixed addons. For the YouTube addon, it's advised to delete the cookie "yt-cookiejar.txt" located in the following folder: xbmc/userdata/addon_data/plugin.video.youtube. For windows user's, you'll find the xbmc folder in C:\Users\UserAccount\AppData\Roaming.

DOWNLOAD LINK: https://www.mediafire.com/folder/i5k0ua5...ns_4.23.14

LIST OF FIXES APPLIED

YOUTUBE FIXES
  • To solve the login problems, I added the fix from this post: Reply #52. If you continue to have login problems, you may have to find a different fix.
  • To fix a problem with VEVO videos not playing, as well as certain videos added to favorites not playing, I added the YouTubePlayer.py from this post: Reply #217
VIMEO FIXES
  • To get Vimeo working in Gotham Beta 2 I added the fixes found in this post: Post #256, and added the VimeoPlayer.py found in this post: Post #240
Thanks to all that fix and post ways to resolve broken addons Big Grin
Hi!

Wow, now i can login but get the error failed to start commoncache check log. What to do about that?

Thanks anyway!!
(2014-03-20, 15:53)ToddeSwe Wrote: [ -> ]Hi!

Wow, now i can login but get the error failed to start commoncache check log. What to do about that?

Thanks anyway!!

Are you referring to the addon's I posted? If so, I forgot to add after installing the YouTube Addon, to delete the cookie "yt-cookiejar.txt" located in the following folder: xbmc/userdata/addon_data/plugin.video.youtube. For windows user's, you'll find the xbmc folder in C:\Users\UserAccount\AppData\Roaming.

Not sure if that will fix your problem, but worth a shot.

Are you using Windows, and what were you trying to access when you got that error?

I'm using Windows 7, and so far the fixes I applied seem to be working well, so far.
Hi!

I simply can't login. Sad

I've tried various methods described here but none of them work properly!

After analyzing the xbmc.log file I got to this part that I think it's relevant:
Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xe3' in position 12: ordinal not in range(128)


I'm Portuguese and most Google pages are now in Portuguese when you're unauthenticated.

Is there any way to resolve this issue?

Thank you!

Below is the relevant part of the log file!

Code:
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] getInfo : 'returning cache '
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] extractVideoLinksFromYoutube : 'trying website: {'action': 'play_video', 'path': '/root/video', 'videoid': 'B9lVnKiqyQk'}'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'login': 'true', u'link': 'http://www.youtube.com/watch?v=B9lVnKiqyQk&safeSearch=none'}'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: http://www.youtube.com/watch?v=B9lVnKiqyQk&safeSearch=none'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'got login'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _httpLogin : ''
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 0'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'link': 'http://www.youtube.com/'}'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: http://www.youtube.com/'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... http://www.youtube.com/'
19:30:51 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
19:30:52 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : ''
19:30:52 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : '1'
19:30:52 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : '2'
19:30:52 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : '4'
19:30:53 T:140247987840768  NOTICE: [YouTube-4.4.6] _httpLogin : 'Part A : {'referer': 'http://www.youtube.com/', 'link': u'https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'}'
19:30:53 T:140247987840768  NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 1'
19:30:53 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'referer': 'http://www.youtube.com/', 'link': u'https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'}'
19:30:53 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'
19:30:53 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'Added referer: http://www.youtube.com/'
19:30:53 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : ''
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : '1'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : '2'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _findErrors : '4'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _fillLoginInfo : ''
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _fillLoginInfo : 'Extracted url_data: {u'PersistentCookie': u'yes', u'rmShown': u'1', u'dnConn': u'', u'pstMsg': u'0', u'service': u'youtube', u'GALX': u'rLzKeMwQ37M', u'signIn': u'Iniciar sess\xe3o', u'continue': u'https://www.youtube.com/signin?action_handle_signin=true&amp;app=desktop&amp;feature=sign_in_button&amp;hl=pt-PT&amp;next=%2F', u'hl': u'pt-PT', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': u'', u'checkConnection': u''}'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _fillLoginInfo : 'Done'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _httpLogin : 'Part B'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 2'
19:30:54 T:140247987840768  NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'referer': u'https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3', 'hidden': 'true', 'link': u'https://accounts.google.com/ServiceLoginAuth', 'url_data': {u'PersistentCookie': u'yes', u'rmShown': u'1', u'dnConn': u'', u'pstMsg': u'0', u'service': u'youtube', 'Passwd': 'myPass', u'GALX': u'rLzKeMwQ37M', u'signIn': u'Iniciar sess\xe3o', u'continue': u'https://www.youtube.com/signin?action_handle_signin=true&amp;app=desktop&amp;feature=sign_in_button&amp;hl=pt-PT&amp;next=%2F', u'hl': u'pt-PT', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': '[email protected]', u'checkConnection': u''}}'
19:30:54 T:140247987840768   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xe3' in position 12: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.video.youtube/default.py", line 120, in <module>
                                                navigation.executeAction(params)
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 143, in executeAction
                                                self.player.playVideo(params)
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 80, in playVideo
                                                (video, status) = self.buildVideoObject(params)
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 285, in buildVideoObject
                                                (links, video) = self.extractVideoLinksFromYoutube(video, params)
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 418, in extractVideoLinksFromYoutube
                                                result = self.getVideoPageFromYoutube(get)
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 401, in getVideoPageFromYoutube
                                                page = self.core._fetchPage({u"link": self.urls[u"video_stream"] % get(u"videoid"), "login": login})
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 447, in _fetchPage
                                                self.login._httpLogin()
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 183, in _httpLogin
                                                ret = self.core._fetchPage(fetch_options)
                                              File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 400, in _fetchPage
                                                request = urllib2.Request(link, urllib.urlencode(get("url_data")))
                                              File "/home/stephan/projects/openelec-4.0/build.OpenELEC-Generic.x86_64-3.95.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib.py", line 1312, in urlencode
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 12: ordinal not in range(128)
                                            -->End of Python script error report<--
19:30:54 T:140247987840768 WARNING: CPythonInvoker(6, /storage/.xbmc/addons/plugin.video.youtube/default.py): the python script "/storage/.xbmc/addons/plugin.video.youtube/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE
19:30:54 T:140249473599296   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=B9lVnKiqyQk]
19:30:54 T:140247987840768  NOTICE: Thread BackgroundLoader start, auto delete: false
19:31:24 T:140248054982400  NOTICE: Thread JobWorker start, auto delete: true
Hi

On my TLBB it's working fine, it's on my pc installation i get the error. Tried your tip to delete the txt file but it did not work.
Here's my logfile: http://xbmclogs.com/show.php?id=153716

Hope you find it




(2014-03-20, 16:46)sogopot Wrote: [ -> ]
(2014-03-20, 15:53)ToddeSwe Wrote: [ -> ]Hi!

Wow, now i can login but get the error failed to start commoncache check log. What to do about that?

Thanks anyway!!

Are you referring to the addon's I posted? If so, I forgot to add after installing the YouTube Addon, to delete the cookie "yt-cookiejar.txt" located in the following folder: xbmc/userdata/addon_data/plugin.video.youtube. For windows user's, you'll find the xbmc folder in C:\Users\UserAccount\AppData\Roaming.

Not sure if that will fix your problem, but worth a shot.

Are you using Windows, and what were you trying to access when you got that error?

I'm using Windows 7, and so far the fixes I applied seem to be working well, so far.
Im using Openelec on my rasPi with stable build using Ace skin and have a few questions.
When I set to SD only I get audio but no video. I set to "Ask" anything 380 and above(so far from what Ive tested) works but below that has just audio. I am wanting SD only.
Im using a MS remote and not sure how to add to favorites.
Ive setup my downloads folder but how do I download a video to it? The info menu for the video doesnt show anything for that or to add to favorites.
There a way to delete or clear search history?

Thanks so muchSmile
First of all Thank you to everyone who has come up with fixes to this plugin. Because of you We can have a working plugin. With that said we should get the fixes in this thread posted to the issues on https://github.com/HenrikDK/youtube-xbmc-plugin

maybe then possibly they will get pushed to the actual plugin.

I'm just a user like many of you but I thought I might post this with the hopes that those of you who do know a bit of coding & have managed to help other get things working would post your fixes where the dev's might see them Smile Just some food for thought.
(2014-03-20, 15:11)sogopot Wrote: [ -> ]I integrated the fixes to get the YouTube and Vimeo addon working in Gotham Beta 2. I uploaded the addons with the fixes.

Nice! Everything is working for me (OpenELEC-RPi.arm-Milhouse-20140317215852-r17951-g6eb5e2d).
(2014-03-20, 15:11)sogopot Wrote: [ -> ]I integrated the fixes to get the YouTube and Vimeo addon working in Gotham Beta 2. I uploaded the addons with the fixes. Just uninstall your current addons and manually re-install with the fixed addons. For the YouTube addon, it's advised to delete the cookie "yt-cookiejar.txt" located in the following folder: xbmc/userdata/addon_data/plugin.video.youtube. For windows user's, you'll find the xbmc folder in C:\Users\UserAccount\AppData\Roaming.

DOWNLOAD LINK: https://www.mediafire.com/folder/ie3ammajgrc2o/xbmc_addons

LIST OF FIXES APPLIED

YOUTUBE FIXES
  • To solve the login problems, I added the fix from this post: Reply #52. If you continue to have login problems, you may have to find a different fix.
  • To fix a problem with VEVO videos not playing, as well as certain videos added to favorites not playing, I added the YouTubePlayer.py from this post: Reply #217
VIMEO FIXES
  • To get Vimeo working in Gotham Beta 2 I added the fixes found in this post: Post #256, and added the VimeoPlayer.py found in this post: Post #240
Thanks to all that fix and post ways to resolve broken addons Big Grin

OMG IT WORKS !