Welcome to Media Center Master!
A powerful solution for mastering your digital media library.
Supporting Emby, Kodi/XBMC/OSMC, Plex, Windows Media Center, and more!

Home Download Gallery Wiki Issue Tracker Licensing Forums

   FAQ  •  Search •  Login •  Register     
It is currently October 23rd, 2018, 11:25 pm

All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra  [SOLVED]
PostPosted: April 18th, 2017, 8:44 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11539
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!


 Profile  
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra
PostPosted: April 18th, 2017, 9:28 pm 
Offline
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.


 Profile  
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra
PostPosted: April 19th, 2017, 9:39 am 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11539
Location: Meridian, ID, USA
Unfortunately, Media Center Master already does it that way in addition. Doing it only that way means no scans will be performed if MCM is working on a large batch of items to fetch. There's no perfect solution.

If you need more timely updates and have very long scan times in Kodi, I would consider supplementing your triggered scans with timed scans.

_________________
Peter Souza IV
stable version 2.18.13818.935 / May 18th, 2018
Media Center Master on Facebook!


 Profile  
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra
PostPosted: April 20th, 2017, 8:44 pm 
Offline
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?


 Profile  
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra
PostPosted: April 20th, 2017, 9:50 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11539
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.py

Then 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!


 Profile  
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra
PostPosted: April 21st, 2017, 8:54 am 
Offline
Flash Video

Joined: September 25th, 2010, 12:56 pm
Posts: 21
Cool, thanks!


 Profile  
 Post subject: Re: Process New Downloads Does Not Tell Kodi To Update Libra
PostPosted: September 25th, 2018, 12:00 am 
Offline
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


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group



Copyright © 2009-2018, Media Center Master, Inc. All rights reserved.