FAQ  •  Register  •  Login

Library addition file path in the log

<<

olds97_lss

Serviio newbie

Posts: 13

Joined: Sun Dec 29, 2013 2:56 am

Post Sat Mar 01, 2014 12:59 am

Library addition file path in the log

Could you make it so when something is added to the library that it logs the entire path vs just the name?

Also if it has issue with a file (bad mp3, mp4, avi...) and can't process the metada (or any other issue) that it dumps the entire path in the log?

I have my logs set at info right now (debug is just too much for general logging) and after importing my entire mp3 library, I had about 60 files that had issues. I spent the better part of a day searching for the right files and removing them so they would stop throwing errors in the log. In general, it would be handy to just always see the entire path of a file in the log any time a file is being imported or scanned for any reason vs just the file name.

Example of what I have for a bad file:
2014-02-27 20:47:02,077 WARN [LibraryManager] Skipping processing metadata for an unsupported file (Almost_famous_sd.mp4). Message: Unknown video file type.

Example of what I see in the log when I remove a file or update a file (a couple of the instances where it does show the entire path):
2014-02-28 18:02:32,561 INFO [LibraryUpdatesCheckerThread] Removing 'Batman-2-c-Rises-orig' (H:\Movies\videos\b\Batman-2-c-Rises-orig.avi) from Library
2014-02-28 18:04:09,193 INFO [LibraryUpdatesCheckerThread] Updated 'ENOUGH_SAID_BR' (H:\Movies\videos\e\ENOUGH_SAID_BR.mp4) in Library

Thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16354

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Mar 02, 2014 7:43 pm

Re: Library addition file path in the log

Done for 1.4.1
<<

olds97_lss

Serviio newbie

Posts: 13

Joined: Sun Dec 29, 2013 2:56 am

Post Mon Mar 03, 2014 4:59 am

Re: Library addition file path in the log

Cool! I appreciate it!

Now I have to remember where to download it from. lol

Thanks for taking the time to update it.

EDIT:
Actually, I just looked at the normal download page and see 1.4 only. I'm guessing this will become available in the near future and I'll have to keep checking?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16354

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 03, 2014 5:07 pm

Re: Library addition file path in the log

within a week or so
<<

olds97_lss

Serviio newbie

Posts: 13

Joined: Sun Dec 29, 2013 2:56 am

Post Tue Feb 07, 2017 6:34 am

Re: Library addition file path in the log

I know you said this was done in 1.4, however, I'm still not seeing it in the logs for files added, only for files removed.

Log sample for added file:
2017-02-06 23:16:46,281 INFO [MediaFileIndexer] Added file 'Everlast-7 Years.mp3' (title: 7 Years) to Library

Log sample for removed file:
2017-02-06 23:15:56,420 INFO [MediaFileIndexer] Removing '7 Years' (E:\Music\8G Car Drive 3\Everlast\Everlast-7 Years.mp3) from Library

I'm currently running Serviio 1.8.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16354

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Feb 08, 2017 6:38 pm

Re: Library addition file path in the log

thanks, fixed for 1.9

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 2 guests

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