maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Canola] DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info! (https://talk.maemo.org/showthread.php?t=18728)

handful 2008-04-05 02:07

[Canola] DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info!
 
Hello,

With Canola beta7 the support was there, but there was no easy way to develop and test the plugins. You can now download the desktop build, the same we use for development and test your plugins first on the desktop then just send the files and test on the device.

Theme makers can also compile new themes this way.

Use this thread for basic information, but I highly suggest any interested developer with doubts to go to IRC channel #canola on freenode :

irc.freenode.net

GET the build, and the README Files here :
http://www.openbossa.indt.org/canola/developer.html

BR

Marcelo

Aisu 2008-04-06 01:15

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Marcelo...

SO AWESOME :D

It is so darned' smooth on the PC. Utterly beautiful. But, I do have a small question... All my music is in the Ogg format, is there any way to index it on this developer edition?

handful 2008-04-06 01:43

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Unmm... Take a look on the open source version of light media scanner..
with that, you can modify it to use ogg easily... but I will talk to the guys to see how they do that on the pc :)

Now you see how Canola should be smooth :) Even with a icnredible work from gustavo on the 16-bit engine... it's really complicated to have a incredible performance on those devices, adding the tearing makes it look even worse :) on desktop, without any 3D is already Sweet :)

Glad you like it, this was the first task of a buddy in the office :) (Fleury) Kudos to him :)

Marcelo

jgallen23 2008-04-07 18:28

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
is there any way to run the desktop version in non-fullscreen?

handful 2008-04-07 20:28

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Jgallen : the default way is non-fullscreen. If this is set, open the file canola-run.sh and add the option -n

BR

Marcelo

RipTorn 2008-04-08 08:23

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
does the developer version play videos ?

handful 2008-04-08 09:43

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Rip : yes, it uses the regular mplayer in the desktop also.

Marcelo

tarkam 2008-04-08 14:44

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Hello Marcelo and team, I had an idea that think would help make Canola the even better and the ultimate killer app, but I don't know if it is possible. I'm posting it here so that if you like it you could develp it as a plugin or maybe someone else (I wish I could).

What I would like is to control the music on a remote PC via Canola.

I know that the IT tablet can control a remote PC via VNC or via a Web Based Interface but none of those ways can compare to the beautiful Canola interface so I was wondering if there could be a way to use the IT with Canola to control the music on a remote PC. Basically to browse the share of a PC on your network or index it another way, but instead of playing it and consuming it directly on your device, to play it on the remote PC.

Sort of like a SONOS type system. I know that there are other ways to do this like installing on the remote PC Alloysoft's Signal which helps you control winamp or Itunes via browser (not only on iphones, I've tried it with microb), but it doesn't have the fancy flick scrolling or the cool interface.

If this were possible you could use the IT on the road and on the car, but at home you would not need to hook it up to your stereo and you would have the computer's "infinite" storage capacity, the battery "should" last longer as you are not using as much resources and as with Sonos you would have your wifi's full coverage.

I don't know if I'm asking for too much, but a plugin like that would really kick butt!


Let me know what you think.

Tarkam.

tarkam 2008-04-08 14:48

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
To my post above this one. If the remote PC has apache and PHP installed, those can be used to control Winamp. Maybe it could be done by reading a "simple" web-page with the list of songs? I could help on the PC's end.

jgallen23 2008-04-08 17:28

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
how do I install plugins on the desktop version? I downloaded the youtube plugin and untar'd it into the plugins folder, but the youtube icon doesn't show up

handful 2008-04-08 17:38

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Hi gallen : can you please enter the channel at irc? all devs are there, so you can solve our your doubts with easy.

server: irc.freenode.net
channel : #canola

also : there's a new README file there... may help you!

Marcelo

jgallen23 2008-04-08 17:41

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
I asked in that channel 3 times yesterday and nobody answered...

I'll check out the new readme

handful 2008-04-08 17:47

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Hei Tarkam : Actually what you said, the remote control is one of our targets since Canola 1, as we dreamed about the contextual interface : car, home and pmp.

The thing is there are a huge numbers of server side solutions, and most of them are not so well prepared for the real end user.

That's why we chosed UPNP. Our goal is to not only stream from, but also control and in the end, even serve music to your desktop pc then goes to your music system.
So imagine that you came from work, with a new file on Canola, then you can play it on your internal sound system without even need to copy the file.

The problems /drawback : Sonos is a great idea, I have been looking / checking since the launch, but they work because they are selling the whole solution, and even connecting to a music store. For us with just a client.. is really hard to trust a lot of servers, and users are kind of not so "used" to them. Having PS3s, or Windows media with UPNP can help but still complicated : /

Marcelo

handful 2008-04-08 17:48

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Jgallen : the guys are in lunch time, wait a little bit I will check in the physical room :)

Marcelo

fleury 2008-04-08 18:44

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
jgallen23,

I'm putting together a brief howto on plugin installations that will be available in my blog shortly. I'll let you-all know in 15 minutes or so.

fleury 2008-04-08 19:58

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
There you go, here you can find more info on how to run Canola2 plug-ins on the desktop:

