Posts: 116
Joined: Aug 2015
Reputation:
1
I am currently doing a lot of filename changes, so my update process is to go to the system menu and "clean" and then do an "update"
This involves 2 different menus and is a pain.. Is there any way to do a clean/update in one step?
I did originally think about doing this automatically at the time of startup.. But I can see thats bad, as if the sources are missing, this would be disastrous to 'clean'... But when you are doing a manual update, it would be nice to have the option to clean first.
Can you do this?
Jon
Posts: 17,859
Joined: Jul 2011
Reputation:
371
there should be an option "clean at update"
Posts: 31,445
Joined: Jan 2011
http://kodi.wiki/view/Advancedsettings.xml#videolibrary
Code:
<advancedsettings>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
</advancedsettings>
Posts: 116
Joined: Aug 2015
Reputation:
1
Saw that, but isn't it a bit "dangerous"? This means that every time you do an update, you risk loosing some/all of your library IF a source is off line.
I would like to see 2 options in Kodi.. "Update" (As it is today).. And "Clean + Update" for the times that you know its safe to do so.
Jon
Posts: 31,445
Joined: Jan 2011
Sort of. Kodi should now check to see if a source is offline before assuming the individual file is gone. I think it does something like check a parent directory, and if the directory itself is gone then it assumes the source is offline, and it won't remove those from the library.
For the moment, there's only the one option.
Posts: 116
Joined: Aug 2015
Reputation:
1
2015-08-11, 15:02
(This post was last modified: 2015-08-11, 18:40 by jweaver.)
It doesn't work.. Or I should say it doesn't work as I hoped/expected....
Before using this auto setting.. If I change the name of a file.. And then do an update.. It won't pick up the new name.. I have to clean first (which makes the old file disappear) and then update.. So its a 2 step process.
This new (Advanced) feature should work.. But its cleans AFTER the update.
So when it runs, it does the update and doens't pick up the new name.. Then it cleans.. So it gets rid of the old one.. And the net results is that the file is missing.. So you have to do an update again to get the new file back
Surely the 'clean' should happen BEFORE the 'update'?
Either way, this doesn't help me.. Any other options which might?
Jon
Posts: 31,445
Joined: Jan 2011
It shouldn't matter when it happens. A clean should not be required before the new entry is picked up. I'm not sure why it's not picking it up on the first try.