Skip to content

Commit 0e125e1

Browse files
committed
Remove Artist/Show from handle_add_to_queue
1 parent c9dc6e9 commit 0e125e1

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

connect/src/spirc.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl Spirc {
390390
Ok(self.commands.send(SpircCommand::Load(command))?)
391391
}
392392

393-
/// Adds a track, episode, album, playlist, artist, or show to the queue.
393+
/// Adds a track, episode, album or playlist to the queue.
394394
///
395395
/// Does nothing if we are not the active device.
396396
///
@@ -1576,10 +1576,7 @@ impl SpircTask {
15761576
async fn handle_add_to_queue(&mut self, uri: SpotifyUri) {
15771577
let track_uris: Vec<String> = match uri {
15781578
SpotifyUri::Track { .. } | SpotifyUri::Episode { .. } => vec![uri.to_uri()],
1579-
SpotifyUri::Album { .. }
1580-
| SpotifyUri::Playlist { .. }
1581-
| SpotifyUri::Artist { .. }
1582-
| SpotifyUri::Show { .. } => {
1579+
SpotifyUri::Album { .. } | SpotifyUri::Playlist { .. } => {
15831580
match self.session.spclient().get_context(&uri.to_uri()).await {
15841581
Ok(context) => context
15851582
.pages

0 commit comments

Comments
 (0)