maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Announce] YTube - A modified version of orginal cuteTube python (https://talk.maemo.org/showthread.php?t=73004)

khuong 2011-05-12 16:55

[Announce] YTube - A modified version of orginal cuteTube python
 
5 Attachment(s)
First of all, I like to make something clear about YTube. This is a heavily modified, perfected version of cuteTube python which were developed by Marxian. All credits still go to Marxian for developing this app in the first place. I am just a modifier, who had some spare time to optimize it and incorporate more features and gave it some resfresh Ui changes. I orginally just want to modify it fit my personal style and fix some bugs it has with youtube api v2. Since cuteTube python has been left behind due to developer decided to switch a QML version, I just want to make this changes available to public under a different name YTube. It's now available in extras-testing for those who want to use it (Install). It still have all orginal functions of cuteTube plus some additional functions to better user experiences. Again, all credits still go to orginal developer who made this app available to N900.

Hightlight additional functions:

V1-1:
  • Instant startup screen after initial launch
  • SearchOrder Menu bar
  • Time Menu bar
  • All standard feeds are available in app menu such as (Trending, Featured, Discuss...etc...)
  • Eliminate blackscreen when switching feed
  • Search function is available in all screen by typing search term on querty keyboard.
  • VideoPlayer is always launched in landscape mode.
  • VideoPlayer toolbar are auto retracted after few sec.
  • Centralize video list screen to eliminate additional open window.
  • Alternate video item list background color

v1-2:
  • Much faster video browsing, less memory and bandwidth usage by requesting only needed data fields from youtube server.
  • Added account functions options bar for easy access.
  • Added new menu button function in VideoInfo Screen to load Responses videos for a specific video.
  • Added video counts to playlist screen.
  • Simplified screen navigation, easy playlist and subscription access.
  • Comments can now be fetched up to maximum of 1000 entries.
  • New Logo on main screen.
  • Remove Videoplayback Quality setting Option( Mobile quality is no longer supported ).

v1-3:
  • Eliminate the long waiting black screen when start playing video.
  • Fixed comment screen items overlap bug.

v1-4:
  • New enhanced built-in video player Ui with additional scrollable playlist/related video thumbnail bar.
  • Added limited portrait video viewing capability using built-in Flash plugin.
  • Browse and play video at the same time in portrait mode.
  • Added recent search history list to bottom search toolbar.

v1-5:
  • Added ability to view and play other user's playlist in VideoInfo Window.
  • Fixed incorrect video duration display for video longer than 60 mins.
  • Fixed playlist name incorrectly displayed in non-english characters.
  • Fixed the slow buffering problem on high quality stream due to recently url redirection changes made by youtube.

v1-6
  • Fixed missing dependencies.

debernardis 2011-05-12 18:36

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Might be that Mr. Google doesn't like that in app is called Youtube - I mean, a non-official app. Also the use of the Youtube logo might be considered questionable...

MeeGoExperts 2011-05-13 02:41

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Good App. Nice and fast :-). Thanks.

romanianusa 2011-05-13 05:59

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Good modification and i actually prefer it over the Marxian QML version. The only thing i wish is you leave the "comment" and "related videos" in the same page like the QML version but i guess it can't be done since it's not a QML version.

slender 2011-05-13 06:48

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Okey, This is one reason to love Open Source. Possibility of unintentional collaboration of people! Thanks Marxian and khuong.

Fix bug trackers link on your packages page!
http://maemo.org/packages/view/ytube/

pelago 2011-05-13 08:47

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by debernardis (Post 1005080)
Might be that Mr. Google doesn't like that in app is called Youtube - I mean, a non-official app. Also the use of the Youtube logo might be considered questionable...

The app's called YTube, not YouTube, but I agree the use of the logo might not be a good idea...

Nice to see someone taking up the Python version of CuteTube and improving it. Out of interest, did you discuss this or send patches to Marxian first? He might have wanted to update his version with your improvements.

Wichall 2011-05-13 09:01

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
What are the benefits of a python version vs QML?

ggroen 2011-05-13 09:12

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Looks real great! Plays well as well, no hick ups or starting problems, but.. In my case I can'return to the beginning after playing a video. The 'backwards' button revokes the same video over and over... Someting I overlook or a bug?

slender 2011-05-13 09:25

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
In video list view title text of video overlaps description text

shazosbourne 2011-05-13 10:09

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by debernardis (Post 1005080)
might be considered questionable...


Hilarious.

khuong 2011-05-13 20:49

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by debernardis (Post 1005080)
Might be that Mr. Google doesn't like that in app is called Youtube - I mean, a non-official app. Also the use of the Youtube logo might be considered questionable...

Thanks for bringing that up, I never thought I will release these changes to public; the logo will be replaced with something else in the next update.

Quote:

Originally Posted by romanianusa (Post 1005307)
Good modification and i actually prefer it over the Marxian QML version. The only thing i wish is you leave the "comment" and "related videos" in the same page like the QML version but i guess it can't be done since it's not a QML version.

It's not that it can't be done, the thing is video thumbnail already occupied almost half of the screen, though it can be resized when comment button activated, but I still figure out the way to do it effectively without adding too many code lines to the app. Performance is always my ultimate goal. As you can see this app source code is only less than half of the size of original one.

Quote:

Originally Posted by pelago (Post 1005364)
The app's called YTube, not YouTube, but I agree the use of the logo might not be a good idea...

Nice to see someone taking up the Python version of CuteTube and improving it. Out of interest, did you discuss this or send patches to Marxian first? He might have wanted to update his version with your improvements.

I did post several changes in his thread but he seems to want peoples start using his QML version instead.

Quote:

Originally Posted by Wichall (Post 1005369)
What are the benefits of a python version vs QML?

- Ex. built-in video player, and many things I rather don't discuss them here. Download and try them both for yourself, and uninstall them just as easy as a push of button.

Quote:

Originally Posted by ggroen (Post 1005373)
Looks real great! Plays well as well, no hick ups or starting problems, but.. In my case I can'return to the beginning after playing a video. The 'backwards' button revokes the same video over and over... Someting I overlook or a bug?

Push once will restart the video, push again will take you back to previous video; it’s a default behavior of almost every media player. For playing single video the backwards/forward buttons won't be visible, use slider to move back and forth.


Quote:

Originally Posted by slender (Post 1005384)
In video list view title text of video overlaps description text

You meant the video info screen? The description area is scrollable which you may have accidentally scrolled it.


Finally, thank you all for submitting your feedbacks here, which really helps in the next update. And I want you all to know that I won't push out an update just for single or a few small changes unless it's a critical bug. I currently aim at least more than 5 improvements or changes to worth an update, which of course is more convenience for me and for everyone as well. And all the changes are always thoroughly tested on the N900 device before they are in repository.

m2k 2011-05-15 03:25

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Khuong,

Really enjoying this update of cutetube! Love that it plays video internally but in separate window for multitasking purposes.

Encountered one hiccup though. The continuous play from playlist or queue most of the time just stops randomly after 2 or more vids. This rarely happens with the old cutetube with same playlist.

One wishlist from me. If you can somehow incorporate xtube into this thing hehe, this would own all youtube apps, imo.

Anyway, great work and keep it up!

khuong 2011-05-15 05:41

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by m2k (Post 1006539)
Khuong,

Really enjoying this update of cutetube! Love that it plays video internally but in separate window for multitasking purposes.

Encountered one hiccup though. The continuous play from playlist or queue most of the time just stops randomly after 2 or more vids. This rarely happens with the old cutetube with same playlist.

One wishlist from me. If you can somehow incorporate xtube into this thing hehe, this would own all youtube apps, imo.

Anyway, great work and keep it up!

You just made me listen to a lousy of several videos worth of 30mins. playing time and I didn't see the problem you described. There's many possibility that can caused the interuption, unstable internet connection, slow connection, too many running processes on the device...etc...
And one other think i should mention that even though the video is running on seperate window and you can multi-task while playing video in background but it is still a child widget of the one that launched it. If you clicked that back arrow icon on top right of the window that you played the videos it will destroy the videoplayer window, you can still click on the video item to launch the video info screen and back out from it without closing the player. Also if you click play on another video while the videoplayer is opened or playing, it will tell the player to start playing the new video. Oh you didn't say if it stopped playing or the player was destroyed.

About your question on xtube :) ..I do not have time for it now, and there are still some room for improvement with this app. I do not plan on adding a bunch of feature which come with a bunch of bugs, I rather perfect the existing one and then move on to the next.

elie-7 2011-05-15 19:02

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
awesome, awesome awesome app, just one bug, videos in mobile format wont play for some reason .....

khuong 2011-05-15 21:44

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by elie-7 (Post 1006938)
awesome, awesome awesome app, just one bug, videos in mobile format wont play for some reason .....

Thanks for the comment, Hmm, I never tried the mobile format(17). But after you mention it, I checked it out and indeed seem broken, then I checked the page on youtube server and most of my uploaded videos don't even have that format listed, seem I need to put some attention on that. Anyway stick with 18, and some videos are restricted to web viewing only where they can show you their ads. :) The best bet is set it to what it worked which is 18. Again, thanks for bringing it to my attention.

HtheB 2011-05-15 22:00

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1005778)
the logo will be replaced with something else in the next update.

Don't change it........... I really like it ;)
and I'm very sure other people will like it too :D

