[Freevo-devel] Re: switching to pynotifier and pymbus

2004-09-08 Thread Dirk Meyer
Bruno Tavares wrote:
 snip
 And we can also remove the bad hacked network interface, you can send
 events directly to Freevo:
 app-Freevo: Button 'DISPLAY' is pressed
 or
 app-Freevo: Event(OSD_MESSAGE, arg='hi')

 Erms.. not so sure about this.. do you really want to introduce the
 communication overhead for this kind of events?
 Mbus sounds great to communicate with external helper, but it seems a
 little bit inefficient to spread all kind of events to OSD or from
 critical helpers such as mplayer.
 But i don't know, some benchmarking should speak for itself.

Yes, it is a bad example. I was thinking about the bad hacked remote
gui for Freevo. But I guess we won't need that anymore. Or does anyone
use this? For the Event() stuff, yes, it also makes no sense because
the app doesn't know the context Freevo is it. It should only
demonstrate that apps can display a message. But better commands will
be 

freevo.message(hi)
freevo.play(/path/to/file)


Dischi

-- 
The three R's of Microsoft support: Retry, Reboot, Reinstall.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: Detached audioplayer view

2004-09-08 Thread Dirk Meyer
Viggo Fredriksen wrote:
 Ok!

 A little update. I added a global event for TOGGLE_CONTROL, a deamonplugin
 which listens to this event and toggles between different active ControlBar
 plugins. The ControlBar plugins again grabs focus if they are shown, and the
 user can browse through different choices. Each choice is bound to a handler 
 which is run when the user presses INPUT_ENTER.

 Is this an acceptable approach? Any more uses for this than the detached
 player? Better ideas?

 Screenshot:
  - http://foo.katatonic.org/freevo/detached_control.jpg

Sweet, that is a very good idea. Maybe we can also use this stuff for
other inputs. Aubin once wanted a small bar showing options in the
image viewer (rotate, start/stop slideshow...). This looks like a very
cool features for other parts of Freevo. You could register/unregister
a control in eventhandler.py and a button toggles these by doing:

1) show it (set visible in the CanvasContainer)
2) set self.context to it

And toggle should toggle through all registered controls and than back
to the normal, the focused app. Maybe toggle is intelligent: if a
used used a control, the next toggle will go back to no controls. 

 PS! It's not quite finished yet, but it's basicly working.

Again: _very_ cool


Dischi

-- 
Love is Hate. War is Peace. Windows is stable.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: Detached audioplayer view

2004-09-08 Thread Dirk Meyer
Viggo Fredriksen wrote:
 Right now it shows a coverimage, scrollable songinfo and elapsed time.
 - http://foo.katatonic.org/freevo/detached1.jpg

braindump
What about creating a mix between a text widget and an animation class
to have scrollable text? What about displaying the time in the first
row and the second row toggles all 5 secs between Album/Artist/Song? 
/braindump

Dischi

-- 
I just got lost in thought... It was unfamiliar territory.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [PATCH] Idlebar plugins reactivated

2004-09-08 Thread Dirk Meyer
Viggo Fredriksen wrote:
 Hi!

 Attached is a diff against cvs re-activating most idlebarplugins. Hopefully I
 didn't destroy any :)

I hope, too. I checked it in without testing :)

BTW, what about using an extra file for each plugin? I guess it would
look much cleaner and having all the code in __init__.py is very bad. 


Dischi

-- 
Warning:  Dates in Calendar are closer than they appear.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] switching to pynotifier and pymbus

2004-09-08 Thread Florian Demmer
On Tue, 07 Sep 2004 20:51:46 -0400, Michael Ruelle
[EMAIL PROTECTED] wrote:
 Dischi,
 
 The only reservation i have is leaving a stable webserver. 

[...]

just a thought: if there were a way to access the smbus system using
php, apache/php could simplifly creation of a stable and fast web part
of freevo...

Florian


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] switching to pynotifier and pymbus

2004-09-08 Thread Rob Shortt
Florian Demmer wrote:
just a thought: if there were a way to access the smbus system using
php, apache/php could simplifly creation of a stable and fast web part
of freevo...
Apache+PHP == bloat.  We used to use apache, now we have an extremely 
lightweight webserver that is part of Freevo.  It goes along the same 
lines as why we don't use MySQL.

