Page 1 of 1

Library addition file path in the log

PostPosted: Sat Mar 01, 2014 12:59 am
by olds97_lss
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.

Re: Library addition file path in the log

PostPosted: Sun Mar 02, 2014 7:43 pm
by zip
Done for 1.4.1

Re: Library addition file path in the log

PostPosted: Mon Mar 03, 2014 4:59 am
by olds97_lss
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?

Re: Library addition file path in the log

PostPosted: Mon Mar 03, 2014 5:07 pm
by zip
within a week or so

Re: Library addition file path in the log

PostPosted: Tue Feb 07, 2017 6:34 am
by olds97_lss
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.

Re: Library addition file path in the log

PostPosted: Wed Feb 08, 2017 6:38 pm
by zip
thanks, fixed for 1.9