Kodi Community Forum
v19 cache folder jpg for video folders? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: v19 cache folder jpg for video folders? (/showthread.php?tid=368962)

Pages: 1 2


RE: cache folder jpg for video folders? - mats_o - 2022-07-20

that sounds interesting - do you have a link to more information about it?


RE: cache folder jpg for video folders? - jjd-uk - 2022-07-20

See https://kodi.wiki/view/Video_nodes

There's two ways to go about it:

1. Define the rules in the node xml file.
2. Create a smartplaylist then point the node at the playlist.

Creating the node xml files can either be done by creating the xml files manaually or using the Library Node Editor to do it via the Kodi GUI in a similar fashion to smartplaylist.

The rules types available are common for both nodes and smartplaylists, see https://kodi.wiki/view/Smart_playlists/Rules_and_groupings


RE: cache folder jpg for video folders? - jjd-uk - 2022-07-20

There's also many examples here https://forum.kodi.tv/showthread.php?tid=257378


RE: cache folder jpg for video folders? - mats_o - 2022-07-21

(2022-07-20, 17:07)jjd-uk Wrote: There's also many examples here https://forum.kodi.tv/showthread.php?tid=257378

Thanks. Looks like i lose the folder fanart but it can do the rest. Now it's just the small matter of creating over a thousand nodes - that's easy in Powershell Wink


RE: cache folder jpg for video folders? - mats_o - 2022-07-23

@Karellen 

I saw that movie.tbn files should be "dead" in 20937 (GH issue). Since it's one of four files Kodi scans for when using artwork:none it would make the scanning faster to remove that file operation.
My c++ skills are somewhat "limited", last time I tried the University mainframe ran into serious issues (a small pointer error that caused a huge memory leak) so it's not unlikely that I read the code wrong but I did search for movie.tbn in the sourcecode and the only reference I could find was on line 677 in thumbloader.cpp. Would removing that line stop Kodi from scanning for movie.tbn files ?

Since it's one of four files it could be up to roughly 25% less I/O with a small change


RE: cache folder jpg for video folders? - Karellen - 2022-07-23

(2022-07-23, 15:32)mats_o Wrote: Would removing that line stop Kodi from scanning for movie.tbn files ?
Sorry I am not a developer, so I can't provide a definitive answer.
You could PR the change, and the developers will comment/guide you.