-
Notifications
You must be signed in to change notification settings - Fork 196
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
Added a new "me" command to download by liked albums/tracks #185
base: master
Are you sure you want to change the base?
Conversation
Hey, thanks for this PR! And sorry for the late reply... Sadly, I can't test it right now (I don't have any Qobuz account). I'd just merge it if it was a small change, but this PR would make substantial changes to I'll try to get a subscription as soon as possible. |
No problem, keep me informed :) |
Would really appreciate this merge; would make the script a lot more useful for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small issue with default
qobuz_dl/core.py
Outdated
@@ -41,6 +42,7 @@ def __init__( | |||
embed_art=False, | |||
lucky_limit=1, | |||
lucky_type="album", | |||
me_type="album", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be albums
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed ! Thanks for reviewing this :)
qobuz_dl/commands.py
Outdated
"-t", | ||
"--type", | ||
default="album", | ||
help=("type of items to search (albums, tracks) (default: album)"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default: albums
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already fixed in newest commits
Any plan to merge this ? @vitiko98 :) |
Hello !
I just added a new "me" command to download by liked albums/tracks.
I also manage the offset / limit pagination in Qobuz API on this command.
The endpoint "favorite/getUserFavorites" was already implemented in the Qobuz Client and I tweaked it a little bit to implement tracks type too.
Let me know if there is any issues.