Kodi Community Forum
Cleanonupdate Not Working For Me - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Cleanonupdate Not Working For Me (/showthread.php?tid=79939)

Pages: 1 2


Cleanonupdate Not Working For Me - Hiethen - 2010-08-30

For some reason, videos are not being removed from my library when they are deleted from the hard drive. I have the 'clean on update' setting turned on and, here is my Advancedsettings.xml which is located under C:\Users\User\AppData\Roaming\XBMC\userdata\.
Quote:<advancedsettings>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
</advancedsettings>

Here is my log,
http://pastebin.com/SWZcC3df

I delete The Karate Kid 2010 but its not being removed from the library through the cleanonupdate function.


- jmarshall - 2010-08-30

Quote:#
20:24:41 T:672 M:1231314944 ERROR: XFILE::CDirectory::GetDirectory - Error getting E:\Movies 1080p\The Karate Kid 2010 1080p BluRay x264-WiKi\
#
20:24:41 T:672 M:1231314944 DEBUG: VideoInfoScanner: Skipping dir 'E:\Movies 1080p\The Karate Kid 2010 1080p BluRay x264-WiKi\' due to no change

That appears to be the problem - nothing to do with cleaning per-se.


- Pr.Sinister - 2010-08-30

jmarshall Wrote:That appears to be the problem - nothing to do with cleaning per-se.

But shouldn't it remove the folder when it doesn't find it?

As you know, cleaning the library isn't working in the Dharma branch but this changeset (http://trac.xbmc.org/changeset/33054) supposedly fixes it in trunk.

The only thing is that, looking at the code, it looks to me like this would only fix the cleaning in TV Shows and not Movies... Am i right?

Maybe the original ticket didn't mention that cleaning was broken for both Movies and TV Shows... For me, both are broken.

I haven't tried Dharma Beta1 yet...

BTW...How come no alpha this time?


- Pr.Sinister - 2010-08-30

Ok i just tried xbmc-r33324-Dharma_beta1.exe

Both TV Shows and Movies do no get cleaned up on update.

Forcing a library cleanup from the Video Settings also doesn't work.


- jmarshall - 2010-08-30

If it doesn't work for "Clean Library" then that is quite a different thing altogether than what is affecting the OP.

You know the drill - get it reproducible with a simple fileset and simple set of steps, then create a ticket with all those details.

Cheers,
Jonathan


- jmarshall - 2010-08-30

@Hiethen: A Clean Library from settings should remove the folder for you. I have a fix pending to take care of it being picked up during scan.

Cheers,
Jonathan


Oops! - Pr.Sinister - 2010-08-30

Sorry!

I spoke too soon... Forcing the Clean Library works in dharma beta1.

It wasn't working in 33122. In my haste, I ran the wrong build. My apologies.

The only thing not working is cleaning during the startup scan

Added a comment to the ticket i created here : http://trac.xbmc.org/ticket/10022


- Hiethen - 2010-08-30

jmarshall Wrote:@Hiethen: A Clean Library from settings should remove the folder for you. I have a fix pending to take care of it being picked up during scan.

Cheers,
Jonathan

Thanks for the info. I didn't know that cleanonupdate was not working.


- jmarshall - 2010-08-31

r33351 (trunk only atm) will fix the cleanonupdate in your case. This will be merged to Dharma in time for beta2.

Cheers,
Jonathan


- Hiethen - 2010-08-31

jmarshall Wrote:r33351 (trunk only atm) will fix the cleanonupdate in your case. This will be merged to Dharma in time for beta2.

Cheers,
Jonathan

Yay, keep up the good work Smile


- nmt1978 - 2010-10-01

jmarshall Wrote:r33351 (trunk only atm) will fix the cleanonupdate in your case. This will be merged to Dharma in time for beta2.

Cheers,
Jonathan

I am using beta2 dharma but the cleanonupdate doesn;t work for me.

is this function merged into beta 2?


- Abe Froman - 2010-10-02

Same thing here, not working on beta2, let me know if a log is needed.


- mkortstiege - 2010-10-02

Abe Froman Wrote:Same thing here, not working on beta2, let me know if a log is needed.

Log is always needed. As well as exact steps to reproduce the issue.


- kri kri - 2010-10-15

Did this get fixed in beta3?


- Hiethen - 2010-10-15

kri kri Wrote:Did this get fixed in beta3?

I was under the impression that it got fixed in beta 2.