Page 1 of 1
Only MP3 Files Are Scanned

Posted:
Mon Feb 11, 2013 10:22 pm
by bushmills
Brand new user to Serviio here. I was looking for a replacement for Audiogalaxy, and hope I've found it with Serviio. However, the one problem I'm currently experiencing is that when I add my music folder to the library, it only scans and adds MP3 files (most of my music is AAC / M4A - none are protected). I've checked in the Media Browser, which confirms that it's only picked up MP3's, and no other audio file formats.
Any thoughts, suggestions and help would be much appreciated.
Re: Only MP3 Files Are Scanned

Posted:
Mon Feb 11, 2013 10:27 pm
by zip
check the log if there are any errors
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 12, 2013 1:18 pm
by bushmills
Thanks for the quick response. I checked through the log, and realized that in fact, some M4a files were scanned and added, though the majority of them were not. There is no error messages in the log file - it appears as though they were completely skipped in the scan all together. I verified that the files are still there, and are formatted the same way as the ones that did get added.
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 12, 2013 6:41 pm
by zip
check the access rights on the files and their folders
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 12, 2013 9:46 pm
by bushmills
Just checked and verified that all folders are shared to both homegroup and "everyone". Just to be safe, I went through the sharing process again with a few folders, did a restart and rescan, with no difference. I appreciate your continued help, as this seems like a great product, if I can just get this issue figured out.
I re-checked the log and found the following. Not sure if any of it pertains to my current problem:
2013-02-12 16:35:36,891 INFO [UpdateChecker] Checking if a new version is available
2013-02-12 16:40:01,833 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-02-12 16:40:01,933 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-02-12 16:40:02,033 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-02-12 16:40:02,033 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-02-12 16:40:12,119 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-02-12 16:40:12,218 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-02-12 16:40:12,318 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-02-12 16:40:12,318 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-02-12 16:40:13,172 WARN [LibraryAdditionsCheckerThread] An error occured while scanning for item to be added, will continue
org.serviio.db.dao.PersistenceException: Cannot mark Repository with id 1 as scanned
at org.serviio.library.dao.RepositoryDAOImpl.markRepositoryAsScanned(RepositoryDAOImpl.java:173)
at org.serviio.library.local.service.RepositoryService.markRepositoryAsScanned(RepositoryService.java:112)
at org.serviio.library.local.metadata.LibraryAdditionsCheckerThread.run(LibraryAdditionsCheckerThread.java:84)
Caused by: java.sql.SQLNonTransientConnectionException: Connection closed by unknown interrupt.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
at org.serviio.library.dao.RepositoryDAOImpl.markRepositoryAsScanned(RepositoryDAOImpl.java:171)
... 2 more
Caused by: java.sql.SQLException: Connection closed by unknown interrupt.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 12 more
Caused by: ERROR 08000: Connection closed by unknown interrupt.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.util.InterruptStatus.setInterrupted(Unknown Source)
at org.apache.derby.iapi.util.InterruptStatus.throwIf(Unknown Source)
at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.checkCancellationFlag(Unknown Source)
at org.apache.derby.impl.sql.execute.TableScanResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.IndexRowToBaseRowResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Unknown Source)
at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
... 6 more
2013-02-12 16:40:13,199 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-02-12 16:40:13,217 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-02-12 16:40:13,317 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-02-12 16:40:13,317 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-02-12 16:40:51,334 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-02-12 16:40:51,434 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-02-12 16:40:51,534 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-02-12 16:40:51,534 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-02-12 16:41:20,732 WARN [ServiioStatusService] Returning error code to the REST layer: Not Found (404) - The server has not found anything matching the request URI
2013-02-12 16:43:43,221 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-02-12 16:43:43,321 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-02-12 16:43:43,421 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-02-12 16:43:43,421 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
Re: Only MP3 Files Are Scanned

Posted:
Sun Feb 17, 2013 2:38 pm
by s44
I'm having what may be a similar problem: Serviio isn't picking up *any* of my music files, which are all m4a. The folder is on a local drive.
Funny thing is, it worked perfectly on my previous installation, which started from a Serviio 0.6 setup. (I had to re-install Serviio after cleaning up my Java installs.) So perhaps there's been an issue introduced in one of the newer versions -- or perhaps there's some hangover data from before?
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 19, 2013 9:48 pm
by bushmills
Bumping thread, as problem continues. Would love to get Serviio up and running. Just added another music folder today that did not get picked up by Serviio. Thanks again for your help!
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 19, 2013 11:32 pm
by zip
what if you put a mp4 file in the same folder as an mp3 that worked - is it added?
Re: Only MP3 Files Are Scanned

Posted:
Wed Feb 20, 2013 7:36 pm
by bushmills
I added a few M4a files to a directory that was previously successfully scanned, with no luck. I added the files, did a refresh, waited for an hour, did another refresh, and still have not shown up. I verified that the files are not protected, and are playable. Thanks for your ongoing help with this.
Re: Only MP3 Files Are Scanned

Posted:
Thu Feb 21, 2013 4:43 pm
by zip
could you send one of the files to zip[at]serviio[dot]org ?
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 26, 2013 5:44 pm
by bushmills
I've tried several different ways, but my M4a files are all over the size limit (they're 30+ MB each, even zipped). Is there another way I can send one to you?
Re: Only MP3 Files Are Scanned

Posted:
Tue Feb 26, 2013 6:15 pm
by zip
upload it on
https://www.yousendit.com/ and send me the link
Re: Only MP3 Files Are Scanned

Posted:
Wed Feb 27, 2013 5:14 pm
by bushmills
Re: Only MP3 Files Are Scanned

Posted:
Thu Feb 28, 2013 10:01 pm
by zip
Thanks. This file is actually Apple Lossless format, which is currently not supported by Serviio. There is an open ticket to implement it in future.
Re: Only MP3 Files Are Scanned

Posted:
Fri Mar 01, 2013 1:26 pm
by bushmills
Ah okay, that makes sense. Sorry for any inconvenience caused while troubleshooting this issue. Your help was very much appreciated, and I look forward to the eventual implementation! Any idea on approximate time frames (this quarter, this year, etc)? Or is it still a while off?
Thanks again!
Re: Only MP3 Files Are Scanned

Posted:
Fri Mar 01, 2013 10:20 pm
by zip
No idea tbh, might be in next release or some other