maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client (https://talk.maemo.org/showthread.php?t=71826)

Reffyyyy 2011-05-30 23:01

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Sorry for the wait, I've been somewhat intoxicated all day (football, apparently. Reading took a beating).

In my .pro file, I have
Code:

QML_IMPORT_PATH = "/opt/qtm12/imports/"
Code:

maemo5 {
  CONFIG += mobility12
MOBILITY += multimedia
}

In my main.cpp, I have
Code:

#include <QtGui/QApplication>
#include <QDeclarativeEngine>
#include "qmlapplicationviewer.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QApplication::setGraphicsSystem("opengl");


    QmlApplicationViewer viewer;
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
        viewer.engine()->addImportPath(QString("/opt/qtm12/imports"));
    viewer.setMainQmlFile(QLatin1String("qml/Mobil/main.qml"));
    viewer.showFullScreen();

    return app.exec();
}

and in my main.qml, I have
Code:

import QtMultimediaKit 1.1
Only the relevant lines are listed above.

marxian 2011-05-30 23:04

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by Reffyyyy (Post 1018237)
I'll take a look when I get home tomorrow. Have you edited the pro file? Try the QML Import path and maybe the "Config" field too.

I have tried setting the QML import path to both /opt/qtm12/imports and /opt/qmt12/plugins. I did previously set the config to += mobility12 and mobility+= multimedia, but I removed these after reading (in the Wiki) that they are unnecessary when using the QML plugins.

s4br0s0 2011-05-31 13:55

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Stupid question.

If the version 0.8.2 in Extras-testing just need 1 vote and the Quarantine ended, still needs 1 vote to could be promote to Extras?.

Grettings.

marxian 2011-05-31 18:02

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by s4br0s0 (Post 1019406)
Stupid question.

If the version 0.8.2 in Extras-testing just need 1 vote and the Quarantine ended, still needs 1 vote to could be promote to Extras?.

Grettings.

I think the remaining vote needs to come from a community tester.

marxian 2011-05-31 18:14

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Version 0.9.0 should be in extras-devel soon. Changelog:

* Added internal media player that enables playback of playlists and multiple videos.
* Videos can be rated and added to favourites during playback (using internal media player).
* Fixed string encoding for YouTube and Facebook posts.
* Added playlist info dialog that enables playback/download of playlists.
* Added 'Play all' button in playlist video list.
* Added ability to select and play multiple videos.
* Changed behaviour of automatic loading of video items (items are now loaded once the last item of the list is reached).
* Minor UI tweaks.
* Removed animated download indicator (to save CPU cycles).

How do I control the player?

* Tap once to show controls, and again to hide them (controls will hide automatically after 3 seconds).

* When controls are visible, tap the title-bar to show the playlist and like/dislike/favourite buttons. You can scroll through the playlist and select a video at any time.

* Long-press to pause/resume playback.

* Swipe from left to right to go to the previous video, or from right to left to go to the next video.

I still cannot get the QtMobility imports working using the Wiki instructions, so I've decided to release this so others can test. It may be an issue with my device. No harm can be caused, and everything else will function correctly. If the player does not work when launching from the shortcut, please try

Code:

export QT_PLUGIN_PATH=/opt/qtm12/plugins
then

Code:

/opt/usr/bin/qmltube
This should definitely work, until I can figure out what is going on. :)

rajil.s 2011-05-31 18:27

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1018990)
My next projects are BeBeCe and a MythTV-related application.

P.S cuteTube has support for network proxies. ;)

MythTV application would be awesome. What do you have in mind?

marxian 2011-05-31 18:32

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by rajil.s (Post 1019615)
MythTV application would be awesome. What do you have in mind?

A control application similar to the Android XBMC application, that will also enable you to browse the EPG and schedule recordings. It will not be a frontend (I should put that in a big red font ;) ).

carlon 2011-05-31 18:47

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
boss app Marxian

vetsin 2011-05-31 18:55

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
thank you very much for developing this great app and for all the wonderful updates!

prankster 2011-06-01 06:29

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
marxian dude may i know how to use proxy settings to watch youtube videos here in china ?
what are settings ?
how to implement them ?
youtube is blocked here in china ,so ?

bitrocky 2011-06-01 11:23

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
just wanted to search for a youtube url in qmltube but it doesn't worked because the return keys isn't accepted!
can anyone search for yt urls?

marxian 2011-06-01 11:29

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by bitrocky (Post 1020083)
just wanted to search for a youtube url in qmltube but it doesn't worked because the return keys isn't accepted!
can anyone search for yt urls?

I'm not sure that I understand what you mean by 'return keys isn't accepted'. I can enter a YouTube video URL to go straight to the video info. Are you referring to the virtual keyboard? If so, I haven't yet found a way to respond to the press of the return key. If you use the virtual keyboard, you can search by pressing the search button after dismissing the keyboard.

generationally 2011-06-01 12:00

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1019607)

* Changed behaviour of automatic loading of video items (items are now loaded once the last item of the list is reached).

If the player does not work when launching from the shortcut, please try

Code:

export QT_PLUGIN_PATH=/opt/qtm12/plugins
then

Code:

/opt/usr/bin/qmltube
This should definitely work, until I can figure out what is going on. :)

Thanks again for yet another update!

The auto-loading of search results finally works for me now. Good job :)

However, I cannot get the internal player to work with your instructions. After setting the QT_PLUGIN_PATH variable and launching qmltube from the terminal, I get:

file:///opt/usr/share/qmltube/qml/qmltube/VideoPlaybackView.qml:2:1: module "QtMultimediaKit" is not installed
file:///opt/usr/share/qmltube/qml/qmltube/scripts/mainscripts.js:252: TypeError: Result of expression 'loader.item' [null] is not an object.


So I guess I'm missing QTMultimediaKit.

Edit: marxian, is it possibly related to the autobuilder as described here:
http://talk.maemo.org/showthread.php?t=67326

aanckar 2011-06-01 12:08

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by generationally (Post 1020113)
file:///opt/usr/share/qmltube/qml/qmltube/VideoPlaybackView.qml:2:1: module "QtMultimediaKit" is not installed
file:///opt/usr/share/qmltube/qml/qmltube/scripts/mainscripts.js:252: TypeError: Result of expression 'loader.item' [null] is not an object.

Same situation for me...

marxian 2011-06-01 12:13

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by generationally (Post 1020113)
Thanks again for yet another update!

The auto-loading of search results finally works for me now. Good job :)

However, I cannot get the internal player to work with your instructions. After setting the QT_PLUGIN_PATH variable and launching qmltube from the terminal, I get:

file:///opt/usr/share/qmltube/qml/qmltube/VideoPlaybackView.qml:2:1: module "QtMultimediaKit" is not installed
file:///opt/usr/share/qmltube/qml/qmltube/scripts/mainscripts.js:252: TypeError: Result of expression 'loader.item' [null] is not an object.


So I guess I'm missing QTMultimediaKit.

I must have set the dependencies incorrectly. I think the missing dependency is libqtm-12-declarative. So

Code:

apt-get install libqtm-12-declarative
should sort it. :)

generationally 2011-06-01 12:20

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1020118)
I must have set the dependencies incorrectly. I think the missing dependency is libqtm-12-declarative. So

Code:

apt-get install libqtm-12-declarative
should sort it. :)

Yep, that helped :)

bitrocky 2011-06-01 12:24

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1020090)
I'm not sure that I understand what you mean by 'return keys isn't accepted'. I can enter a YouTube video URL to go straight to the video info. Are you referring to the virtual keyboard? If so, I haven't yet found a way to respond to the press of the return key. If you use the virtual keyboard, you can search by pressing the search button after dismissing the keyboard.

No, I mean the hardware keyboard, I tried this url http://www.youtube.com/watch?v=veQSKmOeRZs, I pasted it into the search string, then wanted to press return, but the search didn't started, nor was the search window closed, I could still move the cursor within the search string.
That was with the 0.8.3 version, I will retry with the 0.9.0 which I'm just installing...
No, doesn't work either, only If I add a space somewhere before the "=", then qmltube closes the search window and show the results.

Berkt 2011-06-01 12:26

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
1 Attachment(s)
Is cuteTube Player work? My videos don't play...

PS: here update for Italian translation v0.9.0

marxian 2011-06-01 12:42

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by bitrocky (Post 1020128)
No, I mean the hardware keyboard, I tried this url http://www.youtube.com/watch?v=veQSKmOeRZs, I pasted it into the search string, then wanted to press return, but the search didn't started, nor was the search window closed, I could still move the cursor within the search string.
That was with the 0.8.3 version, I will retry with the 0.9.0 which I'm just installing...
No, doesn't work either, only If I add a space somewhere before the "=", then qmltube closes the search window and show the results.

