maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] cuteTube - A feature-rich YouTube client (https://talk.maemo.org/showthread.php?t=65854)

slender 2010-12-22 12:31

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Would setting nice value to download thread as low priority as possible help things up? Or is it just because of IO activity that slows thing down.

Would it help if thumbnail fetching was done only when you view list and text parsing as it is now but maybe with lower priority value?

This pretty much explains what I´m trying to explain :):
http://labs.qt.nokia.com/2010/01/21/...nt-in-threads/

.edit
Feature reaquest:
Tap thumbnail -> Video starts to play immediately
Tap text -> current behavior

datjomp 2010-12-22 12:59

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

Originally Posted by slender (Post 901959)
I´m starting to think that more button is better for overall user experience. Auto-loading hits really badly on responsiveness, even-thought it might be bit faster but it gives some headaches to end users while it stutters. More button gives more time to app and user also gives more time to app because he/she just pressed button so it´s IMO generally expected that app is going to load now something.

Agreed,I liked the more button better aswell.

Keep up the good work with this nice app :)

elie-7 2010-12-22 14:18

Re: [Announce] cuteTube - A feature-rich YouTube client
 
its working great, but the player is still a bit of a pain .

marxian 2010-12-22 15:35

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

Originally Posted by slender (Post 901999)
Would setting nice value to download thread as low priority as possible help things up? Or is it just because of IO activity that slows thing down.

Would it help if thumbnail fetching was done only when you view list and text parsing as it is now but maybe with lower priority value?

This pretty much explains what I´m trying to explain :):
http://labs.qt.nokia.com/2010/01/21/...nt-in-threads/

.edit
Feature reaquest:
Tap thumbnail -> Video starts to play immediately
Tap text -> current behavior

I have uploaded a new build to extras-devel. The new release has the download threads set to low priority. I don't experience any noticeable difference in performance when downloading. Everything is smooth, except for a few seconds when the tracker process is running once a download is completed. It's an issue that some other devs have complained about. Nokia decided that their processes are more important than third-party applications when allocating CPU cycles.

I have also re-introduced the 'more results' button.

martycollinsesq 2010-12-22 17:24

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Congratulations! I really like this. No problems thus far. I have ditched all my other n900 you tube workarounds.

extendedping 2010-12-22 17:55

Re: [Announce] cuteTube - A feature-rich YouTube client
 
thanks I see you found the download bug hiding somewhere and also I now only see login when I am logged in.

you are probably tired of being thanked by now but...thanks anyway :)

slender 2010-12-22 18:14

Re: [Announce] cuteTube - A feature-rich YouTube client
 
UI change Request:
Add logged user name to main view up or lower corner and status besides it. No general popup message.

woussie 2010-12-22 19:29

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Thank you for making our n900 a little better ;) I donated a small amount of money.

