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)

khuong 2011-04-21 14:56

Re: [Announce] cuteTube - A feature-rich YouTube client
 
3 Attachment(s)
Here's the modified version of cutetube. Just extract and copy all the files to replace those currently on your /opt/cutetube folder, plus copy some additional ui icon to /opt/cutetube/ui-images as well.

Playing video by pressing the video thumbnail itself or long press the item and choose play are added, no need to go through Video info window in order to play.

Shinigamijim 2011-04-21 17:52

Re: [Announce] cuteTube - A feature-rich YouTube client
 
cool.... !!!
i have do re-download cutetube again after see this changes. =)

can you help to get some different layouts in Qml version ?

khuong 2011-04-21 18:50

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

Originally Posted by Shinigamijim (Post 993351)
cool.... !!!
i have do re-download cutetube again after see this changes. =)

can you help to get some different layouts in Qml version ?

Marxian is still working on the qml version and continously releasing his upaded features, so I rather not touch it until it's considered a stable and fully implemented features version.

datjomp 2011-04-21 19:59

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

Originally Posted by khuong (Post 993239)
Here's the modified version of cutetube. Just extract and copy all the files to replace those currently on your /opt/cutetube folder, plus copy some additional ui icon to /opt/cutetube/ui-images as well.

Playing video by pressing the video thumbnail itself or long press the item and choose play are added, no need to go through Video info window in order to play.

Looks nice.
Is there anything else besides replacing the files I have to do? CT doesn't start after replacing the files.
Thanks

khuong 2011-04-21 20:47

Re: [Announce] cuteTube - A feature-rich YouTube client
 
You don't have to do anything beside replaceing those files. remember to check to make sure cutetube.py is executable.
if not, just type in 'chmod -x /opt/cutetube/cuteube.py' command as root in the xterm to make it executable.

datjomp 2011-04-21 21:54

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

Originally Posted by khuong (Post 993415)
You don't have to do anything beside replaceing those files. remember to check to make sure cutetube.py is executable.
if not, just type in 'chmod -x /opt/cutetube/cuteube.py' command as root in the xterm to make it executable.

Hm, chmod'ing cutetube.py with 'root' or 'sudo gainroot' didn't make it start. Just an iconfreeze in the list of apps.
Anything else I can try?
Thanks

marxian 2011-04-21 22:20

Re: [Announce] cuteTube - A feature-rich YouTube client
 
If you like, I can add these changes and push a new release to the repos. This would make things easier for anyone wanting to access them. :)

EDIT: OK, it's done. 0.9.11 will be in extras-devel soon. :)

rajil.s 2011-04-22 00:07

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Latest update seems to be broken?

Quote:

user@MaemoBox:~$ run-standalone.sh /opt/cutetube/cutetube.py
: No such file or directory

ForeverYoung 2011-04-22 04:10

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

Originally Posted by rajil.s (Post 993461)
Latest update seems to be broken?

Under root, edit /opt/cutetube/cutetube.py using mcedit, delete "^M" from first line.

ForeverYoung 2011-04-22 04:13

Re: [Announce] cuteTube - A feature-rich YouTube client
 
BTW, non-english playlists, created in web interface, in cutetube display incorrectly

khuong 2011-04-22 04:58

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

Originally Posted by ForeverYoung (Post 993517)
BTW, non-english playlists, created in web interface, in cutetube display incorrectly

update the method below in cutetubewindows.py to correct it (updating blue line). It wasn't unicoded before, that's why it won't correctly display non-english chars.

Code:

    def loadPlaylists(self, playlists):
        for playlist in playlists:
          item = QListWidgetItem("%s" % unicode(playlist.title.text, "utf-8"))
            item.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)
            self.listWidget.addItem(item)
        self.toggleBusy()


N900@900MHz 2011-04-22 07:52

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Just upgraded to cutetube_0.9.11-1_all.deb but it is not working anymore, Programs starts, but closes after a few sec.

Any idead how to fix this? Thanks in advance

lidow 2011-04-22 08:55

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Thanks Khuong, nice work.

I don't like only the colorful buttons that substitute the elegant wire-only buttons of the marxian's theme.

Is there an easy way to have them back, together with your changes of coarse?

patlak 2011-04-22 09:26

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

Originally Posted by N900@900MHz (Post 993567)
Just upgraded to cutetube_0.9.11-1_all.deb but it is not working anymore, Programs starts, but closes after a few sec.

Any idead how to fix this? Thanks in advance

