[AppleTV2] Media mode video's doubling up
#1
Question 
Hi all,

Since changing to an AFP based network storage which also exports as CIFS/SMB for XBMC I've come into problems where my media is doubling up when scanning and being added. This is due to the creation of .AppleDouble folders which houses a file named the exact same for every video I upload from my Mac.

Is there a way to tell XBMC to ignore all files starting with a . when importing into media mode?

I've looked and I can't see anything...

Additionally, I've used the following command to remove these files:
$ find /sata-front/ -type d -name '.*' -print0 | xargs -0 rm -r -f

The problem is that any newly uploaded files then creates these AppleDouble files and it all starts again.

Is there a way to remove some of the double ups which have appeared in my media mode without erasing the whole media mode library and re-scanning? This takes quite some time as it then has to download all the covert/art/info again.

Thanks and apologies for the long post, just thought I'd try provide as much information to save people asking.
Reply
#2
Grab a copy of TinkerTool, tell it to not create .DS_store files on network drives, and that should also take care of all of the AppleDouble files.
Reply
#3
Hi Ned, thanks for the suggestion but I don't really want to have to install this on all 3 of my mac's and then anyone else who may come over and access my shares. These files aren't valid video so surely it makes sense for XBMC to skip them when importing the media library changes?

Also, with my second part... Is there anyway to remove the double ups already on my library without deleting and re-fetching all the artwork/covers/ratings/info again?

Thanks again for the quick reply.
Reply
#4
There is a way to modify your regex for scraping to ignore files that start with a period, but I'm pretty rusty at regex. Might want to give it a go or make a thread in the general help forum about using regex for this purpose. I tried searching to see if anyone else had tried, but didn't find anything yet.

More on regex:
http://www.contentwhores.com/wordpress/?page_id=317
http://wiki.xbmc.org/index.php?title=Reg...)_Tutorial
http://wiki.xbmc.org/index.php?title=Scr...FRegExp.3E

XBMC only looks at the file names so that scraping isn't slower.

If you remove the appledouble files you should be able to just clean your library without having to rescrape.

Go to:
System/Settings -> Video -> Library

and select "Clean Library"

this will remove any entry that has a missing file for it, but leave the other files untouched.
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTV2] Media mode video's doubling up1