http://blog.eduardofleury.com/archives/2008/04/24/

Let me know if that helps.

Best regards,
Fleury

jgallen23 2008-04-08 20:31

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
fleury - awesome, thanks!

Baloo 2008-04-14 19:15

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
When launching in windowed mode and having the window say, half way down the screen, the utube plug-in plays video in full screen off center. Checkout the screen shot below.

http://www.linuxuk.org/images/canola-utube-error.png

When the canola window is at 0,0 (x,y) selecting full screen in utube works fine.

Hope that helps.

Baloo 2008-04-14 19:19

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Oh, and not wanting to complain too much ;) but the audio with the utube plugin is way out of sync with the video.

handful 2008-04-14 20:52

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Baloo : Please, can you check the version of Mplayer you have? there's a known issue with the mplayer embedded mode, Ithink you will need to update in the testing build also to get ride of those.

We will see this displacement.

Br

Marcelo

sarahn 2008-04-15 15:32

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Any chance that the source for the podcast plugin will be released?

Baloo 2008-04-15 17:48

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
For reference - Mplayer version 1.0rc2-4.2.3 on Ubuntu Hardy.

fleury 2008-04-15 22:43

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Baloo, thanks for reporting that. Unfortunately I wasn't able to investigate this issue today but I'll let you know of my findings ASAP.

frethop 2008-04-17 14:01

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
I'm trying to install the dev environment on Ubuntu. When I run "run-canola.sh", I get:

*** ECORE ERROR: Ecore Magic Check Failed!!!
*** IN FUNCTION: ecore_evas_data_set()
Input handle pointer is NULL!
*** NAUGHTY PROGRAMMER!!!
*** SPANK SPANK SPANK!!!
*** Now go fix your code. Tut tut tut!

THe last traceback is

Traceback (most recent call last):
File "bin/canola", line 265, in <module>
ee.evas.font_hinting_set(evas.EVAS_FONT_HINTING_AU TO)
AttributeError: 'NoneType' object has no attribute 'font_hinting_set'

What's up? THis is a fresh install.

fleury 2008-04-17 21:16

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
frethop, are you trying to run canola SDK as a diferent user than your X11 session's one? This error usually means canola was unable to connect to an X server.

Try allowing external connections to your X server with "xhost +" (as the X session owner) and exporting the env var DISPLAY=:0.0 (as the user running canola sdk).

Let me know if it works.

fleury 2008-04-17 21:32

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Baloo,

I have a couple questions for you, also I would appreciate if you could do some tests and send me the output.

Are you running Ubuntu LiveCD or an installed system?
Does this problem happen with local media files as well?

Could you run the following commands and send me the output?

1) Save a youtube video using canola
2) run:
mplayer -msglevel all=9 -vo xv <youtubevideo.pls> > /tmp/mplayer.out 2>&1
xvinfo > /tmp/xvinfo.out 2>&1

Then send me the files /tmp/mplayer.out and /tmp/xvinfo.out to my email:
eduardo <d0t> fleury <at> openbossa <d0t> org

Thanks,
Fleury

frethop 2008-04-18 13:12

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Quote:

Originally Posted by fleury (Post 171245)
frethop, are you trying to run canola SDK as a diferent user than your X11 session's one? This error usually means canola was unable to connect to an X server.

Try allowing external connections to your X server with "xhost +" (as the X session owner) and exporting the env var DISPLAY=:0.0 (as the user running canola sdk).

Let me know if it works.

Thanks. THat was it. I had previously ran Scratchbox & Xephyr -- setting my DISPLAY variable to put apps on Xephyr (:2). Resetting to :0 did the trick! Marvelous!

frethop 2008-04-25 19:26

terra_types and relationships between various displays
 
Canola Team: I know that documentation is not yet posted. However, could you provide a list of terra_types and the relationships between them -- and the various displays throughout Canola?

I'm writing a plugin, but I'm getting confused on the terra_type specs that Canola expects as it moves between displays.

I have been through all the provided plug-ins, but they don't tell me what Canola is looking for. They tell me what the last.fm plugin provided, for example, but no WHY it provided it.

Thanks.

fleury 2008-04-30 15:00

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Frethop, you can see a list of existing terra_types in "plugins/canola-core.zip/plugins.info" however it'll be easier to explain you how these things work if you join the #canola@freenode

Thanks,
Eduardo

frethop 2008-04-30 16:24

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Thanks. I will find you there!

MurphysPub 2008-05-12 01:19

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Has anyone tried desktop Canola on an eeepc running Xandros? I' waiting for the atom based eee. Not sure yet if I want to install Ubuntu. Thanks. jOe.

handful 2008-05-13 22:12

Re: DEVELOPERS: Canola Plugin Development Released : Use this thread and IRC for info
 
Hi Murphy : no news on that yet. As we dont have one here ... we cannot test.
BUT I have seen the eepc running EFL (canola base core) quite nicely (even with JS engine) so... it's totally possible :) just a matter of installing all dependencies.

marcelo


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

vBulletin® Version 3.8.8