maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Canola] Canola2 Updates - Beta7, Themes, and YouTube Plug-in (https://talk.maemo.org/showthread.php?t=18176)

ylsf 2008-03-31 03:32

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Thanks for the response. I found out that the "resume" function is there now as I was playing around with some media files. The thing is I need to still "browse" through to find it and load up that file. It would be nice to be able to set an option to "re-open previously playing file on startup" or something like that....

briand 2008-03-31 13:46

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Quote:

Originally Posted by iliaden
Also, a few questions regarding the youtube plugin (works great, btw)
1) where does it store saved files?
2) what format does it save video files?
3) the filename of the saved files (if there is something in particular)
4) how does it index those files? along with the rest of audio, video & images or does it just recall the previous settings?
5) is there any way of modifying the location (from internal flash, as I figured it out) to memory card (either mmc1 or mmc2...)?

. 1) /home/user/.canola/youtube/videos
. 2) Flash Video (*.FLV)
. 3) the name sent along with the video from YouTube
. 4) it appears to index them when the rest of the media is indexed
. 5) as root, in the xterm shell:
. a) mkdir /media/mmc1/youtube (or /media/mmc2/youtube if you want them in your internal n800 SD slot)
. b) cd /home/user/.canola/youtube
. c) mv videos/* /media/mmc1/youtube
. d) rmdir videos
. e) ln -s /media/mmc1/youtube videos
. f) there is no step 'f'

handful 2008-03-31 14:53

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
hei briand :) thanks for the answer to illiaden :) better than that? impossible!

Marcelo

briand 2008-03-31 14:59

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
heh. :) np -- happy to help.

Laughing Man 2008-03-31 16:10

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hmm, does anyone want to investigate this possibility. I haven't looked at how Canola stores the youtube videos (besides the directory). But if it's possible, could mYTube and Canola's Youtube share the same directory. Thus any videos that one downloads could be seen by the other program?

handful 2008-03-31 18:07

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Well, as I said this next release places the video on a "downloads" folder inside a disk that you choose. This download folder will hold podcast youtube and in the future pictures or other medias.

You can point mtube to it I think.

The path to a "configurable" folder is already in canola, you can also make a simlink to the mtube folder if you want with no problem.

br

Marcelo

e-motion 2008-03-31 18:44

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
A little late to the parade, my Canola tablet :) hasn't seen much use since I started promoting my european tour, but just wanted to congratulate you again for the outstanding work : upgraded without a hitch.

handful 2008-04-01 03:28

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
hi E-motion :) nice!!!! you know we suffered a lot in the beginning so it's quite nice to read that :)

talmage 2008-04-02 01:25

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
(Hope I didn't miss this in all the previous posts.)

It would be nice if Canola and the built-in media player could share their collections of internet radio stations. If I select a link to a station's playlist file, the web browser offers to add it to my media library. I have to copy and paste to get Canola to know about it.

Btw, Canola doesn't recognize this as a valid pls but the built-in media player does: http://www.wpfw.org/assets/streaming/listen.pls

handful 2008-04-02 03:13

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hi, if you install canola-tuning (is going to be default in next release) you add the support to your browser to either do like you do today, or to add to canola without copy paste :)

this is on the manual : http://openbossa.indt.org.br/canola/using.html#imedia

Thanks for the URL we will take a look in what's happening.

BR

Marcelo

iliaden 2008-04-03 00:22

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hi,

Sorry for such a long delay... was busy.

Update1: disappearance of buttons on bottom:
- problem NOT related to CPU usage (had another process take 100% cpu, and was able to open with buttons)
- IF you switch windows (home key) when opening canola, buttons disappear (right after you launch the process, or before the main buttons become apparent on the screen, while the "loading" shows; if you switch after the key features become shown, the buttons on bottom do not disappear).
- was unable to get it further.

Update 2: "back" button problem
- problem

New bug: youtube plugin:
- when you make a search, scroll all the way down, beyond the videos; the thumbnails end at 1/2 of the scrollbar (bug#2), scroll back up and select a video to play, the entire plugin freezes.
i.e., if I return to home (pressing the "settings" key), I can navigate Canola, and everything works as usual; if I open youtube, it will directly switch to the frozen scroll where I cannot select any video, nor go back to the youtube "home"(all the options screen).

Quote:

. a) mkdir /media/mmc1/youtube (or /media/mmc2/youtube if you want them in your internal n800 SD slot)
. b) cd /home/user/.canola/youtube
. c) mv videos/* /media/mmc1/youtube
. d) rmdir videos
. e) ln -s /media/mmc1/youtube videos
true; I was not precise enough with my question: is there a .conf file to edit to make the mmc1/2 the DEFAULT location to save videos?
edit: fixed the problem another way: bought a 16gb sd card, 3gb boot partition ;)
still, any way to do it?

Quote:

canola-tuning (is going to be default in next release)
... I hope it will not run automatically; I do not dare to try it since Beta3: downloaded the "covers" (did not display over 90% of the downloaded), plus it took ALL the remaining memory (was down to <1mb!). I believe that the bug was fixed... I'll try it on the next release (on a external boot, just in case).

Also, I don't presume you would add the Canola-cleanup tool ;) ...just kidding!

I always use this tool (disregarding the codecs, as mentioned before) to install a newer version of Canola... in case some bugs were just in my upgrade.

Good luck

Ilia

P.S. When's the next release planned for?
P.P.S. did the media I sent you help? I got another album that doesn't want to be understood as only one - for the french fans only :)
Seriously - any progress on the album and/or album recognition process?

handful 2008-04-03 01:28

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Illia :

some comments :

1) we will try to follow your steps to find the button bugs, it seems that we did some fixed, hope they are already fixed, but if you managed to replicate them with consistency then it's quite easy to find / fix.

2) we improved the youtube plugin, but what you said (freezing) can be caused by several factors, we tested and we were not able to replicate. Youtube uses internet + mplayer thus it's a little bit harder to replicate everything but with your guide we will try in tomorrows test build.

3) There's not a conf file. You need to create a simlink as teached in the part you quoted. (as root in xterm or via ssh )
BUT: it's already implemented in Beta8

4) Canola-tuning is a plugin now, not a stand alone app, but it will not run by default, and the thing is : Downloading album art still illegal :) canola tuning features will be all integrated into canola but still be a third party plugin that needs to be installed. Also covers will take time to be downloaded, but it will be easier to do that to one specific cover or to the whole set

5) the "downloads" folder is actually for everything : youtube, podcast and covers.

6) as I told you then we verified (we can send you the source) but here goes again : WE DO NOT TOUCH "codecs" of any source. :) WE DO NOT TOUCH what we don't install, and if that happened to you, believe me it was not canola-cleanup tool fault ...

7) I already told you on the other post about that: we don't have a secure way to do it all, but we added to the multiple media your case, so it's improved. But we are not going to support "player" specific tags for that.

If everything goes right the release is on friday. If not can be on the first 2 days of next week.

Cheers,

Marcelo

vvaz 2008-04-03 06:23

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Another bug / missing feature:

You can scroll long title but it is not possible to do so with long album name.

JELaVallee 2008-04-03 20:04

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
I'm going to take a look at the YouTube plug-in source, but also wanted to ask if there were existing development docs for setting up a dev environment specifically for Canola2 plug-in dev?

I've seen the list of tech on the main Canola2 site, but didn't see anything clearly describing tool setup.

Very interested in making a more interactive Picasa Album browser and also a Tivo/Vserver remote streaming client plugin.

Great work, Canola2 folks, I really think Canola as a platform for media service plugins is a brilliant idea. How about using it as an app launcher too? Smirk

thanks!,
Etienne

iliaden 2008-04-04 01:04

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hi Marcelo,

Let's start with an update on the buttons bug:
- Not dependent on CPU load (as said last time)
- ALWAYS caused by task switching when loading Canola
- VERY OFTEN (one exception) occurs when loading Canola for the first time after reboot and/or media card change.
- NEVER occurs if Canola is restarted without reboot and/or media card change (by changing, I include unmounting /media/mmcX; mount /media/mmcX). during the second load, everything goes very smoothly... and it loads 10-20 times faster!

Quote:

Youtube uses internet + mplayer thus it's a little bit harder to replicate everything but with your guide we will try in tomorrows test build.
I wish I could say more... this occurred once, and I was unable to replicate this. Will try tomorrow. If I get any info, I'll tell you ASAP.
Note: I updated MPlayer today, so if it's an MPlayer issue, it might have been fixed (although I doubt it since it was Canola's navigation that was frozen)

Quote:

There's not a conf file. You need to create a simlink as teached in the part you quoted. (as root in xterm or via ssh )
BUT: it's already implemented in Beta8
That's great! I can wait a few days...

Quote:

6) as I told you then we verified (we can send you the source) but here goes again : WE DO NOT TOUCH "codecs" of any source. :) WE DO NOT TOUCH what we don't install, and if that happened to you, believe me it was not canola-cleanup tool fault ...
Here, I must present you my greatest excuses. Analyzed the process step by step, and looked at Canola in RedPill mode: no codecs were touched; that was entirely my fault. HOWEVER: some of the python libs that Canola uses are also being used by other 3rd party media players. This must have been the interference, and the reason they stopped working. I did not check on the default media player, but was unable to launch youamp. Had to reinstall it (so it's dependencies were installed along with it).
You are right; canola-cleanup does delete everything that came with Canola. the problem is that it MIGHT be shared by other apps. in your next release (Beta9 or later), would it be possible for canola-cleanup to check if the python libraries are needed for apps other than Canola?
Although I would understand why it would be impossible: now that people can (and will) write plugins for Canola, it will be impossible to keep track.
Could you just think about this?

Quote:

But we are not going to support "player" specific tags for that.
what do you mean by "player-specific tags" I always thought that there were only ID3 tags that existed for mp3 files (v1 & v2). how can they be player-specific?

Expecting the next release with anticipation and optimism

Ilia

handful 2008-04-04 02:30

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
@Vvaz
Quote:

You can scroll long title but it is not possible to do so with long album name.
Yeah, you can call missing feature, we decided not to add it (no to 2 lines scrolling at the same time)

Maybe touching on it could scroll it, but not automatic.

@jELaValle

Hi Etienne,

Indeed there is. We are finishing beta 8 so that why is not available, we are going to put it together with beta8.
The environment is quite simple :

A actual build for the desktop, with the configuration to work on the linux desktop.

Together with the build (a tar file) we are bundling 3 tutorials and a explanation on how to use.

The Picasa album is a really nice idea :) this and flickr were on our "wish list" for months and it would be easy with an api. like the youtube.

A plugin for app launcher could be done easily I think :) you can use anything in python so... :)

Cheers,

@iliaden

This is even better (button issues) but we closed beta 8 yesterday : / but I just took notice to do not forget about this issue at all.

Of course the load is faster :) the media is already scanned, if you remove / unmount media is discarded and a full scan is needed :)

About the youtube : actually it can be the mplayer, not that it would lock Canola UI, but an error in the communication between atabake and Mplayer can cause that : / But I would say it probable a bug on Canola :)

Another good news : Morpheuz was able to find out the bug on the shuffle complained but some people. :)

Yeah, the lib thing can happen, and we only do that (to our dependencies that for sure can be of other) because we want to make sure things are "clean" for your other applications, and clean a dependencies problems (like the alternative repository mixing etc)

We cannot look at it for a simple reason : if your other application installed the lib that is in wrong version and not on maemo extras, then we need to remove to be able to install Canola.

The cleanup was made for those who "want" to use canola and for some reason ( wrong repos, failed install) need to make sure things are clean down there. So if your plan is to use clean-up to remove Canola, then I would say use the simple install.

If it a basic uninstall / reinstall, there will be no problem with the cleanup.

So in the end, do you understand why Canola-Cleanup exists? ITS only to those who have repository mess. If you use only official maemo repositories / trusted ones.. you don need the clean up :) just use the application manager ok? That the way we solve the problem, the right way. The cleanup is a "safety" tool to clear the device of a user who is pissed off :)

Yes, there's a standard, and we do support it the best way possible but in some cases, iTunes and other playes has this "custom" tag for compilations, that makes the life easier for them, but not for us.

I think people will like the new beta, and developers tool are getting nicer :)

Also, if not on beta8, beta9 will bring a MUCH better list / scrolling interaction. Lot of experiment with Adriano yesterday and today and we are quite optimistic about that :)

Cheers!

(thanks for the detailed feedback as always)

Marcelo

jabastien 2008-04-04 21:45

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Marcelo,

Since the beginning I always felt that the YouTube plug-in did not return all result from a search. Since the source is available I look into it, and I confirmed my assumption. I wonder if the Team wanted the plug-in to behave that way for some odd reasons.

Is it possible to change the behavior or the search in the next release with the following code in "client.py" at line 63.


from:
HTML Code:

    def search(self, query):
        """Search for video by keywords."""
        return self._request("%s?vq=%s",
                            self.url_video_search, quote(query))

to:
HTML Code:


    def search(self, query):
        """Search for video by keywords."""
        return self._request("%s?vq=%s&max-results=50&racy=include",
                            self.url_video_search, quote(query))

Thanks You,
Jacques

handful 2008-04-04 23:54

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hi jabastien, yeah, for this version we placed only a limited numbers, because we were deciding how to allow "paging" between a bigger set of results.

I think in the beta9 time frame (or actually sooner because it's independent) we will add this feature there.

Br

Marcelo

jabastien 2008-04-05 00:36

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Marcelo, Can I pach it myself? If yes, It looks like the youtube plugin is in a compiled state. What do I need to compile it?

Thanks for another great version,
Jacques

handful 2008-04-05 00:43

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Jabastien : I will upload in a couple of minutes (actually a little bit more) the tar.gz for plugin development so you will be able not only to compile your version but to test it clearly on your desktop before trying it out :)

BR

Marcelo

jabastien 2008-04-05 01:08

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Marcelo,

Is this plugin development OS independent? If not, what Linux distro do you recommend?

-
Jacques

iliaden 2008-04-05 01:25

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hi Marcelo,

I'm about to install Beta8. (the Canola-cleanup) tool is already running :P.

Do you mind starting another post as this one with clear installation order, as well as space for me to leave feedback (starting tonight)

Thank you

Ilia

handful 2008-04-05 01:54

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
I don't mind.. it's just that we are finishing upload the site :)

Marcelo

genjosanzo 2008-04-07 11:27

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Hi all, first of all i'm thinking canola is getting every they more amazing....in my opinion is already the killer app of maemo world and the add of the plugin of lastfm just confirm my theory!
Have you ever thought to integrate the bookmark system of youtube plugin with the youtube account? In this way it would be possible to bookmark video from the n8x0 and then wacth them from any other device(i'm thinking to a laptop of a friend that is following your favourit or to the social networking more in general) I think it would be not so difficult since the youtube api are used in many python project.
What do you think about this proposal?

handful 2008-04-07 20:45

Re: Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Genjosanzo : yes we did, we just don't have time : / we are trying to come up with solutions for that, and we are actually accepting suggestion / patches from developers (code is open, testing is ready and so on ) but time is a constraint.

We don't use the main youtube api but the support is indeed easy to implement. It just needs time.

So I think is cool and useful, but we don't have time to do it :)

Focus now is to try to make it as best as possible (so actualy we are trying to see how to improve mplayer) and fix small bugs.

Marcelo

jalladin 2009-10-09 22:08

Re: [Canola] Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
1 Attachment(s)
Attachment 4291


hello,

I just reflashed my n810 a few days ago to see if it would help battery life and functional use of media apps. canola was one that made it lag before my reflash... well skippin to now after the reflash it seems to be fine but canola is giving me problems, not with the speed but just the ( youtube plugin ) it wint play any videos that i try to view. it also wont allow me to input podcast feeds... if someone wouldnt mind sharing thier experience with canola to help, i would be ever so greatful.

jalladin 2009-10-09 23:59

Re: [Canola] Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
2 Attachment(s)
Attachment 4292

Attachment 4293


these are just more screen shoots to give better insight on what my issue is with my podcast.the first screen shot is of me trying to download from the feed ( which this message pops up and it wont let me download. the second is me trying to play the only episode that was downloaded previously, but it wont play...:mad:

hordeman 2009-10-11 00:31

Re: [Canola] Canola2 Updates - Beta7, Themes, and YouTube Plug-in
 
Search is your friend... or more simply... looking at the thread right about yours. :) A new version has been released that isn't completely working.

http://talk.maemo.org/showthread.php?t=32369&page=3


All times are GMT. The time now is 14:25.

vBulletin® Version 3.8.8