![]() |
"Now Playing" app
Few days ago I started a thread in the multimedia section about a possibility to create a "now playing" app. The 240 views it got I think was a sign of that not enough people check the multimedia section. So (I hope this isn't spamming) I will post the same thing here so that people will see it.
Basically I'd like to know if anybody would be capable of making an app (or plugin or whatever) that would show up when your media player changes songs while in the background. I would imagine that it should/could be something similar to those SMS/email notifications you see when you get new messages. Or it could be similar to that gear image that slides down when you press an empty spot in the desktop. I don't have the knowledge of how to do this. My N900 is used for internet browsing and in-car musicplayer. But I would suspect that this might be pretty easy thing to do for someone with the knowhow. And also, is there other users who would like something like this? So that we dont only get the "gimme gimme" and "me me me" replies and that the replies would be about the making of this thing (optimistic as I am) I made a poll. |
Re: "Now Playing" app
Whats wrong with Mediaplayer desktop widget thats part of the standard Mediaplayer?
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Would be nice to have a small daemon that does this.
|
Re: "Now Playing" app
This app might also be useful because when you are tuned into a specific internet radio station and then switch to the "internet radio stations" page of the media media player, you can no longer see what song is playing (or, at least as far as I can tell). And you can't switch back to the specific station without disconnecting and reconnecting to it.
Tuminoid, thanks very much for taking a look into a potential app for this. |
Re: "Now Playing" app
and ofcourse it should act as a shortcut to the player. That way you will quickly skip those crappy songs that with multiple gb:s of music always gets into the player (and weirdly often ends up as the next song when using shuffle)
|
Re: "Now Playing" app
Another thing I was thinking of is an app that takes the info sent over FM transmitter and write that automagically into your IM status message (A Now playing app in short)
|
Re: "Now Playing" app
Something like this? http://imgur.com/PXWft.png
Code is here: http://slexy.org/view/s2FoAoHW5M (gcc mafw.c `pkg-config --cflags --libs hildon-notify glib-2.0 mafw mafw-shared` -Wall) Because there are so many things wrong with it, I won't insult people by uploading a binary. I up'ed the shitty code in hope that someone who actually knows what they're doing can improve it and fix its problems. On the plus side, it does show the name and artist of the song if it is properly tagged and pressing the notification does bring up the media player. Those are probably the only good points... I'd probably like to see this, too, but for a more nostalgic reason: My W810i used to do this. :) |
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
Hopefully, you'll get the time to fix the number of problems with it (if you've compiled it, I'm sure you will know what I mean...). :) |
Re: "Now Playing" app
I put a project application in to Garage admins as well, so this thing is taking baby steps forward :) See the sig: behold the nowplayingd (yeah, I suck at inventing project names... :P)
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
But MAFW's predecessor - osso-media-server - is much, much less documented and extensible compared to MAFW so I can't promise anything. |
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
Still needs packaging, however; will upload to extras-devel when done. Some notes:
(Though I take back what I said about OMS - I just used DBus-GLib for this. Much nicer than bloody MAFW.) |
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
I imagine tuminoid is working on the Fremantle version. :) By default, notifications hide after 10 seconds, they hide when the track is stopped and, of course, they hide when the track is changed. By default, it uses this type of notification: http://imgur.com/151O7.png But it can be configured to use a HildonBanner, instead: http://imgur.com/ZvbRt.png If you wish to change the timeout and the type of notification: Edit the file /etc/default/now-playing-notifier and change NPN_OPTIONS as required. E.g., to make it use a HildonBanner with a timeout of 20 seconds: NPN_OPTIONS="-u -t 20" When using the IM-type notifications, a timeout of '0' means it will stay on the screen forever (until destroyed upon the changing/stopping of the track). Oh, and it only works on tracks with artist and title tags. If someone knows a way to get the filename of the currently playing track from the Media Player, let me know. :) |
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
I'm pushing a dead-simple version to devel tonight, basically Faheems version with some tiny fixes, xsession init and package wrapping around it to get comments from brave testers, then start really fixing and improving it. I'll post again when package is in -devel. |
Re: "Now Playing" app
Quote:
Screenshot: http://tumi.kuvat.fi/kuvat/public/ma...0.1-2.png/full My TODO includes: * better handling of notifications (cough, do videos need notifications too?), including stop/start * add support for showing filenames or best guess if artist/title id3 tags aren't available * allow configuration of banner visibility * allow configuration of default click action - stop, next track, open mediaplayer being obvious choises * allow using hildonbanner instead * add configuration applet for mentioned options * some basic battery saving features * use proper makefiles and rules instead of hacks * fixing code so it doesnt leak or complain * do it all in Qt Suggestions and feedback welcome! I don't spit on patches either :-) |
Re: "Now Playing" app
Quote:
Quote:
Quote:
(BTW: Why g_timeout_add_seconds () instead of notify_notification_set_timeout () ? :)) Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Though, here's one thing that I neglected to do: notify_uninit () on exit. Quote:
Anyway, since I've already done some of these for Now Playing Notifier, I'll try and send some patches your way. |
Re: "Now Playing" app
I agree that notification about stopping a song isn't really useful..
And videoplayer doesn't need a notification because, well, you don't have time to glance at notifications when you enjoy your video (in my opinion). Could it be possible to get that notification box to open from, let's say the camera key? That way if you were too distracted by maemo.org when that song started you could check again what it was.. Anywho, amazing how fast you made that thing. You just made my day. :) |
Re: "Now Playing" app
Now I'm just wondering if you're trying to piss me off. :)
But, anyway, tuminoid, would you mind me requesting to join since I'm actually contributing instead of just whining (*cough*)? At the very least, it'd give me a better place to discuss this instead of this ****ty thread. I've figured out how to get the filenames using MafwPlaylist if it helps and would like to contribute a patch: Quote:
|
Re: "Now Playing" app
Thanks guys!
Just installed it and it works nicely so far! My request would be that instead of showing some media player icon together with the artist and song, it would show the actual album art if available. Doable? Edit: This is how it looks for me if anyone is interested ;) http://farm5.static.flickr.com/4030/...8d1acbf1_o.png |
Re: "Now Playing" app
I love it, guys. Great idea... now if only we can get the song from MAFW used as my status message on IM... :)
|
Re: "Now Playing" app
Quote:
Quote:
Quote:
Quote:
Quote:
I noticed your post about Diablo version, seems that you and me think alike. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I'm not gonna shove Qt where it doesn't belong, but perhaps the config app could be written with Qt, in hopes of porting it to MeeGo easily (though I see so many obstacles in the way it might not be worth it, or app might not even be necessary then anymore) Quote:
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
Quote:
Quote:
Configuring the timeout to be longer solves this problem adequetly I think, so if you don't mind seeing the notification in task-switcher for a while you can set the timeout higher and voilă. |
Re: "Now Playing" app
i just installed it and it works great ! yes, art cover would be very cool too.
|
Re: "Now Playing" app
Typing this on the N900, so please excuse mistakes...
Quote:
Quote:
That wasn't directed at you; don't worry. :) Quote:
HildonBanner brings out that feeling of nostalgia in me - it's the W810 memories again :) Quote:
Quote:
True, true; I like applications written in Qt but Qt itself to me is like "bleh". But now's not the time to be stuck-up. :) Tho, I wonder if MAFW will still exist in MeeGo... Thank you. :) |
Re: "Now Playing" app
This is a great idea. I have been surprised that the media player widget haven't really been developed at all (i mean the play button bug haven't even been fixed) while example conversation widget have had update after update.
|
Re: "Now Playing" app
any idea when it will be in the devel repo ? can' wait for it :)
|
Re: "Now Playing" app
Quote:
|
Re: "Now Playing" app
I looove this app, wonderful, thanks a million for making this!!!
The only thing that would be nice to see as well, would be the coverart, but it's far from necessary...this is great!!! :-) /Trancedancer |
Re: "Now Playing" app
Quote:
Also created a mailing-list, though thats likely an overkill for this :) |
Re: "Now Playing" app
Hey!
I noticed today, that if you are using the musicplayerwidget for N900 and have Music Player Notifications installed, you can't press the playbutton once paused, on the widget. You can change tracks and press pause, but once pressed, you have to bring upp the whole playerwindow to start the music again. Just noticed it! /Trancedancer |
Re: "Now Playing" app
Quote:
|
All times are GMT. The time now is 05:14. |
vBulletin® Version 3.8.8