Same here. :( I think this might be a plan to switch everyone to qmltube, eventhough I like the regular one more :(

N900@900MHz 2011-04-22 09:37

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

Originally Posted by patlak (Post 993597)
Same here. :( I think this might be a plan to switch everyone to qmltube, eventhough I like the regular one more :(

installed old version again, works again. Also i installed cutetube qml, But i like the regular more, is moere "maemo style" It has also it's own player, The regular player feels quicker than the qml version.

rajil.s 2011-04-22 09:48

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

Originally Posted by patlak (Post 993597)
Same here. :( I think this might be a plan to switch everyone to qmltube, eventhough I like the regular one more :(

Fix here http://talk.maemo.org/showpost.php?p...&postcount=929

N900@900MHz 2011-04-22 10:26

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

Originally Posted by rajil.s (Post 993606)

ForeverYoung Today , 12:10 AM
Posts: 40 | Thanked: 9 times | Joined on Sep 2010 @ Russia #929

Originally Posted by rajil.s
Latest update seems to be broken?
Under root, edit /opt/cutetube/cutetube.py using mcedit, delete "^M" from first line.

This is not woking for me, i use file box to access cutetube.py, but the first line starts with #!/usr/bin/env python
So there is no M

Prozac786 2011-04-22 10:27

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Just use cutetubeQML instead, its far better and way more stable

lidow 2011-04-22 12:12

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Little help for those of you who apply the mod of Khuong. When I did it I had lots of files in DOS format (caused most probably that I extract the zip on Windows before transfer it to the phone)

I fix the issue with this command

perl -i"" -pe 's/\r\n/\n/' /opt/cutetube/*.py

This will remove all ^M at end of lines.

Acidspunk 2011-04-22 12:37

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

Originally Posted by Prozac786 (Post 993618)
Just use cutetubeQML instead, its far better and way more stable

as good as it is, cutetubeQML is still missing a few key features from the regular version, like selecting and playing multiple files from a queue. it also does not show all of my subscriptions for some reason, unlike the regular version. and you canīt unsubscribe to channels.

khuong 2011-04-22 13:17

Re: [Announce] cuteTube - A feature-rich YouTube client
 
2 Attachment(s)
Quote:

Originally Posted by lidow (Post 993587)
Thanks Khuong, nice work.

I don't like only the colorful buttons that substitute the elegant wire-only buttons of the marxian's theme.

Is there an easy way to have them back, together with your changes of coarse?

Those buttons colors are just css styled background colors, it can be easily changed through edit homewindow.py and myaccountwindow.py, Or you can just extract the zip file below and copy those updated 4 files to your /opt/cutetube folder.
* (You will also get extra option in menu window for Most shared and Trending Videos with those files as well.)

veryloveyou 2011-04-22 16:57

Re: [Announce] cuteTube - A feature-rich YouTube client
 
This is not woking for me, i use file box to access cutetube.py, but the first line starts with #!/usr/bin/env python
So there is no M +1

MiK546 2011-04-22 17:36

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Just replace the "Exec=/opt/cutetube.py" line in /user/share/applications/hildon/cutetube.desktop with "Exec=python "/opt/cutetube.py"" and it should work.

veryloveyou 2011-04-22 19:13

Re: [Announce] cuteTube - A feature-rich YouTube client
 
replace the "Exec=/opt/cutetube.py" line in /user/share/applications/hildon/cutetube.desktop with "Exec=python "/opt/cutetube.py"" and it should work.

I have a problem.

When I select buttons of week, month or all. It is so lag....

What happen is it?

alextootchie 2011-04-22 19:24

Re: [Announce] cuteTube - A feature-rich YouTube client
 
The new version 0.9.11-1 doesn't start!

Bramji 2011-04-22 19:26

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

Originally Posted by alextootchie (Post 993849)
The new version 0.9.11-1 doesn't start!

same over here!

shazosbourne 2011-04-22 21:07

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Updated version crashes from shortcut. It launches from xterm and I had to add my account details again. Here is xterm output.
Code:

Nokia-N900:~# python /opt/cutetube/cutetube.py
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 42 (X_SetInputFocus)
  Resource id:  0x4e0000c
QLayout: Attempting to add QLayout "" to QWidget "centralWidget", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "centralWidget", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "centralWidget", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "centralWidget", which already has a layout


casketizer 2011-04-23 03:35

Re: [Announce] cuteTube - A feature-rich YouTube client
 
+1
crashes from shortcut for me too

satnav37 2011-04-23 08:56

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Crashes here too :(

Dante son of Sparda 2011-04-23 09:59

Re: [Announce] cuteTube - A feature-rich YouTube client
 
And here too.

dangthuyduong 2011-04-23 10:23

Re: [Announce] cuteTube - A feature-rich YouTube client
 
my cutetube couldn't start too. But I later downloaded cutetube QML and it works so great. It's all apps of Stuart Howarth. But the QML is really very nice and works much better. So I uninstalled cutetube and am now very eunjoyful with youtube.

AgentZ 2011-04-23 15:01

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Ok, installed cutetube QML, was able to sign into my acount but cannot see any videos at all;most recent,top rated, my subsrciption it will show loading but returns a "no video found". Even trying to use the search function returns same thing. What am i doing wrong?
TIA:

Dante son of Sparda 2011-04-23 15:10

Re: [Announce] cuteTube - A feature-rich YouTube client
 
Playlists and subscriptions are ok but I can't see my favorites again. :((

khuong 2011-04-27 04:24

Re: [Announce] cuteTube - A feature-rich YouTube client
 
3 Attachment(s)
Here's the new update which should make this python cutetube is even more closer to a perfect Youtube player for N900. Changes are listed below:

- Built-in Video player is now always launched in Landscape Mode and stay in Lanscape Mode. (no more funny portrait video window when rotating the phone)

- Auto-launch VideoInfo Window after done playing individual video. (Not if playing a list)

- Searching video on youtube can now be performed on any video list window just by type any key on qwery keyboard which also filter the current video lists according to your keyword and click The Enter Key to search video on youtube or just abort by clicking the down arrow icon on bottom toolbar.

- Larger video thumbnail, sure make it easy for the eyes. (be careful when scrolling through the list because, clicking on thumnail will play the video)

- Login Youtube Account is only triggered when accessing youtube account features such as playist, subscriptions..etc.( help reducing app start-up time a bit maybe)

- Reducing the file size of resources_rc.py to half by reducing the unnecessary high resolution icons.

- All menu functions are working as they are intended.

elie-7 2011-04-27 15:22

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

Originally Posted by khuong (Post 995928)
Here's the new update which should make this python cutetube is even more closer to a perfect Youtube player for N900. Changes are listed below:

- Built-in Video player is now always launched in Landscape Mode and stay in Lanscape Mode. (no more funny portrait video window when rotating the phone)

- Auto-launch VideoInfo Window after done playing individual video. (Not if playing a list)

- Searching video on youtube can now be performed on any video list window just by type any key on qwery keyboard which also filter the current video lists according to your keyword and click The Enter Key to search video on youtube or just abort by clicking the down arrow icon on bottom toolbar.

- Larger video thumbnail, sure make it easy for the eyes. (be careful when scrolling through the list because, clicking on thumnail will play the video)

- Login Youtube Account is only triggered when accessing youtube account features such as playist, subscriptions..etc.( help reducing app start-up time a bit maybe)

- Reducing the file size of resources_rc.py to half by reducing the unnecessary high resolution icons.

- All menu functions are working as they are intended.

hey dude i added the latest files and everything, but cutetube is crashing at launch, any idea why ??? any solution mate ?
edit : i have tried chmod -x on cutetube.py, and now pressing the icon does nothing at all :(

khuong 2011-04-27 16:34

Re: [Announce] cuteTube - A feature-rich YouTube client
 
You can try running it in xterm to see what error come up. I am using the same cutetube version as yours and only modified those files that I attached in the cutetube.zip, everything else stay the same.

elie-7 2011-04-27 18:28

Re: [Announce] cuteTube - A feature-rich YouTube client
 
how can i run it from x-term ?? becasue if i click the icon nothing happens, not even a black screen, doesn't even try to launch, i really love your changes, and i want to try them badly .

khuong 2011-04-27 20:09

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

Originally Posted by elie-7 (Post 996353)
how can i run it from x-term ?? becasue if i click the icon nothing happens, not even a black screen, doesn't even try to launch, i really love your changes, and i want to try them badly .

Like I said before, I only modified certain file in cutetube directory, and didn't even touch the execution file which is cutetube.py. So it's impossible that it won't do nothing when you touch the icon, if you was able to run it before applying the change then it should at least start up and exit out if there is an error on my changes but i doubt it.

Anyway to fire up cutetube in xterm, you can try "python /opt/cutetube/cutetube.py" or "run-standalone.sh python /opt/cutetube/cutetube.py" whichever work for you.

TobiasReaper 2011-05-01 07:03

Re: [Announce] cuteTube - A feature-rich YouTube client
 
besides the looks, any other difference between this and the qml version? in terms of functionality

different people working on it?

also looking forward to have the ability to watched flagged videos

stickymick 2011-05-01 07:19

Re: [Announce] cuteTube - A feature-rich YouTube client
 
I'm kinda loving the stock qml version. Everything works for me.
Scared the cr@p outa me after the last update. When I launched it it quit straight back to homescreen before reappering and I went ":eek: Nooooooooooooo :( - :rolleyes: oh there it is :D ".

I did have an idea while using it this morning, but I can't remember what that was now. :p :rolleyes:


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

vBulletin® Version 3.8.8