Subsonic and m4b files missing

Need help? Post your questions here.

Moderator: moderators

Subsonic and m4b files missing

Postby taleg » Sun Jan 07, 2018 10:23 pm

I was relatively sure that subsonic would handle m4b files as long as they are added as valid files in the settings. So that has been done.

I have a lot of audiobooks that has no DRM and are in either mp3 or m4b formats and I would LOVE to be able to play everything trough subsonic (I hate using multiple apps for similar tasks, audio is audio..) It annoys me that I have to use the kinlde app and moon reader read books, I don't want to do the same with audiobooks.

But no matter what I try to do the folders with m4b files remain empty in subsonic when I go looking for them (tested in multiple browsers).

What gives ?

Is there some reason why m4b files is not working ?
Or is there a trick I need to do to get them to working ?

Please help
taleg
 
Posts: 3
Joined: Sun Jan 07, 2018 10:09 pm

Re: Subsonic and m4b files missing

Postby toolman » Mon Jan 08, 2018 12:52 am

I guess you have edited the line correctly?
mp3 ogg oga aac m4a flac wav wma aif aiff ape mpc shn m4b
You made sure the folder containing these files is added to the media library?
And next you did do a folderscan?
toolman
 
Posts: 538
Joined: Fri Dec 11, 2009 4:18 pm
Location: Netherlands

Re: Subsonic and m4b files missing

Postby taleg » Mon Jan 08, 2018 3:52 am

yeah, all those things have been done, checked, tested and redone just in case, and still no m4b files show up.

The empty folders are there, but no files, I would have understood if I couldn't play the files due to some transcode error, but the "no show" throws me. Also there are no errors in the log file, it is as subsonic ignore m4b files completely and that makes no sense at all.

I guess the next is to reorder the config line and try a different place in the order for the m4b addition.

Edit:
F*ing weird. after removing m4b, save, rescan, still nothing and then re-add m4b in config, save and rescan, some of the m4b files showed up and I'm totally confused as it seams to be completely random.

In a series where all have the same naming style [Author - (series #) - title], out 1 of 3 might have been added, or all have been added, even if the files where added to the folder at the same time.

Later....

Though a folder modification (new file added, deleted or touched) then a rescan seems to causes the files in those folders to show up, so there seems to be a date bug involved.

If new or changed after updated m4b added, then show, else ignore *, seems to be the case now that I got m4b files to showing up at all.

The problem seems to lie with adding new file types from previously scanned folders, only files added / changed since last scan is added. The scan seems to ignores the new file type added before last scan. Annoying when you are rebuild the library from multiple backups into 1 system.

Now the question is how to get subsonic to deep scan a specific library folder, for fast access checked or unchecked change nothing in regards to this bug. I know nuking the library and doing a complete rebuild would most likely fix the problem. But i rather not do that as it messes up my favorite playlists every f*ing time I do it and because the whole library is fairly large (about 30 TB) so it takes forever.

Hm, since it only applies to m4b files mayby a recursive touch bash command is the way to sole this, though it will mess up date added.. hmm

And there seems to be a m4b transcode problem... hm.. trying the same two step trick with lame that got flac transcoding working... Ah that gave me an error, so I need to fix the transcode for m4b files, oh well that will have to wait until I have gotten some sleep.
taleg
 
Posts: 3
Joined: Sun Jan 07, 2018 10:09 pm

Re: Subsonic and m4b files missing

Postby taleg » Mon Jan 08, 2018 5:52 am

hm transcoding m4b

m4b | mp3 | ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f wav - | lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -

Works for 1 m4b file but not the next and it is rotting slow. as for the error. heres the subsonic log for the job with the error (maybe it is a chapter thing?)

Starting transcoder: /var/subsonic/transcode/ffmpeg -i file.m4b -map 0:0 -b:a 320k -v 0 -f wav -
[1/8/18 6:33:11 AM CET] INFO TranscodeInputStream Starting transcoder: /var/subsonic/transcode/lame -b 320 --tt title --ta artist --tl album -S --resample 44.1 - -
[1/8/18 6:35:39 AM CET] INFO InputStreamReaderThread (/var/subsonic/transcode/lame) LAME 3.99.5 64bits (http://lame.sf.net)
[1/8/18 6:35:39 AM CET] INFO InputStreamReaderThread (/var/subsonic/transcode/lame) Resampling: input 22.05 kHz output 44.1 kHz
[1/8/18 6:35:39 AM CET] INFO InputStreamReaderThread (/var/subsonic/transcode/lame) Using polyphase lowpass filter, transition band: 20094 Hz - 20627 Hz
[1/8/18 6:35:39 AM CET] INFO InputStreamReaderThread (/var/subsonic/transcode/lame) Encoding <stdin> to <stdout>
[1/8/18 6:35:39 AM CET] INFO InputStreamReaderThread (/var/subsonic/transcode/lame) Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (4.4x) 320 kbps qval=3
[1/8/18 6:35:39 AM CET] INFO InputStreamReaderThread (/var/subsonic/transcode/lame) Error writing mp3 output


Dang, so close (I'm not very good with the transcode conguring so help there would be greatly appreciated, well back to sleep for me and more tinkering later.

For it feels like this should work just fine.
taleg
 
Posts: 3
Joined: Sun Jan 07, 2018 10:09 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests