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

Support downloading only specific artist album categories #5

Closed
onny opened this issue Oct 13, 2021 · 3 comments
Closed

Support downloading only specific artist album categories #5

onny opened this issue Oct 13, 2021 · 3 comments
Labels
Question Further information is requested

Comments

@onny
Copy link

onny commented Oct 13, 2021

Hey,
is it possibly to download only specific albums from an artist page, for example:
https://open.spotify.com/artist/6soJo0dtX31T30OxtS4A39/discography/album
Without downloading singles, features, compilations, etc.

Regards
Jonas

@oSumAtrIX oSumAtrIX added the Question Further information is requested label Oct 13, 2021
@oSumAtrIX
Copy link
Owner

Albums are supported:

SpotifyItem::Album(a) => {
let tracks = self.spotify.full_album(&a.id).await?;
let queue: Vec<Download> = tracks.into_iter().map(|t| t.into()).collect();
self.add_to_queue_multiple(queue).await;
}

@onny
Copy link
Author

onny commented Oct 13, 2021

But how can I download only studio albums from an specific artist (without singles, third-party albums, etc.)? Or do I have to pick every album url manually?

@oSumAtrIX
Copy link
Owner

While filtering for album categories only for an artist is possible, I would suggest implementing the ability to handle multiple arguments so you can pass a list of tracks/albums/playlists or artists.

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

No branches or pull requests

2 participants