Hi Vláďa,

2011/2/9 Vláďa <vlad...@atlas.cz>:
> My application is a music player. It uses MPlayer as playback backend and
> has a QML UI. Python is responsible for managing library, controlling
> MPlayer and the communication between backend and frontend.

Depending on your needs, the Qt Mobility 1.1+ "Audio" and "Video"
elements might be something to look at. It's pretty easy to get
working, and you don't have to deal with parsing MPlayer output. Of
course, depending on your needs, MPlayer might be more suitable.

Check out the documentation:

http://doc.qt.nokia.com/qtmobility-1.2/qml-multimedia.html

Up to date packages of Qt Mobility can be found in the Forum Nokia PPA
if you are using Ubuntu:

https://launchpad.net/~forumnokia/+archive/fn-ppa

On Maemo 5, the Mobility QML package can be found in Extras-Devel:

http://maemo.org/packages/view/libqtm-12-declarative/

In order to use the new libraries in QML on Maemo 5, you need to add a
folder in /opt to your QML import path. That's described on that wiki
page in the section "Using the libraries from QML":

http://wiki.forum.nokia.com/index.php/Latest_Qt_and_Qt_mobility_evaluation_on_Maemo

If you want to go that route, and have problems, let me know, and I'll
try to help out (I'm using both Audio and Video in a PySide project of
mine, and it works very good - the Video element is just like any
other QML component).

HTH.
Thomas
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to