Page 1 of 1

Library Has Duplicate Files - How Do I Clean?

PostPosted: Fri Aug 03, 2012 4:26 am
by StormyKnight
I have a new install of Serviio on my XP laptop, however quite a few folders, movies & series are duplicated - how do I clean these out.

e.g. I have my movies in Folders A-Z, serviio has two B folders. The first contains a single movie which is duplicated in the second B folder.

Serviio may have been shutdown before it had finished scanning, could this be the cause?
Does serviio check for duplicates i.e. folders/files at the same location?

I have xbmc metdata selected.

Cheers
Richard

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Fri Aug 03, 2012 4:16 pm
by zip
I'll check. You can try to remove the B folder from your library, refesh, wait 1 hour and add it again.

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Sat Aug 04, 2012 2:19 am
by StormyKnight
Ok I'll try that & report back in 1.5hrs... (btw what is the 1hr period you refer to....I have the refresh set to 15mins....)

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Sat Aug 04, 2012 3:16 am
by StormyKnight
BTW here is a part of my log files, i see a lot of duplication here.....

My initial test was from a local drive....

2012-08-02 18:26:34,740 INFO [LibraryAdditionsCheckerThread] Added file '2012.mp4' (title: 2012) to Library
2012-08-02 18:26:38,459 INFO [LibraryAdditionsCheckerThread] Added file '(500) Days of Summer.avi' (title: (500) Days of Summer) to Library
2012-08-02 18:26:40,427 INFO [LibraryAdditionsCheckerThread] Added file '9 (2009).avi' (title: Numéro 9) to Library
2012-08-02 18:26:43,255 INFO [LibraryAdditionsCheckerThread] Added file '12 Angry Men (1957).avi' (title: 12 Angry Men) to Library
2012-08-02 18:26:45,287 INFO [LibraryAdditionsCheckerThread] Added file '16 Wishes (2010).avi' (title: 16 Wishes) to Library

Once I had the permissions set I removed the local drive reference & replaced it with \\Nas02\videos\movies, part of the log is below....

2012-08-02 18:39:49,709 INFO [LibraryAdditionsCheckerThread] Added file 'Gremlins2.avi' (title: Gremlins 2: The New Batch) to Library
2012-08-02 18:39:49,709 INFO [LibraryAdditionsCheckerThread] Added file 'Gremlins2.avi' (title: Gremlins 2: The New Batch) to Library
2012-08-02 18:39:55,740 INFO [LibraryAdditionsCheckerThread] Added file 'Gremlins (1984).avi' (title: Gremlins) to Library
2012-08-02 18:39:55,740 INFO [LibraryAdditionsCheckerThread] Added file 'Gremlins (1984).avi' (title: Gremlins) to Library
2012-08-02 18:39:59,787 INFO [LibraryAdditionsCheckerThread] Added file 'Gypsy_1962_DvdRip - Part 1.avi' (title: Gypsy) to Library
2012-08-02 18:39:59,787 INFO [LibraryAdditionsCheckerThread] Added file 'Gypsy_1962_DvdRip - Part 1.avi' (title: Gypsy) to Library

I may need to delete the library & point it to the 'B' folder I moved, just to see the log for just a few files.....if so...
I'm going to install Serviio on my PC (rather than my laptop which I have to VNC into...) & test with just the 'B' folder & report back...

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Sat Aug 04, 2012 4:25 am
by StormyKnight
Update:
Laptop Installation - moved "b" to a different folder, just checked after 1hr 10 minutes, & both 'b's are gone...good.

PC Installation - Install fresh Serviio & pointed to the moved 'b' folder, appears fine! Note that I have left the metadata settings at default i.e. no xbmc nfo's....
set metadata to xbmc, pressed 'Rescan Meta Data' - still good no duplicates

Laptop Installation - removed movies, waited till movies were removed from database, add 'b' folder with XBMC metadata - all good.
Removed 'b' & 'tv', waited for them to be gone, readded movie & tv ......will post result after full scan has completed.

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Sat Aug 04, 2012 5:23 am
by StormyKnight
Ok it all looks fine now thanks Petr

When using an XBMC format for the source files, the movie.jpg is in the format movie.tbn - is there an easy way to get serviio to use these jpg files?

Cheers
Richard

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Sat Aug 04, 2012 10:52 am
by zip
StormyKnight wrote:When using an XBMC format for the source files, the movie.jpg is in the format movie.tbn - is there an easy way to get serviio to use these jpg files?

NOt unless you rename them. But there is an open ticket to support these.

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Sun Aug 05, 2012 1:29 am
by StormyKnight
Cheers
Richard

Re: Library Has Duplicate Files - How Do I Clean?

PostPosted: Mon Mar 17, 2014 7:23 pm
by rabdallah
Hi,

I am also having the same problem. I've tried Serviio web interface, ServiiGo and Avia They all show duplicate music files. I've tried uninstalling and reinstalling the server few time with no luck. I am using Serviio ver 1.4.1 with windows 7.