![]() |
Get playing song from osso-media-player
hey folks,
how can i get information of the current song/playlist from osso-media-player? i found dbus howtos for controlling the player, but nothing for getting infos from it. i want to get: - title, album, artist from playing song - same infos for the playlist entries or at least there path and filename - playing position (and play/pause status) - volume would be also nice reason: i want to write a small script/app that changes my mpd playlist at home to the maemo one and start playing the same track at the same position. perhaps i could start it automatically when login into my home wifi |
Re: Get playing song from osso-media-player
Does it broadcast DBus messages when the song changes? Might be worth a look.
|
Re: Get playing song from osso-media-player
Yes, it broadcast huge amount of infos when starting or changing track,
but logging all infos about playlist and track when starting/changing track doesn't seem to be the way todo imo. Nevertheless thanks for the hint. |
Re: Get playing song from osso-media-player
Isn't there an application named "Now Playing" that shows a notification every time a song changes with the title/artist of the song?
May be wrong about the name. Surely you could ask that developer for some assistance. |
Re: Get playing song from osso-media-player
i know for the N810 there is a "now playing" noification, works well too ;-) i use it too:cool:
|
Re: Get playing song from osso-media-player
Yes i know this app, but I need the information on a specific moment not only when song changes. Getting information about song changes would be easy, it is broadcasted on dbus.
|
Re: Get playing song from osso-media-player
Are you a good developer? If so, your prayers can be answered by downloading the following:
http://repository.maemo.org/pool/fre...6-1+0m5.tar.gz And read the MAFW documentation when you get stuck. Good luck! |
Re: Get playing song from osso-media-player
Quote:
If you mean the n900 mediaplayer, take a look at my media player widget, it uses the Mafw- framework for obtaining this information. (Current playing song, playlist and metadata). regards Nicolai |
Re: Get playing song from osso-media-player
MAFW sounds good, I'll have a look on the python bindings.
|
Re: Get playing song from osso-media-player
Quote:
|
Re: Get playing song from osso-media-player
really? :/ i've just began to look into pymaemo and already get a few infos about the playlist and shuffle/repeat mode. at which point the binding get unuseable? (except the non-pythonic syntax)
|
Re: Get playing song from osso-media-player
Quote:
See this post for more details. |
| All times are GMT. The time now is 00:31. |
vBulletin® Version 3.8.8