![]() |
RFC - Change the video scanning order from Movies then TV, to TV then Movies - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: RFC - Change the video scanning order from Movies then TV, to TV then Movies (/showthread.php?tid=363943) |
RFC - Change the video scanning order from Movies then TV, to TV then Movies - bossanova808 - 2021-08-11 So for years I have been frustrated with Kodi's insistence on scanning movies before TV shows. With a large library, this can mean quite some delay before the TV show scanning stage is reached...and, for me anyway, I have TV shows incoming a lot more often than movies. I am no C++ coder, but I think I can handle this much & potentially scratch my own itch here. I'd really like to change the order here to do TV shows first.... https://github.com/xbmc/xbmc/blob/7a043e7b6e777423f55a029c9d0f6b9c0dca33a3/xbmc/video/VideoDatabase.cpp#L585 ...but I imagine a lot of folks will prefer the status quo. Would an advanced setting for this be appropriate maybe? Or are there ideas for better solutions that a really novice C++ coder could attempt? RE: RFC - Change the video scanning order from Movies then TV, to TV then Movies - Klojum - 2021-08-11 Personally, I would rather prefer separate scan options, for movies only and tv shows apart. There is also a movielinktvshow table in the video database but I don't know when/where that would be a showstopper. My current movie/tv collection has zero records in that table.
RE: RFC - Change the video scanning order from Movies then TV, to TV then Movies - Hitcher - 2021-08-11 I think it scans folders alphabetically so you could simply rename your TV show folder to put it first. EDIT: Is it now possible to change the order of library scanning - TV *first*, then movies RE: RFC - Change the video scanning order from Movies then TV, to TV then Movies - bossanova808 - 2021-08-11 Yes - although I'd forgotten most of that thread, LOL - I did write the add on a while back, and did a bunch of skin changes for it on my personal fork of Confluence, but there were all sort of issues that cropped up, I never for it working the way I wanted...hence never releasing it (https://github.com/bossanova808/script.customlibraryscan) I suppose I should just bite the bullet and rename my folders alphabetically but that will mess with all sorts of existing things I have set up too. I can't see where it sorts in that code though, so I am surprised that works. Just one of those niggles! To move to separate scans for each type, generally, would be a bigger change though....but I agree that would be useful. RE: RFC - Change the video scanning order from Movies then TV, to TV then Movies - jjd-uk - 2021-08-11 I guess this must when using Update Library from side menu, but if you want to limit the update to TV Shows only then why don't you do a Scan for new content on the TV Show source in Files. RE: RFC - Change the video scanning order from Movies then TV, to TV then Movies - b'sketti - 2021-08-11 I have a vague memory (from many years ago) that there were built-in commands to invoke a scan of just the TV Shows folders or just the Movies folders. I don't think they were ever exposed in the default skin or settings but maybe it was another skin at the time ![]() ... or maybe it's just a false memory... 🤷♂️ |