m2k 2011-05-17 04:15

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1006566)
You just made me listen to a lousy of several videos worth of 30mins. playing time and I didn't see the problem you described. There's many possibility that can caused the interuption, unstable internet connection, slow connection, too many running processes on the device...etc...
And one other think i should mention that even though the video is running on seperate window and you can multi-task while playing video in background but it is still a child widget of the one that launched it. If you clicked that back arrow icon on top right of the window that you played the videos it will destroy the videoplayer window, you can still click on the video item to launch the video info screen and back out from it without closing the player. Also if you click play on another video while the videoplayer is opened or playing, it will tell the player to start playing the new video. Oh you didn't say if it stopped playing or the player was destroyed.

About your question on xtube :) ..I do not have time for it now, and there are still some room for improvement with this app. I do not plan on adding a bunch of feature which come with a bunch of bugs, I rather perfect the existing one and then move on to the next.

Thanks for checking in on it. You could be right. Maybe it is my internet connection... oh well.

However, I've ran across just a few vids that do not play for whatever reason. They play in the actual website browser but not in any cutetube, -qml, etc. versions. Try this vid for example: http://www.youtube.com/watch?v=joQLteoUiQQ or search through relevance for " girl riding mechanical bull " and play the very first video. :D

Thanks!

khuong 2011-05-17 12:39

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by m2k (Post 1007870)
Thanks for checking in on it. You could be right. Maybe it is my internet connection... oh well.

However, I've ran across just a few vids that do not play for whatever reason. They play in the actual website browser but not in any cutetube, -qml, etc. versions. Try this vid for example: http://www.youtube.com/watch?v=joQLteoUiQQ or search through relevance for " girl riding mechanical bull " and play the very first video. :D

Thanks!

That video is not on the safelist and need age verification and safesearch mode turn off in your youtube acct.

khuong 2011-05-22 04:43

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
I just uploaded the new update to repository, below is the list of changes. Enjoy!

v1-2:
  • Much faster video browsing, less memory and bandwidth usage by requesting only needed data fields from youtube server.
  • Added account functions options bar for easy access.
  • Added new menu button function in VideoInfo Screen to load Responses videos for a specific video.
  • Added video counts to playlist screen.
  • Simplified screen navigation, easy playlist and subscription access.
  • Comments can now be fetched up to maximum of 1000 entries.
  • New Logo on main screen.
  • Remove Videoplayback Quality setting Option( Mobile quality is no longer supported ).

datjomp 2011-05-22 07:32

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Damn,this is developing into a beast :)

When I hit "My Channel" I can't go back to the startscreen. Theres a X in the top right corner where it should be a back arrow. Or is it supposed that be that way?

One other thing I noticed with this, and the orginal cuteTube version, is that there's a short black period before starting the video. Would it be possible to add a "Loading" or dots sequence in this space? Just to let the user to know that there's something going on.

Nice overhaul anyway,thanks :)

khuong 2011-05-22 12:53

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by datjomp (Post 1012432)
Damn,this is developing into a beast :)

When I hit "My Channel" I can't go back to the startscreen. Theres a X in the top right corner where it should be a back arrow. Or is it supposed that be that way?

One other thing I noticed with this, and the orginal cuteTube version, is that there's a short black period before starting the video. Would it be possible to add a "Loading" or dots sequence in this space? Just to let the user to know that there's something going on.

Nice overhaul anyway,thanks :)

It is supposed to work that way, once the channel button is clicked, the main screen is replaced with the acct screen. No need to go back, there's all the functions there. ytube logo become most view button as well. Every update will get you less screen :) where you can control everything.(until only 1 screen left or maybe none :) )

About the short black period before video playing, I'll see what i can do.

Acidspunk 2011-05-22 14:03

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1012621)
It is supposed to work that way, once the channel button is clicked, the main screen is replaced with the acct screen. No need to go back, there's all the functions there. ytube logo become most view button as well. Every update will get you less screen :) where you can control everything.(until only 1 screen left or maybe none :) )

Then perhaps you can explain how to search videos in that screen, because I haven't been able to figure it out. Anyway, thanks for the update. :)

khuong 2011-05-22 14:25

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by Acidspunk (Post 1012682)
Then perhaps you can explain how to search videos in that screen, because I haven't been able to figure it out. Anyway, thanks for the update. :)

just slide out your hardware keyboard and start typing search term and hit the enter key. This search function work on every screen except videoinfo one.

Acidspunk 2011-05-22 14:28

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Cool, it works. Thank you khuong! :)

datjomp 2011-05-23 07:52

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1012621)
It is supposed to work that way, once the channel button is clicked, the main screen is replaced with the acct screen. No need to go back, there's all the functions there. ytube logo become most view button as well. Every update will get you less screen :) where you can control everything.(until only 1 screen left or maybe none :) )

About the short black period before video playing, I'll see what i can do.

Aha, ok.
The application freezes at random occasions. Don't know how reproduce it though.
And there seems to be something wrong in the comments section for me. The lines of comments seems to overlap each other.

Nice job anyhow! :)

khuong 2011-05-23 15:13

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by datjomp (Post 1013323)
Aha, ok.
The application freezes at random occasions. Don't know how reproduce it though.
And there seems to be something wrong in the comments section for me. The lines of comments seems to overlap each other.

Nice job anyhow! :)

New V1-3 was uploaded to repository to fix the comments overlaps and also get rid of the long waiting black screen when playing video.

Thanks! for reporting this bug, comments screen was the last thing i checked.
About freezes at random occasions, I haven't run into this problem.

khuong 2011-05-25 19:32

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Portrait video playing is coming to YTube. Here's the sneak preview of playing youtube video in portrait mode possible with next YTube version. It will be on the next update (hopefully soon).

http://www.youtube.com/watch?v=rvwuSrfFrZ0

Zas 2011-05-29 14:19

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
When I add videos to the download queue and start downloading them they all just change to "queued" but they never start downloading.

niloy 2011-05-29 14:36

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by Zas (Post 1017981)
When I add videos to the download queue and start downloading them they all just change to "queued" but they never start downloading.

Click the menu and choose "resume all downloads".

khuong 2011-05-29 14:38

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by Zas (Post 1017981)
When I add videos to the download queue and start downloading them they all just change to "queued" but they never start downloading.

You either have to enable start downloading immediately in setting, or press the resume download button in download window menu.

N900@900MHz 2011-06-02 10:34

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1017987)
You either have to enable start downloading immediately in setting, or press the resume download button in download window menu.

I have the same problem, never download a video, after a while "failed' error.

Someone any sugesstions?

khuong 2011-06-02 13:22

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by N900@900MHz (Post 1020838)
I have the same problem, never download a video, after a while "failed' error.

Someone any sugesstions?

Try change the download folder setting to a new folder or different one,
I ran into that problem "failed" before, turn out the download folder on my mmc card was corrupted and doesn't allow the app the write permission.

khuong 2011-06-03 05:11

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
New update just hit the repository. Here are the changes:

v1-4:
  • New enhanced built-in video player Ui with additional scrollable playlist/related video thumbnail bar.
  • Added limited portrait video viewing capability using built-in Flash plugin.
  • Browse and play video at the same time in portrait mode.
  • Added recent search history list to bottom search toolbar.

Tips:

In order to play video in portrait mode, you must hold your phone in portrait mode and press video thumbnail in the main video list view to play.(it will use embedded flash plugin to play the video instead of the regular built-in player, All restricted video will always be played with regular built-in player as well. While playing video in portrait mode you can freely browse other videos and just click to play new video). The rest I'll let you figure it out yourself :)

MiK546 2011-06-03 06:35

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
I can't get the portrait video playback to work. It just shows a gray box and then closes. When launched from terminal it shows:

[swf @ 0xa3a8b0]Compressed SWF format not supported

khuong 2011-06-03 12:20

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by MiK546 (Post 1021467)
I can't get the portrait video playback to work. It just shows a gray box and then closes. When launched from terminal it shows:

[swf @ 0xa3a8b0]Compressed SWF format not supported

Are you using something other than stock flash plugin?

MiK546 2011-06-03 12:37

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1021609)
Are you using something other than stock flash plugin?

I'm using the default flash plugin with Tweak Flash Plugin. It doesn't work even if I restore the default non-tweaked plugin though.

khuong 2011-06-03 13:31

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by MiK546 (Post 1021615)
I'm using the default flash plugin with Tweak Flash Plugin. It doesn't work even if I restore the default non-tweaked plugin though.

Try open this video link http://www.youtube.com/v/rvwuSrfFrZ0...n=3&autoplay=1 with your microb browser to see if it will play the video.

MiK546 2011-06-03 13:57

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by khuong (Post 1021644)
Try open this video link http://www.youtube.com/v/rvwuSrfFrZ0...n=3&autoplay=1 with your microb browser to see if it will play the video.

The video from the link plays just fine.

khuong 2011-06-03 14:11

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
Quote:

Originally Posted by MiK546 (Post 1021657)
The video from the link plays just fine.

hmm, It must be something else with your end, I can't fix it unless I can replicate the problem on my device. I will try to figure out though.

Does anyone else have the same problem?

elie-7 2011-06-03 14:13

Re: [Announce] YTube - A modified version of orginal cuteTube python
 
can we please get the mobile resolution playback back ?


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

vBulletin® Version 3.8.8