wt0 wrote: > I've been try to figure out if SB Player is possible and the quick > answer is, I am not sure. Read on for the longer answer... > > > First, for brevity i will be calling Windows Store apps as APPs; ie. > non-desktop programs. > > APPs do not run in the background, even on desktop machines (though on > desktop machines, this means minimized). This is Microsoft's design to > give Windows Phone/Mobile long battery life. However, an APP can define > background TASKs that are logically separate from the APP, but can only > run in the background for a limited amount of time and usually need to > be triggered by some sort of event, like if an alarm goes off. There > are also special system services that an APP can use to make it seem > like it's running in the background. > > One of these services is a Background Music Player. Basically the APP > just tells it to play a file or a stream and the service takes over, the > APP can stop. This has existed since Windows Phone 8 (WP8) and still > exists in Windows 10 and is the only way to play music in the background > for APPs. In WP8, files and streams is all this service can play, which > is why SB Player was not possible in WP8. Emulating a Squeezebox is more > than just playing a stream. Windows 10 has expanded this service's > capability and it can now play arbitrary audio data and can trigger a > background TASK to request this data. > > Another system service can be used to keep a network connection open in > the background and only trigger a background TASK when it receives data. > > These two services together handles the 2 ends of a potential SB > Player's audio pipeline, but the trick is getting the stuff in between > (buffering, decoding, crossfading, etc.) to run in the background > indefinitely. Windows 10 has a new mechanism call an App Service that > can run in the background. An APP can register itself (or part of > itself) to become an App Service and I've seen tutorials on how to > create a simple webserver using this mechanism. This has potential to > allow SB Player to work, but I can't seem to find any documentation on > if an App Service has a limited run time or not. I will need to run > some tests.
There's development, so it looks plausible.. I look forward to see you ideas.. Windows with its apps seems extremely backwards compared to Android it seems.. ------------------------------------------------------------------------ redninja's Profile: http://forums.slimdevices.com/member.php?userid=64480 View this thread: http://forums.slimdevices.com/showthread.php?t=106060 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
