Add support for open.spotify.com links (#392)

* No longer necessary

* Add support for open.spotify.com links

* Reuse struct for insert command

* Formatting
This commit is contained in:
André Andersson
2021-01-17 20:12:07 +01:00
committed by GitHub
parent 206a7d88a5
commit ed0c62a888
5 changed files with 181 additions and 37 deletions

View File

@@ -59,6 +59,7 @@ use crate::events::{Event, EventManager};
use crate::playable::Playable;
use crate::queue;
use crate::track::Track;
use rspotify::model::recommend::Recommendations;
use rspotify::model::show::{FullEpisode, FullShow, Show, SimplifiedEpisode};
@@ -965,6 +966,7 @@ impl Spotify {
}
}
#[derive(Debug, PartialEq)]
pub enum URIType {
Album,
Artist,