Re: [Freevo-devel] [ freevo-Feature Requests-1578402 ] Include the DVD encoding package

2006-10-16 Thread Michael Ruelle
per the dvd playing i think we (and xine) get a pass
because we use dvdread, which can then use the dvd
decoding library. mplayer has its own decss code that
it will use if dvdread can't read it. I admit this is
a tricky line to walk but its something we have to be
aware of, especially since lawyers will tend to yank
any name associated with a project into a lawsuit.

I think the decss portion of the dvd reading was done
in a country where it is legal to reverse engineer. I
think it might be technically a little shady to be
using it in the US. I am just wary of being sued by
the MPAA since they seem to be ramping up and becoming
as much of a nuisance as the RIAA.

Mike

--- John Molohan <[EMAIL PROTECTED]> wrote:

> Michael Ruelle wrote:
> > I would be a little hesitant to include a
> dvdbackup
> > plugin in the main core. We debated this with the
> > apple trailers plugin as well since we really
> don't
> > have permission to use the apple site that way and
> > anytime anyone says dvdbackup they equate piracy.
> and
> > quite frankly i would not want to get sued.
> >
> > Mike
> 
> 
> I'm not one of the developers committing code
> neither am I contributing 
> code towards this so my opinion may be of less note
> here than others. If 
> freevo can play dvds now which are copy protected
> then is there not an 
> issue already? Apparently not, is this because
> freevo actually passes 
> off this to xine etc? Is it also not the case that
> this encoding package 
> would work in the same way and could be used to
> backup personally owned, 
> non copy protected DVD? Or if it's extended it could
> be used to 
> re-encoded recorded tv. I really can't see why this
> wouldn't be included 
> but then again IANAL.
> 
>
-
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Feature Requests-1578402 ] Include the DVD encoding package

2006-10-16 Thread Michael Ruelle
I would be a little hesitant to include a dvdbackup
plugin in the main core. We debated this with the
apple trailers plugin as well since we really don't
have permission to use the apple site that way and
anytime anyone says dvdbackup they equate piracy. and
quite frankly i would not want to get sued.

Mike

--- John Molohan <[EMAIL PROTECTED]> wrote:

> Duncan Webb wrote:
> > SourceForge.net wrote:
> >   
> >> Feature Requests item #1578402, was opened at
> 2006-10-16 18:16
> >> Message generated for change (Tracker Item
> Submitted) made by Item Submitter
> >> You can respond by visiting: 
> >>
>
https://sourceforge.net/tracker/?func=detail&atid=446898&aid=1578402&group_id=46652
> >>
> >> Please note that this message will contain a full
> copy of the comment thread,
> >> including the initial issue submission, for this
> request,
> >> not just the latest update.
> >> Category: None
> >> Group: None
> >> Status: Open
> >> Priority: 5
> >> Submitted By: John Molohan (johnmolohan)
> >> Assigned to: Nobody/Anonymous (nobody)
> >> Summary: Include the DVD encoding package
> >>
> >> Initial Comment:
> >> For 1.7 (or earlier if possible :)) I think that
> it'd
> >> be worth a look at including the DVD encoding
> package.
> >> See
> >>
>
http://www.redsoft.be/index.php?option=com_content&task=view&id=15&Itemid=41
> >> and
> >>
>
http://www.redsoft.be/index.php?option=com_content&task=view&id=16&Itemid=41
> >> for more info.
> >> 
> >
> > Hi John,
> >
> > Did you manage to download the encoding server? I
> don't seem to be able
> > to, just hangs.
> >
> > Duncan
> >
> >   
> It's on the addon page of freevo.org. There are two
> versions the 31 
> version seems to have been a corrupt upload, I stuck
> up a copy of 30 a 
> long time ago (not sure where I had it from).
> 
>
-
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Website announce for upcoming 1.6?

2006-09-26 Thread Michael Ruelle
my only thought to add is to ask for a patch to
tv_utils.py that makes the accepted chars list run off
of a freevo_config variable (with the default being
its current value) but got sidetracked wondering how
this ever worked/didn't kill everything for non US
recordings.

i hacked this change manually since it killed my
script to scp my older recordings to my raid5.

Mike Ruelle
[EMAIL PROTECTED]

--- John Molohan <[EMAIL PROTECTED]> wrote:

> Hi Duncan and all,
> 
> I want to stick an announcement up on freevo.org
> about your work and 
> asking for user testing. I just wanted to run it by
> here first. I think 
> that the version number could probably go to 1.6
> instead of 1.5.5 
> justified by the addition of live tv, multi tuner
> support*, new default 
> skin* and of course the great amount of bugs you've
> been fixing. Unless 
> someone objects I'll put up an announcement and ask
> for testers for svn 
> trunk 1.5.
> 
> * Multi tuner support only exists in hacks at the
> moment but I'm hoping 
> someone might submit a real patch as it shouldn't be
> much work. For the 
> next version I think that we should give freevo a
> makeover and use the 
> mediaportal theme from the addons page which has
> already been downloaded 
> 1800 times and is stable. We should also probably
> consider including 
> some of the addons that were considered unsuitable
> (lack of testing 
> etc.) for inclusion in the last release.
> 
> Any thoughts?
> 
> John
> 
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys -- and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


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

2004-09-07 Thread Michael Ruelle
Dischi,

The only reservation i have is leaving a stable webserver. We use a few
features of twisted which are nice. Rewrite all images and styles
references to the first level so we don't have to have image and styles
dirs at every level, the cgi path way of sending variables in one
special case with library to help with m$ browsers only believing file
extensions rather than MIME headers, HTTP basic auth, and then they have
a very nice mechanism for shoveling out the file data when things get
downloaded. Hopefully if we can get these type of features or have the
ability to hack those in it would be great. The N-Way communication of
MBus is certainly attractive for the types of things we won't to do in
the future. just my .02.

Mike Ruelle
[EMAIL PROTECTED]

On Mon, 2004-09-06 at 13:19, Dirk Meyer wrote:
> Hi,
> 
> some already know because I told it on IRC, but here the official
> "request for discussion":
> 
> I don't like twisted. Why? It's a huge monster, including not only
> stuff we need like xmlrpc and a web server but also stuff we don't
> need and a main loop that is too complex. I saw in the code that it
> waits for dead children not started by any part of twisted .. Hey,
> that are my children, don't touch them! The next problem is, that we
> have one xmlrpc server in the recordserver. But when the schedule
> changes, Freevo has to ask the recordserver for a new schedule, the
> recordserver can't send it to Freevo because a) freevo has no xmlrpc
> port and b) if you have more than one freevo, how should the server
> know that? And we need a way to send stuff to Freevo, like the
> webserver may want to say 'start this audio playlist please'. 
> 
> A solution to all this (and more): we use pymbus. Mbus is a protcol
> for host or link local communication. As the name says, it's a bus. So
> every programm on the bus can get the messages (you can also send a
> message directly). For detailed information, please look at
> http://www.mbus.org. A brief summary:
> 
> o mbus is secure, it uses encryption on the bus. 
> o mbus is plain ascii (after decrypted), so every app with the key can
>   read it very easy and apps like mspy can be used for debugging and
>   apps like mbussh can be used to send commands to an app
> o you get notice when an app joins / leaves the bus
> o you can define names for apps so you understand what they do
> o you have events _and_ client server rpc communiaction. 
> o Bindings for C/C++/Perl/Python
> 
> Example:
> Freevo starts, joins the bus and ask: 
> Freevo: I need recording informations. Anyone here can provide them?
> 
> Case a: recordserver is running:
> RS: sure, I'm a recordserver, I can record dvb and analog. Here is my
> current schedule.
> Case b: no recordserver, Freevo still has no schedule and will never
> aks again. When the recordserver starts:
> RS: Hi, I'm a recordserver, here is my schedule.
> 
> Freevo knows there is a recordserver with the name RS on the bus and
> the user wants to schedule something.
> Freevo->RS (unicast): RS, please record xy
> RS no everyone: my schedule changes: here is a new schedule
> RS->Freevo: done!
> 
> Next is the webserver knowing that Freevo is running:
> WS->Freevo: please play playlist xy
> 
> You have an isdn watcher and a new call comes in. It doesn't know
> about Freevo at all:
> ISDN: in case someone wants to know this: the telephone is rinning.
> A special Freevo plugin notice that and mutes the background audio
> playback.
> 
> 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')
> 
> That's what mbus can do, and much more. Read the rfc on mbus if you
> want to know more. The second lib pynotifier is a simple (!) main
> loop. The author of pynotifier and the current maintainer of pymbus
> (also using Freevo) also has a simple webserver and non blocking http
> client. 
> 
> 
> So, there is no need for twisted, mbus is the future[1]. And the
> author of pynotifier will include pynotifier in Freevo when he has a
> free weekend. 
> 
> Comments? Someone with a good argument against it?
> 
> 
> 
> Dischi
> 
> 
> Footnotes: 
> [1]  I better say it before you find out yourself: mbus was developed
>  at the UCL in London and the University of Bremen. I also work at
>  the University in Bremen and mbus was developed in our working
>  group. 



---
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=5047&alloc_id=10808&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] zsnes won't load a file from command line

2004-08-29 Thread Michael Ruelle
Yes it is broken. Just found out when i upgraded during my latest
portage sync. I found a patch in the gentoo forums to get it to work.

use this ridiculous patch at your own risk.

patch it to zsnes-1.36/src/linunx/zloaderw.c

Mike Ruelle
[EMAIL PROTECTED]

On Fri, 2004-08-20 at 05:30, Ben Ford wrote:
> I'm trying to run zsnes with freevo, and for the life of me, I can't get 
> zsnes to actually load the games.  Freevo calls it with the game as a 
> parameter, but zsnes just opens up it's gui with the menu ready for you 
> to browse and load a game.
> 
> I even tried running zsnes manually under strace to see what was 
> happening, and it never even *tried* opening the file.
> 
> -- start strace --
> [EMAIL PROTECTED] ~ $ strace zsnes /home/ben/game.smc 2>&1 | grep smc
> execve("/usr/games/bin/zsnes", ["zsnes", "/home/ben/game.smc"], [/* 50 
> vars */]) = 0
> -- here is where it sat after zsnes loaded.
> 
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> -- and this is after I opened the open file dialog
> 
> open("game.smc", O_RDONLY)  = 8
> -- and here is it finally loading the game after I selected it.
> 
> 
> Anybody know what's going on?  I even cut+pasted the command line from 
> the damn help output and it did the same thing.
> 
> zsnes 1.36 & 1.37_pre20040803
> gentoo linux
> 2.6.8.1 kernel
> 2 separate systems, one w/ reiserfs and one with jfs
> 
> -b
> 
327,328c327,328
< //	if  (optopt == '?')
< //	{
---
> 	if  (optopt == '?')
> 	{
336c336
< //	}
---
> 	}


Re: [Freevo-devel] zsnes won't load a file from command line

2004-08-21 Thread Michael Ruelle
zsnes has an arg to turn off the gui in most versions it is '-m'/ be
careful with the options to zsnes. You should review the switches since
some posted examples have the '-t' and '-u' switches which are for tv
out and force the ntsc or pal timings for tv display.

what switches are you using?

Mike Ruelle

On Fri, 2004-08-20 at 05:30, Ben Ford wrote:
> I'm trying to run zsnes with freevo, and for the life of me, I can't get 
> zsnes to actually load the games.  Freevo calls it with the game as a 
> parameter, but zsnes just opens up it's gui with the menu ready for you 
> to browse and load a game.
> 
> I even tried running zsnes manually under strace to see what was 
> happening, and it never even *tried* opening the file.
> 
> -- start strace --
> [EMAIL PROTECTED] ~ $ strace zsnes /home/ben/game.smc 2>&1 | grep smc
> execve("/usr/games/bin/zsnes", ["zsnes", "/home/ben/game.smc"], [/* 50 
> vars */]) = 0
> -- here is where it sat after zsnes loaded.
> 
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> stat64("game.smc", {st_mode=S_IFREG|0644, st_size=3146240, ...}) = 0
> -- and this is after I opened the open file dialog
> 
> open("game.smc", O_RDONLY)  = 8
> -- and here is it finally loading the game after I selected it.
> 
> 
> Anybody know what's going on?  I even cut+pasted the command line from 
> the damn help output and it did the same thing.
> 
> zsnes 1.36 & 1.37_pre20040803
> gentoo linux
> 2.6.8.1 kernel
> 2 separate systems, one w/ reiserfs and one with jfs
> 
> -b
> 



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/src/helpers recordserver.py,1.37,1.38

2004-04-18 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23355

Modified Files:
recordserver.py 
Log Message:
fix missing self, priorities still really don't do anything but at least it looks like 
its doing something.

Index: recordserver.py
===
RCS file: /cvsroot/freevo/freevo/src/helpers/recordserver.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** recordserver.py 18 Apr 2004 08:23:44 -  1.37
--- recordserver.py 18 Apr 2004 14:39:19 -  1.38
***
*** 7,10 
--- 7,13 
  # ---
  # $Log$
+ # Revision 1.38  2004/04/18 14:39:19  mikeruelle
+ # fix missing self, priorities still really don't do anything but at least it looks 
like its doing something.
+ #
  # Revision 1.37  2004/04/18 08:23:44  dischi
  # fix unicode problem
***
*** 575,579 
  save = []
  mod = int(mod)
! (status, me) = getFavorite(favname)
  oldprio = int(me.priority)
  newprio = oldprio + mod
--- 578,582 
  save = []
  mod = int(mod)
! (status, me) = self.getFavorite(favname)
  oldprio = int(me.priority)
  newprio = oldprio + mod



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Re: Rendezvous

2004-04-17 Thread Michael Ruelle
One of the reasons I think it hasn';t been persued is that currently
depending on what method you call of the record server it can be very
tricky to develop something other than in the freevo/python environment
we setup. We use some persistence calls that pass python objects.
Unfortunately the persistence library we use with the twisted
application framework we developed the web and record server with is
only implemented in python at the moment.

One of my future plans is to try to wrap some of these calls and spit
out more normal xml (the xml from the persistence calls is really wierd)
so that people can develop apps without having to use python and have
freevo installed on the machine for all the classes we use.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sat, 2004-04-17 at 10:48, Aubin Paul wrote:
> It was more of a proof of concept in broadcasting the webserver to a
> Safari/HOWL enabled PC. It could concievably work with the
> recordserver as well, but no one else wanted to persue it ;)
> 
> I believe the module I included in CVS has support for both finding
> and broadcasting...
> 
> Aubin
> 
> 
> On Sat, Apr 17, 2004 at 10:32:11AM -0400, Ross Karchner wrote:
> > Is the Rendevous plugin meant to help users find the web interface, or 
> > to help the freevo app and webserver find a recordserver?
> > 
> > Aubin Paul wrote:
> > 
> > >I used it a few times after I initially wrote it, but I haven't been
> > >using it recently. I'm guessing some things have changed and I never
> > >updated it to work. I can probably take a more serious look on
> > >Wednesday...
> > >
> > >On Sat, Apr 17, 2004 at 03:06:38PM +0200, Lars Eggert wrote:
> > >
> > >>Am I the first to run this, ever? :-)
> > >
> > >
> > >
> > >---
> > >This SF.Net email is sponsored by: IBM Linux Tutorials
> > >Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > >GenToo technologies. Learn everything from fundamentals to system
> > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > >___
> > >Freevo-devel mailing list
> > >[EMAIL PROTECTED]
> > >https://lists.sourceforge.net/lists/listinfo/freevo-devel
> > >
> > 
> > 
> > 
> > ---
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> ---
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/src config.py,1.103,1.104

2004-04-11 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3040

Modified Files:
config.py 
Log Message:
do dir processing for games too. fixes annoying crashes due to trailing slashes

Index: config.py
===
RCS file: /cvsroot/freevo/freevo/src/config.py,v
retrieving revision 1.103
retrieving revision 1.104
diff -C2 -d -r1.103 -r1.104
*** config.py   21 Mar 2004 10:01:18 -  1.103
--- config.py   11 Apr 2004 18:51:59 -  1.104
***
*** 23,26 
--- 23,29 
  # ---
  # $Log$
+ # Revision 1.104  2004/04/11 18:51:59  mikeruelle
+ # do dir processing for games too. fixes annoying crashes due to trailing slashes
+ #
  # Revision 1.103  2004/03/21 10:01:18  dischi
  # FREEVO_LOCALE is used somewhere else
***
*** 585,589 
  VIDEO_ONLY_SCAN_DATADIR = True
  
! elif type != 'games':
  # The algorithm doesn't work for GAMES_ITEMS, so we leave it out
  abs = []
--- 588,604 
  VIDEO_ONLY_SCAN_DATADIR = True
  
! elif type == 'games':
! abs = []
! for d in x:
! pos = d[1].find(':')
! if pos == -1:
! abs.append((d[0], os.path.abspath(d[1]), d[2]))
! else:
! if pos > d[1].find('/'):
! abs.append((d[0], os.path.abspath(d[1]), d[2]))
! else:
! abs.append((d[0], d[1][0:pos+1] + os.path.abspath(d[1][pos+1:]), 
d[2]))
! exec ('%s = abs' % n)
! else:
  # The algorithm doesn't work for GAMES_ITEMS, so we leave it out
  abs = []



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Re: Caching bug fixed

2004-04-11 Thread Michael Ruelle
Dischi,

also a note i noticed some of the name handling in getname depends on
not having a trailing slash in a file path. Which is not always the case
when a user enters it in the local_conf.py. I noticed crashes with the
games plugin when this occured. Found this out when helping a user on
irc with a balky games installation.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sun, 2004-04-11 at 12:01, Dirk Meyer wrote:
> Thomas Zangl - Mobil wrote:
> >  
> > Hi,
> >
> > Fixed the traceback when I try "freevo cache":
> >
> > In freevo/util/fileops.py change the line 209 from:
> >
> > fsuffix = vfs.splitext(filename[1]).lower()[1:]
> 
> That's strange. My version has
> 
> fsuffix = vfs.splitext(filename)[1].lower()[1:]
> 
> 
> Dischi




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/WIP/Ruelle TODO,1.11,1.12

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/WIP/Ruelle
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13109

Modified Files:
TODO 
Log Message:
one thing off, a bunch more added, sigh

Index: TODO
===
RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/TODO,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TODO24 Feb 2004 17:40:41 -  1.11
--- TODO22 Mar 2004 01:27:06 -  1.12
***
*** 6,11 
  - add to tvtime plugin:
* active channel support using info from TV_CHANNELS if provided
-   * figure a way to make North American users happy by having the
- channel numbers matchup with channel index we use.
* find a better way to keep track of chan index. we lose it now
  when we input numbers. this leads to bad things when more than
--- 6,9 
***
*** 19,21 
--- 17,21 
* Idlebar plugin to display number of tagged files/dirs and total size
* Symbol or Font Style change to show Tagged status
+ - add a working xawtv tv plugin for poor GATOS users.
+ - make a command line wrapper gphoto plugin to be a little easier than pygphoto to 
setup.
  



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/tv/plugins tvtime.py,1.33,1.34

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12698

Modified Files:
tvtime.py 
Log Message:
tv channel padding so that the big number in tvtime is what us cable channel it is. 
channels must be in order to use this

Index: tvtime.py
===
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/tvtime.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** tvtime.py   21 Mar 2004 18:30:04 -  1.33
--- tvtime.py   22 Mar 2004 01:24:40 -  1.34
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.34  2004/03/22 01:24:40  mikeruelle
+ # tv channel padding so that the big number in tvtime is what us cable channel it 
is. channels must be in order to use this
+ #
  # Revision 1.33  2004/03/21 18:30:04  mikeruelle
  # allow for some special options during setup
***
*** 305,308 
--- 308,321 
  mychan = mychan / 1000.0
  mychan = "%.2fMHz" % mychan
