MPRIS data upon starting Guayadeque

Use this category to discuss anything related to the development of Guayadeque.
Post Reply
Lysias
Posts: 25
Joined: Tue Oct 05, 2010 3:10 am

MPRIS data upon starting Guayadeque

Post by Lysias » Wed Jan 19, 2011 11:53 am

Hi anonbeat!

When I start Guayadeque and before I play any song, the player returns arbitrary metadata for some fields. Here's an example:

dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.GetMetadata
method return sender=:1.7706 -> dest=:1.7721 reply_serial=2
array [
dict entry(
string "location"
variant string "file://"
)
dict entry(
string "title"
variant string ""
)
dict entry(
string "artist"
variant string ""
)
dict entry(
string "album"
variant string ""
)
dict entry(
string "tracknumber"
variant int32 18088210
)
dict entry(
string "genre"
variant string ""
)
dict entry(
string "rating"
variant int32 32876760
)
dict entry(
string "year"
variant int32 277
)
]


The values seem to change everytime Guayadeque is started and not all values are returned everytime. This isn't such a big problem but for example in this case, my Conky Guayadeque script would show 32876760 stars for the rating before I start playback ;)

User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

MPRIS data upon starting Guayadeque

Post by anonbeat » Wed Jan 19, 2011 12:56 pm

This should be fixed in svn revision 1455

Thanks for your help

Lysias
Posts: 25
Joined: Tue Oct 05, 2010 3:10 am

MPRIS data upon starting Guayadeque

Post by Lysias » Wed Jan 19, 2011 3:55 pm

Confirm fixed. Thanks.

Post Reply