Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanning of DSF and DFF and playing of FLAC files #778

Closed
mandickay opened this issue Feb 13, 2021 · 6 comments
Closed

Scanning of DSF and DFF and playing of FLAC files #778

mandickay opened this issue Feb 13, 2021 · 6 comments

Comments

@mandickay
Copy link

I installed Navidrome 0.40.0-SNAPSHOT (501af14) via docker on my Armbian OS. The app is able to scan my FLAC files but not my DSD collections, which are mostly DSF and a few DFF files. There is nowhere in the app where I can configure it to be able to scan DSF or DFF files.

In addition, it seems that Navidrome can only play my files as MP3. My FLAC files have to be transcoded to mp3. Again, there is nowhere in the app where I could be able to edit it so as to make it FLAC playable.

@deluan
Copy link
Member

deluan commented Feb 13, 2021

Hey, thanks for trying Navidrome.

.DSF files are only scannable using the ffmpeg extractor. You can enable it by setting the Scanner.Extractor = "ffmpeg" in your config file or setting the ND_SCANNER_EXTRACTOR=ffmpeg env var in your docker config.

.DFF, currently Navidrome ignores this extension. I don't have of such files, but you can send me one and I can take a look.

In terms of streaming, the server will glad serve any file extension the client (or UI) asks for. You have to be sure the client or UI have the capability to play them. I tested FLAC playback in DSub (Android), and in the UI when running in Chrome and Firefox.

If your client/browser does not support FLAC playback, then you need to configure transcoding. This is a client limitation, and in the case of Navidrome's WebUI, it is a limitation in the browser.

Hope this answer your questions

EDIT: By the way, I don't know of any browser or subsonic client that can handle DSD files, so your DSD files will only be playable with transcoding. I suggest you using Opus 128 or 160, it is way better than MP3 transcoding

@mandickay
Copy link
Author

time="2021-02-14T06:00:54Z" level=info msg="Finished processing changed folder" dir="/music/The_Alan_Parsons_Project-Eye_In_The_Sky-(Arista)-DSF128-LP-1982" elapsed=4.13s purged=0 updated=10
time="2021-02-14T06:00:55Z" level=info msg="Finished processing changed folder" dir="/music/The_Alan_Parsons_Project-The_Turn_Of_A_Friendly_Card-(Arista)-DSF128-LP-1980" elapsed=1.19s purged=0 updated=10

I finally managed to have the Navidrome to scan my DSF files! I am yelling at it now!

Now it comes to the issue of adding new transcoding commands. I want to create a transcode for opus audio 192k. I read some ffmpeg examples online but couldn't make them work on Navidrome. Navidrome often replies with "Internal Server Error". I'd be grateful if I could have your advice on this.

@deluan
Copy link
Member

deluan commented Feb 15, 2021

You shouldn't need to create a new transcoding. You just have to edit the Player's properties, select the "Opus" transcoding and set the Max Bit Rate you want (192k in your case):
Screen Shot 2021-02-15 at 1 28 55 PM

@deluan
Copy link
Member

deluan commented Mar 12, 2021

Hey @mandickay, were you able to figure this out? Can I close this issue?

@mandickay
Copy link
Author

Yes, I got it sorted myself. Please close this comment.
Many thanks.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants