mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 07:55:49 +03:00
[GH-ISSUE #225] how i can resume current track? #157
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @esurkov1 on GitHub (Mar 13, 2021).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/225
Hi! Sorry for my english...
i call play function without options and speakerId and i see
<br /> <b>Fatal error</b>: Uncaught SpotifyWebAPI\SpotifyWebAPIException: Malformed json in MYSERVER/vendor/jwilsson/spotify-web-api-php/src/Request.php:57 Stack trace: #0 MYSERVER/vendor/jwilsson/spotify-web-api-php/src/Request.php(276): SpotifyWebAPI\Request->parseBody(Object(stdClass), 400) #1 MYSERVERMYSERVER/vendor/jwilsson/spotify-web-api-php/src/Request.php(138): SpotifyWebAPI\Request->send('PUT', 'https://api.spo...', 'false', Array) #2 MYSERVER/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php(115): SpotifyWebAPI\Request->api('PUT', '/v1/me/player/p...', 'false', Array) #3 MYSERVER/spotify/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php(1660): SpotifyWebAPI\SpotifyWebAPI->sendRequest('PUT', '/v1/me/player/p...', 'false', Array) #4 MYSERVER/alice.php(38): SpotifyWebAPI\SpotifyWebAPI-> in <b>MYSERVER/vendor/jwilsson/spotify-web-api-php/src/Request.php</b> on line <b>57</b><br />how i can resume track after pause?
i use script:
$api->play();@jwilsson commented on GitHub (Mar 13, 2021):
Hey!
Are you using the latest version (
4.2.2)? This exact issue was fixed in that version.Cheers!