mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #381] [MERGED] Podcasts #899
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#899
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/librespot-org/librespot/pull/381
Author: @ashthespy
Created: 10/8/2019
Status: ✅ Merged
Merged: 11/5/2019
Merged by: @ashthespy
Base:
dev← Head:podcasts📝 Commits (6)
0cb7a3fWIP: Podcast support8eb51e9Streamline and refactor Podcast support,6786c09Updatemetadata.protob96405aMakeSpotifyIdunderstand more URI formats508c7e2Tweak track loadingee3a756Fix borrow for Rust 1.32.0📊 Changes
6 files changed (+4339 additions, -453 deletions)
View changed files
📝
connect/src/spirc.rs(+39 -11)📝
core/src/spotify_id.rs(+42 -9)📝
metadata/src/lib.rs(+180 -2)📝
playback/src/player.rs(+46 -37)📝
protocol/proto/metadata.proto(+104 -5)📝
protocol/src/metadata.rs(+3928 -389)📄 Description
Fixes #90
Ported an old attempt for podcast support, and added suggestions from #339 and #377
There are still a few protobuf fields of the endpoint that I haven't been able to reverse fully, but these are not important for playback.
I am unsure how to proceed with respect to the
SpotifyID.SpotifyAudioTypefield to the structure. An other option is to convert to it an enum - (https://github.com/librespot-org/librespot/pull/339#issuecomment-506489625). But both these options don't solve the base issue of 2.SpotifyID?EDIT:
Ah, I should probably rename some proto defs to match https://github.com/librespot-org/librespot/issues/308I should mention that this isn't a comprehensive implementation, stuff missing includes
Track episode played stateHopefullythis is done server side,needs some more testing🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.