mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #136] [CLOSED] Added Support for Local Files #439
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#439
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/jpochyla/psst/pull/136
Author: @braydnm
Created: 8/22/2021
Status: ❌ Closed
Base:
master← Head:localfiles📝 Commits (4)
45494feAdded Support for Local Files213597cClean Up Local Files Support67e1524gui: Polish the LocalTrackManager a bit more4f611f2Merge branch 'master' into localfiles📊 Changes
9 files changed (+452 additions, -16 deletions)
View changed files
📝
psst-core/src/connection/mod.rs(+3 -3)📝
psst-gui/src/data/config.rs(+12 -2)📝
psst-gui/src/data/mod.rs(+2 -2)📝
psst-gui/src/data/track.rs(+2 -0)📝
psst-gui/src/main.rs(+3 -1)📝
psst-gui/src/ui/preferences.rs(+6 -1)📝
psst-gui/src/webapi/client.rs(+26 -7)➕
psst-gui/src/webapi/local.rs(+396 -0)📝
psst-gui/src/webapi/mod.rs(+2 -0)📄 Description
Parsing of the Spotify configuration for local files and the JSON returned by the web API.
Changes
Local files imported by Spotify is stored in a custom binary format at
<SpotifyConfigDir>/Users/<username>-user/local-files.bnk. When playlist tracks are attempted to be loaded instead of discarding any local tracks attempt to find a local track in thelocal-files.bnkand if a matching title, artist, album, etc. are found then return a properly formatted Track structureTODO:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.