+ if (hasattr(config, 'TV_PAD_CHAN_NUMBERS') and 
config.TV_PAD_CHAN_NUMBERS and re.search('^\d+$', mychan)):
+   for i in range(c,int(mychan)):
+ fchild =  doc.createElement('station')
+ fchild.setAttribute('channel',str(i))
+ fchild.setAttribute('band',myband)
+ fchild.setAttribute('name',str(i))
+ fchild.setAttribute('active','0')
+ fchild.setAttribute('position',str(i))
+ freevonode.appendChild(fchild)
+ c = c + 1
  fchild =  doc.createElement('station')
  fchild.setAttribute('channel',mychan)
***
*** 350,353 
--- 363,370 
  mychan = mychan / 1000.0
  mychan = "%.2fMHz" % mychan
+ if (hasattr(config, 'TV_PAD_CHAN_NUMBERS') and 
config.TV_PAD_CHAN_NUMBERS and re.search('^\d+$', mychan)):
+   for i in range(c,int(mychan)):
+ fp.write('\n' % (i,i,myband,i))
+ c = c + 1
  if self.xmltv_supported:
  fp.write('\n' % (cgi.escape(m[1]), m[0], c, myband, 
mychan))
***
*** 499,502 
--- 516,524 
cf_input = config.TV_VCR_INPUT_NUM
  
+ if hasattr(config, 'TV_PAD_CHAN_NUMBERS') and config.TV_PAD_CHAN_NUMBERS:
+   mychan = tuner_channel
+ else:
+   mychan = self.tuner_chidx
+ 
  command = '%s -D %s -k -I %s -n %s -d %s -f %s -c %s -i %s' % 
(config.TVTIME_CMD,
 outputplugin,
***
*** 505,509 
 cf_device,
 'freevo',
!self.tuner_chidx,
   cf_input)
  
--- 527,531 
 cf_device,
 'freevo',
!mychan,
   cf_input)
  



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/www/htdocs library.rpy,1.22,1.23

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26578

Modified Files:
library.rpy 
Log Message:
remove non dir items from the list of dirs gets rid of webradio oddity

Index: library.rpy
===
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/library.rpy,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** library.rpy 21 Mar 2004 23:40:00 -  1.22
--- library.rpy 21 Mar 2004 23:45:56 -  1.23
***
*** 12,15 
--- 12,18 
  # ---
  # $Log$
+ # Revision 1.23  2004/03/21 23:45:56  mikeruelle
+ # remove non dir items from the list of dirs gets rid of webradio oddity
+ #
  # Revision 1.22  2004/03/21 23:40:00  mikeruelle
  # unicode breaks several key test rework the interface to cope.
***
*** 171,196 
  
  if media == 'movies':
! dirs.extend(config.VIDEO_ITEMS)
  elif media == 'music':
! dirs.extend(config.AUDIO_ITEMS)
  elif media == 'rectv':
! dirs = [ ('Recorded TV', config.TV_RECORD_DIR) ]
  elif media == 'images':
  dirs2.extend(config.IMAGE_ITEMS)
- #strip out ssr files
- for d in dirs2:
- (title, tdir) = d
- if os.path.isdir(tdir):
- dirs.append(d)
  elif media == 'download':
! dirs.extend(config.VIDEO_ITEMS)
! dirs.extend(config.AUDIO_ITEMS)
! dirs.extend( [ ('Recorded TV', config.TV_RECORD_DIR) ])
  dirs2.extend(config.IMAGE_ITEMS)
! #strip out ssr files
! for d in dirs2:
! (title, tdir) = d
! if os.path.isdir(tdir):
! dirs.append(d)
  return dirs
  
--- 174,194 
  
  if media == 'movies':
! dirs2.extend(config.VIDEO_ITEMS)
  elif media == 'music':
! dirs2.extend(config.AUDIO_ITEMS)
  elif media == 'rectv':
! dirs2 = [ ('Recorded TV', config.TV_RECORD_DIR) ]
  elif media == 'images':
  dirs2.extend(config.IMAGE_ITEMS)
  elif media == 'download':
! dirs2.extend(config.VIDEO_ITEMS)
! dirs2.extend(config.AUDIO_ITEMS)
! dirs2.extend( [ ('Recorded TV', config.TV_RECORD_DIR) ])
  dirs2.extend(config.IMAGE_ITEMS)
! #strip out ssr and fxd files
! for d in dirs2:
! (title, tdir) = d
! if os.path.isdir(tdir):
! dirs.append(d)
  return dirs
  



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/www/htdocs library.rpy,1.21,1.22

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24782

Modified Files:
library.rpy 
Log Message:
unicode breaks several key test rework the interface to cope.

Index: library.rpy
===
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/library.rpy,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** library.rpy 23 Feb 2004 08:33:21 -  1.21
--- library.rpy 21 Mar 2004 23:40:00 -  1.22
***
*** 12,15 
--- 12,18 
  # ---
  # $Log$
+ # Revision 1.22  2004/03/21 23:40:00  mikeruelle
+ # unicode breaks several key test rework the interface to cope.
+ #
  # Revision 1.21  2004/02/23 08:33:21  gsbarbieri
  # i18n: help translators job.
***
*** 234,243 
  fs_result = 0
  bs_result = 0
! if action_file:
  fs_result = string.find(action_file, '/')
  bs_result = string.find(action_file, '\\')
  
  #do actions here
! if bs_result == -1 and fs_result == -1:
  file_loc = os.path.join(action_dir, action_file)
  if os.path.isfile(file_loc):
--- 237,246 
  fs_result = 0
  bs_result = 0
! if len(action_file):
  fs_result = string.find(action_file, '/')
  bs_result = string.find(action_file, '\\')
  
  #do actions here
! if not action == 'view' and bs_result == -1 and fs_result == -1:
  file_loc = os.path.join(action_dir, action_file)
  if os.path.isfile(file_loc):
