2013-10-01, 20:43
I have created some yahoo.pipe json feeds and wanted to make a plugin for these. A couple of months ago I started with it. Back than I couldn't get it to work on my own and I stopped. Somehow I also didn't manage to install xbmcswift. But now I ask for help.
Example link yahoo.pipe json feed. Screenshot of how I want this to look on xbmc video add-on.
The addon.py of plugin.video.vimcasts https://github.com/jbeluch/xbmc-vimcasts
addon.py which I modify to list only video items of a yahoo.pipe json feed.
Question 1: addon.py v2 I made this, but it doesn't work. How come? It got a playlist which got only videos.
Question 2: How to do a if statement with python? For instance item json needs to be handled different than a item video.
Question 3: I want to support also other kind of items on a json feed. Look at the yahoo.pipe json feed on top of this post. This is not important right now. But the first 2 questions I want help with it.
title - (title of playlist)
type - json,search, video, list_note, ^window, *rss,*text, *download, *audio, and *image.
*lower priority
^window - I want this to enter other plugins. Example - youtube plugin search query rat.
plugin://plugin.video.youtube/?feed=search&path=%2froot%2fsearch&search=rat
Example link yahoo.pipe json feed. Screenshot of how I want this to look on xbmc video add-on.
The addon.py of plugin.video.vimcasts https://github.com/jbeluch/xbmc-vimcasts
addon.py which I modify to list only video items of a yahoo.pipe json feed.
Question 1: addon.py v2 I made this, but it doesn't work. How come? It got a playlist which got only videos.
Question 2: How to do a if statement with python? For instance item json needs to be handled different than a item video.
Question 3: I want to support also other kind of items on a json feed. Look at the yahoo.pipe json feed on top of this post. This is not important right now. But the first 2 questions I want help with it.
title - (title of playlist)
type - json,search, video, list_note, ^window, *rss,*text, *download, *audio, and *image.
*lower priority
^window - I want this to enter other plugins. Example - youtube plugin search query rat.
plugin://plugin.video.youtube/?feed=search&path=%2froot%2fsearch&search=rat