Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Building media database

$
0
0
Hello, I’d like to ask the more experienced developers for an advice regarding my player. I’ve written a music player in PySide (Python 3.3 + QML 1.0) that I use on my tablet with Windows 7 in car. It works quite well according to my needs nut I’d like to develop it further. But I need to make a decision in which direction should I go. I’d like to switch to Qt5/QML 2 and also port my player to Android. To do this, I need to leave Python. I decided to use Python because I know it and I’m totally unexperienced in C/C++. I think I could move most of the code to JS functions inside the QML. But the main part the player uses is the media database. I use a Python code, which seeks local filesystem, reads file information using MediaInfo library and stores the information in SQLite database. AFAIK I can not access the local filesystem fro QML/JS, is this right? What would be the easiest way to get a list of all directories, subdirectories and files to the QML part of my application? Would it be a good idea to use the Audio element to read information about the media files or would it be too slow and I should rather stay with MediaInfo for this and rewrite the Python part to C/C++? I will be grateful for any advice which will help me to choose the right direction.

Viewing all articles
Browse latest Browse all 4972

Trending Articles