-Rob
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] switching to pynotifier and pymbus

2004-09-08 Thread Hans Meine
On Wednesday 08 September 2004 12:56, Florian Demmer wrote:
 just a thought: if there were a way to access the smbus system using
 php, apache/php could simplifly creation of a stable and fast web part
 of freevo...

There are many pro's and con's of an integrated webserver vs. a separate one. 
Probably this has been discussed before?
Aspects would be: Security, ease of installation, runtime efficiency(?)

ATM I can come up with slightly more advantages than disadvantages of the 
Apache-way. (Apache/PHP are well-maintained, security-supervised, but also 
more likely to be attacked. It can be started by inetd, so memory 
requirements / startup time are no arguments. Many people will be familiar 
with PHP development and can help maintain the Freevo webserver. Installation 
is not more difficult than setting up the current webserver to start at 
boottime.)

Actually, security would be the most important point for me, since it's so 
convenient to be able to schedule recordings while not being at home. On the 
other hand, I don't know how many Freevo users actually do that.

Ciao, /  /.o.
 /--/ ..o
/  / ANS  ooo


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


RE: [Freevo-devel] more guide questions.

2004-09-08 Thread Mick
 Why should it ping? automount does that for you, if the host is
 not alive it will
 unmount the mount point.
 Then it will periodically check for the host availability and,
 when alive, remount the
 mount point for you.

 Should freevo double automount's job?

This is a valid point.  I have no way of testing, as my automount shares are
on the device I ssh from to my freevo box.  So my automunts are always
available when I am coding on my freevo box.

Maybe someone else can test: from freevo host, ls -lah your automount dir
when you know the share is not available.  If there is no delay then it
would be more cpu friendly if we just check if the dir exists before adding
it to display.

Thoughts?

Mick



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] VDR integration

2004-09-08 Thread Thomas Weber
Hello all,
i'd like to implement a better plugin to integrate Klaus 
Schmidingers
VDR (see http://www.cadsoft.de/vdr ) as DVB component into 
freevo.
There is already some nice work from Ove Risberg on 
freevo.org available.
I talked also to Rob Shortt in IRC and it seems that there 
are some
parts done by him as well.

Why i write this: Lets talk about this topic in this 
mailingslist to to
coordinate the needed efforts and get a good solution for 
everyone.

Here is my personal wishlist:
- usage of either Xine (for software mpeg decoding) or 
TVTime (for full
featured DVB cards) to watch TV
- talk to either a local or remote VDR using the SVDRP protocol
- import VDR's EPG as tvguide into freevo
- manage scheduled and finished recordings in freevo's gui
- convert recordings to divx or other format using freevo's 
gui and
propably the vdr-convert package.

Tell me about your ideas what the vdr mode should do. 
Afterwards we
can decide how to implement it.

Greetings,
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] more guide questions.

2004-09-08 Thread Robert Winder

Wednesday, September 8, 2004, 4:22:54 PM, Mick wrote:

 Why should it ping? automount does that for you, if the host is
 not alive it will
 unmount the mount point.
 Then it will periodically check for the host availability and,
 when alive, remount the
 mount point for you.

 Should freevo double automount's job?

 This is a valid point.  I have no way of testing, as my automount shares are
 on the device I ssh from to my freevo box.  So my automunts are always
 available when I am coding on my freevo box.

 Maybe someone else can test: from freevo host, ls -lah your automount dir
 when you know the share is not available.  If there is no delay then it
 would be more cpu friendly if we just check if the dir exists before adding
 it to display.

 Thoughts?

 Mick

Autofs only mounts the dir when entered. ls -lah doesn't work in this
case. Freevo only mounts the dirs when entering the movie_menu and
when the timeout is set to 30 secs autofs umounts the directory's
again. But entering/selecting the entry in movie_menu which was
umounted after 30 secs, autofs quickly mounts the directory again. The
same thing happens when one manually cd to that autofs dir.

So automounts are not always available and autofs only mounts on
demand.

The hostname before the directory entry in local.conf.py makes sure if
the host in question is up and running, when it's down there is no
entry in movie_menu.

I'm clueless how this hostchecking is done but it must be in the code
Soenke Schwardt submitted. Personally i don't care it just works fine.
;-).

/Robert



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel