MPRIS data upon starting Guayadeque

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

MPRIS data upon starting Guayadeque

Post by Lysias »

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: 2048
Joined: Thu Sep 16, 2010 9:47 pm

MPRIS data upon starting Guayadeque

Post by anonbeat »

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 »

Confirm fixed. Thanks.
Locked