Page 1 of 1

Library eventually corrupts and displays wrong titles

PostPosted: Sun Oct 02, 2016 10:25 pm
by Nomadikhan
So I am converting my 500+ dvd's to mp4 and are placing them on my dell poweredge server for my family. We use our smart TV, tablets, phone, etc to stream music and movies via, you guessed it, serviio. It works perfectly except this problem.

Randomly every couple of months, the names and descriptions of movies will start changing to completely weird titles. Battle Los Angeles [tt1217613] (yes I name every filename with the IMDB tag) becomes Fighting Express Vol. 1 Battle Run.. some weird japanese movie. Obviously, the library database or something is being corrupted. Upon playing this newly titled Fighting Express, the movie Battle Los Angeles is played. I don't have this silly Japanese movie on the server... as well as the other 50+ japanese titles it thinks I have.

This is pretty annoying as my daughter is wanting to watch frozen and it's changed the title to a japanese title with big boobed girls on the cover. She's 4 and doesn't need to see this.

Can anyone tell me why Serviio is corrupting itself or is this a known bug that's being worked on?

Re: Library eventually corrupts and displays wrong titles

PostPosted: Sun Oct 02, 2016 11:05 pm
by atc98092
I have over 3200 video titles (DVD/BD rips and recorded TV) and have never seen this. A copy of your log might be helpful, but I'll let Zip decide the first course of action.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 5:44 pm
by Nomadikhan
I've attached everything in my Log directory, it's in .zip archive format.

I appreciate any help that can be given.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 6:53 pm
by zip
I'm not sure what's happening on your system, tbh. It looks like on the last start ir removed all your files from the library, because it couldn't find them. And then it tried to re-add them, but as this

  Code:
2016-09-29 21:43:40,133 INFO  [MediaFileIndexer] Added file 'BATTLE~1.MP4' (title: Fighting Express Vol 1: Battle Run) to Library
2016-09-29 21:43:41,855 INFO  [MediaFileIndexer] Added file 'BATTLE~2.MP4' (title: Battle Royale II: Requiem) to Library


As you can see, the files are MS-DOS 8.3 format. So it looks like something changed your file system / the way Serviio or the system sees it, from NTFS to FAT. Serviio cannot find the long file names and removes the files from the library. Then it adds them back, but the file names are not complete anymore (8 chars max, obviously the imdb id is missing) and it indexes them incorrectly.

I'vr never seen anything like this, maybe someone has an idea, but it looks like it's something wrong with your OS.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 7:35 pm
by Nomadikhan
That's completely odd... as It's a dell poweredge 2950 running windows 10. I've got it networked and remote desktop it frequently, it most certainly is not changing file systems, it's a raid configuration between 3 1tb sata drives. Pretty sure there's no way to change file system without wiping the drives, including the OS.

Only rebooting I've done over the last 2-3 months are from windows updates... so unless windows 10 itself is causing issues, which it IS microsoft, I haven't a clue. I haven't changed anything else aside from updates.

I should add, it's only video that this is happening to. MP3 audio is perfectly fine and has many files over 8 characters in file name length. Granted I embed metadata myself in my mp3's but why would it not fail to find these as well? Why only video?

Image

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 8:26 pm
by zip
It's not just videos, some other files too:

  Code:
2016-09-29 21:43:21,091 INFO  [MediaFileIndexer] Added file 'X-men Origins - Wolverine [tt0458525].mp4' (title: X-Men Origins: Wolverine) to Library
2016-09-29 21:43:22,798 INFO  [MediaFileIndexer] Added file 'Xmen First Class [tt1270798].mp4' (title: X-Men: First Class) to Library
2016-09-29 21:43:23,592 INFO  [MediaFileIndexer] Added file 'AVATAR~1.PNG' (title: AVATAR~1) to Library
2016-09-29 21:43:24,792 INFO  [MediaFileIndexer] Added file 'CELEBR~1.PNG' (title: CELEBR~1) to Library
2016-09-29 21:43:25,563 INFO  [MediaFileIndexer] Added file 'TEMPLA~1.PNG' (title: TEMPLA~1) to Library


