Page 1 of 1

Duplicate Entries for the same file

PostPosted: Fri Oct 25, 2013 8:48 pm
by GaRUi
Hi,

I have a duplicate entry problem for certain files.

[LibraryAdditionsCheckerThread] adds same file again and again. It just happens for some files. I feel it is related with file name. I think this thread or database has a problem in understanding the difference between "I" and "i" (I am using Windows, and as you know Windows ignoreCase. You can make a test and put two files into your library. "Tsuk Imno" will have multiple entries, but "Tsuk imno" wil seen only ones on TV)

Also I have some other concerns about "LibraryAdditionsCheckerThread". It checks my library and add files to database again and again but since there is no problem with ignoreCase it probably overwrites entries. But for file names that contain "I", it looks like instead of overwriting, it adds new entries over and over again. (I have the same file shown in my library maybe more than fifty times.) I think when LibraryAdditionsCheckerThread looks into my library, it should check DB for the file and if it finds a matching entry for this file it should ignore it, and does not log it to log files. Right now LibraryAdditionsCheckerThread is adding all files again to the database when serviio has restarted. This addition wastes my SolidStateDisk while logging. :roll:

Re: Duplicate Entries for the same file

PostPosted: Sat Oct 26, 2013 10:38 am
by zip
Are you using a Turkish locale on the server? if not, which one?

Re: Duplicate Entries for the same file

PostPosted: Sat Oct 26, 2013 1:46 pm
by GaRUi
Hi,

I am using below timezone, locale settings, and etc.

Timezone : (UTC+02:00) Istanbul
Region Format : Turkey(Turkish)
Location : Turkey
Current Language for non-Unicode programs : Turkish(Turkey)
Current System Locale: Turkey(Turkish)

Other then that my Windows 8 Os is English.

Serviio Version 1.3.1 and Console Language is English.

Re: Duplicate Entries for the same file

PostPosted: Sun Oct 27, 2013 2:16 pm
by zip
Are you sure the 'I' is dotless?

AFAIK, in Turkish locale, you can have i and ı (and their uppercase versions İ and I). Do you file names include either dotted uppercase İ or dotless lowercase ı ?

EDIT: Also, any chance you originally installed Serviio when you had non-Turkish Locale on your system?

Re: Duplicate Entries for the same file

PostPosted: Tue Oct 29, 2013 10:13 pm
by GaRUi
zip wrote:Are you sure the 'I' is dotless?

AFAIK, in Turkish locale, you can have i and ı (and their uppercase versions İ and I). Do you file names include either dotted uppercase İ or dotless lowercase ı ?

EDIT: Also, any chance you originally installed Serviio when you had non-Turkish Locale on your system?


Yes "I" is without a dot. I do not remember I have changed my locale after Windows installation. So Serviio was installed when my Os locale is Turkish.