There's an error parsing the XML for that video. The feature works for other videos that I've tested. I'll take a look at the XML feed and find out what's wrong.

EDIT: Fixed for the next update. :)

sbock 2011-06-01 12:58

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Nice job. CuteTube player works without problems for me. No additional terminal actions necessary...

lifenexus 2011-06-01 13:49

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
The new internal player just doesn't work for me. I click on the link and nothing happens. The widows remains blank. The top and bottom bars are the usual bars from the rest of the UI but the middle part is just blank

elie-7 2011-06-01 13:57

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
the video playback ui needs some work, a play and pause button would be nice, and a bigger back button, and please a loading bar would be nice, and a little bug, hitting the playback bar replay the video from the start ....

handaxe 2011-06-01 15:05

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1020118)
I must have set the dependencies incorrectly. I think the missing dependency is libqtm-12-declarative. So

Code:

apt-get install libqtm-12-declarative
should sort it. :)

That brought the player up; however:
Code:

~ $ /opt/usr/bin/qmltube
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
QObject::connect: Cannot queue arguments of type 'QNetworkConfigurationPrivatePointer'
(Make sure 'QNetworkConfigurationPrivatePointer' is registered using qRegisterMetaType().)
Error: "Internal data flow error."

thanks very much

raaj13 2011-06-01 15:14

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by JamesBond@ge (Post 1015792)
It will be the same. This is a natural characteristic of downloading from Youtube, whether its with Cutetube or Firefox on a Desktop PC.

I don't think so I can download at constant speed of around 400KBps via firefox with downloadthemall plugin. though simple downloading without plugin is around 120-230KBps.
Just for a thought how do I extract the download link of youtube video from cutetube. If its possible i can try downloading it with axel.

raaj13 2011-06-01 15:16

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
But anyways thanks for such an awesome software.
Just having the download speed problem otherwise everything working for me.

krisq 2011-06-01 17:17

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
And how's S^3 version feeling today? :D

marxian 2011-06-01 19:23

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by elie-7 (Post 1020209)
a play and pause button would be nice

Long-press to toggle play/pause. Simple and less clutter.

Quote:

Originally Posted by elie-7 (Post 1020209)
and a bigger back button

Sorry, your fingers are too fat for this phone. :p

Quote:

Originally Posted by elie-7 (Post 1020209)
and please a loading bar would be nice

Buffer progress is not available, so I can't implement this.

Quote:

Originally Posted by elie-7 (Post 1020209)
and a little bug, hitting the playback bar replay the video from the start

Are you using the mobile stream? This is not seekable. I have set the seekbar to ignore taps when viewing the mobile stream.

Otherwise, the video does not actually replay from the start, though the seekbar gives the impression that it will, as the position property returns to zero during buffering. I have now changed the behaviour of the seekbar.

marxian 2011-06-01 19:26

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Version 0.9.1 should be in extras-devel soon. Changelog:

* Fixed missing dependency for cuteTube player.
* Fixed error in searching for videos via YouTube video URL.
* Updated Italian translation (thanks to Berkt :D ).
* Fixed several bugs in cuteTube player.
* Videos can now be added to the download queue (in 'paused' status) during playback.

carlos2005 2011-06-01 20:55

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Sound in cuteTube player doesn't play when Silent profile is activated.

augustthe 2011-06-01 20:55

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
after updating to 0.9.1 the cuteplayer is still not working

fable86 2011-06-01 21:25

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Hi i have a problem on my N900 everythink works fine like cuteTube etc, but i cant download any wideo, i added to search saple wideo and i have an error wen i want to download it :( maby i must set the network proxy or something any ideas ( sorry my english) in 0.7 and lower it was warking but now it is not. i use CSSU latest version.

Reflektorfalke 2011-06-01 21:33

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1019607)
Version 0.9.0 should be in extras-devel soon. Changelog:

* Added internal media player that enables playback of playlists and multiple videos.

Oooh Yeesss, thats the killer feature I was waiting for:rolleyes:
Definitely takes this already awesome app to a new level, close to perfection :D, and works like a charm...:cool: Thanks so much marxian!

Not sure if possible, but can you add
- video preview size playback
(tapping video preview pic in detail view starts playback in preview size while an additional button below preview pic would start or change to full screen mode)
- possibility to search for other videos, read comments etc. while playing a video (while an additional button in top or bottom bar would link back to video currently playing, be it in full screen or preview mode)

