Page 1 of 1

MP3 files not added, refresh not always working, and more :)

PostPosted: Wed Jun 05, 2013 5:30 am
by UnPasionatDeFilme
Hello.

I have encountered similar issues as described in this post:
viewtopic.php?f=5&t=9740

I'll add some log info too, maybe it will help.
I'm using serviio pro 1.2.1, java version "1.7.0_17", windows 7 x64 Pro.

Also, if I may add some suggestions:

1. Please add a way of notifying the user that some files failed to be added to the collection. In my case I have a folder newly added that contained mp3s, all with the problem listed below. Because of that none of them was added so the initial guess was that either the Auto Refresh or the Force Refresh do not actually work. They did :), but because of the errors and the lack of feedback all I could see was that the new folder was not added. It would be great to add either a small message in the Serviio Console, something like "XXX files failed to be added, please check the log file for more information" or simply a red flag with the same description to have a clue of what happens.

2. Please add a way to force refresh a specific folder within the collection and/or a way to force rebuild the cache for specific folders. I have added in an existing folder 4 new folders with audio (mp3/mp4) files. One was seen on auto refresh, the other 3 weren't. I tried basically everything (force refresh, restart the service, waited 24h, etc) but nothing helped. All the 4 folders have the same timestamp and there is no reference whatsoever to those 3 missing in the debug log file. I actually parsed the log step by step to see any hint but there was no hint at all, as if those 3 folders were invisible :). I could see the one that was added in the log, the rest were simply not there. I intended to manually delete the corresponding cache files for the parent folder from this location "c:\Program Files\Serviio\library\db\seg0" but the naming of those cache files is not obvious so I think I have to delete them all to force a full refresh, which I don't really want to do. Is there any other option?

3. I know this is off topic :), but I'm going to say it anyway: please update the flowplayer, preferably with the html5 version. At least for mobiles (Android/iOS/ChromeOS) this would be great. I own several iOS/Android devices and also a Chromebook Pixel and while for iOS/Android there are tons of players for ChromeOS there are basically no alternatives... The current Flash version works but is clumsy, takes a lot of cpu, and lacks tons of needed features (for instance the ability to select a specific soundtrack). Thank you :).


Now, the logs/errors...

1. Log errors:

2013-05-26 17:54:01,530 WARN [LibraryAdditionsCheckerThread] Cannot add file Kylie Minogue - In my arms.mp3 because of an unexpected error. Message: For input string: "WwW.bobo-Music.Ro"
java.lang.NumberFormatException: For input string: "WwW.bobo-Music.Ro"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at org.serviio.library.local.metadata.extractor.embedded.MP3ExtractionStrategy.extractMetadata(MP3ExtractionStrategy.java:78)
at org.serviio.library.local.metadata.extractor.embedded.EmbeddedMetadataExtractor.retrieveAudioMetadata(EmbeddedMetadataExtractor.java:191)
at org.serviio.library.local.metadata.extractor.embedded.EmbeddedMetadataExtractor.retrieveMetadata(EmbeddedMetadataExtractor.java:129)
at org.serviio.library.local.metadata.extractor.MetadataExtractor.extract(MetadataExtractor.java:47)
at org.serviio.library.local.LibraryManager.extractMetadata(LibraryManager.java:225)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.addNewMediaFile(LibraryAdditionsCheckerThread.java:178)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:145)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.run(LibraryAdditionsCheckerThread.java:83)

2013-06-04 22:04:06,481 WARN [LibraryAdditionsCheckerThread] Cannot add file 24 RZA - Ode To Django (The D Is Silent).mp3 because of an unexpected error. Message: For input string: "2012-12-14T08:00:00Z"
java.lang.NumberFormatException: For input string: "2012-12-14T08:00:00Z"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at org.serviio.library.local.metadata.extractor.embedded.MP3ExtractionStrategy.extractMetadata(MP3ExtractionStrategy.java:78)
at org.serviio.library.local.metadata.extractor.embedded.EmbeddedMetadataExtractor.retrieveAudioMetadata(EmbeddedMetadataExtractor.java:191)
at org.serviio.library.local.metadata.extractor.embedded.EmbeddedMetadataExtractor.retrieveMetadata(EmbeddedMetadataExtractor.java:129)
at org.serviio.library.local.metadata.extractor.MetadataExtractor.extract(MetadataExtractor.java:47)
at org.serviio.library.local.LibraryManager.extractMetadata(LibraryManager.java:225)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.addNewMediaFile(LibraryAdditionsCheckerThread.java:178)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:145)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:134)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.run(LibraryAdditionsCheckerThread.java:83)

2. Files information:

ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 5 2013 21:59:54 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --extra-libs='-lrtmp -l
polarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-
runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-
mingw32- --pkg-config=pkg-config
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
[mp3 @ 03235AE0] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'd:\share\audio\sorin\Music\New\Kylie Minogue - In my arms.m
p3':
Metadata:
album : WwW.bobo-Music.Ro
TYER : WwW.bobo-Music.Ro
genre : WwW.bobo-Music.Ro
composer : ............. WwW.bobo-Music.Ro ™ ............
encoded_by : ............. WwW.bobo-Music.Ro ™ ............
copyright : ............. WwW.bobo-Music.Ro ™ ............
disc : WwW.bobo-Music.Ro
Duration: 00:03:32.32, start: 0.000000, bitrate: 202 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 224 kb/s
At least one output file must be specified

ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 5 2013 21:59:54 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --extra-libs='-lrtmp -l
polarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-
runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-
mingw32- --pkg-config=pkg-config
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
[mp3 @ 015A5AE0] Unknown attached picture mimetype: image/(null), skipping.
[mp3 @ 015A5AE0] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'd:\share\audio\soundtracks\django\24 RZA - Ode To Django (T
he D Is Silent).mp3':
Metadata:
composer : RZA & Robert F. Diggs
track : 24/24
disc : 1/1
TYER : 2012-12-14T08:00:00Z
genre : Soundtrack
album : Quentin Tarantino's Django Unchained (Original Motion Pict
ure Soundtrack)
album_artist : Various Artists
artist : RZA
title : Ode To Django (The D Is Silent)
Duration: 00:04:58.14, start: 0.000000, bitrate: 322 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
At least one output file must be specified


Thank you :).

Re: MP3 files not added, refresh not always working, and mor

PostPosted: Wed Jun 05, 2013 7:08 am
by Illico
Is seems there were a bug for metadata extraction
TYER : 2012-12-14T08:00:00Z

Re: MP3 files not added, refresh not always working, and mor

PostPosted: Wed Jun 05, 2013 12:16 pm
by UnPasionatDeFilme
Hello.

Do you have any idea of when the next version will be available (hopefully with the fix :))?

Also, can you tell me if there is an workaround for the refresh issue (other than clearing manually all the cache files)?
An option to force refresh for specific folders or to clear only parts of the cache would help a lot.

Thank you.

Re: MP3 files not added, refresh not always working, and mor

PostPosted: Sat Jun 22, 2013 10:19 am
by Christopher_Povey
Have the same issue. The quick fix is to download MP3Tag and bulk change the year field to a single four digit number for all the files.