vorleser / vorleser-server

A server to host your audiobooks so you can listen to them on any platform
https://vorleser.github.io
Other
24 stars 0 forks source link

Images in library directory are recognized as an audiobook #11

Closed hatzel closed 6 years ago

hatzel commented 6 years ago

We should do some checks on whether or not the file is an audio file.

hatzel commented 6 years ago

We probably want everything with exactly one audio stream to be handled as an audiobook. We should check this using ffmpeg.

hatzel commented 6 years ago

I fixed this by just looking for >= 1 audio streams in the input file for now. We don't rely on the mime type anymore. We still store it using mime_sniff.