And like many i'd like to add a possible feature request :o
Maemo 5 has the feature that it can load a screenshot (PVR file) of an app before the app actually starts, just to make it look like it started faster. MohammedAG even made an application to make such PVR files; source + explanation is in this thread (that's where i got the idea from anyway)

It takes a few seconds for Cutetube to start up: no big deal at all, but with a PVR file it looks like it starts up faster. Off course it's just an image, so the actual starting up time remains the same. And it's just an image so when the program is starting it's "unresponsive". So i'm not sure that you even want to implement this feature; heck, i don't even care, i already have the feature on my device, with MohammedAG's tool :D But maybe it would be nice to have it as default? Just to let you know. Anyway, it's totally up to you, it's your program.

I've made a quick comparision video by the way: http://www.youtube.com/watch?v=dtzaFzrJGpI (first time without PVR, second time with PVR)

rajil.s 2010-12-22 20:01

Re: [Announce] cuteTube - A feature-rich YouTube client
 
@marxian,

I know you are aware of the 'sound doesnt work in silent mode' bug. Do you you think you can take the cue from Mediabox to sort that out?

sparkorn 2010-12-22 20:49

Re: [Announce] cuteTube - A feature-rich YouTube client
 
please can someone help.
i have the latest version of cutetube but every video i try and download fails and when i press the option to play nothing happens but a black screen .

marxian 2010-12-22 20:56

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

Originally Posted by rajil.s (Post 902290)
@marxian,

I know you are aware of the 'sound doesnt work in silent mode' bug. Do you you think you can take the cue from Mediabox to sort that out?

It's a Maemo 5 bug. There is a whitelist of applications that can play audio in silent mode. Any application not on that list will suffer this problem. They claimed to have fixed it for PR 1.3, but obviously they haven't.

There is a workaround whereby you set the application name to 'FMRadio' (which is on the whitelist), but this might mess with some other things in my application, so I need to check it out.

elie-7 2010-12-22 21:00

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

Originally Posted by sparkorn (Post 902318)
please can someone help.
i have the latest version of cutetube but every video i try and download fails and when i press the option to play nothing happens but a black screen .

yeah that use to happen in the old version (0.9-7 i think ), but marixan fixed it all, so are you sure you are running the latest version ?

vivainio 2010-12-22 21:33

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

Originally Posted by marxian (Post 902105)
The new release has the download threads set to low priority.

You are doing the download in threads? Maybe that is causing the unresponsiveness then, threads are somewhat problematic in Python, especially when used to gain responsiveness.

(One could argue that threads are always a suboptimal solution if single threaded solutions are available)

In a Qt application, you should use QNetworkAccessManager to do the downloads in asynchronous fashion. You can track progress with that as well:

http://doc.qt.nokia.com/4.7-snapshot...wnloadProgress

marxian 2010-12-22 21:46

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

Originally Posted by vivainio (Post 902357)
You are doing the download in threads? Maybe that is causing the unresponsiveness then, threads are somewhat problematic in Python, especially when used to gain responsiveness.

(One could argue that threads are always a suboptimal solution if single threaded solutions are available)

In a Qt application, you should use QNetworkAccessManager to do the downloads in asynchronous fashion. You can track progress with that as well:

http://doc.qt.nokia.com/4.7-snapshot...wnloadProgress

I don't experience any unresponsiveness when downloading. It may take slightly longer to fetch the feed if you have a slow internet connection, but other than that, I don't see any problem.

The only unresponsiveness I get is when the list of items gets quite large. The scrolling becomes a little 'sticky', and it takes a split second longer to respond to screen taps on the list items. I don't know if there's a solution to this. I'm considering reworking the UI using QML in future, so I'll look at this in more detail at that point.

marxian 2010-12-22 21:49

Re: [Announce] cuteTube - A feature-rich YouTube client
 
cuteTube 0.9.9-12 is now being uploaded to extras-devel. Audio now works when the device is using the 'silent' profile. :)

vivainio 2010-12-22 21:52

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

Originally Posted by marxian (Post 902374)
The only unresponsiveness I get is when the list of items gets quite large. The scrolling becomes a little 'sticky', and it takes a split second longer to respond to screen taps on the list items. I don't know if there's a solution to this. I'm considering reworking the UI using QML in future, so I'll look at this in more detail at that point.

That's weird, I experience huge slowdowns when I have downloads queued. Also, what you describe as split second delays can be up to one second for me. Occasionally, the entire applications completely hangs for several seconds.

QML version of the UI would be nice & responsive, however, that will benefit from using QNetworkAccessManager for downloading as well.

natedog400 2010-12-22 22:26

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Can anyone confirm that cutetube works on 3G as mine isn't?

natedog400 2010-12-22 22:30

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

Originally Posted by marxian (Post 902378)
cuteTube 0.9.9-12 is now being uploaded to extras-devel. Audio now works when the device is using the 'silent' profile. :)

Wicked! Plus sign is back, much better than autoloading :)
Can i request you bring something else back too... The old way of rating a video imo was much better, i also liked the fact that you could see how the video was rated in the thumbnail before actually clicking the video. Kinda gives you a clue as to wether or not its worth watching? Thanks

natedog400 2010-12-22 22:37

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

Originally Posted by sparkorn (Post 902318)
please can someone help.
i have the latest version of cutetube but every video i try and download fails and when i press the option to play nothing happens but a black screen .

Flick between 3g and wifi and try it because mine won't play either but only on 3g. Hope it gets sorted as i can only use this app when i'm at home :(

marxian 2010-12-22 22:43

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

Originally Posted by natedog400 (Post 902407)
Wicked! Plus sign is back, much better than autoloading :)
Can i request you bring something else back too... The old way of rating a video imo was much better, i also liked the fact that you could see how the video was rated in the thumbnail before actually clicking the video. Kinda gives you a clue as to wether or not its worth watching? Thanks