Maybe it's folder based? it also removed everything from the music folder before adding it back in. Can you try with 1.7? It bundles a newer Java.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 8:35 pm
by zip
Actually, it looks like there are some shadow files.

I see

  Code:
2016-09-29 21:39:23,032 INFO  [MediaFileIndexer] Added file 'Automata [tt1971325].mp4' (title: Automata) to Library

and then later

  Code:
2016-09-29 21:43:36,678 INFO  [MediaFileIndexer] Added file 'AUTOMA~1.MP4' (title: Das automatische Gehirn - Teil 1 - Die Magie des Unbewussten) to Library


Which looks like the same file, one correct and one FAT-style. Maybe try to search for this file under your Videos folder, it might be some (hidden?) copy created by something.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 8:58 pm
by Nomadikhan
I've updated to 1.7 as requested, thanks for that. I hadn't been paying attention and missed the update :P

I removed the Video Directory from the Library, there by removing all video's from serviio.

I re-added the same video directory and it's added all video's back, correctly.

I checked my video directory, revealed all hidden files.. nothing.

For the time being it is behaving correctly once again. I'll do the same for music and image directories.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 9:17 pm
by Nomadikhan
I posted too soon. "Pirate Radio" was added to the library as "A Boat That Rocked".

I only remembered this as I was trying to think back to my first version of Serviio, which was 1.5.x. At that time I had serviio setup on a spare Dell gx520 dual core with gb of ram. I had the same issue, only on a smaller scale as it was on a 500gb sata non-raid. That PC was using windows XP Pro, x64. Setup as NTFS

So it seems my issue a bit more widespread then just this server machine.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Mon Oct 03, 2016 9:53 pm
by zip
please enable detailed logging and then post the log again - there should be a lot of DEBUG entries. It should show us the file path of the FAT files.

Re: Library eventually corrupts and displays wrong titles

PostPosted: Sun Jan 15, 2017 5:41 pm
by Laurent68300
I have quite the same Problem since version 1.7

Files with one word are correctly shown on the DNLA device.
For example Nikita.avi is shown as "Nikita"

All other files with more than one word or with a speciel sign like "é" or "'" or "-" are shown twice: one with the correct title, another with a FAT-Name
For example with "Jason Bourne.avi" i find i log:
017-01-15 17:21:51,020 INFO [MediaFileIndexer] Updated 'JASONB~1' (C:\Users\Laurent\Videos\JASONB~1.AVI) in Library (the file doesn't exist on my computer)
2017-01-15 17:29:42,973 INFO [MediaFileIndexer] Updated 'Jason Bourne' (C:\Users\Laurent\Videos\Jason Bourne.avi) in Library

if i rename it in "JasonBourne" the Fat Name is not shown anymore
For example too with the file Noah, in french: "Noé"
2017-01-15 18:01:40,885 INFO [MediaFileIndexer] Updated 'NO1C25~1' (C:\Users\Laurent\Videos\NO1C25~1.AVI) in Library
2017-01-15 18:02:06,641 INFO [MediaFileIndexer] Updated 'Noé' (C:\Users\Laurent\Videos\Noé.avi) in Library

I have noe the 1.8 version but it is still the same
With vesion before 1.7 it worked fine; I think it shoud be a Problem with the code or the new Java applet

Re: Library eventually corrupts and displays wrong titles

PostPosted: Thu Apr 04, 2019 9:29 am
by Bilhenry
Nomadikhan wrote:I posted too soon. "Pirate Bay" was added to the library as "A Boat That Rocked".

I only remembered this as I was trying to think back to my first version of Serviio, which was 1.5.x. At that time I had serviio setup on a spare Dell gx520 dual core with gb of ram. I had the same issue, only on a smaller scale as it was on a 500gb sata non-raid. That PC was using windows XP Pro, x64. Setup as NTFS

So it seems my issue a bit more widespread then just this server machine.



Agree with you!

Re: Library eventually corrupts and displays wrong titles

PostPosted: Tue Apr 09, 2019 1:48 am
by freaknik
can't help without detailed log