Added OpenUri D-BUS MPRIS support.
Removed "user:" from URIType check because Spotify doesn't always provide it.
This commit is contained in:
committed by
Henrik Friedrichsen
parent
db93e3e07c
commit
2e89cc3d01
@@ -819,7 +819,7 @@ impl URIType {
|
||||
Some(URIType::Artist)
|
||||
} else if s.starts_with("spotify:track:") {
|
||||
Some(URIType::Track)
|
||||
} else if s.starts_with("spotify:user:") && s.contains(":playlist:") {
|
||||
} else if s.starts_with("spotify:") && s.contains(":playlist:") {
|
||||
Some(URIType::Playlist)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user