The star-based rating is deprecated, following the introduction of the like/dislike system used by the website. This means that they will eventually get rid of the star ratings completely, so it's better to stick to what I'm using now, otherwise I'll have to change it back again.

sony123 2010-12-22 22:54

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

Originally Posted by marxian (Post 902374)
I don't experience any unresponsiveness when downloading. It may take slightly longer to fetch the feed if you have a slow internet connection, but other than that, I don't see any problem.

The only unresponsiveness I get is when the list of items gets quite large. The scrolling becomes a little 'sticky', and it takes a split second longer to respond to screen taps on the list items. I don't know if there's a solution to this. I'm considering reworking the UI using QML in future, so I'll look at this in more detail at that point.

Hi marxian, thanks for the app. I have experienced this "stickiness" issue even when I have only one video in the download queue. My device is running at 500-750MHz so the slowdown in UI should not be this noticeable. I am guessing you didn't turn "download immediately" on, is that correct? I have the option ticked and this might be why.

natedog400 2010-12-22 23:25

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

Originally Posted by marxian (Post 902413)
The star-based rating is deprecated, following the introduction of the like/dislike system used by the website. This means that they will eventually get rid of the star ratings completely, so it's better to stick to what I'm using now, otherwise I'll have to change it back again.

Fair doo's, how about a number of like's n dislike's in the thumbnails? Is that possible?

gabby131 2010-12-22 23:44

Re: [Announce] cuteTube - A feature-rich YouTube client
 
i am so always wondering why this thread is so active. so i reserved a moment to download it and found out why.

this youtube client is so awesome, and it can handle multiple accounts!!!

Geezus!!!

psychologe 2010-12-23 05:22

Re: [Announce] cuteTube - A feature-rich YouTube client
 
can you add proxy feature to cutetube,i want recommend it to my chinese friend,in china they can't direct access youtube.thank you very much

NokiaRocks 2010-12-23 05:24

Re: [Announce] cuteTube - A feature-rich YouTube client
 
I've been trying many Yt clients, but this one is the best by far.
Keep up the good work.

Laughing Man 2010-12-23 06:29

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Hmm, don't know what I'm doing wrong. Have the latest cutetube and kmplayer from extras-devel but no videos play when I hit play. Even after giving it a minute to buffer.

colm.smyth 2010-12-23 08:57

Re: [Announce] cuteTube - A feature-rich YouTube client
 
I have had this installed previously, then removed it when a new version came out just so i could start fresh.

Now I get the attached errors when trying to install http://twitpic.com/3gdbes

Anyone know what i need to install first ?

Bigmac_hk 2010-12-23 17:43

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Just a question about cutetube and facebook. Is it possible for cutetube to post a video to facebook that can be watched on facebook as at the moment it just posts a video link to youtube. This makes people having to load up the youtube website on their computer/phone.

Pinatz 2010-12-23 21:18

Re: [Announce] cuteTube - A feature-rich YouTube client
 
