Comments (8)
I'm just trying to reproduce this, but sadly I can't.
The window is moving fine while music is playing, no stuttering at all @JimmyAppelt
from spotifyapi-net.
My god @JohnnyCrazy ... i just tested all apps en they are indeed running fine. I'm a lazy computer restarter (might had something to do with that 👎 )
My apologies for bringing this issue up.
If in any case i see any kind of behavior back ... i'l triple check !
from spotifyapi-net.
No Problem!
Although you are correct, with SynchronizingObject
set to the form, it will run in the UI-Thread. But since only one small request is made to localhost, it should be running in about 1-10ms which is no problem for the UI. Maybe I will change this someday. Closing #45 then :)
from spotifyapi-net.
After all i wasn't drunk 😄
It appears on my machine if i'm running the example app or my own app for a longer period of time.
The thing is that it interferes with other features in my own app, that will have a small time out before these update and the UI will not go smoothly ether.
As for the time being i compiled the a .dll with async and await for my app use as current solution.
Could you tell why you designed the project with everything as event updates ?
from spotifyapi-net.
I ran the example for about 30 minutes but sadly couldn't reproduce window lags or similar. Which system are you running it on?
I maybe have one idea, will push it to another branch and maybe you could test it out
from spotifyapi-net.
This is about a year old, I suspect its no longer an issue now. /tsk
from spotifyapi-net.
Generally, if SynchronizingObject is set, the tick event will be run on that UI Thread. If you don't want this, you can remove it and invoke on the ui thread in every event. This will execute the http request in a separate thread.
Reopen if you still have issues
from spotifyapi-net.
Windows 10 64-bit
I needed to create another way to capture information from the local player itself.
Because of this issue and issue #51 :)
@stuntguy3000 such issue's don't magically disappear ;)
@JohnnyCrazy i would be happy to test it out, the only problem i have is issue #51 still
from spotifyapi-net.
Related Issues (20)
- 'AuthenticationBuilder' does not contain a definition for 'AddSpotify' HOT 3
- RequestToken is not working after publishing to appstore HOT 2
- How to get currently playing song? HOT 3
- How to get Song name and other data? HOT 1
- CLI - Persistent Config Example macOS issue "Address already in use" HOT 1
- CustomHTML Example not compiling HOT 1
- can not use any other spotify account when running Example.ASP HOT 1
- Can't install the package in UWP HOT 1
- Forbidden error with Library.GetTracks datas HOT 2
- .NET Framework support HOT 7
- Cancellation token in PaginateAll method HOT 1
- RobiniaDocs API Explorer HOT 1
- _server.AuthorizationCodeReceived isn't raised when receiving an access token
- Local files in FullPlaylist bug HOT 9
- JsonReaderException when getting Artist. HOT 7
- Feature: Provide "html_description" on SimpleEpisode and FullEpisode HOT 1
- Spotify API Inconsistency: Integer Values Returned as Floats Without Documentation Update HOT 6
- Create Playlist Fails HOT 2
- Possible incorrect type inference when fetching playlist tracks HOT 2
- Not able to install the packge via nuget - There are no versions available for the package 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 spotifyapi-net.