Jellyfin Forum
Replacing Native Mode - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Client Development (https://forum.jellyfin.org/f-client-development)
+---- Forum: Kodi Development (https://forum.jellyfin.org/f-kodi-development)
+---- Thread: Replacing Native Mode (/t-replacing-native-mode)



Replacing Native Mode - zang74 - 2024-10-28

So, I've been a long user of Native Mode, and it seems like the devs wish to get rid of it. I'm not gonna rag on that, don't worry.

I use J4Kodi in my own customized Kodi skin that uses widgets and smart playlists. Kodi's handling of a giant video pool is annoying. IĀ keep my media files organized in about six different folders, and use Smart Playlists on Kodi to determine what to show where. I've been using elements of the folder path in order to do that differentiation. Within Jellyfin, these are mirrored as separate libraries.

To move to the default server-side streaming, I'm not sure how I'd go about that doing that kind of filtering/separation. Is JF sending an infolabel that can be used? Can genre or tag labels (on each root library's metadata, not each piece of media's metadata) be seen in View_50 lists or widgets? I'm aware that individual tags/genresĀ one would work, but I deal with an automated workflow here and I don't want to have to tag every new file as it comes in.

Ideas?


RE: Replacing Native Mode - mcarlton00 - 2024-10-30

Everything is still sorted inside of the database, so assuming your stuff is sorted into libraries (sounds like it is) then it should be fairly easy to automatically sort stuff through the addon itself.

When you go to addons -> video addons -> jellyfin you should get a list of libraries in your server. If they've been synced it should be just the library name, if they have not been synced it'll say "Library name (dynamic)". If it's a dynamic library, the content is loaded on demand from the server (warning, this is slow). However, if the library is synced into Kodi then it should pull the relevant entries for just that library from the local database. I'm sure you can filter it another way as well, but I don't remember what calls that those menu options make off the top of my head and I haven't been in that section of the code for a long time.