mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #594] [MERGED] Added LastFM support #611
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#611
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/594
Author: @marcfusch
Created: 4/8/2025
Status: ✅ Merged
Merged: 4/17/2025
Merged by: @jacksongoode
Base:
main← Head:lastfm_wip📝 Commits (10+)
c1574fcstuff1fa668dbofa0f7337its working3f29d27now playing currently works perfectlydf7017bscrobbling and now playing works !c15497ffixed csroblling problems while song changes58b0560cleanup of code and added comments8c9925dchanged scrobbler icon in the preferences menu261f132small cleanup (for tarrak only)490aed3Cleanup and integration into account tab📊 Changes
21 files changed (+1488 additions, -613 deletions)
View changed files
📝
.github/ISSUE_TEMPLATE/bug_report.md(+5 -5)📝
.github/ISSUE_TEMPLATE/feature_request.md(+3 -4)📝
.github/workflows/build.yml(+1 -1)📝
.pkg/APPIMAGE/pkg2appimage-ingredients.yml(+1 -1)📝
.rustfmt.toml(+1 -1)📝
Cargo.lock(+665 -395)📝
README.md(+2 -2)📝
psst-core/Cargo.toml(+1 -0)📝
psst-core/src/error.rs(+17 -0)➕
psst-core/src/lastfm.rs(+95 -0)📝
psst-core/src/lib.rs(+2 -1)📝
psst-core/src/oauth.rs(+115 -31)📝
psst-gui/Cargo.toml(+1 -0)📝
psst-gui/src/controller/playback.rs(+109 -8)📝
psst-gui/src/data/config.rs(+27 -1)📝
psst-gui/src/data/mod.rs(+14 -6)📝
psst-gui/src/delegate.rs(+25 -41)📝
psst-gui/src/main.rs(+5 -1)📝
psst-gui/src/ui/preferences.rs(+384 -108)📝
psst-gui/src/widget/icons.rs(+8 -0)...and 1 more files
📄 Description
Hello, (this is a PR in response to #424)

I have made the required modifications to the codebase in order to plug psst into the rustfm-scrobbler-proxy library.
I have created a new lastfm.rs file that contains the necessary functions that communicates with the api library.
The necessary functions are called from within the controller/playback.rs file.
I have also added a new tab into the preferences menu that requires api key, api secret, username and password from your lastfm account.
The two firsts can be obtained here: https://www.last.fm/api/account/create
Please guide me through (if necessary) to make the final modifications.
Thanks!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.