Posts: 15
Joined: May 2015
Reputation:
0
I am working on creating my own addon, but when I set the URL to play a video using the plugin nothing occurs.
li = xbmcgui.ListItem('ListItemName')
li.setProperty('isplayable', 'true')
url = 'plugin://plugin.video.youtube/play/?video_id=XXXXXXX'
li.setProperty('Video', 'true')
xbmcplugin.addDirectoryItem(handle=addon_handle , url=url, listitem=li, isFolder=False)
Does the setProperty need to be set to something different besides 'Video'? Currently I am using Kodi 15.0. Is the plugin still supported in 15.0?
Posts: 19,982
Joined: May 2009
Reputation:
452
nickr
Retired Team-Kodi Member
Posts: 19,982
You won't get higher than 720p anyway.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 15
Joined: May 2015
Reputation:
0
Does the plugin append the .tbn somewhere? I don't have that in the script from what I can tell.
Posts: 1,230
Joined: Jun 2014
Reputation:
79
bromix
Team-Kodi Member
Posts: 1,230
If you're using this addon with Gotham or Isengard, it is possible you will get an error that you're unauthorized - just sign out and proceed with the login again.
I added for each major version of XBMC/KODI a separate API-KEY - so I have more control over the quota for each system.
Version 5.1.1~beta6 (2015-05-09)
ADD: API Key for each major version of KODI
DEL: removed old v2 API
Posts: 1
Joined: May 2015
Reputation:
0
Hello. I have tried to install the youtube addon on an MX box that has a Linux build and using xbmc. But i keep getting 'dependencies not met'. Is there a fix for this please?
Posts: 76
Joined: Sep 2014
Reputation:
2
2015-05-09, 21:33
(This post was last modified: 2015-05-09, 21:33 by SportySpice.)
Hi bromix,
I'm writing a plugin that mimics youtube collections (although it will be a little more advanced)
The basic functionality will let you take a bunch of playlists/channels and merge them into one list of videos.
I will also add a few more complex operations/filters you could then use.
Anyway,
I was wondering if I could somehow use your plugin to get all the info I need (playlists, channel uploads, video info,etc)?
Or will it be better to just use Youtube's API directly and write everything from scratch?