***
*** 262,266 
  else:
  messages += [ ''+_('ERROR') + ': ' + _( '%s does not exist. 
No action taken.') % (''+file_loc+'') ]
! elif action_file:
  messages += [ ''+_('ERROR')+': ' +_( 'I do not process names (%s) 
with slashes for security reasons.') % action_file ]
  
--- 265,269 
  else:
  messages += [ ''+_('ERROR') + ': ' + _( '%s does not exist. 
No action taken.') % (''+file_loc+'') ]
! elif action_file and action != 'view':
  messages += [ ''+_('ERROR')+': ' +_( 'I do not process names (%s) 
with slashes for security reasons.') % action_file ]
  
***
*** 291,295 
  if not action_mediatype:
  fv.tableOpen('class="library"')
! movmuslink = '%s' 
  rectvlink = '%s' 
  fv.tableRowOpen('class="chanrow"')
--- 294,298 
  if not action_mediatype:
  fv.tableOpen('class="library"')
! movmuslink = '%s' 
  rectvlink = '%s' 
  fv.tableRowOpen('class="chanrow"')
***
*** 313,317 
  fv.printLinks()
  fv.printFooter()
! elif action_mediatype and not action_dir:
  # show the appropriate dirs from config variables
  # make a back to pick music or movies
--- 316,320 
  fv.printLinks()
  fv.printFooter()
! elif action_mediatype and len(action_dir) == 0:
  # show the appropriate dirs from config variables
  # make a back to pick music or movies
***
*** 334,339 
  fv.printLinks()
  fv.printFooter()
! elif action_mediatype and action_dir and not action == "download":
! if not self.check_dir(action_mediatype,action_dir):
  sys.exit(1)
  
--- 337,342 
  fv.printLinks()
  fv.printFooter()
! elif action_mediatype and len(action_dir) and action != "download":
! if not self.check_dir(action_mediatype,action_dir) and action != 'view':
  sys.exit(1)
  
***
*** 396,400 
  backlink = '« '+_('Back')+''
  elif actiondir_is_root == TRUE:
! backlink = '« '+_('Back')+''
  else:
  backdir = os.path.dirname(action_dir)
--- 399,403 
  backlink = '« '+_('Back')+''
  elif actiondir_is_root == TRUE:
! backlink = '« '+_('Back')+''
  else:
  backdir = os.path.dirname(action_dir)



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/tv/plugins xawtv.py,1.2,1.3

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17309

Modified Files:
xawtv.py 
Log Message:
docs fro devels, this is not for newbs yet

Index: xawtv.py
===
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/xawtv.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** xawtv.py21 Mar 2004 22:58:16 -  1.2
--- xawtv.py21 Mar 2004 23:03:23 -  1.3
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.3  2004/03/21 23:03:23  mikeruelle
+ # docs fro devels, this is not for newbs yet
+ #
  # Revision 1.2  2004/03/21 22:58:16  mikeruelle
  # make start channel work and messages display fully
***
*** 61,64 
--- 64,77 
  """
  Plugin to watch tv with xawtv. very beta use at your own risk.
+ to activate:
+ plugin.activate('tv.xawtv', args=('/usr/bin/xawtv', '/usr/bin/xawtv-remote',))
+ 
+ replace the paths for the programs fo wherever you installed them.
+ currently only remote support really works well. Keyboard is taken by
+ xawtv so you have to know its keys. Also you need a .xawtv file in the
+ homedir of whoever is running the program. it must be synced up with your
+ tv_channels variable or you will get wierd behavior. Only base video
+ groups functionality on startup and no vg switching on ch+/ch- at the
+ moment.
  """
  def __init__(self, app, remote):



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/tv/plugins xawtv.py,1.1,1.2

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16418

Modified Files:
xawtv.py 
Log Message:
make start channel work and messages display fully

Index: xawtv.py
===
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/xawtv.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** xawtv.py21 Mar 2004 21:21:54 -  1.1
--- xawtv.py21 Mar 2004 22:58:16 -  1.2
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.2  2004/03/21 22:58:16  mikeruelle
+ # make start channel work and messages display fully
+ #
  # Revision 1.1  2004/03/21 21:21:54  mikeruelle
  # start of an xawtv plugin. it works sorta
***
*** 185,188 
--- 188,192 
  
if tuner_channel:
+   time.sleep(0.5)
self.app.sendcmd('setstation %s' % tuner_channel)
  #XXX use remote to change the input we want
***
*** 222,226 
  if event == em.STOP or event == em.PLAY_END:
  self.app.sendcmd('quit')
! time.sleep(2)
  self.Stop()
  rc.post_event(em.PLAY_END)
--- 226,230 
  if event == em.STOP or event == em.PLAY_END:
  self.app.sendcmd('quit')
! time.sleep(1)
  self.Stop()
  rc.post_event(em.PLAY_END)
***
*** 242,250 
  elif event == em.TOGGLE_OSD:
#try to send channel name
! self.app.sendcmd('msg %s' % self.TunerGetChannel())
  return True
  
  elif event == em.OSD_MESSAGE:
! self.app.sendcmd('msg %s' % event.arg)
  return True
 
--- 246,254 
  elif event == em.TOGGLE_OSD:
#try to send channel name
! self.app.sendcmd('msg \'%s\'' % self.TunerGetChannel())
  return True
  
  elif event == em.OSD_MESSAGE:
! self.app.sendcmd('msg \'%s\'' % event.arg)
  return True
 



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/tv/plugins xawtv.py,NONE,1.1

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28957

Added Files:
xawtv.py 
Log Message:
start of an xawtv plugin. it works sorta

--- NEW FILE: xawtv.py ---
#if 0 /*
# ---
# xawtv.py - use xawtv for tv viewing
# ---
# $Id: xawtv.py,v 1.1 2004/03/21 21:21:54 mikeruelle Exp $
#
# Notes:
# Todo:
#
# ---
# $Log: xawtv.py,v $
# Revision 1.1  2004/03/21 21:21:54  mikeruelle
# start of an xawtv plugin. it works sorta
#
#
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al. 
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# --- */
#endif


import config
import time, os
import string
import signal
import re

import util# Various utilities
import rc  # The RemoteControl class.
import childapp # Handle child applications
import tv.epg_xmltv as epg # The Electronic Program Guide
import event as em
from tv.channels import FreevoChannels

import plugin

# Set to 1 for debug output
DEBUG = config.DEBUG

class PluginInterface(plugin.Plugin):
"""
Plugin to watch tv with xawtv. very beta use at your own risk.
"""
def __init__(self, app, remote):
plugin.Plugin.__init__(self)

#XXX might want to check to see if .xawtv present.
# we really don't have much of a prayer if it isn't

# create the xawtv object and register it
plugin.register(Xawtv(app, remote), plugin.TV)

class Xawtv:

__muted= 0
__igainvol = 0

def __init__(self, app, remote):
self.tuner_chidx = 0# Current channel, index into config.TV_CHANNELS
self.app_mode = 'tv'
self.fc = FreevoChannels()
self.current_vg = None
self.xawtv_prog = app
self.remote_prog = remote

def TunerSetChannel(self, tuner_channel):
for pos in range(len(config.TV_CHANNELS)):
channel = config.TV_CHANNELS[pos]
if channel[2] == tuner_channel:
self.tuner_chidx = pos
return
print 'ERROR: Cannot find tuner channel "%s" in the TV channel listing' % 
tuner_channel
self.tuner_chidx = 0


def TunerGetChannelInfo(self):
'''Get program info for the current channel'''

tuner_id = config.TV_CHANNELS[self.tuner_chidx][2]
chan_name = config.TV_CHANNELS[self.tuner_chidx][1]
chan_id = config.TV_CHANNELS[self.tuner_chidx][0]

channels = epg.get_guide().GetPrograms(start=time.time(),
   stop=time.time(), chanids=[chan_id])

if channels and channels[0] and channels[0].programs:
start_s = time.strftime('%H:%M', 
time.localtime(channels[0].programs[0].start))
stop_s = time.strftime('%H:%M', 
time.localtime(channels[0].programs[0].stop))
ts = '(%s-%s)' % (start_s, stop_s)
prog_info = '%s %s' % (ts, channels[0].programs[0].title)
else:
prog_info = 'No info'

return tuner_id, chan_name, prog_info


def TunerGetChannel(self):
return config.TV_CHANNELS[self.tuner_chidx][2]


def TunerNextChannel(self):
self.tuner_chidx = (self.tuner_chidx+1) % len(config.TV_CHANNELS)


def TunerPrevChannel(self):
self.tuner_chidx = (self.tuner_chidx-1) % len(config.TV_CHANNELS)


def Play(self, mode, tuner_channel=None, channel_change=0):

if tuner_channel != None:
try:
self.TunerSetChannel(tuner_channel)
except ValueError:
pass
if not tuner_channel:
tuner_channel = self.fc.getChannel()
vg = self.current_vg = self.fc.getVideoGroup(tuner_channel)

if not vg.group_type == 'normal':
print 'Xawtv only supports normal. "%s" is not implemented' % vg.group_type
return

if mode == 'tv' or mode == 'vcr':
 

[Freevo-cvslog] freevo/src/tv/plugins tvtime.py,1.32,1.33

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25057

Modified Files:
tvtime.py 
Log Message:
allow for some special options during setup

Index: tvtime.py
===
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/tvtime.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** tvtime.py   23 Feb 2004 17:56:39 -  1.32
--- tvtime.py   21 Mar 2004 18:30:04 -  1.33
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.33  2004/03/21 18:30:04  mikeruelle
+ # allow for some special options during setup
+ #
  # Revision 1.32  2004/02/23 17:56:39  mikeruelle
  # add stop_osd=1 for vcr viewing to work. make vcr viewing work. add some commented 
out ch+/ch- video group handling. it is broken when you use numeric channel changing.
***
*** 253,256 
--- 256,261 
  else:
  daoptions += ' -d %s -n %s' % (cf_device, s_norm)
+   if hasattr(config, "TV_TVTIME_SETUP_OPTS") and config.TV_TVTIME_SETUP_OPTS:
+ daoptions += ' %s' % config.TV_TVTIME_SETUP_OPTS
  os.system(configcmd+daoptions)
  



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src/video videoitem.py,1.131,1.132

2004-03-21 Thread Michael Ruelle
Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22949

Modified Files:
videoitem.py 
Log Message:
needed by encoding server

Index: videoitem.py
===
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -d -r1.131 -r1.132
*** videoitem.py21 Mar 2004 17:06:42 -  1.131
--- videoitem.py21 Mar 2004 18:20:38 -  1.132
***
*** 11,14 
--- 11,17 
  # ---
  # $Log$
+ # Revision 1.132  2004/03/21 18:20:38  mikeruelle
+ # needed by encoding server
+ #
  # Revision 1.131  2004/03/21 17:06:42  dischi
  # also search for tv show images in current dir
***
*** 593,596 
--- 596,600 
  for title in range(len(self.info['tracks'])):
  i = copy.copy(self)
+ i.parent = self
  i.set_url(self.url + str(title+1), False)
  i.info = copy.copy(self.info)



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Re: Freevo 1.5 release plan

2004-03-14 Thread Michael Ruelle
On Sun, 2004-03-14 at 08:58, Dirk Meyer wrote:
> [EMAIL PROTECTED] wrote:
> > Can you add the allocine.py video pugin that i sent you before in the next
> > 1.5pre2 ??
> > Many french user of Freevo ask for a french-IMDB like plugin, so it would
> > be great if we could have it in the 1.5 release (even in beta mode)./
> 
> What do other think? I would prefer an external plugin because most
> people don't need it. And you could update it yourself.

I would tend to lean plugin as well. We have the addons page and it can
easily be retrieved from there. As long as he doesn't need patches
against the main source then it should be fine as plugin. Not sure if
the plugin is just an addition or an attempt at a dropin replacement of
imdb which is kinda tied in some places to the main source.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Freevo Traceback

2004-02-24 Thread Michael Ruelle
remove your /var/cache/freevo/TV.xml.pickled and then try again.

Mike

On Tue, 2004-02-24 at 15:37, David Irvine wrote:
> Hello,
> 
> Checked out the latest CVS today,
> 
> When I select TV guide for the first time after i start freevo it
> crashes, but from then on there are no problems. 
> 
> 
> 
> 
> **
> Exception: 'NoneType' object has no attribute 'surface'
> Please report the following lines to the freevo mailing list
> or with the subject '[Freevo-Bugreport\] GUI' to
> [EMAIL PROTECTED]
>  
> Traceback (most recent call last):
>   File "/root/freevo/src/main.py", line 442, in ?
> app.eventhandler(event)
>   File "/root/freevo/src/menu.py", line 582, in eventhandler
> action( arg=arg, menuw=self )
>   File "/root/freevo/src/menu.py", line 125, in select
> self.function(arg=self.arg, menuw=menuw)
>   File "/root/freevo/src/tv/tvmenu.py", line 179, in start_tvguide
> TVGuide(self.get_start_time(), start_tv, menuw)
>   File "/root/freevo/src/tv/tvguide.py", line 118, in __init__
> guide = epg_xmltv.get_guide(PopupBox(text=_('Preparing the program
> guide')))
>   File "/root/freevo/src/tv/epg_xmltv.py", line 146, in get_guide
> popup.show()
>   File "/root/freevo/src/gui/GUIObject.py", line 206, in show
> self.draw()
>   File "/root/freevo/src/gui/GUIObject.py", line 274, in draw
> self._draw()
>   File "/root/freevo/src/gui/Window.py", line 166, in _draw
> self.content.surface = self.content.get_surface()
>   File "/root/freevo/src/gui/GUIObject.py", line 354, in get_surface
> print 'wanted %s for %s' % (self.get_rect(), self.parent.surface)
> AttributeError: 'NoneType' object has no attribute 'surface'
> 
> 
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Bugs in Web Interface (Mike, Rob)

2004-02-22 Thread Michael Ruelle
Ok it looks like my major problem was the result of having an old
TV.xml.pickle file. I removed that and then everything magically worked.
We should make a note of this for when we do the next release.

Mike

On Sun, 2004-02-22 at 11:30, Michael Ruelle wrote:
> On Sun, 2004-02-22 at 02:13, Gustavo Sverzut Barbieri wrote:
> > Hello,
> > 
> > Trying to fix bugs reported by Mike and you know, dig a problem, find
> > lot of them.
> > 
> > 1) Favorites doesn't support non-ascii names (at least not in unicode).
> > The error is when communicating to the server.
> > tv.record_client.findProg() masks the error in the general except
> > clause. Please could some of you guys check this and  come with a
> > solution? I don't know twisted internals.
> > 
> 
> We have seen this for a while i thought someone submitted a fix where by
> we use the persistence layer of twisted (marmalade). To be able to pass
> the string object around and not have twisted see it as unicode. Which
> it doesn't seem to like. Because if you notice you can schedule programs
> to record that have unicode in them. The pass through marmalade is the
> difference between the two.
> 
> > 2) As said, Favorites doesn't support non-ascii names, so findProg()
> > returns a string (error message) as response. Too bad
> > edit_favorites.rpy does *NOT* check it and keeps processing... so
> > 'prog' is a unicode object instead of a programme and too bad, it has a
> > .title (but it's a method), so the crash will occur just deeper in the
> > stack, when creating a Favorite().
> > 
> 
> talk to rob on that one.
> 
> > Mike, you said:
> > > The next error i can't figure out:
> > > exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 
> > > in position 109: ordinal not in range(128)
> > >
> > > it comes from:
> > > 248 def tableCell(self, data='', opts=''):
> > > 249self.res += ""+data+"\n"
> > > 
> > > with data set as:
> > > 'S\xe1bado Gigante »'
> > 
> > It happens there, but I need to know what is calling tableCell(). The
> > error there is that your self.res may be in unicode already and you
> > give it a string with non-ascii chars (data). Python tries to convert
> > data to unicode using the ascii encoding and fails, raising an
> > exception. To fix that is just a matter of wrapping data with Unicode()
> > when calling tableCell().
> 
> it's happening somewhere in guide but the core dump screen isn't
> terrible specific. I will go to guide again and try to get the full
> error page. and send it to you.
> 
> > BTW, where do you live? 'SÃbado gigante' seems portuguese (I'm
> > Brazilian).
> 
> There are several foreign language channels here. I keep that one since
> they play the USA soccer teams matches even when the other sports
> networks don't carry them.
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Bugs in Web Interface (Mike, Rob)

2004-02-22 Thread Michael Ruelle
On Sun, 2004-02-22 at 02:13, Gustavo Sverzut Barbieri wrote:
> Hello,
> 
> Trying to fix bugs reported by Mike and you know, dig a problem, find
> lot of them.
> 
> 1) Favorites doesn't support non-ascii names (at least not in unicode).
> The error is when communicating to the server.
> tv.record_client.findProg() masks the error in the general except
> clause. Please could some of you guys check this and  come with a
> solution? I don't know twisted internals.
> 

We have seen this for a while i thought someone submitted a fix where by
we use the persistence layer of twisted (marmalade). To be able to pass
the string object around and not have twisted see it as unicode. Which
it doesn't seem to like. Because if you notice you can schedule programs
to record that have unicode in them. The pass through marmalade is the
difference between the two.

> 2) As said, Favorites doesn't support non-ascii names, so findProg()
> returns a string (error message) as response. Too bad
> edit_favorites.rpy does *NOT* check it and keeps processing... so
> 'prog' is a unicode object instead of a programme and too bad, it has a
> .title (but it's a method), so the crash will occur just deeper in the
> stack, when creating a Favorite().
> 

talk to rob on that one.

> Mike, you said:
> > The next error i can't figure out:
> > exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 
> > in position 109: ordinal not in range(128)
> >
> > it comes from:
> > 248 def tableCell(self, data='', opts=''):
> > 249self.res += ""+data+"\n"
> > 
> > with data set as:
> > 'S\xe1bado Gigante »'
> 
> It happens there, but I need to know what is calling tableCell(). The
> error there is that your self.res may be in unicode already and you
> give it a string with non-ascii chars (data). Python tries to convert
> data to unicode using the ascii encoding and fails, raising an
> exception. To fix that is just a matter of wrapping data with Unicode()
> when calling tableCell().

it's happening somewhere in guide but the core dump screen isn't
terrible specific. I will go to guide again and try to get the full
error page. and send it to you.

> BTW, where do you live? 'SÃbado gigante' seems portuguese (I'm
> Brazilian).

There are several foreign language channels here. I keep that one since
they play the USA soccer teams matches even when the other sports
networks don't carry them.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs edit_favorite.rpy,1.9,1.10 favorites.rpy,1.10,1.11 genre.rpy,1.5,1.6 guide.rpy,1.21,1.22 iceslistchanger.rpy,1.4,1.5 index.rpy,1.11,1.12 library.rpy,1.19,1.20 manualrecord.rpy,1.9,1.10 record.rpy,1.10,1.11 search.rpy,1.14,1.15 wap_login.rpy,1.2,1.3 wap_rec.rpy,1.3,1.4

2004-02-21 Thread Michael Ruelle
THe guide appears to be very broken

it looks like you embedded _('') things in the middle of a """ ... """
string which has a sprintf conversion at the end. this causes an error
about not all the arguments being converted. If i remove the _() things
i get past that error.

The next error i can't figure out:
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in
position 109: ordinal not in range(128)

it comes from:
248 def tableCell(self, data='', opts=''):
249self.res += ""+data+"\n"

with data set as:
'S\xe1bado Gigante »'

So i have no idea how to deal with it.

I am willing to bet genre.rpy has similar problems since it uses alot of
similar code.

Mike


On Wed, 2004-02-18 at 23:58, [EMAIL PROTECTED] wrote:

> Index: guide.rpy
> ===
> RCS file: /cvsroot/freevo/freevo/src/www/htdocs/guide.rpy,v
> retrieving revision 1.21
> retrieving revision 1.22
> diff -C2 -d -r1.21 -r1.22
> *** guide.rpy 9 Feb 2004 21:37:43 -   1.21
> --- guide.rpy 19 Feb 2004 04:57:59 -  1.22
> ***
> *** 12,15 
> --- 12,19 
>   # ---
>   # $Log$
> + # Revision 1.22  2004/02/19 04:57:59  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.21  2004/02/09 21:37:43  outlyer
>   # Removed the rounded edges I was trying for the guide; they don't work
> ***
> *** 181,189 
>   schedule = schedule.getProgramList()
>   
> ! fv.printHeader('TV Guide', config.WWW_STYLESHEET, config.WWW_JAVASCRIPT, 
> selected='TV Guide')
>   fv.res += '\n';
>   fv.res += ' \n'
>   if not got_schedule:
> ! fv.res += 'The recording server is down, recording information is 
> unavailable.'
>   
>   pops = ''
> --- 185,193 
>   schedule = schedule.getProgramList()
>   
> ! fv.printHeader(_('TV Guide'), config.WWW_STYLESHEET, 
> config.WWW_JAVASCRIPT, selected=_('TV Guide'))
>   fv.res += '\n';
>   fv.res += ' \n'
>   if not got_schedule:
> ! fv.res += ''+_('ERROR')+': '+_('recording server is 
> unavailable')+''
>   
>   pops = ''
> ***
> *** 192,199 
>   fv.tableOpen()
>   fv.tableRowOpen('class="chanrow"')
> ! fv.tableCell('Time: ' + self.maketimejumpboxday(now) + 
> self.maketimejumpboxoffset(now) + '', 
> 'class="utilhead"')
>   categorybox =  self.makecategorybox(guide.chan_list)
>   if categorybox:
> ! fv.tableCell(' action="genre.rpy">Show Category: '+categorybox+' value="Change">', 'class="utilhead"')
>   fv.tableRowClose()
>   fv.tableClose()
> --- 196,203 
>   fv.tableOpen()
>   fv.tableRowOpen('class="chanrow"')
> ! fv.tableCell(''+_('Time')+': ' + self.maketimejumpboxday(now) + 
> self.maketimejumpboxoffset(now) + ' value="'+_('View')+'">', 'class="utilhead"')
>   categorybox =  self.makecategorybox(guide.chan_list)
>   if categorybox:
> ! fv.tableCell(' action="genre.rpy">'+_('Show')+' '+_('Category')+': '+categorybox+' type=submit value="'+_('Change')+'">', 'class="utilhead"')
>   fv.tableRowClose()
>   fv.tableClose()
> ***
> *** 234,238 
>   
>   if not chan.programs:
> ! fv.tableCell('« NO DATA »', 'class="programnodata" 
> colspan="%s"' % (n_cols* cpb) )
>   
>   for prog in chan.programs:
> --- 238,242 
>   
>   if not chan.programs:
> ! fv.tableCell('« '+_('This channel has no data loaded')+' 
> »', 'class="programnodata" colspan="%s"' % (n_cols* cpb) )
>   
>   for prog in chan.programs:
> ***
> *** 273,278 
>   
>   if prog.desc == '':
> ! desc = ( 'Sorry, the program description for ' + \
> !  '%s is unavailable.' ) % prog.title
>   else:
>   desc = prog.desc
> --- 277,282 
>   
>   if prog.desc == '':
> ! desc = (_('Sorry, the program description for ' \
> !   '%s is unavailable.')) % prog.title
>   else:
>   desc = prog.desc
> ***
> *** 301,307 
>
>
> ! Start: %s, 
> ! Stop: %s,
> ! Runtime: %smin
>   
>
> --- 305,311 
>
>
> ! """+_('Start')+""": %s, 
> ! """+_('Stop')+""": %s,
> ! """+_('Runti

Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src config.py,1.96,1.97 osd.py,1.141,1.142 playlist.py,1.64,1.65 setup_freevo.py,1.12,1.13

2004-02-20 Thread Michael Ruelle
ok i can confirm its working again. I was working with an IRC user that
noticed the problem today. glad it's fixed.

Mike

On Fri, 2004-02-20 at 22:57, Gustavo Sverzut Barbieri wrote:
>  --- Michael Ruelle <[EMAIL PROTECTED]> escreveu: 
> > This appears broken:
> > 
> > [EMAIL PROTECTED] freevo $ ./freevo setup --help
> > Traceback (most recent call last):
> >   File "/usr/local/freevo/src/setup_freevo.py", line 265, in ?
> > print_usage()
> >   File "/usr/local/freevo/src/setup_freevo.py", line 139, in
> > print_usage
> > print String( usage )
> > NameError: global name 'String' is not defined
> > 
> > 
> > Mike
> 
> Hi Mike,
> 
> Thanks for reporting, as you may see, it's already fixed.
> 
> Gustavo
> 
> __
> 
> Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
> http://br.yahoo.com/info/mail.html
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo/src config.py,1.96,1.97 osd.py,1.141,1.142 playlist.py,1.64,1.65 setup_freevo.py,1.12,1.13

2004-02-20 Thread Michael Ruelle
This appears broken:

[EMAIL PROTECTED] freevo $ ./freevo setup --help
Traceback (most recent call last):
  File "/usr/local/freevo/src/setup_freevo.py", line 265, in ?
print_usage()
  File "/usr/local/freevo/src/setup_freevo.py", line 139, in print_usage
print String( usage )
NameError: global name 'String' is not defined


Mike

On Wed, 2004-02-18 at 23:58, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32403/src
> 
> Modified Files:
>   config.py osd.py playlist.py setup_freevo.py 
> Log Message:
> Support Web Interface i18n.
> To use this, I need to get the gettext() translations in unicode, so some changes 
> are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> 
> 
> Index: config.py
> ===
> RCS file: /cvsroot/freevo/freevo/src/config.py,v
> retrieving revision 1.96
> retrieving revision 1.97
> diff -C2 -d -r1.96 -r1.97
> *** config.py 8 Feb 2004 19:53:14 -   1.96
> --- config.py 19 Feb 2004 04:57:55 -  1.97
> ***
> *** 23,26 
> --- 23,30 
>   # ---
>   # $Log$
> + # Revision 1.97  2004/02/19 04:57:55  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.96  2004/02/08 19:53:14  dischi
>   # create metadata dir
> ***
> *** 97,101 
>   import gettext
>   try:
> ! gettext.install('freevo', os.environ['FREEVO_LOCALE'])
>   except: # unavailable, define '_' for all modules
>   import __builtin__
> --- 101,105 
>   import gettext
>   try:
> ! gettext.install('freevo', os.environ['FREEVO_LOCALE'], True)
>   except: # unavailable, define '_' for all modules
>   import __builtin__
> ***
> *** 302,305 
> --- 306,311 
>   # add the current trace to the string
>   where =  traceback.extract_stack(limit = 2)[0]
> + if isinstance( s, unicode ):
> + s = s.encode(encoding, 'replace')
>   s = '%s (%s): %s' % (where[0][where[0].rfind('/')+1:], where[1], s)
>   # print debug message
> 
> Index: osd.py
> ===
> RCS file: /cvsroot/freevo/freevo/src/osd.py,v
> retrieving revision 1.141
> retrieving revision 1.142
> diff -C2 -d -r1.141 -r1.142
> *** osd.py18 Feb 2004 21:55:44 -  1.141
> --- osd.py19 Feb 2004 04:57:55 -  1.142
> ***
> *** 11,14 
> --- 11,18 
>   # ---
>   # $Log$
> + # Revision 1.142  2004/02/19 04:57:55  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.141  2004/02/18 21:55:44  dischi
>   # Some osd updates for new gui code
> ***
> *** 516,520 
>   help += [_('h = Help')]
>   help_str = ''.join(help)
> ! pygame.display.set_caption('Freevo' + ' '*7 + help_str)
>   icon = pygame.image.load(os.path.join(config.ICON_DIR,
> 'misc/freevo_app.png')).convert()
> --- 520,524 
>   help += [_('h = Help')]
>   help_str = ''.join(help)
> ! pygame.display.set_caption('Freevo' + ' '*7 + String( help_str ) )
>   icon = pygame.image.load(os.path.join(config.ICON_DIR,
> 'misc/freevo_app.png')).convert()
> 
> Index: playlist.py
> ===
> RCS file: /cvsroot/freevo/freevo/src/playlist.py,v
> retrieving revision 1.64
> retrieving revision 1.65
> diff -C2 -d -r1.64 -r1.65
> *** playlist.py   13 Feb 2004 18:32:57 -  1.64
> --- playlist.py   19 Feb 2004 04:57:56 -  1.65
> ***
> *** 10,13 
> --- 10,17 
>   # ---
>   # $Log$
> + # Revision 1.65  2004/02/19 04:57:56  gsbarbieri
> + # Support Web Interface i18n.
> + # To use this, I need to get the gettext() translations in unicode, so some 
> changes are required to files that use "print _('string')", need to make them "print 
> String(_('string'))".
> + #
>   # Revision 1.64  2004/02/13 18:32:57  dischi
>   # add event to toggle playlist repeat
> ***
> *** 201,205 
>   lines = util.readfile(plsname)
>   except IOError:
> ! print _('Cannot open file "%s"') % list
>   return 0
>   
> --- 205,209 
> 

Re: [Freevo-devel] Small request

2004-02-19 Thread Michael Ruelle
I have no problem with this but we need to figure a way to do this for
threads that need to manage processes like the icecast thread. Granted
it is a bit of an anomaly for now but should think about handling that
situation as a next step.

Mike

On Thu, 2004-02-19 at 17:30, Rob Shortt wrote:
> I don't like the polling nature of our main loop.  Each itteration is 
> delayed by everything we poll (plugins, children).  For plugins at least 
> I was thinking about makeing a non-blocking poll by running a private 
> __poll() method in a background thread while setting a polling flag in 
> case it is still polling by the next time th main loop calls its poll() 
> (which will check if polling in which case it will not call __poll()).
> 
> Does this make sense?
> 
> -Rob
> 
> Aubin Paul wrote:
> > Does that happen with Python 2.3 as well?
> > 
> > One possible fix would be to set the socket to non blocking, and if
> > you have 2.3, it already has a timeout.
> > 
> > Aubin
> > 
> > On Thu, Feb 19, 2004 at 12:46:04PM -0500, Michael Ruelle wrote:
> > 
> >>On a similar note, I think if we solve this bug we can solve the long
> >>suffering bug where if the idlebar.weather plugin gets stuck you have a
> >>slow update of the screen.
> >>
> >>Mike
> >>
> >>On Thu, 2004-02-19 at 12:26, Aubin Paul wrote:
> >>
> >>>I'm trying to figure it out now, but does anyone know of a simple way
> >>>to keep the rest of the screen updating when the playergui is paused?
> >>>
> >>>Right now, the clock (and all idlebar plugins) stop when you pause the
> >>>player, which is considerably annoying.  This is a long standing "bug"
> >>>
> >>>Aubin
> >>>
> >>>
> >>>---
> >>>SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> >>>Build and deploy apps & Web services for Linux with
> >>>a free DVD software kit from IBM. Click Now!
> >>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >>>___
> >>>Freevo-devel mailing list
> >>>[EMAIL PROTECTED]
> >>>https://lists.sourceforge.net/lists/listinfo/freevo-devel
> >>
> >>-- 
> >>Mike Ruelle
> >>[EMAIL PROTECTED]
> >>http://world.std.com/~mruelle/
> >>
> >>
> >>
> >>---
> >>SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> >>Build and deploy apps & Web services for Linux with
> >>a free DVD software kit from IBM. Click Now!
> >>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >>___
> >>Freevo-devel mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/freevo-devel
> > 
> > 
> > 
> > ---
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Small request

2004-02-19 Thread Michael Ruelle
On a similar note, I think if we solve this bug we can solve the long
suffering bug where if the idlebar.weather plugin gets stuck you have a
slow update of the screen.

Mike

On Thu, 2004-02-19 at 12:26, Aubin Paul wrote:
> I'm trying to figure it out now, but does anyone know of a simple way
> to keep the rest of the screen updating when the playergui is paused?
> 
> Right now, the clock (and all idlebar plugins) stop when you pause the
> player, which is considerably annoying.  This is a long standing "bug"
> 
> Aubin
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: Some problems - 2004-02-13

2004-02-15 Thread Michael Ruelle
Dischi,


I have seen a problem with Childapp2. Basically if the program ends
before you can get into the loop polling it. Then it will crash on the
wait. I can trigger this pretty realiably in the commands plugin with a
script that runs basically a bunch of echo statements.

Mike

On Sun, 2004-02-15 at 06:28, Dirk Meyer wrote:
> Gustavo Sverzut Barbieri wrote:
> >  --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> >> Gustavo Sverzut Barbieri wrote:
> >> > Hello guys,
> >> >
> >> > I'm implementing MPAV (MPlayer Audio Visualization,
> >> > http://gsbarbieri.sytes.net/mpav/) but I found some issues:
> >> >
> >> > - childapp.py: Sometimes poll() is called before the child
> >> __init__()
> >> > is finished, so many times it breaks because there's no t1 or t2
> >> > attributes (isAlive()).
> >> > I solved this declaring "ready=False" as class attribute and
> >> setting it
> >> > to True at the end of __init__(). Then isAlive() must check if it's
> >> > ready. It's the right solution?
> >> 
> >> No, I guess we should better find out why this happens. Do you use
> >> ChildApp or ChildApp2? For ChildApp2 this shouldn't happen because
> >> there is not thread to be a problem at this point.
> >
> > I'm using ChildApp2. I don't know its internals, just based my usage on
> > video/plugins/mplayer.py
> >The problem is that sometimes it breaks in isAlive(), which looks
> > for .t1, which is not available. Browsing the code I see it's only
> > created in ChildApp, which is inherited by ChildApp2 so the problem
> > could just be there... To figure it out I put prints in the begin and
> > end of the constructor and one in isAlive, together with a
> > traceback.print_stack(). Then I see "Constructor started. isAlive()
> > called from poll(). Constructor ended"
> 
> Do you start ChildApp2 from a thread? If so, do not do it, it doesn't
> work. If not, I can't see the bug. The main threads starts Childapp2,
> this one starts ChildApp, this creates the threads. Since poll()
> should only be called from the main thread, the main thread can't do
> it until the constructor is done and t1 and t2 are there. 
> 
> >> > - The second issue is with stop_osd. I need to stop the osd, since
> >> my
> >> > app uses SDL and can display in framebuffer and dxr3. I'm using
> >> > ChildApp2 and leave stop_osd=2, so it must stop the osd when
> >> > OSD_STOP_WHEN_PLAYING=1 but instead of just stop the osd, it exits
> >> and
> >> > leaves mplayer playing!
> >> 
> >> add some 'print' debug to see why. What do you mean with 'just
> >> exits'?
> >> Freevo stops?
> >
> > Yes, freevo stops. Quit. The only 'python' thread left is the one that
> > called mplayer.
> 
> Strange, maybe it tries to restart the osd and crashes? In
> childapp.ChildApp2, add some print statement at the stop and restart
> osd functions to see if they are called correct. 
> 
> >NOTE: I don't have LIRC, just the keyboard. Maybe it relies on LIRC
> > thread or something?
> 
> No
> 
> 
> Dischi
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] DEFAULT_REC_EXT

2004-02-12 Thread Michael Ruelle
Bart,

I added this as a hack. you can use it in the config file. it will work
if it is not there. It is not the ultimate solution however. Rob at some
point will be adding an event for when a recording stops. At that point
we will move the fxd generation to that point and then can snoop in the
directory and grab the correct file with the correct extension. but for
now if you now you always have nuv files than you can just set that in
the config.

Mike

On Thu, 2004-02-12 at 03:24, Bart Heremans wrote:
> Hi,
> 
> I have some problems with the fxd files that the recordserver creates. It
> is always .mpeg and not .nuv or .avi like I would.
> I was looking in the code and I saw this (recordserver.py) :
> 
> -
> def create_fxd(self,rec_prog):
> from util.fxdimdb import FxdImdb, makeVideo
> fxd = FxdImdb()
> fxd.setFxdFile(config.TV_RECORD_DIR + '/' + rec_prog.filename, overwrite
> = True)
> 
> fileext = '.mpeg'
> if hasattr(config, "DEFAULT_REC_EXT") and config.DEFAULT_REC_EXT:
>   fileext = config.DEFAULT_REC_EXT
> -
> 
> It uses the config.DEFAULT_REC_EXT, nice but I don't see DEFAULT_REC_EXT
> in freevo_config.py or the local.conf.example. Maybe soem can add this variable
> in one of this files ?
> 
> Bart
> 
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs/styles main.css,1.14,1.15

2004-02-10 Thread Michael Ruelle
ok after going nuts. it looks like the ../ is really needed so you get
out of the styles directory since this is where the images urls resolve
from there. sigh ok my misunderstanding. But i don't have a
images/tab/bg.gif and a images/freevoheader2.jpg that are referred to in
that file.

It also appears the redirects don't like the /styles/images type urls
and do what i thought (which was pop off all the previous dirs until
getting to the one we want.) The styles one looks fine to it so it
strips it down to that and then exits the routine instead of stripping
down to /images for those links. id you don't understand this rambling
don't worry, the url rewrite in twisted is wierd. 

Mike

On Tue, 2004-02-10 at 18:11, Michael Ruelle wrote:
> hmm it looks like your use of subdirectories in the images dir broke
> this redirect for some images. I will look into this.
> 
> Mike
> 
> On Tue, 2004-02-10 at 17:55, Michael Ruelle wrote:
> > actually all you need to do is images/ not /images or ../images. All
> > images dirs get rewritten to the main images dir. The same is true for
> > styles as well.
> > 
> > Mike
> > 
> > On Tue, 2004-02-10 at 17:33, [EMAIL PROTECTED] wrote:
> > > Update of /cvsroot/freevo/freevo/src/www/htdocs/styles
> > > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13597/styles
> > > 
> > > Modified Files:
> > >   main.css 
> > > Log Message:
> > > Fix the absolute paths in images.
> > > 
> > > 
> > > 
> > > Index: main.css
> > > ===
> > > RCS file: /cvsroot/freevo/freevo/src/www/htdocs/styles/main.css,v
> > > retrieving revision 1.14
> > > retrieving revision 1.15
> > > diff -C2 -d -r1.14 -r1.15
> > > *** main.css  10 Feb 2004 18:59:57 -  1.14
> > > --- main.css  10 Feb 2004 22:33:20 -  1.15
> > > ***
> > > *** 347,351 
> > > float:left;
> > > width:100%;
> > > !   background: #99 url("/images/tab/bg.gif") repeat-x bottom;
> > > font-size:93%;
> > > line-height:normal;
> > > --- 347,351 
> > > float:left;
> > > width:100%;
> > > !   background: #99 url("../images/tab/bg.gif") repeat-x bottom;
> > > font-size:93%;
> > > line-height:normal;
> > > ***
> > > *** 358,362 
> > >   #header li {
> > > float:left;
> > > !   background:url("/images/tab/left.gif") no-repeat left top;
> > > margin:0;
> > > padding:0 0 0 9px;
> > > --- 358,362 
> > >   #header li {
> > > float:left;
> > > !   background:url("../images/tab/left.gif") no-repeat left top;
> > > margin:0;
> > > padding:0 0 0 9px;
> > > ***
> > > *** 364,368 
> > >   #header a {
> > > display:block;
> > > !   background:url("/images/tab/right.gif") no-repeat right top;
> > > padding:5px 15px 4px 6px;
> > > text-decoration:none;
> > > --- 364,368 
> > >   #header a {
> > > display:block;
> > > !   background:url("../images/tab/right.gif") no-repeat right top;
> > > padding:5px 15px 4px 6px;
> > > text-decoration:none;
> > > ***
> > > *** 374,381 
> > > }
> > >   #header #current {
> > > !   background-image:url("/images/tab/left_on.gif");
> > > }
> > >   #header #current a {
> > > !   background-image:url("/images/tab/right_on.gif");
> > > color:#333;
> > > padding-bottom:5px;
> > > --- 374,381 
> > > }
> > >   #header #current {
> > > !   background-image:url("../images/tab/left_on.gif");
> > > }
> > >   #header #current a {
> > > !   background-image:url("../images/tab/right_on.gif");
> > > color:#333;
> > > padding-bottom:5px;
> > > 
> > > 
> > > 
> > > ---
> > > The SF.Net email is sponsored by EclipseCon 2004
> > > Premiere Conference on Open Tools Development and Integration
> > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > > http://www.eclipsecon.org/osdn
> > > ___
> > > Freevo-cvslog mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs/styles main.css,1.14,1.15

2004-02-10 Thread Michael Ruelle
hmm it looks like your use of subdirectories in the images dir broke
this redirect for some images. I will look into this.

Mike

On Tue, 2004-02-10 at 17:55, Michael Ruelle wrote:
> actually all you need to do is images/ not /images or ../images. All
> images dirs get rewritten to the main images dir. The same is true for
> styles as well.
> 
> Mike
> 
> On Tue, 2004-02-10 at 17:33, [EMAIL PROTECTED] wrote:
> > Update of /cvsroot/freevo/freevo/src/www/htdocs/styles
> > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13597/styles
> > 
> > Modified Files:
> > main.css 
> > Log Message:
> > Fix the absolute paths in images.
> > 
> > 
> > 
> > Index: main.css
> > ===
> > RCS file: /cvsroot/freevo/freevo/src/www/htdocs/styles/main.css,v
> > retrieving revision 1.14
> > retrieving revision 1.15
> > diff -C2 -d -r1.14 -r1.15
> > *** main.css10 Feb 2004 18:59:57 -  1.14
> > --- main.css10 Feb 2004 22:33:20 -  1.15
> > ***
> > *** 347,351 
> > float:left;
> > width:100%;
> > !   background: #99 url("/images/tab/bg.gif") repeat-x bottom;
> > font-size:93%;
> > line-height:normal;
> > --- 347,351 
> > float:left;
> > width:100%;
> > !   background: #99 url("../images/tab/bg.gif") repeat-x bottom;
> > font-size:93%;
> > line-height:normal;
> > ***
> > *** 358,362 
> >   #header li {
> > float:left;
> > !   background:url("/images/tab/left.gif") no-repeat left top;
> > margin:0;
> > padding:0 0 0 9px;
> > --- 358,362 
> >   #header li {
> > float:left;
> > !   background:url("../images/tab/left.gif") no-repeat left top;
> > margin:0;
> > padding:0 0 0 9px;
> > ***
> > *** 364,368 
> >   #header a {
> > display:block;
> > !   background:url("/images/tab/right.gif") no-repeat right top;
> > padding:5px 15px 4px 6px;
> > text-decoration:none;
> > --- 364,368 
> >   #header a {
> > display:block;
> > !   background:url("../images/tab/right.gif") no-repeat right top;
> > padding:5px 15px 4px 6px;
> > text-decoration:none;
> > ***
> > *** 374,381 
> > }
> >   #header #current {
> > !   background-image:url("/images/tab/left_on.gif");
> > }
> >   #header #current a {
> > !   background-image:url("/images/tab/right_on.gif");
> > color:#333;
> > padding-bottom:5px;
> > --- 374,381 
> > }
> >   #header #current {
> > !   background-image:url("../images/tab/left_on.gif");
> > }
> >   #header #current a {
> > !   background-image:url("../images/tab/right_on.gif");
> > color:#333;
> > padding-bottom:5px;
> > 
> > 
> > 
> > ---
> > The SF.Net email is sponsored by EclipseCon 2004
> > Premiere Conference on Open Tools Development and Integration
> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > http://www.eclipsecon.org/osdn
> > ___
> > Freevo-cvslog mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs/styles main.css,1.14,1.15

2004-02-10 Thread Michael Ruelle
actually all you need to do is images/ not /images or ../images. All
images dirs get rewritten to the main images dir. The same is true for
styles as well.

Mike

On Tue, 2004-02-10 at 17:33, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo/src/www/htdocs/styles
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13597/styles
> 
> Modified Files:
>   main.css 
> Log Message:
> Fix the absolute paths in images.
> 
> 
> 
> Index: main.css
> ===
> RCS file: /cvsroot/freevo/freevo/src/www/htdocs/styles/main.css,v
> retrieving revision 1.14
> retrieving revision 1.15
> diff -C2 -d -r1.14 -r1.15
> *** main.css  10 Feb 2004 18:59:57 -  1.14
> --- main.css  10 Feb 2004 22:33:20 -  1.15
> ***
> *** 347,351 
> float:left;
> width:100%;
> !   background: #99 url("/images/tab/bg.gif") repeat-x bottom;
> font-size:93%;
> line-height:normal;
> --- 347,351 
> float:left;
> width:100%;
> !   background: #99 url("../images/tab/bg.gif") repeat-x bottom;
> font-size:93%;
> line-height:normal;
> ***
> *** 358,362 
>   #header li {
> float:left;
> !   background:url("/images/tab/left.gif") no-repeat left top;
> margin:0;
> padding:0 0 0 9px;
> --- 358,362 
>   #header li {
> float:left;
> !   background:url("../images/tab/left.gif") no-repeat left top;
> margin:0;
> padding:0 0 0 9px;
> ***
> *** 364,368 
>   #header a {
> display:block;
> !   background:url("/images/tab/right.gif") no-repeat right top;
> padding:5px 15px 4px 6px;
> text-decoration:none;
> --- 364,368 
>   #header a {
> display:block;
> !   background:url("../images/tab/right.gif") no-repeat right top;
> padding:5px 15px 4px 6px;
> text-decoration:none;
> ***
> *** 374,381 
> }
>   #header #current {
> !   background-image:url("/images/tab/left_on.gif");
> }
>   #header #current a {
> !   background-image:url("/images/tab/right_on.gif");
> color:#333;
> padding-bottom:5px;
> --- 374,381 
> }
>   #header #current {
> !   background-image:url("../images/tab/left_on.gif");
> }
>   #header #current a {
> !   background-image:url("../images/tab/right_on.gif");
> color:#333;
> padding-bottom:5px;
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo/src/www/htdocs/styles main.css,1.14,1.15

2004-02-10 Thread Michael Ruelle
/images is actually rewritten to be redirected to the right place. so
does the /styles.

Mike  

On Tue, 2004-02-10 at 17:33, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo/src/www/htdocs/styles
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13597/styles
> 
> Modified Files:
>   main.css 
> Log Message:
> Fix the absolute paths in images.
> 
> 
> 
> Index: main.css
> ===
> RCS file: /cvsroot/freevo/freevo/src/www/htdocs/styles/main.css,v
> retrieving revision 1.14
> retrieving revision 1.15
> diff -C2 -d -r1.14 -r1.15
> *** main.css  10 Feb 2004 18:59:57 -  1.14
> --- main.css  10 Feb 2004 22:33:20 -  1.15
> ***
> *** 347,351 
> float:left;
> width:100%;
> !   background: #99 url("/images/tab/bg.gif") repeat-x bottom;
> font-size:93%;
> line-height:normal;
> --- 347,351 
> float:left;
> width:100%;
> !   background: #99 url("../images/tab/bg.gif") repeat-x bottom;
> font-size:93%;
> line-height:normal;
> ***
> *** 358,362 
>   #header li {
> float:left;
> !   background:url("/images/tab/left.gif") no-repeat left top;
> margin:0;
> padding:0 0 0 9px;
> --- 358,362 
>   #header li {
> float:left;
> !   background:url("../images/tab/left.gif") no-repeat left top;
> margin:0;
> padding:0 0 0 9px;
> ***
> *** 364,368 
>   #header a {
> display:block;
> !   background:url("/images/tab/right.gif") no-repeat right top;
> padding:5px 15px 4px 6px;
> text-decoration:none;
> --- 364,368 
>   #header a {
> display:block;
> !   background:url("../images/tab/right.gif") no-repeat right top;
> padding:5px 15px 4px 6px;
> text-decoration:none;
> ***
> *** 374,381 
> }
>   #header #current {
> !   background-image:url("/images/tab/left_on.gif");
> }
>   #header #current a {
> !   background-image:url("/images/tab/right_on.gif");
> color:#333;
> padding-bottom:5px;
> --- 374,381 
> }
>   #header #current {
> !   background-image:url("../images/tab/left_on.gif");
> }
>   #header #current a {
> !   background-image:url("../images/tab/right_on.gif");
> color:#333;
> padding-bottom:5px;
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: New web interface design (prototype)

2004-02-10 Thread Michael Ruelle
On Tue, 2004-02-10 at 13:41, Aubin Paul wrote:
> Can you explain what you mean by "pronounced" because I converted
> cellpadding=4 into "padding=4px" which should be pretty much
> identical.
> 

it looks bigger between the cells. I will try a couple screencaps and
send them to you personally to see.

> The library page isn't supposed to expand the whole way (at least in
> my design) it can be done simply by changing the CSS for "library"
> to width: 100%
> 

ok this changed from what it was before. ok just wanted to know if it
was intentional or not. I will try it and see.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: New web interface design (prototype)

2004-02-10 Thread Michael Ruelle
hmm... have we tested this with konqueror. I know you used safari but i
think mozilla is the default for Gnome and Konqueror for KDE in most
distros. I don't know what release of KDE the safari web browser got
added. I just tried Konqueror on Redhat 9 and it seems ok but the
spacing on the guide and a few other places is a little more pronounced.
Also on a more general note no matter which browser i use, the library
page doesn't seem to expand to the whole page like the scheduled
recordings or favorites pages.

Mike

On Mon, 2004-02-09 at 09:00, Aubin Paul wrote:
> On Mon, Feb 09, 2004 at 10:56:49AM +0100, Dirk Meyer wrote:
> > Aubin Paul wrote:
> > > Since so much has gone into improving and refining the TV interface, I
> > > thought maybe I should give the web interface a try. I came up with a
> > > slightly different interface motivated primarily by the fact that I
> > > didn't like having to scroll to the bottom of the page to see the
> > 
> > Nice. How does the rest look like?
> 
> Similar for the most part... the main changes were in the navigation
> and the change of the main block to black on white... I also fixed
> some small issues throughout, and did things like having the web guide
> and other things respect the users TV_TIMEFORMAT instead of forcing
> them to use the default.
> 
> Also, the "links" bar at the bottom was pretty hackish... many
> proprietary (i.e. non-w3c) tags.
> 
> > Maybe we need to expand the parser for the help site. Right now it
> > only downloads the WiKi and uses Docbook. I guess we should change
> > some tags here to fit the layout.
> 
> Shouldn't have to do much... we can override the tags in CSS...
> 
> Aubin
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] New web interface design (prototype)

2004-02-09 Thread Michael Ruelle
see below.

On Sun, 2004-02-08 at 21:34, Aubin Paul wrote:
> Michael Ruelle wrote:
> > It looks ok but what i am concerned about the navbar as we have it now
> > is that it is not easy to plug things in. Eventually i would like to
> > make it easier for plugins to be able to drop an rpy in the web
> > interface and just have it work. For example the icecast plugin has a
> > webpage that will select a new playlist. I optionally include it now if
> > you set a variable in config.
> 
> Adding an item to the tab bar looks like this:
> 
> Menu Name
> 
> The selected tab differs only by this:
> 
> Menu Name
> 
> The way I have it written is that there is a tuple with three elements:
> 
> 
> items = [('Short Name','Mouse Over Description','%sfilename.rpy' % 
> (strpath)]
> 
> So to add an item programmatically, you would do this:
> 
> items += [(...)]
> 
> and it would work.
> 

yes that sounds like the good pragmatic way to store the info. I was
worried more about arrangement. Do we want to decide on rows of tabs at
the top if you have several plugin web pags. That's what i am more
worried about. There are only a few web pages now but when we get things
like the encoding server and other plugins dropping pages in we will
quickly exceed our current width and need a strategy for tabs on whether
to fold them into rows or ignore it an just let them keep going right
forever.

> > Also i want to make sure we keep all image paths and document paths
> > relative. This will allow us to proxy forward the freevo webserver. For
> > example i have a main HTTPS server which i have accessible to the
> > outside world. I forward one directory of it to be freevo. If we use
> > full urls this would break. I believe this is a useful feature (most
> > apps do this, like squirrel mail for instance) for security. Since we
> > only have a very weak password in the freevo config file and this will
> > allow people like me to wrap more security around the web interface.
> 
> Not an issue... the links are identical to how they are in the existing 
> interface, they're just in the header instead of at the bottom. In fact, 
> because the tabs are generated from a tuple instead of hardcoded, it 
> would be much easier to have a global variable you could add things to, 
> or something.
> 

cool. I like being able to forward the interface and wrapping it in a
HTTPS server.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] New web interface design (prototype)

2004-02-08 Thread Michael Ruelle
It looks ok but what i am concerned about the navbar as we have it now
is that it is not easy to plug things in. Eventually i would like to
make it easier for plugins to be able to drop an rpy in the web
interface and just have it work. For example the icecast plugin has a
webpage that will select a new playlist. I optionally include it now if
you set a variable in config.

Also i want to make sure we keep all image paths and document paths
relative. This will allow us to proxy forward the freevo webserver. For
example i have a main HTTPS server which i have accessible to the
outside world. I forward one directory of it to be freevo. If we use
full urls this would break. I believe this is a useful feature (most
apps do this, like squirrel mail for instance) for security. Since we
only have a very weak password in the freevo config file and this will
allow people like me to wrap more security around the web interface.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sun, 2004-02-08 at 16:58, Aubin Paul wrote:
> Since so much has gone into improving and refining the TV interface, I
> thought maybe I should give the web interface a try. I came up with a
> slightly different interface motivated primarily by the fact that I
> didn't like having to scroll to the bottom of the page to see the
> "links" to other features...
> 
> Here they are:
> 
> http://freevo.sourceforge.net/preview/web-home.jpg
> http://freevo.sourceforge.net/preview/web-library.jpg
> http://freevo.sourceforge.net/preview/web-scheduled.jpg
> 
> The tab bar is pure CSS; no javascript, no hacky HTMl so it should
> look fine on any modern browser. (I tried IE6, Mozilla Firebird and
> Safari 1.2)
> 
> Aubin




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Mythtv as tv plugin - need some guidance

2004-02-02 Thread Michael Ruelle
the -qws is an arg to mythtv so you would have to consult there docs for
that.

Mike

On Mon, 2004-02-02 at 16:12, Robert Rozman wrote:
> Hi,
> 
> yes I did all that. If I omit -qws Mythtv gets started, but when I get out
> of mythtv nothing happens.
> Pretty similar to your plugin for mozilla, Mike.
> 
> What does -qws mean ? In what way would be good to deal with external apps ?
> 
> Regards,
> 
> Robert.
> 
> - Original Message -
> From: "Michael Ruelle" <[EMAIL PROTECTED]>
> To: "FreevoDevel" <[EMAIL PROTECTED]>
> Sent: Monday, February 02, 2004 9:59 PM
> Subject: Re: [Freevo-devel] Mythtv as tv plugin - need some guidance
> 
> 
> > Did you do the following:
> > 1) stop freevo
> > 2) copy the file to freevo/src/plugins/mythtv.py
> > 3) put this in local_conf.py:
> > plugin.activate('mythtv', level=45)
> > 4) start freevo
> >
> > this is the normal plugin install procedure.
> >
> > Mike
> >
> >
> > On Mon, 2004-02-02 at 15:23, Robert Rozman wrote:
> > > Hi,
> > >
> > > Wayne gladly sent me plugin to use Mythtv as tv plugin (we probably both
> > > like mythtv's pvr features).
> > >
> > > I've tried it but doesn't work. I don't know much about childapp2 and
> also
> > > couldn't find any more info on this, so I kindly ask Freevo gurus to
> shed
> > > light on this one and if possibly to get it working - this will probably
> get
> > > useful also for other external apps. I think I have few days old Freevo
> > > snapshot, Suse linux and KDE desktop.
> > >
> > > Regards,
> > >
> > > Robert.
> > >
> > > Wayne's
> > >
> mail:---
> > > --
> > > well I did a few things.
> > >
> > > 1) Im running mythtv frontend build with my qte/directfb patches so its
> > > not running in X.
> > > 2) freevo likewise id running on the frabebuffer and not in X.
> > > 3) here is the small plugin.  Its very small and simple and you need to
> > > set it to point to your installation.  If I ever get around to setting
> > > it up to use local.conf.py Ill submit it as a plugin.
> > >
> > > from item import Item
> > > from plugin import MainMenuPlugin
> > > import childapp
> > >
> > > class PluginInterface(MainMenuPlugin):
> > >
> > > def items(self, parent):
> > > import menu
> > > return [ menu.MenuItem('MythTV', action=self.start_mythtv,
> > > type='main', parent=parent, skin_type='tv') ]
> > >
> > > def start_mythtv(self, arg, menuw):
> > > app =
> > > childapp.ChildApp2(['/usr/local/mythtv-new/bin/mythfrontend', '-qws'],
> > > stop_osd=1)
> > > return
> > >
> > > Juts save this as muthtv.py and toss it in freevo's plugin dir.
> > >
> > > -Wayne
> > >
> > >
> > >
> > >
> > > ---
> > > The SF.Net email is sponsored by EclipseCon 2004
> > > Premiere Conference on Open Tools Development and Integration
> > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > > http://www.eclipsecon.org/osdn
> > > ___
> > > Freevo-devel mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> > --
> > Mike Ruelle
> > [EMAIL PROTECTED]
> > http://world.std.com/~mruelle/
> >
> >
> >
> > ---
> > The SF.Net email is sponsored by EclipseCon 2004
> > Premiere Conference on Open Tools Development and Integration
> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > http://www.eclipsecon.org/osdn
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Mythtv as tv plugin - need some guidance

2004-02-02 Thread Michael Ruelle
Did you do the following:
1) stop freevo
2) copy the file to freevo/src/plugins/mythtv.py
3) put this in local_conf.py:
plugin.activate('mythtv', level=45)
4) start freevo

this is the normal plugin install procedure.

Mike


On Mon, 2004-02-02 at 15:23, Robert Rozman wrote:
> Hi,
> 
> Wayne gladly sent me plugin to use Mythtv as tv plugin (we probably both
> like mythtv's pvr features).
> 
> I've tried it but doesn't work. I don't know much about childapp2 and also
> couldn't find any more info on this, so I kindly ask Freevo gurus to shed
> light on this one and if possibly to get it working - this will probably get
> useful also for other external apps. I think I have few days old Freevo
> snapshot, Suse linux and KDE desktop.
> 
> Regards,
> 
> Robert.
> 
> Wayne's
> mail:---
> --
> well I did a few things.
> 
> 1) Im running mythtv frontend build with my qte/directfb patches so its
> not running in X.
> 2) freevo likewise id running on the frabebuffer and not in X.
> 3) here is the small plugin.  Its very small and simple and you need to
> set it to point to your installation.  If I ever get around to setting
> it up to use local.conf.py Ill submit it as a plugin.
> 
> from item import Item
> from plugin import MainMenuPlugin
> import childapp
> 
> class PluginInterface(MainMenuPlugin):
> 
> def items(self, parent):
> import menu
> return [ menu.MenuItem('MythTV', action=self.start_mythtv,
> type='main', parent=parent, skin_type='tv') ]
> 
> def start_mythtv(self, arg, menuw):
> app =
> childapp.ChildApp2(['/usr/local/mythtv-new/bin/mythfrontend', '-qws'],
> stop_osd=1)
> return
> 
> Juts save this as muthtv.py and toss it in freevo's plugin dir.
> 
> -Wayne
> 
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: DVD images

2004-02-02 Thread Michael Ruelle
Aubin maybe make it  a dvdhd:// url and then tell mplayer to not like it
and xine to prefer it. Kinda like how radio:// is only liked by the
radioplayer plugin. That way the radioplayer can just be another audio
player that just plays this one type of file.

Mike

On Mon, 2004-02-02 at 14:36, Aubin Paul wrote:
> It wasn't too hard to do with that... I did this:
> 
>for i in files:
> if os.path.isdir(i):
> for m in vfs.listdir(i):
> if os.path.basename(m) == 'VIDEO_TS':
> # DVD Image
> x = VideoItem('', None)
> x.set_url('dvd://' + i[1:] + '/VIDEO_TS/')
> x.type = 'dvd'
> x.media = 'file'
> x.devicename = ''
> x.name = os.path.basename(i)
> items += [ x ]
> 
> and I added this to the xine plugin:
> 
> if item.mode == 'dvd' and hasattr(item.media,'devicename'):
> # dvd:///dev/dvd/2
> command.append('dvd://%s/%s' % (item.media.devicename, item.url[6:]))
> elif item.mode == 'dvd':
> command.append(item.url)
> 
> so if it doesn't have a devicename, it will play the file as is.
> 
> It's not very pretty right now, I admit :)
> 
> Problems I ran into:
> 
> 1. If I put files.remove(i) in the first code fragment about, it will only add the 
> first DVD image.
> 2. I can't get it to prefer xine, as it will try mplayer first right now. Which 
> defeats the purpose 
> of having a nice dvd image anyway.
> 
> 
> 
> 
> 
> 
> 
> 
> On Mon, Feb 02, 2004 at 07:56:33PM +0100, Dirk Meyer wrote:
> > Aubin Paul wrote:
> > > I decided to try mirroring some of my DVDs to the hard drive with
> > > vobcopy; it's fairly simple, insert the DVD and type 'vobcopy -m' and
> > > it'll make a 1:1 duplicate of the DVD (sans CSS) for playback.
> > >
> > > To play it with xine, it's fairly straightforward too; 
> > >
> > > fbxine [...] dvd://path/to/VIDEO_TS/
> > >
> > > and it'll play like a normal DVD... 
> > >
> > > What I'd like to do though, is figure out how to make Freevo treat
> > > directories containing VIDEO_TS as DVDs and play them through Xine
> > > instead of navigating into them.
> > 
> > src/video/__init__.py:get() 
> > 
> > It greps all video files from the list of files and returns the
> > VideoItems. Just also create VideoItems for all directories which
> > seems to be a DVD (and fix videoitem.py, mplayer.py and xine.py to
> > support hd dvds). Maybe add support for mmpython to detect number of
> > titles/chapters/audio for hd movies. 
> > 
> > 
> > Dischi
> > 
> > -- 
> > Love is Hate. War is Peace. Windows is stable.
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Smallest mainmenu plugin to start "outside"application

2004-02-01 Thread Michael Ruelle
>From the xml.

stoposd element tells freevo to get out of the way
spawwm element tells freevo to start/stop an x11 window manager while
app is running (obviously you must be running X for this)

>From the local_conf.py:
COMMAND_SPAWN_WM -- how to start your window manager
COMMAND_KILL_WM -- how to stop your window manager

examples:

for ratpoison:
COMMAND_SPAWN_WM = 'ratpoison &'
COMMAND_KILL_WM = 'ratpoison -c quit'

for metacity (gnome default wm):
COMMAND_SPAWN_WM = 'metacity &'
COMMAND_KILL_WM = 'killall metacity'

As for your application problem. Try running a few different apps, to
see if this is application specific. I have tested with MozillaFirebird,
RealPlayer, and a few other apps. I have never tested with MythTv(It
freezes my machine hard and i have to manually reset) although someone
has made a plugin to use mythtv as the tv app for freevo. he was on irc
working with dischi a few weeks ago.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sun, 2004-02-01 at 09:05, Robert Rozman wrote:
> Hi,
> 
> I've tried that and it works (great - I thought of this and you created
> plugin some days ago - I wish that could happen each time I have desire
> :-) )..
> 
>  I'd just ned to do something useful with spawnwm and killwm (I start mythtv
> with that and when it finishes I get blank screen).
> 
> Could you give us some more info on meaning of parameters in Mozilla.fxd ?
> 
> Thanks in advance,
> 
> regards,
> 
> Robert.
> 
> - Original Message -
> From: "Michael Ruelle" <[EMAIL PROTECTED]>
> To: "FreevoDevel" <[EMAIL PROTECTED]>
> Sent: Sunday, February 01, 2004 1:55 AM
> Subject: Re: [Freevo-devel] Smallest mainmenu plugin to start
> "outside"application
> 
> 
> > I have made a plugin in cvs to do this with the commandmmitem.py plugin.
> > It uses the fxd file format that is new in cvs for command.py. There is
> > an example fxd in my WIP.
> >
> > --
> > Mike Ruelle
> > [EMAIL PROTECTED]
> > http://world.std.com/~mruelle/
> >
> > On Sat, 2004-01-31 at 19:35, Robert Rozman wrote:
> > > Hi,
> > >
> > > I'd like to run external application from mainmenu in Freevo. I wonder
> what
> > > would minimal mainmenu plugin for this be ? Any example, code ?
> > >
> > > Regards,
> > >
> > > Robert.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Smallest mainmenu plugin to start "outside" application

2004-01-31 Thread Michael Ruelle
I have made a plugin in cvs to do this with the commandmmitem.py plugin.
It uses the fxd file format that is new in cvs for command.py. There is
an example fxd in my WIP.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sat, 2004-01-31 at 19:35, Robert Rozman wrote:
> Hi,
> 
> I'd like to run external application from mainmenu in Freevo. I wonder what
> would minimal mainmenu plugin for this be ? Any example, code ?
> 
> Regards,
> 
> Robert.




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Preview updated...

2004-01-30 Thread Michael Ruelle
Two things i have noticed.

I have to copy a playlist.png from noia into the blurr mimetypes dir in
order to get an icon for an ssr or fxd file in images.

second in images when i am over a fxd file it does not display the title
from the slideshow fxd element. For that matter everything in the box
below is blank.

SSR files don't have titles and such so they also display blank at the
bottom. At the least we should probably show the filename and optionally
how many pictures there are if we know this at that point.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Fri, 2004-01-30 at 10:32, Aubin Paul wrote:
> I've updated my screenshots of the "1.5" version of Freevo...
> 
> o New arrow icons match the rest
> o Fixed the padding around album covers
> o Moved the detachbar to the top of the screen.
> o More space on the screen for listing/info/etc. with the old
> detachbar removed.
> o A different set of photos in the Image Viewer so you can see the
> watermark.
> o My cleaned up station icons in the TV Guide (wrote a quick script in
> my image editor to resize the images to 10:4 ratio)
> 
> Thoughts?
> 
> Aubin
> 
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] image browser

2004-01-28 Thread Michael Ruelle
You can see it when playing an ssr file which will display a comment
with a picture. See the wiki on how to create an ssr file.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Wed, 2004-01-28 at 12:35, Adam Stephens wrote:
> >
> > We do it now... it's a text message, but since the text is not really
> > anything other than an image, I suppose an image could be added.
> 
> hmm...i've never seen this. is this implemented in 1.4.1 or only in 
> cvs? do i need to turn it on?
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] SQLite

2004-01-23 Thread Michael Ruelle
On Fri, 2004-01-23 at 22:07, Rob Shortt wrote:
> 2) client / server sqlite. we could wrap plugin #1 up in a helper and 
> xmlrpc server, this plugin shovels requests off to it. this would reuse 
> the code in plugin 1.

I would also like to see us NOT use the twisted persistence framework on
this. I don't think its necessary here and IMHO its an obstacle since it
is only implemented in Python. I plan on adding secondary methods to the
record server for several key methods in the record_server to that i can
finish writing a desktop app that talks to the record server using just
regular xmlrpc communication.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] SQLite

2004-01-23 Thread Michael Ruelle
On Fri, 2004-01-23 at 17:08, Richard van Paasen wrote:
> Consider this just a incentive to keep the database related code
> separated from the freevo code so that e.g. mysql or postgresql can
> replace sqlite. I've seen projects that incorporate sql statements
> directly into the program code...


Having gone through in my professional service the transition from one
database to another I would advise against this. I was going to bring
this up with dischi, but will state my piece here.

I would suggest the plugin stategy, we have used successfully
elsewhere.  Failing that I would rather see a rpcxml (or some other web
service API) or at the very least the judicious use of the Business
Delegate design pattern to keep the SQL as far away as possible from
real code and just use abstract methods and objects from our software
rather than some class from the database interaction layer.

This we can define the interface and not have to conform to some
individual piece of SQL softwares view of what the standard is. And
believe me they widely vary. And can use the best thing available. Also
someone may even what to use an object database too (right now it maybe
a stretch but one rarely gets a straight answer from the magic
eightball).

/me steps off soapbox.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Linux games in freevo

2004-01-21 Thread Michael Ruelle
We have a new type of fxd file for commands in command.py in CVS. You
might want to check that out instead. I added this in response to the
firebird plugin's success. You should be able to use that or Generic
Games type for any game you would wish to play.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Wed, 2004-01-21 at 04:00, [EMAIL PROTECTED] wrote:
> I am working on a patch allowing to play native linux games in freevo
> without using execution script and GENERIC ITEM
> This extends the emulation part of the games modules (a new NATIVE category
> is created using a linuxitem file)
> Actually this patch works for every games supporting full screen mode (I
> test it using Frozen Bubble) and support snapshot
> There is still few problem but it should be ok soon
> 
> 
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: AW: [Freevo-devel] fxmms coolness

2004-01-20 Thread Michael Ruelle
On Tue, 2004-01-20 at 14:48, Jan Grewe wrote:
> >Are you talking freevo's remote doesn't work for you? I don't have a lirc
> install on my devbox but I was using network
> >remote from another machine and that seemed to work for me(if that works
> lirc should too).
> >Do you have an xmms lirc plugin setup. We don;t use that and it might be
> interfering.
> 
> Lirc doesn't work for me either, only exit and stuff, but no ffwd/rwnd
> 

ok i will look into that

> >As for the visualization area. You mean playerGUI? I see only basic info
> but not being a power audio user I wouldn't
> >notice much if it changed.
> >Maybe it is skin related?
> 
> The xmms-windows shows up when i start a track, after that it is hidden ...
> I've tried serveral visualizations, but all i have don't seem to support a
> fullscreen mode ;(
> 

umm the plugin is written so that you never see xmms. It should always
be hidden except for a slight bit at the beginning.


-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] fxmms coolness

2004-01-20 Thread Michael Ruelle
On Tue, 2004-01-20 at 13:51, Peter Svensson wrote:
> I tried the sneaked-in fxmms audio plugin just now! Great stuff!

umm not exactly sneaked. it's been in my WIP for a while but finally got
a patch from a user (Roman Stanchak) that made it really usable,

> I have trouble with too small vizualization area and no keys on my remote
> grokked by xmms, but otherwise it rocks!!

Are you talking freevo's remote doesn't work for you? I don't have a
lirc install on my devbox but I was using network remote from another
machine and that seemed to work for me(if that works lirc should too).
Do you have an xmms lirc plugin setup. We don;t use that and it might be
interfering.

As for the visualization area. You mean playerGUI? I see only basic info
but not being a power audio user I wouldn't notice much if it changed.
Maybe it is skin related?

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [PATCH] Patch for games with new Items system

2004-01-19 Thread Michael Ruelle
After video menu behave the same way. I committed it. must be a generic
mediamenu issue.

On Mon, 2004-01-19 at 16:28, Michael Ruelle wrote:
> hmm.. Ok it works but the menu doesn't update when you delete a file.
> Maybe we are missing a rebuild or something in the mediamenu usage.
> Moving and copying with the cart works fine. I will look into this
> before commiting.
> 
> 
> On Mon, 2004-01-19 at 15:51, [EMAIL PROTECTED] wrote:
> > Here is a complete patch for the src/games folder. This patch uses the new
> > set_url API for all the game items (which are files). As a result, the
> > roms/games files are now used like other files, ie the file_ops and
> > shoppingcart plugins are now working properly with them.
> > 
> > Don't hesitate to ask me if there is any problems.
> > 
> > Regards, Sylvain.
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [PATCH] Patch for games with new Items system

2004-01-19 Thread Michael Ruelle
hmm.. Ok it works but the menu doesn't update when you delete a file.
Maybe we are missing a rebuild or something in the mediamenu usage.
Moving and copying with the cart works fine. I will look into this
before commiting.


On Mon, 2004-01-19 at 15:51, [EMAIL PROTECTED] wrote:
> Here is a complete patch for the src/games folder. This patch uses the new
> set_url API for all the game items (which are files). As a result, the
> roms/games files are now used like other files, ie the file_ops and
> shoppingcart plugins are now working properly with them.
> 
> Don't hesitate to ask me if there is any problems.
> 
> Regards, Sylvain.
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [PATCH] Patch for games with new Items system

2004-01-19 Thread Michael Ruelle
Cool on the todo list. Probably commit it tonite. 

On Mon, 2004-01-19 at 15:51, [EMAIL PROTECTED] wrote:
> Here is a complete patch for the src/games folder. This patch uses the new
> set_url API for all the game items (which are files). As a result, the
> roms/games files are now used like other files, ie the file_ops and
> shoppingcart plugins are now working properly with them.
> 
> Don't hesitate to ask me if there is any problems.
> 
> Regards, Sylvain.
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Streaming TV over the web

2004-01-18 Thread Michael Ruelle
I have nothing more than that line in my todo and a vague notion of
using the vlc program from videolan project to stream the tv. I was
looking over the details of how you would have to transcode anything
that you got from a bttv card to videolans mpeg2 stream and then i got
an ivtv card and wondered if it could stream it more directly since it
is already mpeg2. But aside from that i have no real code to show. I
think someone a while back made a vlc plugin but i think it was a viewer
and not a streamer.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sun, 2004-01-18 at 21:09, David Dan wrote:
> Rob Shortt and Michael Ruelle,
> 
> I see that you have plans to stream TV, Video, and Music over the web. 
> Right now, I have a lot of spare time, and would be very eager to work
> on streaming TV.  If either of you have completed any work on it, or
> have any ideas, let me know and I'll work on it.
> 
> 
> 
> Thanks,
> 
> David Dan
> 
> 
> 
> 
> ---
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Media player and other questions...

2004-01-17 Thread Michael Ruelle
On Sat, 2004-01-17 at 18:44, Aubin Paul wrote:
> > 13, Will it ever be possible to add some nice winamp:ish effects to freevo ?
> > Would be pretty sweet to have a musically controlled background 
> > animation and have the HUD alpha shaded on top of it. (think tripex3 for 
> > winamp)
> 
> I imagine it could be done, but most of us implement what we need
> first, before we look for stuff. I've never seen a need for those, but
> some people will, and will implement them. 
> 

Gustavo (k-s in irc) looked at doing some visualization plugins with
goom and mplayer in the past. I know it is definitely old now but not
sure where he left it. 

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] xmms playback patch

2004-01-17 Thread Michael Ruelle
Ok this looks great. I have fixed the rate function to disallow a couple
things from cvs (radio, rtsp, and cds) and it seems to work for most
stuff i have tried.

I would actually reccommend a different setup tho. I would reccommend
setting AUDIO_PREFFERED_PLAYER to fxmms. And then just activating the
plugin in local_conf.py. That way you still have mplayer to play cds and
other types of internet radio that xmms may not support. If you find
more formats that xmms doesn't support we can add them in the rate
function and turn xmms off for those formats.

I have committed the changes to my WIP copy and will keep tinkering till
monday. At that point i will put it in main CVS if i don't find any
major issues.

Mike

On Fri, 2004-01-16 at 15:56, Roman Stanchak wrote:
> this patches WIP/Ruelle/fxmms.py
> 
> copy it to audio/plugins/ and add
> 
> plugin.remove('audio.mplayer')
> plugin.activate('audio.fxmms')
> 
> to your local_conf.py
> 
> to use XMMS for audio playback.
> 
> let me know if you have any problems, this is my first
> patch.
> 
> Roman
> 
> __
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] xmms playback patch

2004-01-16 Thread Michael Ruelle
Thanks,
I will look at this tomorrow or sunday. Just from reading your comments.
I was about to go in a similar direction but not because of childapp
madness but for the lack of a poll function in the playerGUI to update
elapsed time. The only thing i am wary of is making sure the thread code
is solid.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Fri, 2004-01-16 at 15:56, Roman Stanchak wrote:
> this patches WIP/Ruelle/fxmms.py
> 
> copy it to audio/plugins/ and add
> 
> plugin.remove('audio.mplayer')
> plugin.activate('audio.fxmms')
> 
> to your local_conf.py
> 
> to use XMMS for audio playback.
> 
> let me know if you have any problems, this is my first
> patch.
> 
> Roman
> 
> __
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Metadata

2004-01-16 Thread Michael Ruelle
The only question i have is whether it should be src/metadata or
src/util/metadata. Do we want to start keeping non mediatype code in its
own section with subdirs for organization?

Mike

On Fri, 2004-01-16 at 12:26, Dirk Meyer wrote:
> Hi,
> 
> now we have many functions/classes to create metadata. This includes
> mmpython, the sqlite interface, mmpython and the freevo caching
> system. 
> 
> To make it better to understand and find in the code, I suggest we
> create a new dir metadata in src and put everything in it:
> 
> o a wrapper for mmpython
> o all fxd info grabber
> o all cover searcher
> o all cache functions
> o possible more cool stuff Aubins wants :-)
> 
> 
> Than we think about what should be able to use inside Freevo and add
> it as a plugin to the items. The helper for cache and extended data
> should merge.
> 
> Comments please.
> 
> 
> Dischi
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Player GUI elapsed time problems

2004-01-14 Thread Michael Ruelle
I have been having some issues doing elapsed time in two plugins but
both having a very similar issue. Basically as it works now the
playergui depends on having a childapp program that spits out time in
one of the callbacks and then we can set the right item attributes from
their. This is a problem for the FM Radio plugin and my attempt to get
XMMS working again with freevo.

The FM Radio plugin has no childapp process. So we have nowhere to
increment the elapsed time in seconds based on something like wall clock
time even if we wanted to. The XMMS plugin has the problem that xmms
since it is an X application usually just doesn't say anything unless
you have a problem since for X this is mostly useless.

I have a proposal and want to see how it goes over for people. Should we
add a poll type function to the API of the playerGUI using plugins so
that we can accommodate plugins like this? Does this make sense? Anyone
got a better idea?
 
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [PATCH] Support of zipped ROMS in Games

2004-01-08 Thread Michael Ruelle
I echo Dischi's comment. If you hadn't complained i probably wouldn't
have picked it up for this weekend. I was just scanning messages in the
devel list and was gonna get back to them this weekend. This way i know
i have to do this now and will probably get it done this weekend rather
than just looking at this weekend and sending you some questions.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Thu, 2004-01-08 at 05:06, Dirk Meyer wrote:
> Matthieu Weber wrote:
> > On Wed 07.01.2004 at 11:11:10AM -0500, Michael Ruelle wrote:
> >> I don't see anything obviously wrong but haven't had time lately to look
> >> at it. I will put it on my TODO for the weekend. Sorry for the delay,
> >
> > No problem. Sorry for complaining :(
> 
> You need to complain. Sometimes a patch gets lost, because everone
> thinks xxx will integrate it. So if you don't complain, a patch will
> never get integrated.
> 
> 
> Dischi




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] xmms status

2004-01-08 Thread Michael Ruelle
I have been working on getting xmms support back in and even have it in
my WIP in CVS. The problem i am having is that I can't use childapp2 to
integrate it since The ReadThreads never get used and thus we never get
to update the elapsed time display. After that i need to be able to get
to the next song. It is in my CVS WIP as fxmms.py. You need to install
PyXMMS. It can play an mp3 but it really doesn't work that well. I hope
to get back to it soon.

Mike

On Thu, 2004-01-08 at 08:54, Peter Svensson wrote:
> Hi everybody (And Dischi in particular :) !
> I have been lurking about in the WIP directories, and unless I'm completely
> mistaken work is actually being done there.
> 
> I had a secret plan to try to get something to work with xmms (or at least
> understand why it didn't), and found a work in progress.
> 
> If I would like to test it, what do I do? just copy it to src/plugins and
> enter all config.XMMS* stuff in my local_config.py ?
> 
> 
> /PS
> 
> 
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: better osd

2004-01-07 Thread Michael Ruelle
On Wed, 2004-01-07 at 13:16, Aubin Paul wrote:
> On Wed, Jan 07, 2004 at 02:12:06PM -0400, Rob Shortt wrote:
> > I think this is good, but only for tiny_osd, because it can't display 
> > over other apps (mplayer/xine/tvtime).  So, if it is the osd plugin's 
> > responsability to send the message to the running object it will also 
> > make it better for other osd plugins that actually CAN display messages 
> > over the running object without it knowing or caring.  The tiny_xosd 
> > plugin works like this and if you are running X then there is no need to 
> >  send the message to the running object, it may handle the display.  I 
> > am also working on a tiny_directfbosd plugin that will do the same (and 
> > also have arbitrary graphics capabilities) for those using the directfb 
> > output method.
> 
> Actually, it works on tvtime and mplayer (I can't confirm tvtime, but
> the code is there... at least I saw a commit from Mike to that effect)
> 

works.. yes. Correct imho no. I can get it to work using an external
command that sends stuff to tvtime but not through the stdin/stdout
interface.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [PATCH] Support of zipped ROMS in Games

2004-01-07 Thread Michael Ruelle
I don't see anything obviously wrong but haven't had time lately to look
at it. I will put it on my TODO for the weekend. Sorry for the delay,

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Wed, 2004-01-07 at 10:07, Matthieu Weber wrote:
> On Thu 18.12.2003 at 11:17:59AM +0200, Matthieu Weber wrote:
> > Here is a patch for supporting Genesis and SNES zipped roms in the games
> > module. It simply unzips the ROM to /tmp and passes the uncompressed
> > file to snesitem and genesisitem for title detection.
> > 
> > zipped_rom.py is a new file, used by this patch.
> 
> It seems that this patch hasn't been checked by anybody. Did I do
> something wrong? If there is a need for changes, please tell me.
> 
> Matthieu




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/WIP/Ruelle freevoscreensaver.py,1.1,1.

2004-01-05 Thread Michael Ruelle
Ok i can see that. Maybe add a severity to the osd_message's and then we
can have things show/ignore it based on a threshhold. Things like dead
recordings, failed listings retrieval get a high priority but things
like a failed weather lookup a low priority.

Mike

On Mon, 2004-01-05 at 18:36, Aubin Paul wrote:
> OSD_MESSAGE should only be to pass information to the user, my thought
> would be say, if it was in screensaver and a recording failed or
> something, the user could be informed.
> 
> On Mon, Jan 05, 2004 at 04:32:06PM -0500, Michael Ruelle wrote:
> > OK i wasn't thinking about that. Maybe I should ignore them in case they
> > get used to pass data around b/t plugins. Right now them tend to happen
> > when you do a keypress so they seem somewhat important but not as
> > important as the keypress. And then add handling in later if people want
> > to use them to pass info to the screensaver for some reason.
> > 
> > -- 
> > Mike Ruelle
> > [EMAIL PROTECTED]
> > http://world.std.com/~mruelle/
> > 
> > On Mon, 2004-01-05 at 16:13, Aubin Paul wrote:
> > > It's up to you, but you may want to watch for OSD_MESSAGE events so
> > > information can be communicated if necessary. Right now, we don't send
> > > anything particularly important with OSD_MESSAGE's, but if every part
> > > of Freevo watched for them, it would certainly make it easy for people
> > > to write monitoring plugins or something.
> > 
> > 
> > 
> > 
> > 
> > ---
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> > Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> ---
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo/WIP/Ruelle freevoscreensaver.py,1.1,1.

2004-01-05 Thread Michael Ruelle
OK i wasn't thinking about that. Maybe I should ignore them in case they
get used to pass data around b/t plugins. Right now them tend to happen
when you do a keypress so they seem somewhat important but not as
important as the keypress. And then add handling in later if people want
to use them to pass info to the screensaver for some reason.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Mon, 2004-01-05 at 16:13, Aubin Paul wrote:
> It's up to you, but you may want to watch for OSD_MESSAGE events so
> information can be communicated if necessary. Right now, we don't send
> anything particularly important with OSD_MESSAGE's, but if every part
> of Freevo watched for them, it would certainly make it easy for people
> to write monitoring plugins or something.





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [PLUGIN] Proposed osd plugin and ossmixer enhancement

2004-01-03 Thread Michael Ruelle
On Sat, 2004-01-03 at 06:28, Dirk Meyer wrote:
> Michael Ruelle wrote:
> > I can add something to the tvtime handler. It shouldn't be too hard. All
> > i have to watch is for em.OSD_MESSAGE and then send the event.arg to
> > that stdout function for tvtime? I will try this now. What currently
> > sends osd message events? so i can know what to test with.
> 
> The easiest would be vol+ and vol-

Yeah i saw that in cvslog and just forged ahead with the change. I can
get it to work if i spawn the external tvtime-command and use it to send
the command to the OSD but have had no luck thus far in sending it using
the stdin/stderr interface. I am trying to ask vektor on IRC but he
doesn't seem to be around.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [PLUGIN] Proposed osd plugin and ossmixer enhancement

2004-01-02 Thread Michael Ruelle
I can add something to the tvtime handler. It shouldn't be too hard. All
i have to watch is for em.OSD_MESSAGE and then send the event.arg to
that stdout function for tvtime? I will try this now. What currently
sends osd message events? so i can know what to test with.

Mike


On Fri, 2004-01-02 at 10:18, Aubin Paul wrote:
> On Fri, Jan 02, 2004 at 02:31:25PM +0100, Cyril Lacoux [Yack] wrote:
> > I'm talking about a way to drawing something on the screen (text, gauge ..) to 
> > display sound settings in :
> >  - freevo
> >  - mplayer
> >  - xine
> >  - tvtime
> >  - any application which freevo could starts
> > 
> > I tried to use a modified version of tiny_osd which use ProgressBox, it works 
> > fine in freevo but don't work when being in mplayer or xine.
> > Xosd is a problem since all users don't use XFree.
> > 
> > That I whish to have is an only one plugin which could do both.
> > 
> > If you have a solution, I'll be very happy!
> 
> Each of the plugins will need to be modified to use the respective
> applications OSD functionality. For example, mplayer uses
> "osd_show_text" while tvtime can use 'DISPLAY_MESSAGE', I don't know
> about XINE, but all the individual plugins have to do is watch for an
> "OSD_MESSAGE" and draw on the screen. 
> 
> As of right now, the only application that I don't know about is XINE.
> TVTime could be done with a few lines of code, but because I don't
> have a TVTime-compatible tuner card, I can't really do it and test it.
> 
> (See http://tvtime.sourceforge.net/usage.html#tvtimecommand for the
> DISPLAY_MESSAGE syntax)
> 
> Aubin
> 
> 
> ---
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] SBLIVE + MiroPCTV + Freevo 1.4.1 = No soundwhen recording

2003-12-20 Thread Michael Ruelle
My main issue with Erwan's patch is that it won't totally work the way
he expects it to i believe. I think we need to rethink how we use the
mixer and bury more of the control all audio logic further back into it.
Also i think alsa is gonna throw a few curves at us depending on the
sound card used. They occasionally have some different names for
channels and such. That's why currently it is easier to have the user
monkey with the mixer externally since he can figure out what works for
him.


Also erwan releases the mandrake stuff and would rather not have that
patch intergrated in it (but avaiulable as a patch in the contrib dir is
fine, trying to save on troubleshooting headaches).

Mike

On Sat, 2003-12-20 at 14:16, [EMAIL PROTECTED] wrote:
> I have the same problem than Erwan, and i don't understand why freevo can
> not handle audio recording wihtout btaudio... I think than an option in
> the config files like 'ACTIVATE_LINE_IN_ON_RECORD=1/0' would be a good
> idea.
> If this option is set, then call the mixer with linein activation before
> launching the VCR_CMD command, and, at the end of the record process,
> restore the mixer status.
> If no set, do nothing more than launching the VCR_CMD.
> 
> So why isn't possible/acceptable to integrate this workaround directly
> into Freevo ??
> 
> Sylvain.
> 
> > Rather than patch freevo please use a custom VCR_CMD. It is what it is
> > there for. please look at http://world.std.com/~mruelle/freevo.html
> >
> > Mike
> >
> > On Sat, 2003-12-20 at 10:57, Erwan Velu wrote:
> >> Hi all,
> >> My configuration is Freevo 1.4.1 with a Miro Pctv And a SBLive.
> >> The sound is external and getin the LineIn in my SBlive.
> >> MY SBLIVE is using Two Sets of speakers (front, rear)
> >> Freevo is working fine :o) but when I'm recording using the freevo
> >> webinterface + mencoder... I don't have any sound on my AVI whereas I
> >> can
> >> hear it.
> >> I knew that I did a record with sound but I didn't understood why I
> >> wasn't
> >> able to reproducte it.
> >>
> >> I'VE FOUND IT AFTER ONE DAY OF TESTS :(
> >>
> >> When you runs plugins from the GUI (mplayer, radio etc..) it works. But
> >> when you quit it, InputGain & LineInVolume are set to  
> >>
> >> def stop(self):
> >> """
> >> Stop mplayer and set thread to idle
> >> """
> >> print 'Radio Player Stop'
> >> self.mode = 'stop'
> >> mixer = plugin.getbyname('MIXER')
> >> >   mixer.setLineinVolume(0)   <--
> >> >   mixer.setIgainVolume(0)<--
> >> >   mixer.setMicVolume(0)  <--
> >> os.system('%s -m' % config.RADIO_CMD)
> >>
> >>
> >> That's could be a good idea for the freevo GUI, but my mencoder is using
> >> InputGain (where my tv is recorded) ! So if I use the freevo GUI plugin,
> >> mencoder is no more able to record the sound !
> >>
> >> So it could be good to set a "config.MINI_LINEIN_VOLUME",
> >> config.MINI_IGAIN_VOLUME & config.MINI_MICIN_VOLUME"
> >>
> >> I'll make a patch in that way :o)
> >>
> >>
> >>
> >>
> >> ---
> >> This SF.net email is sponsored by: IBM Linux Tutorials.
> >> Become an expert in LINUX or just sharpen your skills.  Sign up for
> >> IBM's
> >> Free Linux Tutorials.  Learn everything from the bash shell to sys
> >> admin.
> >> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> >> ___
> >> Freevo-devel mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/freevo-devel
> > --
> > Mike Ruelle
> > [EMAIL PROTECTED]
> > http://world.std.com/~mruelle/
> >
> >
> >
> > ---
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> > Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> >
> 
> 
> 
> ---
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from 

Re: [Freevo-devel] SBLIVE + MiroPCTV + Freevo 1.4.1 = No sound when recording

2003-12-20 Thread Michael Ruelle
Rather than patch freevo please use a custom VCR_CMD. It is what it is
there for. please look at http://world.std.com/~mruelle/freevo.html

Mike

On Sat, 2003-12-20 at 10:57, Erwan Velu wrote:
> Hi all,
> My configuration is Freevo 1.4.1 with a Miro Pctv And a SBLive.
> The sound is external and getin the LineIn in my SBlive.
> MY SBLIVE is using Two Sets of speakers (front, rear)
> Freevo is working fine :o) but when I'm recording using the freevo
> webinterface + mencoder... I don't have any sound on my AVI whereas I can
> hear it.
> I knew that I did a record with sound but I didn't understood why I wasn't
> able to reproducte it.
> 
> I'VE FOUND IT AFTER ONE DAY OF TESTS :(
> 
> When you runs plugins from the GUI (mplayer, radio etc..) it works. But
> when you quit it, InputGain & LineInVolume are set to 0 
> 
> def stop(self):
> """
> Stop mplayer and set thread to idle
> """
> print 'Radio Player Stop'
> self.mode = 'stop'
> mixer = plugin.getbyname('MIXER')
> >   mixer.setLineinVolume(0)   <--
> >   mixer.setIgainVolume(0)<--
> >   mixer.setMicVolume(0)  <--
> os.system('%s -m' % config.RADIO_CMD)
> 
> 
> That's could be a good idea for the freevo GUI, but my mencoder is using
> InputGain (where my tv is recorded) ! So if I use the freevo GUI plugin,
> mencoder is no more able to record the sound !
> 
> So it could be good to set a "config.MINI_LINEIN_VOLUME",
> config.MINI_IGAIN_VOLUME & config.MINI_MICIN_VOLUME"
> 
> I'll make a patch in that way :o)
> 
> 
> 
> 
> ---
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [Patch] AutoDetecting mass storage devices

2003-12-17 Thread Michael Ruelle
Shouldn't the plugin check the usb key and then see if the text below it
has mass storage? I think this will only work when using only one mass
storage device.

On Wed, 2003-12-17 at 11:31, Erwan Velu wrote:
> I've made a small patch/plugin that helps to automaticaly add usb mass
> storage devices (i.e usb keys) in freevo.
> This based on the camera.py work.
> This is really usefull :o)
> This patch is integrated in the -6mdk package.
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] mplayer feature worth looking at :)

2003-12-14 Thread Michael Ruelle
I think you can look at how we get the mixer plugin by name and since
the video plugins can be called the same way you can access it's
internal thread or app class whichever it uses and grab that.

plugin.getbyname(plugin.VIDEO_PLAYER).app.write('osd_show_text "New Mail
Arrived!"')

Mike

On Sun, 2003-12-14 at 22:25, Aubin Paul wrote:
> Hopefully Dischi will read this email, because the main issue is how
> to send commands to the mplayer plugin. Currently, I don't know how to
> call function in the mplayer plugin from another plugin, which is what
> we'd have to do for the bookmarking to "talk" back.
> 
> Aubin
> 
> On Sun, Dec 14, 2003 at 06:28:53PM +0100, Torben Janssen wrote:
> > Aubin Paul wrote:
> > >The newer (pre3 at the least) versions of mplayer have a command
> > >"osd_show_text" in the slave mode... 
> > >
> > >for example:
> > >
> > >osd_show_text "New Mail Arrived!"
> > >
> > >would show "New Mail Arrived!" in the top corner of the screen. I
> > >don't have any plans to use it for new mail :) but it might be nice
> > >to build a simple OSD into, for example, the mplayer TV plugins...
> > >
> > >Or, for example, hitting 'guide' when playing a movie could show the
> > >IMDB title, or something like that. In any case, I just thought it
> > >might be useful, so it's a heads up for the creative folks on this
> > >list :)
> > >
> > >Aubin
> > 
> > It sounds interesting for the bookmark plugin in my opinion. there
> > is no user feedback yet.
> > 
> > torben
> > 
> > 
> > ---
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] New plugin for NetRemote to controll Freevo

2003-12-11 Thread Michael Ruelle
On Thu, 2003-12-11 at 20:36, Frank Aune wrote:
> On Friday 12 December 2003 02:17, Michael Ruelle wrote:
> > It really is very simple. just open a UDP socket and
> > send the text of the button you want to send. 
> 
> So basically what I want to do is send eg. POWER, UP, DOWN in clear text over
> a socket? Is there a documentation which describes the different commands 
> freevo responds too, or have you used every available in your python script?
> 

Yes just send the button name as they appear in the list in remote.py.
All the possible button names are used. which ones do what depend on
context. Although users can create additionals if they wish, see the FAQ
for adding custom events
(http://freevo.sourceforge.net/cgi-bin/moin.cgi/FrequentlyAskedQuestions#head-c4c9fd14551c4648decfac2e71fe6fc6c585f1be).

> Cheers, and thanks, that helped alot!

no problem.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] New plugin for NetRemote to controll Freevo

2003-12-11 Thread Michael Ruelle
look at src/helpers/remote.py

It is the basic remote i wrote which works with freevo. It is python/TCL
which i don't think you can get on a pocketpc but it should give you and
idea of what to do. It really is very simple. just open a UDP socket and
send the text of the button you want to send. you can also look at the
bluetooth plugin as another example of a network remote(it recieves a
bluetooth signal and then rebroadcasts to freevo a network remote
request).

Mike

On Thu, 2003-12-11 at 19:48, Frank Aune wrote:
> Hello group, 
> 
> Ive just started looking into developing a plugin for the netremote program, 
> which will allow me to controll Freevo. For more information about NetRemote, 
> please see www.netremote.org
> 
> Any help I can receive is greatly appreciated. What I want, is to use my 
> Compaq iPaq with WLAN running PocketPC and NetRemote to be able to control 
> Freevo. Freevo has a built-in remote control server which accept commands 
> over a TCP/IP network. Perhaps code already exist to do this for other 
> plugins? And where can I find documentation about this build-in server in 
> Freevo? 
> 
> Thank you for any assistance and feedback.
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: cwd pproblems

2003-12-08 Thread Michael Ruelle
Dischi,

these occur mostly with the __init__.py's and their update functions. I
am gonna take a look and try to kill a few of these and change them to
get.

Mike

On Mon, 2003-12-08 at 04:41, Peter Svensson wrote:
> On a related note, I keep seeing a lot of "cwd" attributes which doesn't
> exist on diverse objects. Both when I try to download a cover from amazon,
> and intermittently when quitting from a game.
> 
> /PS
> 
> -Ursprungligt meddelande-
> FrÃn: Matthieu Weber [mailto:[EMAIL PROTECTED]
> Skickat: den 8 december 2003 10:39
> Till: [EMAIL PROTECTED]
> Ãmne: [Freevo-devel] Playlist quickfix
> 
> 
> When playing a movie ends, the eventhandler of DirItem tries to stop the
> background_playlist, but for some reason there is no such attribute in
> the object. Here is a quickfix that checks if such attribute exists
> before trying to access it.
> 
> This bug might be the sign of some other bug somewhere (why isn't this
> background_playlist initialized to at least null in my case?)
> 
> Matthieu
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] xmlrpc details for communicating with therecord_server?

2003-12-06 Thread Michael Ruelle
It was a record_server specific thing. Many of the commands used the
record_server took python objects that have been encoded by twisted's
marmalade procedure. This allows the record_server and record_client to
pass python objects back and forth. Unfortunately marmalade has only  a
python implementation. So if you wanted to call some of the procedures
that use marmaladed objects you need to using python. Since several of
the procedures i wanted to call used marmaladed objects i went back to
using python for my app.

This may not be an issue for you since you are starting out being cross
language you can design your rpcxml server ( I assume it will be a
daemonplugin) to just use ascii strings and integers. I would watch out
if you intend to do anything unicode because as far as i can tell
twisted's rpcxml base which we use for the record server is not unicode
friendly everywhere. (one of the reasons for the long standing bug where
you can't have a favorite with a non ascii character in it, but you can
record such shows one off because marmalade deals with it somehow.)

The perl code i dropped very quickly because of the marmalade issue.
Basically after the initial test. I got all xml back but the marmalade
sections xml was very weird and hard to deal with. That perl code is not
really worth posting.

Mike

On Sat, 2003-12-06 at 14:22, Robert Rozman wrote:
> To: Michael:
> 
> Could you please give some more info why you abandoned doing it in Perl. I'd
> like to do that for Misterhouse-Freevo connection. Were there any problems ?
> Could you post code somewhere ?
> 
> Thanks,
> 
> Robert.
> 
> - Original Message -
> From: "Michael Ruelle" <[EMAIL PROTECTED]>
> To: "FreevoDevel" <[EMAIL PROTECTED]>
> Sent: Saturday, November 29, 2003 10:38 PM
> Subject: Re: [Freevo-devel] xmlrpc details for communicating with
> therecord_server?
> 
> 
> > On Sat, 2003-11-29 at 15:40, Rob Shortt wrote:
> > > One problem you will have though is passing objects back and forth.
> > > Xmlrpc only passes simpe type back and forth so we use Twisted's
> > > marmalade functions to serialize objects to xml format then rebuild them
> > > on the other side.  I know Mike Ruelle was looking into building an app
> > > in another lang (perl/tk maybe?) and was having problems with Twisted's
> > > marmalade to xml format.  I am not sure if he found a solution.  Also if
> > > you are using another language you will most likely need to make object
> > > deffinitions for each type of object you wish to pass back and forth
> > > (TvProgram for example).
> > >
> >
> > I abandoned doing it in perl and have done it in python. I found i
> > needed to include basically all of freevo because of dependencies and
> > functions used to get info.
> >
> > When i get some time i want to write a wrapper around some of the calls
> > and make a more vanilla xml interface to the record server and also add
> > some tv guide querying to it as well. Right now I am too busy with work.
> >
> > --
> > Mike Ruelle
> > [EMAIL PROTECTED]
> > http://world.std.com/~mruelle/
> >
> >
> >
> > ---
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: ChildApp proposal

2003-12-04 Thread Michael Ruelle
Ok i will try it and put it my WIP to see how it goes.

Mike

On Thu, 2003-12-04 at 08:06, Dirk Meyer wrote:
> Michael Ruelle wrote:
> > I would like to do the following to ChildApp
> >
> >
> > IN:
> > class ChildApp:
> >  
> > Change init to:
> > def __init__(self, app, stderrname='stderr', stdoutname='stdout',
> > debug_name=None, doeslogging=0):
> >
> > what this would allow would be for me to use ChildApp in the command.py
> > class and have the names of the childapp output file.
> >
> > we can then add another member to the class to hold whether to log which
> > would be set if CHILDAPP_DEBUG is set or doeslogging > 0.
> >
> > we would also have to change Read_Thread to also accept this argument in
> > its init too.
> >
> > Then its an open question whether or not to add the extra nonblocking
> > read stuff we have in command.py to Read_Thread. This may also have a
> > side effect of curing some of the studdering of mplayer that some users
> > have seen in freevo that they don't see when mplayer is run from the
> > command line.
> >
> > My eventual goal is to use something to be able to have people launch
> > things like firebird and have them work without having to create a whole
> > new plugin for applications.
> >
> > Am I nuts or is this a good idea?
> 
> Not thinking much about it, it sounds ok to me ;-)
> 
> 
> Dischi
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] ChildApp proposal

2003-12-03 Thread Michael Ruelle
I would like to do the following to ChildApp


IN:
class ChildApp:
 Change 
init to:
def __init__(self, app, stderrname='stderr', stdoutname='stdout',
debug_name=None, doeslogging=0):

what this would allow would be for me to use ChildApp in the command.py
class and have the names of the childapp output file.

we can then add another member to the class to hold whether to log which
would be set if CHILDAPP_DEBUG is set or doeslogging > 0.

we would also have to change Read_Thread to also accept this argument in
its init too.

Then its an open question whether or not to add the extra nonblocking
read stuff we have in command.py to Read_Thread. This may also have a
side effect of curing some of the studdering of mplayer that some users
have seen in freevo that they don't see when mplayer is run from the
command line.

My eventual goal is to use something to be able to have people launch
things like firebird and have them work without having to create a whole
new plugin for applications.

Am I nuts or is this a good idea?

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: plugin help

2003-12-01 Thread Michael Ruelle
I think his question was also about how to do something like playerGUI
for his weather plugin. I would be interested in knowing this answer too
so we can put it in the plugin writing howto.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Mon, 2003-12-01 at 15:23, Dirk Meyer wrote:
> "Chris Griffiths" wrote:
> > I quite like the weather function on mythtv, where it will show you the
> > current weather details, the forecast and the doppler map.
> 
> nice
> 
> > I've had some success with having the plugin write to the screen itself,
> > but would like to make it skinable - but to do that I need to add another
> > special case to the python code that handles skins - it seems that
> > although its skinnable the support has to be there for the type of screen
> > - i.e. 'tv' 'player' 'menu' etc.
> 
> Look at headlines.py. It inherits from BlankScreen to display
> stuff. Freevo 1.4 won't use the area code then (so, no Idlebar), in
> cvs freevo it's an area (with different drawing functions).
> 
> 
> Dischi




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Feature Requests-851356 ] TV playing with xine

2003-11-29 Thread Michael Ruelle
If the plugin exists the owner can add it to the plugin download page.
We are working on a change to xine lib to set channels. once xine lib
picks that up a xine tv plugin can be written that works for everyone.

Mike

On Sat, 2003-11-29 at 19:10, SourceForge.net wrote:
> Feature Requests item #851356, was opened at 2003-11-30 00:10
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=446898&aid=851356&group_id=46652
> 
> Category: None
> Group: None
> Status: Open
> Priority: 5
> Submitted By: Richard van Paasen (rvpaasen)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: TV playing with xine
> 
> Initial Comment:
> A plugin exists for tv playing with xine using v4l2.
> Please add it since it adds a neat timeshifting feature.
> 
> --
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=446898&aid=851356&group_id=46652
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Feature Requests-851352 ] change uid/gid

2003-11-29 Thread Michael Ruelle
We might be able to add this as an option but some setups (I think
vidix). Actually require root privileges to work.

Mike

On Sat, 2003-11-29 at 19:01, SourceForge.net wrote:
> Feature Requests item #851352, was opened at 2003-11-30 00:01
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=446898&aid=851352&group_id=46652
> 
> Category: None
> Group: None
> Status: Open
> Priority: 5
> Submitted By: Richard van Paasen (rvpaasen)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: change uid/gid
> 
> Initial Comment:
> Freevo currently runs as root when started from an rc
> script at boot time (e.g. with gentoo). Since Freevo
> starts several other programs and mounts e.g. usb
> memory sticks, it should not run as root but change
> it's uid/gid to e.g. a regular user (nobody, "freevo"
> etc.) to prevent damage to the system.
> 
> Richard.
> 
> 
> --
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=446898&aid=851352&group_id=46652
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] xmlrpc details for communicating with the record_server?

2003-11-29 Thread Michael Ruelle
On Sat, 2003-11-29 at 15:40, Rob Shortt wrote:
> One problem you will have though is passing objects back and forth. 
> Xmlrpc only passes simpe type back and forth so we use Twisted's 
> marmalade functions to serialize objects to xml format then rebuild them 
> on the other side.  I know Mike Ruelle was looking into building an app 
> in another lang (perl/tk maybe?) and was having problems with Twisted's 
> marmalade to xml format.  I am not sure if he found a solution.  Also if 
> you are using another language you will most likely need to make object 
> deffinitions for each type of object you wish to pass back and forth 
> (TvProgram for example).
> 

I abandoned doing it in perl and have done it in python. I found i
needed to include basically all of freevo because of dependencies and
functions used to get info.

When i get some time i want to write a wrapper around some of the calls
and make a more vanilla xml interface to the record server and also add
some tv guide querying to it as well. Right now I am too busy with work.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Problems with tvtime plugin

2003-11-28 Thread Michael Ruelle
Umm that never seemed to work for me I put a print in that area and it
never got executed. So i changed it to a more conventional freevo
eventhandler. I use freevo with the -fs option and have never had an
issue with focus getting stolen. Gonna have to look into that again.

Mike

On Fri, 2003-11-28 at 18:56, Krister Lagerstrom wrote:
> Michael Ruelle wrote:
> > try running freevo -fs? If that solves the issue then i need to talk to
> > Billy and see if we can get a flag to tvtime so that it doesn't try to
> > raise itself and steal focus when called from freevo.
> 
> Actually, when I added tvtime support to Freevo Billy and I came up with
> a new way for Freevo and tvtime to cooperate. Basically, Freevo goes
> into the background and allows tvtime to get the keyboard focus. tvtime
> then sends the keypress info back to Freevo, which uses the slave mode
> to control tvtime etc.
> 
> Looking through the src/tv/tvtime.py history, this support was removed
> in version 1.18. Was there any problems with the way it was? I thought
> it worked pretty good compared to all the MPlayer issues with
> fullscreen, keypresses etc. But I don't use tvtime for tv viewing (I
> have a G400 in FB mode), so I didn't notice the change.
> 
>   / Krister
> 
> 
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Problems with tvtime plugin

2003-11-28 Thread Michael Ruelle
try running freevo -fs? If that solves the issue then i need to talk to
Billy and see if we can get a flag to tvtime so that it doesn't try to
raise itself and steal focus when called from freevo.

Mike

On Fri, 2003-11-28 at 16:25, Robert Rozman wrote:
> Hi,
> 
> this topic is coming from users list. Me and several other users had
> problems running tvtime on Freevo 1.4. Actually in my case tvtime doesn't
> respond to any keypress.
> 
> I've contacted Billy Biggs and he said that Freevo plugin was working at
> some time, so this could be Freevo problem... Has anything changed recently
> that could break tvtime plugin ? One user reported that he can gain control
> of tvtime with extra click on Freevo window (inconvenient solution)...
> 
> Any advice, hint, ? 
> 
> Regards,
> 
> Robert.
> 
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.283,1.284

2003-11-27 Thread Michael Ruelle
sigh ok. umm we should probably grep other scripts to see who else still
uses the old video suffixes variable and fix them.


On Wed, 2003-11-26 at 13:52, Dirk Meyer wrote:
> Michael Ruelle wrote:
> > Umm can we get SUFFIX_VIDEO_FILES back as a unique list of the combined
> > mplayer and xine lists? I need it for library.rpy when we show the video
> > files a user has.
> 
> For a small fix: can't you just add XINE and MPLAYER list?
> 
> 
> Dischi
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: fxd files

2003-11-26 Thread Michael Ruelle
I don't think it is off topic. I think what you are trying to say is
that when using playlist it has to be '-p url' and we have to put the
playlist arg last in how we build the arg list to mplayer. we should
probably prepend the cache statement added during the network cache
detection in the audioitem.py and then make sure you have -p as the last
arg in the arg list.

Mike

On Wed, 2003-11-26 at 14:42, Chris Griffiths wrote:
> The problem is it has to be passed to mplayer as a playlist, i.e.
>mplayer -p http://www.bbc.co.uk/radio1/realaudio/media/r1live.ram
> 
> This is off topic, so I'll do some digging and post on the users list if
> I still need help.
> 
> Thanks,
> Chris
> 
> On Wed, 26 Nov 2003 19:34:04 +0100, "Dirk Meyer" <[EMAIL PROTECTED]> said:
> > "Chris Griffiths" wrote:
> > > Is it possible to use urls as a playlist?
> > >
> > > Radio1 streams realaudio, but the url for the actual audio changes, what
> > > remains constant is the playlist url 
> > >http://www.bbc.co.uk/radio1/realaudio/media/r1live.ram
> > > which when used as a playlist to mplayer will retrieve the url of the
> > > correct stream, and play correctly.
> > 
> > So you only start the player once and it's playing. Than it's no
> > playlist, it's an  tag containing an url.
> > 
> > 
> > Dischi
> > 
> > -- 
> > Life can only be understood backwards but it must be lived forwards.
> > 
> > 
> > ---
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us help
> > YOU!  Click Here: http://sourceforge.net/donate/
> > ___
> > Freevo-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.283,1.284

2003-11-22 Thread Michael Ruelle
Umm can we get SUFFIX_VIDEO_FILES back as a unique list of the combined
mplayer and xine lists? I need it for library.rpy when we show the video
files a user has.

Mike

On Sat, 2003-11-22 at 10:29, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo
> In directory sc8-pr-cvs1:/tmp/cvs-serv5132
> 
> Modified Files:
>   freevo_config.py 
> Log Message:
> 
> 
> Index: freevo_config.py
> ===
> RCS file: /cvsroot/freevo/freevo/freevo_config.py,v
> retrieving revision 1.283
> retrieving revision 1.284
> diff -C2 -d -r1.283 -r1.284
> *** freevo_config.py  21 Nov 2003 17:55:09 -  1.283
> --- freevo_config.py  22 Nov 2003 15:29:39 -  1.284
> ***
> *** 118,121 
> --- 118,152 
>   
>   LOCAL_CONF_CHANGES = [
> + (1.1,
> +  '''ROM_DRIVES are autodetected if left empty.
> + Added AUDIO_RANDOM_PLAYLIST (default on).
> + Added COVER_DIR for covers for files on CDs etc.
> + Added AUDIO_COVER_REGEXP for selection of covers for music files.
> + Changed MPlayer default args.
> + Changed TV_SETTINGS to /dev/video0.'''),
> + (2.0,
> +  '''Remote control config has changed from Freevo Python files to the
> +  standard Lirc program config files, see freevo_config.py for
> +  more info.'''),
> + (2.1,
> +  '''Added MPLAYER_ARGS_AUDIOCD for audio cd playback settings.'''),
> + (3.0,
> +  '''New skin engine. The new engine has no automatic TV overscan support,
> +  you need to set OVERSCAN_X and OVERSCAN_Y. There are also new variables
> +  for this engine: MAIN_MENU_ITEMS and FORCE_SKIN_LAYOUT. The games menu
> +  will be activated automaticly if setup.py found mame or snes'''),
> + (3.1,
> +  '''Renamed TV_SHOW_IMAGE_DIR to TV_SHOW_DATA_DIR. This directory now can
> +  also contain fxd files with gloabl informations and mplayer options'''),
> + (3.2,
> +  '''Removed MPLAYER_ARGS_* and added a hash MPLAYER_ARGS to set args for
> +  all different kinds of files. Also added MPLAYER_SOFTWARE_SCALER to use
> +  the software scaler for fast CPUs'''),
> + (3.3,
> +  '''Added AUDIO_FORMAT_STRING to customize the audio item title generation'''),
> + (3.4,
> +  '''Removed RC_MPLAYER_CMDS for video and audio. Set special handling (and
> +  other key mappings with the variable EVENTS. See event.py for possible
> +  events'''),
>   (3.5,
>'''Added xine support (see xine section in freevo_config.py),
> ***
> *** 145,149 
>'''Removed SUFFIX_VIDEO_FILES and replaced it with SUFFIX_VIDEO_MPLAYER_FILES
>and SUFFIX_VIDEO_XINE_FILES. Use PREFERED_VIDEO_PLAYER to choose a prefered
> !  player.''')]
>   
>   
> --- 176,184 
>'''Removed SUFFIX_VIDEO_FILES and replaced it with SUFFIX_VIDEO_MPLAYER_FILES
>and SUFFIX_VIDEO_XINE_FILES. Use PREFERED_VIDEO_PLAYER to choose a prefered
> !  player.'''),
> ! (4.02,
> !  '''Added CHILDAPP_DEBUG to debug all kinds of childapps. MPLAYER_DEBUG will be
> !  removed soon. Renamed PREFERED_VIDEO_PLAYER to VIDEO_PREFERED_PLAYER and added
> !  AUDIO_PREFERED_PLAYER.''']
>   
>   
> ***
> *** 241,244 
> --- 276,284 
>   USE_NETWORK = 1
>   
> + #
> + # store output of started processes for debug
> + #
> + CHILDAPP_DEBUG = 0
> + 
>   # ==
>   # Plugins:
> ***
> *** 523,527 
>   # Prefered video player
>   #
> ! PREFERED_VIDEO_PLAYER = 'mplayer'
>   
>   #
> --- 563,567 
>   # Prefered video player
>   #
> ! VIDEO_PREFERED_PLAYER = 'mplayer'
>   
>   #
> ***
> *** 560,563 
> --- 600,608 
>   #
>   AUDIO_COVER_REGEXP = 'front|-f'
> + 
> + #
> + # Prefered audio player
> + #
> + AUDIO_PREFERED_PLAYER = 'mplayer'
>   
>   
> 
> 
> 
> 
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [PATCH] guide.rpy

2003-10-30 Thread Michael Ruelle
I like this patch better, it seems to fix rob's issue. Dischi can you
comment that this fixes your error?

On Thu, 2003-10-30 at 16:30, Rob Shortt wrote:
> This is broken for me, see attached.
> 
> Eirik Meland wrote:
> > This patch fixes the inaccuracy problem experienced with the web-guide.
> > It should also fix some not reported problems (which I have already forgotten).
> > 
> > I couldn't resist moving the popup-code into its own method.
> > 
> > My guide is still an hour off, but I guess tv_grab_sn is to blame.
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/
Index: guide.rpy
===
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/guide.rpy,v
retrieving revision 1.19
diff -r1.19 guide.rpy
189a190,254
> def makepop(self, popid, prog):
> return """
> 
>   cellpadding="0"
>   cellspacing="0"
>   class="popup"
>   onmouseover="focusPop('%s');"
>   onmouseout="unfocusPop('%s');">
>   
>  
> 
>%s
> 
>  
>   
>   
>  
> 
>%s
> 
>  
>  
>  
> Start: %s, 
> Stop: %s,
> Runtime: %smin
> 
>  
>   
>   
>  
> 
>   class="popupbuttons"
>   border="0"
>   cellpadding="0"
>   cellspacing="4">
>   
>  
> 
>Record
> 
> 
>Add to Favorites
> 
> 
>Close Window
> 
>  
>   
>
> 
>  
>   
>
> 
> """ % ( popid, popid, popid, prog.title, prog.desc,
> time.strftime('%H:%M', time.localtime( prog.start ) ),
> time.strftime('%H:%M', time.localtime( prog.stop ) ),
> int( ( prog.stop - prog.start ) / 60 ),
> prog.channel_id, prog.start,
> prog.channel_id, prog.start, popid )
> 
> 
199c264,268
< mfrguidestart = time.time()
---
> load_time = time.time()
> load_time -= load_time % INTERVAL
> mfrguidestart = int( load_time - ( load_time % INTERVAL ) )
> 
> # "scroll" input
200a270
> # offset input
202a273
> 
204c275,276
< mfrguidestart = int(mfrguideinput)
---
> tmp_time = float(mfrguideinput)
> mfrguidestart = int( tmp_time - ( tmp_time % INTERVAL ) )
206,208c278,285
< mfrguidestart = float(mfrguideinputday) + float(mfrguideinputoff)
< now = int(mfrguidestart / INTERVAL) * INTERVAL
< now2 = int(time.time() / INTERVAL) * INTERVAL
---
> tmp_time = float(mfrguideinputday) + float(mfrguideinputoff)
> mfrguidestart = int( tmp_time - ( tmp_time % INTERVAL ) )
> 
> # please change to more describing names
> now = mfrguidestart
> now2 = load_time - ( load_time % INTERVAL )
> 
> # what does the "+= 10" mean?
215a293
> # fetch tvguide
222a301
> # check for active recordserver
224c303
< fv.res += 'The recording server is down, recording information is unavailable.'
---
> fv.res += "The recording server is down, recording information is unavailable.\n"
229c308,309
< fv.tableOpen('border="0" cellpadding="0" cellspacing="0" width="100%"')
---
> fv.tableOpen('border="0" cellpadding="4" cellspacing="0" cols=\"%d\" width="100%%" ' 
>  % ( n_cols*cpb + 1 ) )
231d310
< fv.tableCell('Time: ' + self.maketimejumpboxday(now) + self.maketimejumpboxoffset(now) + '', 'class="utilhead"')
232a312,323
> # time jump box
> if categorybox:
> 	jumpboxsize = (n_cols*cpb+1) /2
> 	else:
> 	jumpboxsize = n_cols*cpb+1
> 	
> fv.tableCell('Time: '
>  + self.maketimejumpboxday(now)
>  + self.maketimejumpboxoffset(now)
>  + ''
>  , 'class="utilhead"  colspan="%s"' % jumpboxsize)
> # category box if categories exist
234c325,327
< fv.tableCell('Show Category: '+categorybox+'', 'class="utilhead"')
---
> fv.tableCell('Show Category: '
>  + categorybox
>  +'', 'class="utilhead"  colspan="%s"' % jumpboxsize)
236d328
< fv.tableClose()
238,240c330,331
< fv.tableOpen('border="0" cellpadding="4" cellspacing="0" cols=\"%d\" width="100%%"

Re: [Freevo-devel] Re: Freevo 1.4 code freeze

2003-10-28 Thread Michael Ruelle

> Open:
> -
> o port tv/plugins/mplayer.py to new childapp.py or at least add 'quit'
>   function 
>  -- noone assigned

ok i have checked this in. I based it on what i had to change to get
tvtime to work under the new system. let me know if i missed anything.
It seemed to work when tested.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] BUGFIX: "outicon" for Commands/Headlines plugins

2003-10-27 Thread Michael Ruelle
Commited. Thank you.

On Mon, 2003-10-27 at 14:53, Jan Grewe wrote:
> To get my skin working correct, someone needs to patch the headlines.py and
> commands.py plugins to contain these lines:
> 
> 
> ### headlines.py, lines 120,121 ###
> if menu_items.has_key('headlines') and menu_items['headlines'].outicon:
> item.outicon = os.path.join(skin.settings.icon_dir,
> menu_items['headlines'].outicon)
> 
> ### commands.py, lines 329,330 ###
> if menu_items.has_key('commands') and menu_items['commands'].outicon:
> item.outicon = os.path.join(skin.settings.icon_dir,
> menu_items['commands'].outicon)
> 
> the "inactive-menu-item-icon" in the main menu won't work without those
> definitions!
> 
> /jan
> 
> 
> 
> ---
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: Fix for unicode string problem with twisted webserver

2003-10-25 Thread Michael Ruelle
Unfortuneately not a complete fix. A user withthe problem emailed me and
he is getting an ordinal not in range exception now. sigh, back to the
drawing board.

On Fri, 2003-10-24 at 04:22, Dirk Meyer wrote:
> Michael Ruelle wrote:
> > I would like to apply this but don't want to incur dischi's rath for
> > violating the feature freeze.
> 
> It more looks like a bugfix to me. So you should apply it.
> 
> 
> Dischi
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] again events in plugins

2003-10-25 Thread Michael Ruelle
set DEBUG=1 in local_conf.py, some events get different names depending
on context. I think there is a print for the events and it will show in
main-0.log

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sat, 2003-10-25 at 16:41, [EMAIL PROTECTED] wrote:
> Hello,
> 
> Thanks for your answer.
> 
> On Oct 25, Michael Ruelle wrote:
> > look at WIP/Ruelle/externaltuner.py
> 
> I tried it this way. As i noticed now, the plugin catches events,
> but _not_ MENU_UP, MENU_DOWN etc. But i need to catch these
> events, because i am running freevo on a machine, where only a joystick 
> with x/y-axes is connected to and i need to notice, when someone is 
> browsing the menus.
> Wonder why i get all the events except the Menu_events. 
> Anyway, if there is not another way, i will simply patch menu.py to post 
> plugin events, but i hoped there is a more 'freevo like' way to do this.
> 
> Btw, the plugin should play some media files after a certain period of 
> inactivity (like some gambling machines do). 
> If someone is interested, i will post it here when it is finished.
> 
> With regards,
> andreas
> 
> 
> 
> ---
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] again events in plugins

2003-10-25 Thread Michael Ruelle
look at WIP/Ruelle/externaltuner.py

On Sat, 2003-10-25 at 13:24, Andreas Meiner wrote:
> Hi, 
> 
> once again the event stuff in plugins.
> While browsing the archive i noticed, that it is 
> somehow possible to get all events with a DaemonPlugin.
> But i am afraid i am to silly to make this work.
> It would be very nice, if someone can give me a short example
> how to do this.
> 
> Thanks in advance,
> Andreas
> 
> 
> 
> ---
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Fix for unicode string problem with twisted webserver

2003-10-24 Thread Michael Ruelle
I would like to apply this but don't want to incur dischi's rath for
violating the feature freeze.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/
Index: web_types.py
===
RCS file: /cvsroot/freevo/freevo/src/www/web_types.py,v
retrieving revision 1.15
diff -r1.15 web_types.py
57c57
< import os, sys, time
---
> import os, sys, time, types
98c98,103
< return self._render(request)
---
> pagetext = self._render(request)
> 	if isinstance(pagetext, types.StringTypes) and isinstance(pagetext, types.StringType):
> 	return pagetext
> 	else:
> 	#latin-1 since twisted must get a StringType not Unicode
> 	return pagetext.encode('latin-1', 'ignore')


[Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.275,1.276

2003-10-22 Thread Michael Ruelle
Shouldn't this be done by freevo setup? I have been wrestling with
whether i should add a helper to freevo to create the dirs that used to
be created by the old makefile. I chatted with rshort about it in IRC
and he said setup should do it, and i agree with him. thoughts?

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Wed, 2003-10-22 at 16:03, [EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo
> In directory sc8-pr-cvs1:/tmp/cvs-serv19576
> 
> Modified Files:
>   freevo_config.py 
> Log Message:
> print warning if /var/cache/freevo is not the cache dir
> 
> Index: freevo_config.py
> ===
> RCS file: /cvsroot/freevo/freevo/freevo_config.py,v
> retrieving revision 1.275
> retrieving revision 1.276
> diff -C2 -d -r1.275 -r1.276
> *** freevo_config.py  22 Oct 2003 19:08:33 -  1.275
> --- freevo_config.py  22 Oct 2003 20:03:35 -  1.276
> ***
> *** 447,450 
> --- 447,453 
>   
>   except OSError:
> + print 'Warning: %s does not exists and can\'t be created' % FREEVO_CACHEDIR
> + print 'Please create this directory as root and set permissions for the'
> + print 'Freevo user to write to it.'
>   OS_CACHEDIR = '/tmp'
>   FREEVO_CACHEDIR = OS_CACHEDIR + '/freevo'
> ***
> *** 458,463 
>   if not os.path.isdir( FREEVO_CACHEDIR ):
>   os.makedirs( FREEVO_CACHEDIR )
> ! 
> ! 
>   # ==
>   # Freevo movie settings:
> --- 461,466 
>   if not os.path.isdir( FREEVO_CACHEDIR ):
>   os.makedirs( FREEVO_CACHEDIR )
> ! print 'Using %s as cache directory, but this is a bad idea' % 
> FREEVO_CACHEDIR
> ! print
>   # ==
>   # Freevo movie settings:
> 
> 
> 
> 
> ---
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> ___
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog




---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [Patch] wap record time zone patch

2003-10-22 Thread Michael Ruelle
applied thanks

On Tue, 2003-10-21 at 14:26, Bart Heremans wrote:
> Hi,
> 
> This is a patch to solve the time zone problem in the wap record page,
> htdocs/wap_rec.rpy
> I used the same code as in the manual record web page.
> 
> Bart
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


RE: [Freevo-devel] The new games settings and Python 2.2

2003-10-21 Thread Michael Ruelle
Are you using freevo-rc1? There was a bug where subdirs did not work
with the additional args that the games system uses. The snapshots have
fixed this.  This will be in the next rc.

Mike Ruelle

On Tue, 2003-10-21 at 13:01, Simon Windmill wrote:
> What's strange is that it's not actually returning after the popup, even
> though the code says it should be.  It in fact continues and tries
> adding items to the return list.
> 
> I should have also pointed out that the real problem is that I end up
> with an empty listing as well as getting that message.  Several debug
> prints later, I think I've found the problem here - it's not setup to
> support subdirectories.  When cwd gets called in games/__init__.py, the
> files value is a list of the directories (09, A, B, C, etc. - I have my
> ROMs in subdirectories for each letter of the alphabet), not the files
> themselves.
> 
> I guess a quick fix for me would be to specify each sub-directory as an
> individual entry in DIR_GAMES, but that sort of sucks, and isn't the
> behaviour of older freevo versions that handled subdirs just fine.  My
> Python is really rusty right now and I haven't looked at the freevo
> source properly for ages (so why am I on the devel list? Hah) so I doubt
> I could fix the problem quickly.. Anyone else?  The original author?
> 
> Simon.
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of Peter Svensson
> > Sent: Tuesday, October 21, 2003 5:21 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: SV: [Freevo-devel] The new games settings and Python 2.2
> > 
> > 
> > I have got that error several times. If I recall correctly it 
> > was either a misspelling of paths on my part, (and/)or that I 
> > had to remove /var/cache/freevo when I upgraded something from cvs. 
> > 
> > /Peter
> 
> 
> 
> ---
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Freevo 1.4 roadmap

2003-10-20 Thread Michael Ruelle
On Mon, 2003-10-20 at 08:04, Rob Shortt wrote:

> Mike, can you give us a quick rundown of where the problem crops up (all 
> unicode strings in communication - certain characters, etc) and any 
> leads, ideas to fix, etc?
> 

find your local spanish channel (for those in the US) click on a show
with a non ascii character(i.e. not in range(128)). Then clikc to add to
favorite. You will get to the setup of a new favorite page. then edit to
your heart's content. make sure to leave nonascii char in title or name.
Then click add to finally add the favorite. It will then be silently
dropped and you will be redirected to the favorties page.

see
http://world.std.com/~mruelle/pub/freevo/unicode_recordserver_test.txt
for the sample exchange which results in an error.

Contrast this with just recording the show which works as expected.

This comes about when you send the nonascii code through the
recordserver without having first jellied it. The Jelly process is
obscuring it and allowing it to pass through. I have found many posts on
the internet claiming that xmlrpc for python does not handle nonascii
characters and that there is no way to change the encoding you send for
the xmlrpc so that you can explicitly set the encoding to utf-8.

I have tried the simple jellying root but ran into problems with encode,
complaining when i unjellied the string and tried to change it into a
regular text string, it complained about the character not being in
range and i had ignore set so unsure why that is.

I am going to try to use the xml.sax.utils.escape function next but have
some other things i have to take care of first.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



---
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Stationlist broken (tvtime)

2003-10-19 Thread Michael Ruelle
Jan,

In accordance with vektor's wishes (the author of tvtime) I made it so
that freevo maintains its own list of channels inside the
stationlist.xml. This will allow us to keep channels in sync inside of
freevo and allow people to use tvtime with other applications without
being affected. IUf you wish to use your freeevo channels in tvtime that
use tvtime -f freevo.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Fri, 2003-10-17 at 15:09, Jan Grewe wrote:
> I'm using custom frequencies in my stationlist.xml for tvtime and a
> TV_CHANNELS = with the channels mapped according to the positions in the
> stationlist.xml. I'm doing so because i'm from germany and tvtime won't work
> with our channel system (K18, S14, etc). One problem is that mencoder can't
> work this way, because it gets wrong channels which don't exist from the
> TV_CHANNELS in local_conf.py ... That's one problem, i can live with that as
> i know that someone is already working on in ... But now my stationlist
> completely broke, i can't watch TV anymore, my old layout was like
> 
> 
>  "http://tvtime.sourceforge.net/DTD/stationlist1.dtd"; "-//tvtime//DTD
> stationlist 1.0//EN">
> 
>   
>  finetune='0' active='1' position='1'/>
> [...]
>   
> 
> And now my stationlist looks like:
> 
> 
>  "http://tvtime.sourceforge.net/DTD/stationlist1.dtd"; "-//tvtime//DTD
> stationlist 1.0//EN">
> 
>   
>  xmltvid='ard.de' channel='1'/>
> [...]
>   
> 
> Doh, is that going to be fixed soon?/me => tv-junkie!
> 
> Tia
> 
> /jan
> 
> 
> 
> ---
> This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
> The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
> Linux in the Boardroom; in the Front Office; & in the Server Room 
> http://www.enterpriselinuxforum.com
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Stationlist broken (tvtime)

2003-10-18 Thread Michael Ruelle
Also for your custom channels you can now use the FREQUENCY_TABLE and
TV_CHANNELS and the new tvtime plugin will format them for tvtime.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sat, 2003-10-18 at 12:14, Michael Ruelle wrote:
> Jan,
> 
> In accordance with vektor's wishes (the author of tvtime) I made it so
> that freevo maintains its own list of channels inside the
> stationlist.xml. This will allow us to keep channels in sync inside of
> freevo and allow people to use tvtime with other applications without
> being affected. IUf you wish to use your freeevo channels in tvtime that
> use tvtime -f freevo.




---
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Stationlist broken (tvtime)

2003-10-18 Thread Michael Ruelle
Jan,

In accordance with vektor's wishes (the author of tvtime) I made it so
that freevo maintains its own list of channels inside the
stationlist.xml. This will allow us to keep channels in sync inside of
freevo and allow people to use tvtime with other applications without
being affected. IUf you wish to use your freeevo channels in tvtime that
use tvtime -f freevo.

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Fri, 2003-10-17 at 15:09, Jan Grewe wrote:
> I'm using custom frequencies in my stationlist.xml for tvtime and a
> TV_CHANNELS = with the channels mapped according to the positions in the
> stationlist.xml. I'm doing so because i'm from germany and tvtime won't work
> with our channel system (K18, S14, etc). One problem is that mencoder can't
> work this way, because it gets wrong channels which don't exist from the
> TV_CHANNELS in local_conf.py ... That's one problem, i can live with that as
> i know that someone is already working on in ... But now my stationlist
> completely broke, i can't watch TV anymore, my old layout was like
> 
> 
>  "http://tvtime.sourceforge.net/DTD/stationlist1.dtd"; "-//tvtime//DTD
> stationlist 1.0//EN">
> 
>   
>  finetune='0' active='1' position='1'/>
> [...]
>   
> 
> And now my stationlist looks like:
> 
> 
>  "http://tvtime.sourceforge.net/DTD/stationlist1.dtd"; "-//tvtime//DTD
> stationlist 1.0//EN">
> 
>   
>  xmltvid='ard.de' channel='1'/>
> [...]
>   
> 
> Doh, is that going to be fixed soon?/me => tv-junkie!
> 
> Tia
> 
> /jan
> 
> 
> 
> ---
> This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
> The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
> Linux in the Boardroom; in the Front Office; & in the Server Room 
> http://www.enterpriselinuxforum.com
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel




---
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


  1   2   >