FAQ  •  Register  •  Login

Library eventually corrupts and displays wrong titles

<<

Nomadikhan

Streaming enthusiast

Posts: 20

Joined: Wed Dec 16, 2015 10:14 pm

Post Sun Oct 02, 2016 10:25 pm

Library eventually corrupts and displays wrong titles

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?
<<

atc98092

User avatar

DLNA master

Posts: 5212

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Oct 02, 2016 11:05 pm

Re: Library eventually corrupts and displays wrong titles

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

Nomadikhan

Streaming enthusiast

Posts: 20

Joined: Wed Dec 16, 2015 10:14 pm

Post Mon Oct 03, 2016 5:44 pm

Re: Library eventually corrupts and displays wrong titles

I've attached everything in my Log directory, it's in .zip archive format.

I appreciate any help that can be given.
Attachments
serviio.log.zip
(301.22 KiB) Downloaded 198 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 03, 2016 6:53 pm

Re: Library eventually corrupts and displays wrong titles

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.
<<

Nomadikhan

Streaming enthusiast

Posts: 20

Joined: Wed Dec 16, 2015 10:14 pm

Post Mon Oct 03, 2016 7:35 pm

Re: Library eventually corrupts and displays wrong titles

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 03, 2016 8:26 pm

Re: Library eventually corrupts and displays wrong titles

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 03, 2016 8:35 pm

Re: Library eventually corrupts and displays wrong titles

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.
<<

Nomadikhan

Streaming enthusiast

Posts: 20

Joined: Wed Dec 16, 2015 10:14 pm

Post Mon Oct 03, 2016 8:58 pm

Re: Library eventually corrupts and displays wrong titles

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.
<<

Nomadikhan

Streaming enthusiast

Posts: 20

Joined: Wed Dec 16, 2015 10:14 pm

Post Mon Oct 03, 2016 9:17 pm

Re: Library eventually corrupts and displays wrong titles

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 03, 2016 9:53 pm

Re: Library eventually corrupts and displays wrong titles

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.
<<

Laurent68300

Serviio newbie

Posts: 4

Joined: Sun Jan 15, 2017 5:09 pm

Post Sun Jan 15, 2017 5:41 pm

Re: Library eventually corrupts and displays wrong titles

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
<<

Bilhenry

Serviio newbie

Posts: 2

Joined: Thu Apr 04, 2019 8:53 am

Post Thu Apr 04, 2019 9:29 am

Re: Library eventually corrupts and displays wrong titles

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!
<<

freaknik

User avatar

DLNA master

Posts: 345

Joined: Thu Mar 27, 2014 2:05 pm

Location: Endor

Post Tue Apr 09, 2019 1:48 am

Re: Library eventually corrupts and displays wrong titles

can't help without detailed log

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 33 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.