emesene / emesene-supported-plugins

set of plugins supported by the emesene team
http://www.emesene.org
15 stars 11 forks source link

Music Plugin sometimes stucks or doesn't work when I pause #46

Closed dogmaxpeppe closed 12 years ago

dogmaxpeppe commented 12 years ago

As I reported days ago, I'm having a lot of issues with Music Plugin: one of these occurs sometimes when I pause or stop my player. When I unpause, sometimes shows again the song, sometimes don't, and in rare cases, when I pause that song remains into status message. I have to close and restart emesene. I'm trying to figure out what's wrong with terminal, I'll send you more information when it will be possible. :)

pepeleproso commented 12 years ago

please retry with lastest git.

dogmaxpeppe commented 12 years ago

When it works, it works well: faster than before, and I didn't notice problems... but there's something wrong when I start emesene... infact, to make plugin work, I have to "rewrite main layout" (I use italian emesene, I don't know original name of that feature) everytime I run emesene, otherwise music plugin didn't work!

dogmaxpeppe commented 12 years ago

Maybe I've found out the problem. If I open emesene and Clementine was opened yet, I have to rewrite main layout, but if I run first emesene, and after Clementine, everything works well.

pepeleproso commented 12 years ago

Problem is not fixed yet. but now you don't need to redraw main screen. pause/start Clementine and it should work.

Problem is when emesene start, plugin set media before pm arrives. when pm arrives clears media. I didn't know how to fix that.

Sbte commented 12 years ago

How about checking for self.session.contacts.me.media when setting the personal message? And if it exists don't store the personal message in content roaming?

See papylib worker around line 1182

pepeleproso commented 12 years ago

Commit https://github.com/emesene/emesene/commit/3c3b4ed950b7ac27d68057be4003f0107ea07967 fixed this.