Comments (4)
Update: Calling a WinRT function every second causes app completely freezing after a while, for some unknown reason. So we continue to use the old method for getting the app status at regular intervals.
The WinRT component will be used for communications initiated from js.
from xpomusic.
In the current development version, this method is used only for showing indeterminate progress bar while loading next song, but still I encountered an unrecoverable app freeze.
Will need to investigate more, if this happens often it might be reasonable to abandon this idea and do #18 instead. (It creates a somewhat uglier code, but if this one suffers from frequent freezes, then this is not acceptable)
from xpomusic.
I might have spoke too soon.
A likely cause for freezing app was updating MediaControls, which I'm also seeing hangs about it on live code as well. I've ran some tests and it seems that updating it a lot can cause an unrecoverable app freeze fairly quickly.
(The new code was unintentionally updating MediaControls every second, which can explain the app freezes)
I've brought back getting app status via WinRT component for now, and MediaControls now only updates when necessary.
I'll continue to monitor the behavior of the app to make sure there are no freezes caused by WinRT component in WebView.
from xpomusic.
I've never seen another freeze after fixing MediaControls update, so this is probably fine.
from xpomusic.
Related Issues (20)
- Windows arm64 support HOT 1
- Scrolling with touch is not responsive
- Album cover loading
- (Question) Settings tab? streaming quality? HOT 1
- Installation gives catastrophic error
- [Feature Request] "Add to queue" in context menu for playlists and albums.
- After logging in, stuck on spinning loading screen HOT 4
- Application fades to blank grey screen after loading animation HOT 13
- I can not install it HOT 2
- After signing in nothing happens HOT 6
- Xpo Music Preview skipping songs when playing HOT 4
- installation error HOT 7
- Control bar
- Application does not open HOT 1
- Binary build available? (as not availble in Windows Store) HOT 1
- Install failed: Catastrophic failure (0x8000ffff)
- "This Browser doesn't support Spotify Web Player"
- after login the app stucks HOT 8
- Certificate in Xpo preview
- Is this project dead? HOT 3
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 xpomusic.