Your 2nd Add-On: Online Videos!
#25
Sorry for highjacking this thread.

(2016-01-27, 13:03)Roman_V_M Wrote: 2 Rapboy
First, your url variable is a weird construction. Why do you use strings inside sets inside a list?

I have very little knowledge in python coding (even after the tutorials), hence the weird url construction.

To your second point, I am making a plugin (actually I have made it already apart from this issue). Just a simple plugin to be able to view streams. I was wondering in your example plugin, is there anyway to make the categories playable?
For example:
Making the category (animals) playable, so when I press on animals, it will ask me to play Alligator, Crab or Turtle. As opposed to opening a folder with them sub-listed. So I can favorite animals and use it in an epg guide.

On the example plugin, I tried following your advice and adjusted categories to isFolder=False and adding isPlayable='true' properties. But it did not work. I even adjusted def list_categories(): to make it almost exactly like def list_videos(category):. But all I got were errors or an empty folder.

I think I am too dumb to figure it out, so any help will be greatly appreciated. Thank you already for the help that you have provided, I immensely value it.
Reply


Messages In This Thread
Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:28
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:33
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-30, 14:42
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-12-01, 12:58
RE: Your 2nd Add-On: Online Videos! - by zag - 2016-01-18, 14:37
RE: Your 2nd Add-On: Online Videos! - by Rapboy - 2016-02-01, 18:20
RE: Your 2nd Add-On: Online Videos! - by pa79 - 2020-09-09, 19:59
Logout Mark Read Team Forum Stats Members Help
Your 2nd Add-On: Online Videos!2