Oh and a small bug, when searching takes a while (slow connection?) "no videos found" appears, but does not disappear when results finally show up. No biggy, but somehow not appropriate for this wonderful app :rolleyes:

handaxe 2011-06-01 21:42

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
After purging qmltube and the libqtm-12 installs, as well as removing libqtm-11 (just in case-installed by other progs), rebooting and reinstalling qmltube, I still get the error reported in http://talk.maemo.org/showpost.php?p=1020253&postcount=943
Mplayer & mediaplayer do just fine. Am on CSSU and power kernel47.

marxian 2011-06-02 00:22

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by handaxe (Post 1020481)
After purging qmltube and the libqtm-12 installs, as well as removing libqtm-11 (just in case-installed by other progs), rebooting and reinstalling qmltube, I still get the error reported in http://talk.maemo.org/showpost.php?p=1020253&postcount=943
Mplayer & mediaplayer do just fine. Am on CSSU and power kernel47.

I only have one device, and I'm using stock PR1.3, so I cannot test against the CSSU or power kernel (or any of those tweak/hack scripts). I have to make a decision about what is the most common use case when testing. I haven't experience that particular error, but without more data points, it's difficult to come to any conclusion about the cause.

marxian 2011-06-02 00:29

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by Reflektorfalke (Post 1020474)
Oooh Yeesss, thats the killer feature I was waiting for:rolleyes:
Definitely takes this already awesome app to a new level, close to perfection :D, and works like a charm...:cool: Thanks so much marxian!

Not sure if possible, but can you add
- video preview size playback
(tapping video preview pic in detail view starts playback in preview size while an additional button below preview pic would start or change to full screen mode)
- possibility to search for other videos, read comments etc. while playing a video (while an additional button in top or bottom bar would link back to video currently playing, be it in full screen or preview mode)

Oh and a small bug, when searching takes a while (slow connection?) "no videos found" appears, but does not disappear when results finally show up. No biggy, but somehow not appropriate for this wonderful app :rolleyes:

Preview playback is possible. I tested it a while ago, but decided to leave it out for now. I'm not sure about reading comments etc, as these would need to be loaded during playback if you are not launching from the video info window, which could interrupt playback on slower connections.

marxian 2011-06-02 00:33

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Here's an early preview of the audio playback view that I'm working on. It will be used when playing archive audio files, and if playing a mixture of video and audio files, the player will switch between video and audio mode automatically. I already have it working, but as you can see, it needs a bit of jazzing up.

http://img851.imageshack.us/img851/9...1060201112.png

Reflektorfalke 2011-06-02 00:49

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by marxian (Post 1020538)
I only have one device, and I'm using stock PR1.3, so I cannot test against the CSSU or power kernel (or any of those tweak/hack scripts).

I can confirm everything works perfect with latest CSSU AND power kernel v47.
pri
Quote:

Originally Posted by marxian (Post 1020540)
Preview playback is possible. I tested it a while ago, but decided to leave it out for now. I'm not sure about reading comments etc, as these would need to be loaded during playback if you are not launching from the video info window, which could interrupt playback on slower connections.

Fair enough, but why not give the user the option to try if connection is fast enough / decide if he wants to accept an interruption?
Wouldn´t threading help in this case? Thinking of, opening two/more connections, playback always with higher priority?...
(just from a non-dev perspective :rolleyes:)
Besides that, I think most users are on UMTS/WLAN and both should have enough bandwidth for a youtube video downstream + loading comments, another youtube search or loading comments...Or am I wrong?

jpala16 2011-06-02 07:52

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
I see there's no spanish translation. I would like to help you supporting it, if my help is accepted. I want to contribute in that way to the community as it's one of the few things I can offer. Contact me if I can help you. Thanks for the app. It keeps getting cooler and cooler!

elie-7 2011-06-02 12:53

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
its not playing video after the last update, it just stays in the loading page ... :S
it looks like i have to do the expot command and run it from x-term to make it work .... or am i the only one with this bug ?

Berkt 2011-06-02 12:58

Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
 
Quote:

Originally Posted by elie-7 (Post 1020917)
its not playing video after the last update, it just stays in the loading page ... :S
it looks like i have to do the expot command and run it from x-term to make it work .... or am i the only one with this bug ?

me too.. it say "loading..." but nothing is load..


All times are GMT. The time now is 06:39.

vBulletin® Version 3.8.8