Skip to content

Commit

Permalink
Update api for spotcast (Fixes #56) (#57)
Browse files Browse the repository at this point in the history
* Update api for spotcast (Fixes #56)

Was getting errors about `transfer_playback` no longer an acceptable argument

* Updated dist files (dunno if this should be done in master or not?)
  • Loading branch information
ProLoser authored Mar 30, 2020
1 parent d93b611 commit 687e0a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/spotify-card.js

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

2 changes: 1 addition & 1 deletion dist/spotify-card.umd.js

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

2 changes: 1 addition & 1 deletion src/SpotifyCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default class SpotifyCard extends Component {
const options = {
device_name: device,
uri: playlist.uri,
transfer_playback: this.state.currentPlayer != null,
force_playback: this.state.currentPlayer != null,
};

if (this.props.account) {
Expand Down

0 comments on commit 687e0a6

Please sign in to comment.