redninja wrote: > I have your android version, and its such a brilliant Squeeze > Controller > > SBPlayer will this be available as an App for windows 10.. ? > > Problem is audio playback when screen is off on certain windows > tablets.. Unless its supported in the app no dice.. Native > applications do not support this feature so if using desktop version of > a soft player their will be no audio playback when screen turned off via > the controller.... > > Big bug bear of mine with windows tablets..
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. -------------- Squeezebox apps for webOS, Android and Windows Phone, http://www.angrygoatapps.com ------------------------------------------------------------------------ wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760 View this thread: http://forums.slimdevices.com/showthread.php?t=106060 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
