mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #98] very high cpu usage?? #971
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#971
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?
Originally created by @sewnie on GitHub (Jan 5, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/98
i have noticed that with spotify_player, it causes the cpu usage to increase and my computer fans ramp up the speed due to the usage.
what the fuck is spotify_player doing? i'm not even doing anything.
@aome510 commented on GitHub (Jan 6, 2023):
@wael444 I couldn't reproduce this issue. I use the app daily and in my laptop (M1 Mac), it never goes beyond 2% CPU usage. Does this issue only happen during the startup? Does it happen frequently as well?
@aome510 commented on GitHub (Jan 6, 2023):
Also, can you provide the version and additional features of spotify_player that you're currently using?
@sewnie commented on GitHub (Jan 7, 2023):
i installed spotify_player from
cargo install, with the default features only.@sewnie commented on GitHub (Jan 7, 2023):
https://user-images.githubusercontent.com/47404953/211155591-1e86aa82-057a-4b92-b43b-eebfecd64579.mp4
@sewnie commented on GitHub (Jan 7, 2023):
@aome510 commented on GitHub (Jan 7, 2023):
Thanks for the demonstration . Can you also provide me a log of such run in
~/.cache/spotify-player?@sewnie commented on GitHub (Jan 7, 2023):
why in the hell would the spotify player need audio? that is handled by spotifyd/librespot.
@aome510 commented on GitHub (Jan 8, 2023):
You can run it without spotifyd/librespot as a spotify client by itself. spotify_player can be used either as a remote controller (like spotify-tui) to control other running client or as a single client itself (like ncspot).
I suspect this may be the source of the high CPU error. Can you build the
mainbranch without thestreamngfeature and try it againNote it needs a running Spotify client (e.g spotifyd) to use the app
@sewnie commented on GitHub (Jan 8, 2023):
now that i think of it, where are the default features stored?
@sewnie commented on GitHub (Jan 8, 2023):
@aome510 commented on GitHub (Jan 9, 2023):
The default features are media-control (cross-platform media control), rodio-backend, which includes streaming feature.
If you only use spotify-player as the remote controller, using no default feature should be enough unless you want other optional features such as image view, lyric finder, etc.
@aome510 commented on GitHub (Jan 9, 2023):
Hope that this is enough to use for now.
In case it's related, you can refer to this https://github.com/aome510/spotify-player/issues/38#issuecomment-1136512745 to try to fix the issue.
I'll close this issue for now