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

Add FLAC support #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add FLAC support #111

wants to merge 2 commits into from

Conversation

10p3
Copy link

@10p3 10p3 commented May 30, 2024

I've used this to download a couple of playlists and it seems to work so far (using the free trial).
It'd be good if someone could test that it doesn't break operation with free accounts since i don't currently have one.
I've yet to observe any songs with AAC as an option so the change to the "exists already" check doesn't handle that yet.
I'm not sure how robust the error handling is if the server returns results in an unexpected format.

The web client gets media urls with a seperate API call using TRACK_TOKEN from the song data, the encryption on FLACs seems unchanged.
Some songs have a "Fallback" to a different ID and do not allow downloads using the original id, this is currently handled after failing on the original file but it might be worth not trying the original if a fallback is supplied.

@mryan43
Copy link

mryan43 commented Jun 9, 2024

Small comment to mention that I have tested this (with a non-free account) and it works for me ! thanks a lot !

@kmille
Copy link
Owner

kmille commented Nov 22, 2024

sorry for not taking care :(
Currently don't have time for it. There was something I didn't like - I think it was just renameing mp3 to flac file ending...

@10p3
Copy link
Author

10p3 commented Nov 22, 2024

I'm not sure I understand.
Is there something I could do to help fix it?
I don't have a premium account to test with at the moment but it definitely was working with a playlist I tried when I wrote it.
image

@kmille
Copy link
Owner

kmille commented Nov 22, 2024

yea, thanks for the PR. I just need some time for this.

@kito30
Copy link

kito30 commented Nov 27, 2024

it seems that for me, I can only download 128kbps not 320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants