![]() |
[ANNOUNCE] [WIP] Media Player Widget
2 Attachment(s)
To the N900 users: Check the section.
Warning: This is a beta. Hi, I like the media player applet on the N900 and after seeing Nicolai Hess's replacement widget, I thought it would be great if we could have something similar. So I thought it would perhaps be possible to port it over to the N800. I'm no programmer (patches certainly welcome!) and GUIs are also not my forte, so any GUI code will have to be stolen from nicolai. Here's the result: http://i.imgur.com/TStLm.png Features:
Limitations:
I've attached a tarball of the files to unpack to / (sorry, but I still need to learn how to create DEBs!) and the source. If you wish to build it, you'll need to copy /usr/lib/libmediaplayer* to your DIABLO_ARMEL target Thanks to Nicolai Hess for the GUI code without which this wouldn't certainly have been possible and to Faheem Pervez for his/her Now Playing Notifier for some of the D-Bus stuff |
Re: [ANNOUNCE] [WIP] Media Player Widget
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 |
Re: [ANNOUNCE] [WIP] Media Player Widget
EDIT: Ooops, wrong thread, i think; I am using fremantle.
------------------------------------------------------------------------------------- Very useful widget. It works better than the Nokia one, especially in connection with headphone daemon. But, recently I have noticed a noticeably increased rate of battery drain. One of the suspects in this is this widget. I am wondering if anybody else has felt this or whether some other app is causing this... ---------------------------------------------------------------------------------------- |
Re: [ANNOUNCE] [WIP] Media Player Widget
Looks good!
I wounder if someone can create an applet to control mplayer (Quasar media player and others use it)... |
Re: [ANNOUNCE] [WIP] Media Player Widget
thanx mate, looks great.
Quote:
|
Re: [ANNOUNCE] [WIP] Media Player Widget
@Kroll
mplayer's FIFO may do what you want, but, IMHO, a nicer solution would be adding D-Bus support to Quasar so that it can be remote controlled I'll look into it after I've got Scratchbox set up again (distro-hopping ATM) @K9999 You should find nicolai and thank him instead; he wrote a replacement applet for the N900 first; I took his drawing code afterwards and used it to make one for the N8X0. Thanks anyway! |
Re: [ANNOUNCE] [WIP] Media Player Widget
@jstokes
Thanks for answer. Actually Quasar is pretty laggy and IF someone would like to write a code I would like to make a pixmaps and design interface. (I made a Diablo 5 theme and designed interface of Telescope task switcher/launcher, if you wanna ask what skills I have:)) |
Re: [ANNOUNCE] [WIP] Media Player Widget
Quote:
|
Re: [ANNOUNCE] [WIP] Media Player Widget
Quote:
By the way, dsp use less energy then mplayer with cpu? Am I right? But Built-in Media player use dsp, but it is very cranky and slooooooow and I do think only a few people really use it. Folks, I just have a dream to have a perfect audio player on n8x0!:rolleyes: |
Re: [ANNOUNCE] [WIP] Media Player Widget
Quote:
That being said a better front end for mplayer would be a wonderful thing. |
All times are GMT. The time now is 11:02. |
vBulletin® Version 3.8.8