Kodi Community Forum
Addon newbie dev : path to directory - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Addon newbie dev : path to directory (/showthread.php?tid=307013)



Addon newbie dev : path to directory - toto.pierreyves - 2017-02-14

Hi all,

I'm kind of a newbie developing kodi addon so please excuse my maybe obvious questions.

I'm trying to build a list of items (using addDirectoryItem) of tvshows and I would like that when selecting an item in the list, it opens directly this tvshow page in the TVShow library.

I understood that with addDirectoryItem I have to give a url but I'm not able to find how to build the url to the tvshow page. I understood that url can be the path to a file but what about the path to a kodi page ? like a tvshow page showing all seasons available ?

I maybe missed something but don't understand how to just build a shortcut to a tvshow page.

Could someone help me with that ?

Tks a lot for your answers !