[PR #194] [MERGED] Allow PlaylistItem to contain episodes. #303

Closed
opened 2026-02-27 20:24:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/194
Author: @kstep
Created: 3/9/2021
Status: Merged
Merged: 3/10/2021
Merged by: @marioortizmanero

Base: masterHead: playlist-item-episodes


📝 Commits (4)

  • 6ba4977 use enum instead of full track
  • 8a5f5a7 fmt
  • 7010ad9 rename PlayingItem to PlayableItem, update changelog
  • 6679079 Merge branch 'master' into playlist-item-episodes

📊 Changes

4 files changed (+8 additions, -7 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 src/model/context.rs (+3 -3)
📝 src/model/mod.rs (+1 -1)
📝 src/model/playlist.rs (+2 -3)

📄 Description

Description

It's a change for meta-issue #127: "Allow PlaylistTrack/PlaylistItem to contain episodes."

Motivation and Context

According to meta-issue #127 and official docs, PlaylistItem object can have either FullTrack or FullEpisode object as a value of the track field.
Hence the fix.

Dependencies

Update docs and changelog.

Type of change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Run a full test suite.


This change is Reviewable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/194 **Author:** [@kstep](https://github.com/kstep) **Created:** 3/9/2021 **Status:** ✅ Merged **Merged:** 3/10/2021 **Merged by:** [@marioortizmanero](https://github.com/marioortizmanero) **Base:** `master` ← **Head:** `playlist-item-episodes` --- ### 📝 Commits (4) - [`6ba4977`](https://github.com/ramsayleung/rspotify/commit/6ba497769a71ffdc69ea84303f582aadc2241b64) use enum instead of full track - [`8a5f5a7`](https://github.com/ramsayleung/rspotify/commit/8a5f5a7d70f2ea8a8e92fa2eda9ba50d7844c768) fmt - [`7010ad9`](https://github.com/ramsayleung/rspotify/commit/7010ad9cdecc1b48b4733f66269ec5b2e79de585) rename PlayingItem to PlayableItem, update changelog - [`6679079`](https://github.com/ramsayleung/rspotify/commit/6679079460b6c831c9ed7f3435665024347bfd09) Merge branch 'master' into playlist-item-episodes ### 📊 Changes **4 files changed** (+8 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `src/model/context.rs` (+3 -3) 📝 `src/model/mod.rs` (+1 -1) 📝 `src/model/playlist.rs` (+2 -3) </details> ### 📄 Description ## Description It's a change for meta-issue #127: "Allow `PlaylistTrack`/`PlaylistItem` to contain episodes." ## Motivation and Context According to meta-issue #127 and [official docs](https://developer.spotify.com/documentation/web-api/reference/#object-playlisttrackobject), `PlaylistItem` object can have either `FullTrack` or `FullEpisode` object as a value of the `track` field. Hence the fix. ## Dependencies Update docs and changelog. ## Type of change Please delete options that are not relevant. - Breaking change (fix or feature that would cause existing functionality to not work as expected) - This change requires a documentation update ## How Has This Been Tested? Run a full test suite. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/ramsayleung/rspotify/194) <!-- Reviewable:end --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#303
No description provided.