Skip to content

Commit

Permalink
fix: Deezer support in sonos lib
Browse files Browse the repository at this point in the history
Fixed #128
  • Loading branch information
svrooij committed Dec 30, 2020
1 parent c2fd6b9 commit 10c8c4e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
7 changes: 6 additions & 1 deletion docs/control/2-playback.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Topic: `sonos/uuid_of_player/control`
|Provider|Name|Format|Sample|
|--------|----|------|------|
||MP3|`http:https://somesite.com/song.mp3`||
|Deezer|Track|`deezer:track:{id}`||
|Spotify|Track|`spotify:track:{id}`|`spotify:track:0GiWi4EkPduFWHQyhiKpRB`|
|Spotify|Artist radio|`spotify:artistRadio:{artistId}`|`spotify:artistRadio:72qVrKXRp9GeFQOesj0Pmv`|
|TuneIn|Radio station|`radio:s{id}`||
Expand Down Expand Up @@ -93,7 +94,11 @@ Topic: `sonos/uuid_of_player/control`
|--------|----|------|------|
||MP3|`http:https://somesite.com/song.mp3`||
|Sonos|Local file|||
|Sonos|Playlist|||
|Sonos|Playlist|`sonos:playlist:{id}`|`sonos:playlist:7`|
|Deezer|Album|`deezer:album:{id}`||
|Deezer|Artist Top Tracks|`deezer:artistTopTracks:{id}`||
|Deezer|Playlist|`deezer:playlist:{id}`||
|Deezer|Track|`deezer:track:{id}`||
|Spotify|Album|`spotify:album:{id}`|`spotify:album:4q2mtBkyPrFynvTRbi5HOv`|
|Spotify|Artist top tracks|`spotify:artistTopTracks:{artistId}`|`spotify:artistTopTracks:72qVrKXRp9GeFQOesj0Pmv`|
|Spotify|Playlist|`spotify:playlist:{id}`|`spotify:playlist:??`|
Expand Down
18 changes: 12 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "eslint ./src/*.ts"
},
"dependencies": {
"@svrooij/sonos": "2.2.0",
"@svrooij/sonos": "2.3.0-beta.3",
"mqtt": "4.2.6",
"serilogger": "^0.3.1",
"strict-event-emitter-types": "^2.0.0",
Expand Down

0 comments on commit 10c8c4e

Please sign in to comment.