Thread
:
[ANNOUNCE] [WIP] Media Player Widget
View Single Post
jstokes
2010-12-08 , 19:25
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#
2
First post updated.
Changes:
* Correctly launch Media Player (read: go to the view it was last on) when pressing the label
* Allow playing when the Media Player is closed but Now Playing is populated.
NOTE
:
This feature is a hack. Due to Media Player being closed-source, I had to implement this in a very messy way. If you launch the media player having started a track from the applet, it will pause and only start playing after about ~6 seconds (about the time it takes to bring up the main window). It's extremely hacking and race-condition prone but it's the only way I could implement this as the Media Player would not update itself and go out of sync otherwise. Also: The CPU's speed will drop down to 330MHz when playing a track. The only way to get it to go back to 400 is by *stopping* the track. This applet doesn't do that - it pauses the track. To get it to stop, you have to bring up the media player yourself
Last edited by jstokes; 2010-12-08 at
19:27
.
Quote & Reply
|
The Following User Says Thank You to jstokes For This Useful Post:
Addison
jstokes
View Public Profile
Send a private message to jstokes
Find all posts by jstokes