Your 2nd Add-On: Online Videos!
#26
(2016-02-01, 18:20)Rapboy Wrote: 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.

Please read this my post: http://forum.kodi.tv/showthread.php?tid=...pid2227469
Hopefully, it will make things more clear for you. What you need is p.2. But inside your playback function and before setResolvedUrl you can do anything you like. It includes presenting to a user a selection dialog. xbmcgui.Dialog().select(...) is enough for simple cases.

BTW, you can store a "category", that is a plugin virtual folder, in Kodi Favorites.
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 Roman_V_M - 2016-02-02, 14:06
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