[Qt-qml] qmltube-1.03 patch providing port to Linux/MeeGo, additional special feeds from youtube & bugfixes

Niels Mayer nielsmayer at gmail.com
Thu Jul 7 05:52:53 CEST 2011


https://garage.maemo.org/tracker/index.php?func=detail&aid=6932
......................

I'm porting and extending qmltube to MeeGo (
http://wiki.meego.com/Tubelet-and-cutetube-port ) and wanted to
provide
a patch to the recent qmltube 1.0.3 release which accomplishes several things:

(1) Added #ifdefs for Q_WS_X11 (to distinguish Linux and MeeGo platforms).
--> QGLWidget() based implementation by default
--> --raster command-line option reverts to raster backend for platforms
    without OpenGL support (or w/ buggy drivers/etc).
--> use QDir::homePath() to get home directories for local storage.
--> added 'smplayer' as potential external player.

(2) Added new YouTube feeds based on ones I found useful in a QML
example I wrote:
https://ytd-meego.googlecode.com/svn/trunk/playground/ytapi-jsonviewer/
-- extended _CATEGORY_DICT[] to replace if/then/elses in code
-- _CATEGORY_DICT[] indexable by the name of the feed/category.
-- attempted to find a matching dailymotion feeds for the special ones,
   e.g."TopRated", "MostResponded", etc.

(3) Upload progress bar has bug. Outputs '<Unknown File>:0: Error:
Cannot assign to non-existent property
"sent"' error during upload. Fixed by adding missing "property alias sent"

(4) Add *.ogv to file chooser.

....

There's still some debug output that I haven't removed. Some of which
is related to a bug I'm looking into: During YouTube
video upload, videos sent as "private" are actually uploaded as public!

...................

Orig Source:
http://repository.maemo.org/extras-devel/pool/fremantle/free/source/q/qmltube/qmltube_1.0.3.tar.gz
Patch:
https://garage.maemo.org/tracker/download.php/2124/7200/6932/958/qmltube-1-0-3-meego-opengl-feedfeatures.patch

Niels
http://nielsmayer.com

PS: To try out this port of cutetube-qml on MeeGo or other Linux
platform with QtMobility 1.2 and QtSDK 1.1.X
" svn checkout http://ytd-meego.googlecode.com/svn/trunk/playground/qmltube "
" qtcreator qmltube/qmltube.pro " ...
For me, qmltube now runs on Fedora, MeeGo 1.2 Tablet (ExoPC) or MeeGo
1.2 Netbook (Lenovo s10-3t).


More information about the Qt-qml mailing list