Comments (11)
Making sure to delete the Arch package and then I ran it form ~/.cargo/bin.
cargo build
doesn't produce the binary in ~/.cargo/bin
though, it should be inside the repo's target/debug
from spotify-player.
I think the issue may have to do with the fact that the application doesn't call the spotify api each time
This is intended to speed up the command's latency. The player should be able to infer its playback state most of the time. However, if you control the player's playback using external tool, e.g from other Spotify client, the state may not be up-to-date. I'm well aware of this drawback and will be working on a patch
from spotify-player.
Would it be possible to - perhaps simply in the interim - implement a flag / setting that tells it to always call the API?
from spotify-player.
yes, but it feels more like a hack than a proper fix
from spotify-player.
@DOD-101 should be fixed with #418. Can you try the latest main
?
from spotify-player.
Sure thing.
from spotify-player.
Alrighty, so after a little bit of testing, I have found the following:
- If the song changes by itself, it now works as intended.
- If however one changes the song manually in any way it will take 1.5 to 2 min to update.
So it's kinda fixed, but at the same time it probably shouldn't take that long to "recognize" the change.
from spotify-player.
How did you test the change? WDYM by "one changes the song manually in any way"?
from spotify-player.
How did you test the change?
I cloned the git repo and then cargo build it with only the daemon feature flag added.
Making sure to delete the Arch package and then I ran it form ~/.cargo/bin.
Then I followed the steps outlined in the original post.
WDYM by "one changes the song manually in any way"?
I meant that if you either skip to the next song (via the shortcut) or by simply selecting some other song in the tui.
Should have been more clear here: This only applies to changing the song in another client. If one changes the song via the "spotify_player playback next" command it will update almost instantly, as if it just finished playing.
from spotify-player.
I'm sorry.
I accidentally ran cargo install
instead of cargo build
(not familiar with rust). My bad.
It works like a charm now. Thanks. Keep up the great work.
from spotify-player.
Great! Thanks for confirming
from spotify-player.
Related Issues (20)
- error loading playlists without images HOT 3
- Opening and closing pop up messes up the UI HOT 2
- Unable show album cover in tmux. HOT 6
- Devices doesn't show Google Cast devices HOT 1
- Control + S doesnt set to Shuffle HOT 4
- Add album to queue
- Incorrect Playlist Order in Library HOT 2
- Add option to disable album art and reduce header height HOT 7
- Ask confirmation before quiting HOT 2
- Make notification timeout configurable HOT 1
- No Devices show up / Devices are empty HOT 1
- Insert whitespace into `playback_format` HOT 2
- Podcast Support in playlists
- Crashing on startup on Linux Mint HOT 4
- Search from CLI HOT 3
- App Crashes HOT 1
- Like album from album page HOT 2
- Remap key to key combination HOT 1
- Pressing ESC while in search mode will bypass input to search so that keycommands can be pressed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotify-player.