Addon newbie dev : path to directory

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 !