Hi,
I am new to XBMC and python plugins. I was able to figure out how to call the Youtube plugin with the video id (page 33 of this thread). But when I do call the plugin I get the following error in the log.
Quote:14:03:37 T:5904 M:1049944064 ERROR: XFILE::CPluginDirectory::SetResolvedUrl - called with an invalid handle.
When I copy the link and paste it in Chrome browser, the file starts downloading with out any issues.
Code:
http://v12.lscache7.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor&fexp=901031&algorithm=throttle-factor&itag=35&ipbits=8&burst=40&sver=3&signature=668FFC4820CD591FB036B65774E418B2B8CD9170.4F9283F43884D0C0DC8CDF23BC2CCFE155749D0D&expire=1298340000&key=yt1&ip=71.0.0.0&factor=1.25&id=98559ca6e7a130cc
So why is XBMC not playing the link? Can you please help?
Also on a different note, how do I call the plugin with a playlist parameter? Currently my URL is of the format
Code:
http://www.youtube.com/p/0F50DD75842E0226?hl=en_US&fs=1
I am passing this to the API [/CODE]
http://gdata.youtube.com/feeds/api/playlists/....[/CODE] to get the individual video ids and then calling the youtube plugin. I am hoping I can just call the plugin with the Playlistid. is that possible ? if so how? I did try changing the videoid to playlistid in the plugin call but I got an error.
any help on this is appreciated
Thanks
Code:
4:02:50 T:7768 M:1053421568 NOTICE: [url]http://tamilkacheri.com/index.php?page=shows[/url]
14:02:53 T:7620 M:1050755072 NOTICE: -->Python Interpreter Initialized<--
14:02:53 T:7620 M:1050214400 NOTICE: Mode: 1
14:02:53 T:7620 M:1050214400 NOTICE: URL: [url]http://tamilkacheri.com/?page=view&id=2403[/url]
14:02:53 T:7620 M:1050214400 NOTICE: Name: Airtel Super S..
14:02:53 T:7620 M:1050214400 NOTICE: [url]http://tamilkacheri.com/?page=view&id=2403[/url]
14:03:35 T:5904 M:1052196864 NOTICE: -->Python Interpreter Initialized<--
14:03:35 T:5904 M:1052381184 NOTICE: YouTube-2.0.0 ARGV: ['plugin://plugin.video.youtube/', '-1', '?action=play_video&videoid=mFWcpuehMMw']
14:03:36 T:5904 M:1049694208 NOTICE: YouTube-2.0.0 construct_video_url : 'mFWcpuehMMw'
14:03:36 T:5904 M:1049694208 NOTICE: YouTube-2.0.0 _get_details: 'mFWcpuehMMw'
14:03:36 T:5904 M:1049694208 NOTICE: YouTube-2.0.0 fetching page : [url]http://gdata.youtube.com/feeds/api/videos/mFWcpuehMMw[/url]
14:03:36 T:5904 M:1049649152 NOTICE: YouTube-2.0.0 _getvideoinfo: 4013
14:03:36 T:5904 M:1049440256 NOTICE: plot updated
14:03:36 T:5904 M:1049440256 NOTICE: YouTube-2.0.0 _getvideoinfo done : 1
14:03:36 T:5904 M:1049440256 NOTICE: YouTube-2.0.0 _get_details done
14:03:36 T:5904 M:1049440256 NOTICE: YouTube-2.0.0 extractVariables : 'mFWcpuehMMw'
14:03:36 T:5904 M:1049440256 NOTICE: YouTube-2.0.0 fetching page : [url]http://www.youtube.com/watch?v=mFWcpuehMMw&safeSearch=none&hl=en_us[/url]
14:03:37 T:5904 M:1049960448 NOTICE: YouTube-2.0.0 extractVariables done
14:03:37 T:5904 M:1049960448 NOTICE: YouTube-2.0.0 construct_video_url: stream_map : False
14:03:37 T:5904 M:1049960448 NOTICE: YouTube-2.0.0 construct_video_url: non stream map
14:03:37 T:5904 M:1049960448 NOTICE: YouTube-2.0.0 construct_video_url done
14:03:37 T:5904 M:1049944064 NOTICE: YouTube-2.0.0 - Playing video: ATSS 1 - mFWcpuehMMw - [url]http://v12.lscache7.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor&fexp=901031&algorithm=throttle-factor&itag=35&ipbits=8&burst=40&sver=3&signature=668FFC4820CD591FB036B65774E418B2B8CD9170.4F9283F43884D0C0DC8CDF23BC2CCFE155749D0D&expire=1298340000&key=yt1&ip=71.0.0.0&factor=1.25&id=98559ca6e7a130cc[/url] | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
14:03:37 T:5904 M:1049944064 ERROR: XFILE::CPluginDirectory::SetResolvedUrl - called with an invalid handle.
14:04:16 T:7852 M:1057636352 NOTICE: Storing total System Uptime
14:04:16 T:7852 M:1057636352 NOTICE: Saving settings