Page 1 of 1

1.7.1 region number format prevents adding new content

PostPosted: Tue Nov 01, 2016 3:18 pm
by hansj
Hi,

my Serviio is not adding files anymore, the indexer fails with:
2016-11-01 16:12:03,007 WARN [MediaFileIndexer] Cannot update file Aus der Mitte entspringt ein Fluß in library because of an unexpected error. Message: For input string: "7,3"
java.lang.NumberFormatException: For input string: "7,3"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at java.lang.Double.<init>(Double.java:608)
at org.serviio.library.local.metadata.extractor.MCMExtractor.getRating(MCMExtractor.java:384)
at org.serviio.library.local.metadata.extractor.MCMExtractor.retrieveMovieMetadata(MCMExtractor.java:199)
at org.serviio.library.local.metadata.extractor.MCMExtractor.retrieveMetadata(MCMExtractor.java:128)
at org.serviio.library.local.metadata.extractor.AbstractLocalFileExtractor.retrieveMetadata(AbstractLocalFileExtractor.java:88)
at org.serviio.library.local.metadata.extractor.MetadataExtractor.extract(MetadataExtractor.java:47)
at org.serviio.library.local.MetadataExtractionCoordinator.extractMetadata(MetadataExtractionCoordinator.java:68)
at org.serviio.library.local.indexing.MediaFileIndexer.updateMediaFile(MediaFileIndexer.java:140)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileUpdated(DefaultLibraryMonitor.java:65)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:175)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
at java.lang.Thread.run(Thread.java:745)

This is the IMDB ranking from movie.xml. Now I use MediaCenterMaster to create the informations.
My Windows is English/US, just the regional number settings are German. This lets MCM probably save numbers in 7,3 instead of 7.3 Serviio is looking for.

I changed the language in Metadata to German, but no change.

How to configure Serviio to accept the regional number format?

I did a rough search though the forum, but did not find anything helpful...

Thanks for your help,
hans

Re: 1.7.1 region number format prevents adding new content

PostPosted: Wed Nov 02, 2016 6:47 pm
by zip
Ah.. ok, trying to fix this now, so give it a try in the next 1.8 beta, whenever that is available.

Re: 1.7.1 region number format prevents adding new content

PostPosted: Wed Nov 02, 2016 9:02 pm
by hansj
any kind of workaround? older version?
or eta of 1.8beta?
but somehow this worked in the past...


ok, got it, the workaround is to change the imdb value manually...

Re: 1.7.1 region number format prevents adding new content

PostPosted: Thu Nov 03, 2016 8:19 pm
by hansj
just found out that it is the "Rating" value in movie.xml, Serviio does not care about IMDBrating