heyhey,
i have a problem to start cutetube. i reinstalled it 2 times but it did not help. There seems to be a problem with qt but there is no apt-get install qtwebkit :(

here is the log from terminal :

Quote:

Nokia-N900:~# python /opt/cutetube/cutetube.py
Traceback (most recent call last):
File "/opt/cutetube/cutetube.py", line 4, in <module>
import homewindow
File "/opt/cutetube/homewindow.py", line 11, in <module>
import myaccountwindow
File "/opt/cutetube/myaccountwindow.py", line 13, in <module>
import cutetubewindows
File "/opt/cutetube/cutetubewindows.py", line 11, in <module>
from videoinfowindow import VideoInfoWindow
File "/opt/cutetube/videoinfowindow.py", line 15, in <module>
import cutetubedialogs
File "/opt/cutetube/cutetubedialogs.py", line 9, in <module>
from PyQt4.QtWebKit import QWebView
ImportError: No module named QtWebKit

slender 2010-12-23 21:20

Re: [Announce] cuteTube - A feature-rich YouTube client
 
@bigmack_hk
http://talk.maemo.org/showthread.php...233#post898233

marxian 2010-12-23 21:58

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

Originally Posted by Pinatz (Post 903081)
heyhey,
i have a problem to start cutetube. i reinstalled it 2 times but it did not help. There seems to be a problem with qt but there is no apt-get install qtwebkit :(

here is the log from terminal :

python2.5-qt4-webkit is what you need, though I don't understand why it wasn't installed automatically. It's listed in the dependencies.

MohammadAG 2010-12-23 22:15

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

Originally Posted by woussie (Post 902272)
Thank you for making our n900 a little better ;) I donated a small amount of money.

And like many i'd like to add a possible feature request :o
Maemo 5 has the feature that it can load a screenshot (PVR file) of an app before the app actually starts, just to make it look like it started faster. MohammedAG even made an application to make such PVR files; source + explanation is in this thread (that's where i got the idea from anyway)

It takes a few seconds for Cutetube to start up: no big deal at all, but with a PVR file it looks like it starts up faster. Off course it's just an image, so the actual starting up time remains the same. And it's just an image so when the program is starting it's "unresponsive". So i'm not sure that you even want to implement this feature; heck, i don't even care, i already have the feature on my device, with MohammedAG's tool :D But maybe it would be nice to have it as default? Just to let you know. Anyway, it's totally up to you, it's your program.

I've made a quick comparision video by the way: http://www.youtube.com/watch?v=dtzaFzrJGpI (first time without PVR, second time with PVR)

Or even better, a cuteTube is now loading image, as I did in PSFreedom :)

marxian 2010-12-23 22:52

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

Originally Posted by MohammadAG (Post 903113)
Or even better, a cuteTube is now loading image, as I did in PSFreedom :)

That would seem to be a better option, as it doesn't give users the impression that they can interact with the application. Is it possible to have an animated image?

Pinatz 2010-12-24 00:18

Re: [Announce] cuteTube - A feature-rich YouTube client
 
thanks for your help but

Quote:

Nokia-N900:~# apt-get install python2.5-qt4-webkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.5-qt4-webkit is already the newest version.
python2.5-qt4-webkit set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
and uninstalling it would remove cutetube. so the dependency is right. =/

Laughing Man 2010-12-24 00:36

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Hmm tried an uninstall and reinstall and it still doesn't work. Is there a way to launch it from the terminal to see why videos aren't playing?

Or do they have to be downloaded before they can play (e.g. hit the download button first).

Pinatz 2010-12-24 01:07

Re: [Announce] cuteTube - A feature-rich YouTube client
 
ok i fixed thee problem. while installing with faster appication installer the modules havent been set up. To do this manually I just reinstalled the packets. as there was another package missing i had to write those 2 commands here :

apt-get install --reinstall python2.5-qt4-webkit
apt-get install --reinstall python2.5-qt4-network

and then just

python /opt/cutetube/cutetube.py

to see if there are more errors. but there werent :) it starts now and i can see vids!

natedog400 2010-12-24 11:16

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

Originally Posted by Pinatz (Post 903207)
ok i fixed thee problem. while installing with faster appication installer the modules havent been set up. To do this manually I just reinstalled the packets. as there was another package missing i had to write those 2 commands here :

apt-get install --reinstall python2.5-qt4-webkit
apt-get install --reinstall python2.5-qt4-network

and then just

python /opt/cutetube/cutetube.py

to see if there are more errors. but there werent :) it starts now and i can see vids!

I kno you've fixed the problem now but would it have worked if you used the nokia app manager? I've had a few problems with faster app manger in the past so i just don't use it anymore

Pinatz 2010-12-24 11:51

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Until now everything I installed with the faster app manager worked flawlessly.
I tried to uninstall and install it with the standard app manager but it did not work. But this does not wonder me as the dependency was installed and the manager only checks if it is there.

Even the power kernel installed without problems :>

amaj1407 2010-12-24 17:20

Re: [Announce] cuteTube - A feature-rich YouTube client
 
is there a way to use kmplayer as the default player for cutetube becasue I do not see that in the settings and sometimes the vids do not play in cutetube player. May be this has something to do with gstreamer because if I start cutetube from x term I get:
Quote:

Warning: You do not seem to have the package gstreamer0.10-plugins-good installed.
Some video features have been disabled.
althoug it's installed.

and again thank you marxian for this great app.

natedog400 2010-12-24 22:57

Re: [Announce] cuteTube - A feature-rich YouTube client
 
0.9.9-13 available in devel now? Anyone know the changes?


All times are GMT. The time now is 09:08.

vBulletin® Version 3.8.8