mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 07:55:49 +03:00
[PR #63] [MERGED] Convert Spotify URIs to Spotify IDs for addMyTracks #239
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#239
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?
📋 Pull Request Information
Original PR: https://github.com/jwilsson/spotify-web-api-php/pull/63
Author: @PouleR
Created: 2/22/2017
Status: ✅ Merged
Merged: 2/22/2017
Merged by: @jwilsson
Base:
master← Head:master📝 Commits (1)
8833aafConvert Spotify URIs to Spotify IDs for addMyTracks📊 Changes
2 files changed (+25 additions, -1 deletions)
View changed files
📝
src/SpotifyWebAPI.php(+17 -0)📝
tests/SpotifyWebAPITest.php(+8 -1)📄 Description
The method addMyTracks didn't accept Spotify URI's as parameters (since the Spotify API expects only id's). Added a method that converts URIs to IDs. It strips the 'spotify:track:' value from the URIs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.