Importing movies and TV shows to Kodi
#1
I'm working on my pvr addon.

I would prefer to use Kodi's movie and tv show sections to show tv and movies than recordings.  I know that I can add items to recordings but I don't think that recordings has the same nice interface with groupings etc.

My links to these items are served from my server using http.  I tried modifying I think it was field c22 in the Kodi tv database but it seems to work only for actual files.

I would prefer not to have to install other addons etc and just do it directly.

I have achieved movies using .strm files but series don't work and I would prefer a better way than creating a lot of strm files.

Has anyone been down this road and have ideas?
Reply
#2
if you want addon provided content to be inserted into the kodi database as though it were physical media

you need to implement 'medialibraryscanpath'

https://forum.kodi.tv/showthread.php?tid...pid3162537
Reply
#3
Thanks so much if this is a way without me trying to directly play with the Kodi DB.  I'm using C++ and will study your link.  I was hoping that there was a way but was losing hope after reading a lot of threads.

I'll post back with progress.

It just made logical sense to me that you should be able to easily import both local physical media and remote served media.
Reply
#4
I'm looking through this and trying to get the concepts.

Do I have to create a video addon?  I would prefer a call to my pvr addon if possible.
Reply
#5
i don't know that my suggestion actually works with a binary addon

my mistake
Reply
#6
I'm making a bit of progress.  Can Kodi send a notification when a movie for example is selected to play?  Another option might be a menuhook but the menhuooks in PVR addons don't seem to reference any movie category (probably because they work with recordings).
Reply

Logout Mark Read Team Forum Stats Members Help
Importing movies and TV shows to Kodi0