|
Author |
Message |
Pete
|
Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra [SOLVED] Posted: April 18th, 2017, 8:44 pm |
|
 |
Developer/Owner |
 |
Joined: May 1st, 2009, 10:12 am Posts: 11534 Location: Meridian, ID, USA
|
|
Okay, so I propose the following scenario may be happening:
You have a lot of video folders that Kodi is supposed to scan. Perhaps a giant movie library and lots of TV. I wouldn't do this -- I had to restructure my library to work around it too and made individual folders for movies I added in 2017, 2016, 2015, etc. as well as a separate folder for TV shows that have ended and aren't airing new episodes. My Kodi video scan times went down from 20-30 minutes long to ~30 seconds.
If Kodi is already processing a video scan from a while ago and you get a new episode, it will ignore (but report back to MCM via JSON API an "ok" status) any request for new scans. This is what I'm assuming is happening since I can see that your Kodi has accepted the video scan request and reported back "ok".
I eventually discontinued using this feature in my personal setup in favor of scheduled video scans. You could also use both. Check your Kodi logs (turn on verbose log level) to track down what it's doing when these ignored requests for video scans come in from MCM.
_________________ Peter Souza IV stable version 2.18.13818.935 / May 18th, 2018 Media Center Master on Facebook!
|
|
|
|
 |
dementia
|
Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra Posted: April 18th, 2017, 9:28 pm |
|
 |
Flash Video |
Joined: September 25th, 2010, 12:56 pm Posts: 21
|
I suppose that does make some sense, although restructuring my folders would mean manual maintenance of my folders when TV shows end, or i get new movies the following year, which i would prefer not to do.
How difficult is it to change the Video scan functionality in the following way:
- When you process new downloads, and 'kodi scan after processing' is enabled, trigger the Kodi update only after you have processed all new downloads?
I assume that when you grab the files in the new downloads folder, you have access to all the files in that folder, so you should be able to see how many you need to process. If you move the video scan to after all processing has been done, that would a) solve this issue and b) streamline the post calls.
|
|
|
|
 |
dementia
|
Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra Posted: April 20th, 2017, 8:44 pm |
|
 |
Flash Video |
Joined: September 25th, 2010, 12:56 pm Posts: 21
|
ok thanks for looking into this. i checked the settingss but am unsure how to set up timed kodi scans. Can you elaborate on how to do that?
|
|
|
|
 |
Pete
|
Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra Posted: April 20th, 2017, 9:50 pm |
|
 |
Developer/Owner |
 |
Joined: May 1st, 2009, 10:12 am Posts: 11534 Location: Meridian, ID, USA
|
I believe it's a program addon. I stopped using it in favor of a batch file tied to Task Scheduler that sends a wget request to Kodi for various tasks, including library scans: https://github.com/MilhouseVH/texturecache.pyThen call it like this: Code: "C:\Python27\python.exe" "C:\HTPC Utilities\texturecache.py" vscan I have other batch files that perform automatic maintenance such as: Code: "C:\Python27\python.exe" "C:\HTPC Utilities\texturecache.py" vclean "C:\Python27\python.exe" "C:\HTPC Utilities\texturecache.py" P "C:\Python27\python.exe" "C:\HTPC Utilities\texturecache.py" c You get the idea.
_________________ Peter Souza IV stable version 2.18.13818.935 / May 18th, 2018 Media Center Master on Facebook!
|
|
|
|
 |
dementia
|
Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra Posted: April 21st, 2017, 8:54 am |
|
 |
Flash Video |
Joined: September 25th, 2010, 12:56 pm Posts: 21
|
|
|
|
 |
DavidBurraru
|
Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra Posted: September 25th, 2018, 12:00 am |
|
 |
Downloaded Clip |
Joined: September 24th, 2018, 10:27 am Posts: 1
|
Did that work for you? I am trying to get some add-ons installed as well, but facing a similar issue. Edit: The problem is with MCM only. I have downloaded some Kodi-addons from the official https://kodi.tv/addons and third-party https://techvpn.com/best-kodi-addons/, and most of them seem to work without any issues.
_________________ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------A tech enthusiast at Telecompress
|
|
|
|
 |
|
|