This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Could somebody help me to test my app?

Tags: None
(comma "," separated)
frank1980
Registered Member
Posts
38
Karma
0
lrcShow-X, is ported from Amarok-1.4.x script lrcShow-II. It's independent of Amarok2's script system. Just run ./lrcShow-X --amarok. At present it support amarok2 and audacious, indeed it could support any player which has dbus interface.

It performs well with amarok2 and audacious here, except you stop the amarok2, I think it's amarok2's bug, not confirmed. But somebody do has a problem when run the app, if you run the app and it shows:
./lrcShow-X.py --amarok

QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPainter::setClipRegion: Painter not active
QPainter::begin: Cannot paint on a null pixmap
QPainter::save: Painter not active
....
....

please pkill python rapidly. I do not know why

dependence:
dbus-python
pyqt4

svn co http://www.sanfanling.cn/svn/lrcShow-X/ ... lrcShow-X/

Thanks.
User avatar
Ramblurr
Registered Member
Posts
28
Karma
0
OS
Perhaps you could enlighten us as to what exactly the issue is?  I'm all for fixing bugs in Amarok, but I'd rather not go hunting through your codebase.

Your script shows lyrics, right? So all you need to grab from amarok is the current playing track?

Use dbus: /Player org.freedesktop.MediaPlayer.GetMetadata()

Last edited by Ramblurr on Wed Feb 18, 2009 9:07 am, edited 1 time in total.


Amarok Developer
frank1980
Registered Member
Posts
38
Karma
0
just for testing and help me to find bugs. someone use this app, occurs a fatal error, but it never happens here, i want to confirm. that's all.

i never imagine an amarok developer to help me to find bug

Last edited by frank1980 on Wed Feb 18, 2009 12:31 pm, edited 1 time in total.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]