[Freevo-cvslog] freevo/WIP/Ruelle headlines.py,NONE,1.1 local_conf.py.headlines,NONE,1.1

2003-08-27 Thread mikeruelle
Update of /cvsroot/freevo/freevo/WIP/Ruelle
In directory sc8-pr-cvs1:/tmp/cvs-serv5710

Added Files:
headlines.py local_conf.py.headlines 
Log Message:
RDF Headlines support

--- NEW FILE: headlines.py ---
#if 0 /*
# ---
# headlines.py - a simple plugin to listen to headlines
# ---
# $Id: headlines.py,v 1.1 2003/08/27 23:47:18 mikeruelle Exp $
#
# Notes: 
# Todo: 
#
# ---
# $Log: headlines.py,v $
# Revision 1.1  2003/08/27 23:47:18  mikeruelle
# RDF Headlines support
#
#
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2003 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

#python modules
import os, string, time

# rdf modules
from rdflib.TripleStore import TripleStore
from rdflib.constants import TYPE
from rdflib.Namespace import Namespace

MYNS = Namespace("http://my.netscape.com/rdf/simple/0.9/";)

#freevo modules
import config, menu, rc, plugin, skin

from item import Item

#get the sinfletons so we can add our menu and get skin info
skin = skin.get_singleton()
menuwidget = menu.get_singleton()

TRUE = 1
FALSE = 0
#check every 20 minutes
MAX_HEADLINE_AGE = 1200

class HeadlinesSiteItem(Item):
def __init__(self, parent):
Item.__init__(self, parent)
self.url = ''
self.location_index = None


def actions(self):
"""
return a list of actions for this item
"""
items = [ ( self.getheadlines , 'See Sites Headlines' ) ]
return items

def getsiteheadlines(self):
headlines = []
pfile = os.path.join(config.FREEVO_CACHEDIR, 'headlines-%i' % 
self.location_index)
if (os.path.isfile(pfile) == 0 or \
(abs(time.time() - os.path.getmtime(pfile)) > MAX_HEADLINE_AGE)):
#print 'Fresh Headlines'
headlines = self.fetchheadlinesfromurl()
else:
#print 'Cache Headlines'
try:
cachefile = open(pfile,'r')
headlines = map(string.rstrip, cachefile.readlines())
cachefile.close()
except IOError:
 print 'HEADLINES: error reading cache.'
 return []
return headlines

def fetchheadlinesfromurl(self):
headlines = []
store = TripleStore()
store.load(self.url)
for story in store.subjects(TYPE, MYNS["item"]):
for title in store.objects(story, MYNS["title"]):
headlines += [ '%s' % title ]
#write the file
if len(headlines) > 0:
pfile = os.path.join(config.FREEVO_CACHEDIR, 'headlines-%i' % 
self.location_index)
cachefile = open(pfile,'w+')
for title in headlines:
cachefile.write(title + '\n')
cachefile.close()
return headlines

def getheadlines(self, arg=None, menuw=None):
headlines = [] 
rawheadlines = []
rawheadlines = self.getsiteheadlines()
for title in rawheadlines:
headlines += [ menu.MenuItem('%s' % title, menuwidget.goto_prev_page, 0) ]

if (len(headlines) == 0):
headlines += [menu.MenuItem('No Headlines found', 
menuwidget.goto_prev_page, 0)]

headlines_menu = menu.Menu('Headlines', headlines)
rc.app(None)
menuwidget.pushmenu(headlines_menu)
menuwidget.refresh()

# this is the item for the main menu and creates the list
# of Headlines Sites in a submenu.
class HeadlinesMainMenuItem(Item):

def actions(self):
"""
return a list of actions for this item
"""
items = [ ( self.create_locations_menu , 'Headlines Sites' ) ]
return items
 
def create_locations_menu(self, arg=None, menuw=None):
headlines_sites = []
for location in config.HEADLINES_LOCATIONS:
headlines_site_item = HeadlinesSiteItem(self)
headlines_site_item.name = locati

[Freevo-cvslog] freevo/WIP/Ruelle player.py,1.1,NONE plugin.py,1.1,NONE radio.py,1.3,NONE radioplayer.py,1.2,NONE

2003-08-27 Thread mikeruelle
Update of /cvsroot/freevo/freevo/WIP/Ruelle
In directory sc8-pr-cvs1:/tmp/cvs-serv4480

Removed Files:
player.py plugin.py radio.py radioplayer.py 
Log Message:


--- player.py DELETED ---

--- plugin.py DELETED ---

--- radio.py DELETED ---

--- radioplayer.py DELETED ---




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.235,1.236

2003-08-27 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> Gustavo Sverzut Barbieri wrote:
> >> Maye in the rectangle itself:
> >> 
> >> 
> >
> > Dischi, I don't think to put it in each  is a good way.
> If
> > one want that in his skin, almost certainly it will want it for all
> > rectangles, not just few ones... 
> 
> Guess you're right. How many rectangles are there?

In my skin, for demonstration purposes, I have different layouts for
everything. Now, all rectangles (for text layouts) are commented, but
if I enable them all, it's about 30+ rectangles...
 

> >I'm considering puting that in , do you disagree? 
> 
> It seems to be the easier than adding it to each rectangle. Maybe we
> could use the setvar like we use in folder.fxd files:
> 
> 
>   
>   ...
> 

Excellent! Just use that and the var will be set? where do I get it?
 
> > Any suggetions on the attribute name? For now:  > ... rectangles_under_icons_too="1"/>
> >
> > Maybe we need a better name...
> 
> YES! rectangles_under_icons_too isn't very good. Maybe
> rectangle_covers_icon. 

Ok


Gustavo

___
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, câmeras digitais, videogames e muito
mais! www.cade.com.br/antizona


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: Installing Freevo into the system - RedhatRPMs

2003-08-27 Thread Wan Tat Chee

On Mon, 25 Aug 2003, Jorn A Hansen wrote:

> It looks like most of the needed RPMs for Redhat based distros are
> available on a couple of apt-rpm enabled RPM repositories that
> work together so that their packages don't conflict.

This is very useful info, I haven't used apt-get for RPMs yet but it looks
like we'd really need it for the future.
> 
> I would be happy to work with Wan Tat Chee on this. I'm no expert on 
> RPM's (yet :-) but I'm willing to help out with testing or whatever!

Great! I've attached a text file containing the dependencies and
added your stuff to it. It's a work in progress though. Looks like
there's quite a few packages in the Runtime that don't have RPM
equivalents. (The Apps modules are much better off I think).

Still need to scan through freevo/runtime/package_list.mk for stuff
that I've missed the first time around. I'm not sure if some of the
runtime modules are still needed for the next release (e.g. who's using
swig?)

> 
> I think that apt-get enabled RPMs for Freevo offered to pick up just 
> next to this little app 
> (http://atrpms.physik.fu-berlin.de/dist/rh9/mythtv/ hint hint ;-)) would 
> be cool. That would make it easier for more people to try out both apps 
> and find the one that works for them.
> 

Would be good if we have something equivalent. Not sure if I have time
right now to figure out how to learn apt-get and create the metapackage
file :(. If you'd like to help with this it'd great!

T.C.

Wan Tat Chee (Lecturer)
School of Computer Science, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.  Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757   Rm.601-E Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7
Freevo Dependency List
--
Version 0.1 2003/08/26  TC Wan (tcwan at cs dot usm dot my)

[Note: devel packages may or may not be required]

Package RPM Sub-dependencies   
 RPM
--- --- 
-   ---
[Runtime]
=
python 2.3  http://www.python.org
[RPM binary named python2.3 (!)]
# python2.3-2.3-3pydotorg.src.rpm
# python2.3-2.3-3pydotorg.i386.rpm
# python2.3-devel-2.3-3pydotorg.i386.rpm
# python2.3-docs-2.3-3pydotorg.i386.rpm
# python2.3-tkinter-2.3-3pydotorg.i386.rpm
# python2.3-tools-2.3-3pydotorg.i386.rpm

python-pygame   http://www.pygame.org
# pygame-doc-1.5.6-1.noarch.rpm SDL 1.2.5 (RH Base)
# pygame-1.5.6-1.src.rpmSDL_image 1.2.3
 http://www.libsdl.org/projects/SDL_image/
# pygame-1.5.6-1.i386.rpm  
 # SDL_image-1.2.3-1.src.rpm
   
 # SDL_image-1.2.3-1.i386.rpm
   
 # SDL_image-devel-1.2.3-1.i386.rpm
SDL_ttf 2.0.6 (need 
patches?)   http://www.libsdl.org/projects/SDL_ttf/
[doesn't work with 
freetype 2.1.3]  # SDL_ttf-2.0.6-1.src.rpm
   
 # SDL_ttf-2.0.6-1.i386.rpm
   
 # SDL_ttf-devel-2.0.6-1.i386.rpm
Freetype 2.1.4 
 RH RawHide Mirror - 
ftp://speakeasy.rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/
   
 # freetype-2.1.4-4.1.i386.rpm
SDL_mixer 1.2.5
 http://www.libsdl.org/projects/SDL_mixer/
   
 # SDL_mixer-1.2.5-1.src.rpm
   
 # SDL_mixer-1.2.5-1.i386.rpm
   
 # SDL_mixer-devel-1.2.5-1.i386.rpm
smpeg 0.4.4   

[Freevo-cvslog] freevo/src/video fxdimdb.py,1.7,1.8

2003-08-27 Thread dischi
Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv16639

Modified Files:
fxdimdb.py 
Log Message:
smarter search

Index: fxdimdb.py
===
RCS file: /cvsroot/freevo/freevo/src/video/fxdimdb.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** fxdimdb.py  23 Aug 2003 12:51:43 -  1.7
--- fxdimdb.py  27 Aug 2003 19:24:08 -  1.8
***
*** 12,15 
--- 12,18 
  # ---
  # $Log$
+ # Revision 1.8  2003/08/27 19:24:08  dischi
+ # smarter search
+ #
  # Revision 1.7  2003/08/23 12:51:43  dischi
  # removed some old CVS log messages
***
*** 155,159 
urllib.quote(name)
  req = urllib2.Request(url, txdata, txheaders)
! 
  try:
  response = urllib2.urlopen(req)
--- 158,163 
urllib.quote(name)
  req = urllib2.Request(url, txdata, txheaders)
! searchstring = name
! 
  try:
  response = urllib2.urlopen(req)
***
*** 173,177 
  self.imdb_id_list = [ ( m.group(1), data[0], data[1]['year'], '' ) ]
  return self.imdb_id_list
! 
  for line in response.read().split("\n"):
  m = regexp_type.match(line)
--- 177,181 
  self.imdb_id_list = [ ( m.group(1), data[0], data[1]['year'], '' ) ]
  return self.imdb_id_list
! 
  for line in response.read().split("\n"):
  m = regexp_type.match(line)
***
*** 195,201 
  year = year[:year.find(')')]
  
! for i in range(len(self.imdb_id_list)):
! if self.imdb_id_list == id:
! self.imdb_id_list = ( id , name, year, type )
  break
  else:
--- 199,204 
  year = year[:year.find(')')]
  
! for i in self.imdb_id_list:
! if i[0] == id:
  break
  else:
***
*** 203,206 
--- 206,227 
  
  response.close()
+ if len(self.imdb_id_list) > 20:
+ # too much results, check if there are stupid results in the
+ # list
+ words = []
+ 
+ # make a list of all words (no numbers) in the search string
+ for p in re.split('[\._ -]', searchstring):
+ if p and not p[0] in '0123456789':
+ words.append(p)
+ 
+ # at least one word has to be in the result
+ new_list = []
+ for result in self.imdb_id_list:
+ for search_word in words:
+ if result[1].lower().find(search_word.lower()) != -1:
+ new_list.append(result)
+ self.imdb_id_list = new_list
+ 
  return self.imdb_id_list
  
***
*** 392,407 
  name  = re.sub('([a-zA-Z])([0-9])', point_maker, name)
  name  = re.sub('([0-9])([a-zA-Z])', point_maker, name.lower())
! 
  if label == TRUE:
  for r in config.IMDB_REMOVE_FROM_LABEL:
  name  = re.sub(r, '', name)
! 
  parts = re.split('[\._ -]', name)
- 
  name = ''
  for p in parts:
! if not p.lower() in config.IMDB_REMOVE_FROM_SEARCHSTRING:
  name += '%s ' % p
- 
  return self.searchImdb(name)
  
--- 413,427 
  name  = re.sub('([a-zA-Z])([0-9])', point_maker, name)
  name  = re.sub('([0-9])([a-zA-Z])', point_maker, name.lower())
! 
  if label == TRUE:
  for r in config.IMDB_REMOVE_FROM_LABEL:
  name  = re.sub(r, '', name)
! 
  parts = re.split('[\._ -]', name)
  name = ''
  for p in parts:
! if not p.lower() in config.IMDB_REMOVE_FROM_SEARCHSTRING and \
!not re.search(p, '[A-Za-z]'):
  name += '%s ' % p
  return self.searchImdb(name)
  




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo freevo_config.py,1.239,1.240

2003-08-27 Thread dischi
Update of /cvsroot/freevo/freevo
In directory sc8-pr-cvs1:/tmp/cvs-serv18190

Modified Files:
freevo_config.py 
Log Message:
expand IMDB_REMOVE_FROM_LABEL

Index: freevo_config.py
===
RCS file: /cvsroot/freevo/freevo/freevo_config.py,v
retrieving revision 1.239
retrieving revision 1.240
diff -C2 -d -r1.239 -r1.240
*** freevo_config.py26 Aug 2003 20:25:39 -  1.239
--- freevo_config.py27 Aug 2003 19:32:59 -  1.240
***
*** 285,289 
  
  # list of regexp to be ignored on a disc label
! IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+')
  
  # list of words to ignore when searching based on a filename
--- 285,290 
  
  # list of regexp to be ignored on a disc label
! IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+',
!   'd[\._ -][0-9]+')
  
  # list of words to ignore when searching based on a filename




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-devel] Re: IMDB results

2003-08-27 Thread Dirk Meyer
Lars Eggert wrote:
> Lars Eggert wrote:
>> I've made a small change locally that (1) throws out any non-word
>> characters from the name (\W) and (2) throws out any
>> single-character words from the name. This seems to produce much
>> better matches.
>> In the example above, it would search for "dvd fellowship ext" and
>> frind it, instead of searching for "dvd [fellowship ext d 1]".
>
> I should add that the idea here is to feed imdb more significant words
> for searching, instead of interpreting the matches it returns. Their
> search algorithm doesn't seem to be too smart about weighing terms.
>
> For the same reason, it may make sense to strip other common short
> words (in, the, for, not, a, an, of, etc.) fromt he search string.

You mean IMDB_REMOVE_FROM_SEARCHSTRING? Already there. There is also
IMDB_REMOVE_FROM_LABEL. It included season[0-9] and disc[0-9]. I added
d[0-9].

I also checked in a new fxdimdb.py. When building the search string,
remove all one letter words (but not number, we may need them). Than
search. If the results are too long, try to remove some based on the
words.

Example:

'fellowship ext d 1' will be searched as 'fellowship ext 1'. We get
too much results and all results without 'fellowship' or 'ext' will be
ignored. The end result is a list of 4 choices.


Dischi

-- 
Conversation, n.:
A vocal competition in which the one who is catching his breath
is called the listener.


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: Installing Freevo into the system - RedhatRPMs

2003-08-27 Thread Wan Tat Chee
On Tue, 26 Aug 2003, Wan Tat Chee wrote:

> 
> On Mon, 25 Aug 2003, Jorn A Hansen wrote:
> 
> > 
> > I think that apt-get enabled RPMs for Freevo offered to pick up just 
> > next to this little app 
> > (http://atrpms.physik.fu-berlin.de/dist/rh9/mythtv/ hint hint ;-)) would 
> > be cool. That would make it easier for more people to try out both apps 
> > and find the one that works for them.
> > 
> 
> Would be good if we have something equivalent. Not sure if I have time
> right now to figure out how to learn apt-get and create the metapackage
> file :(. If you'd like to help with this it'd great!
> 

I spoke too soon. Just took a look at the mythtv-suite spec file,
it just defines many Requires: (which are the RPM dependencies).
Ok. Not too difficult once the depedent packages are built :)

T.C.

Wan Tat Chee (Lecturer)
School of Computer Science, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.  Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757   Rm.601-E Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: IMDB results

2003-08-27 Thread Aubin Paul
I like your idea Lars, it's a good thing to reduce the amount of
network traffic we need, and thousands of matches are no more useful
than too few but involve less traffic so the overall benefit is
greater.

Send the patch and I'll take a look...

Thanks,

Aubin

On Wed, Aug 27, 2003 at 08:29:31AM -0700, Lars Eggert wrote:
> Dirk Meyer wrote:
> >
> >We search for the label, split on the _. So we search for 'fellowship
> >ext 1' The 1 gives us many results we don't want. But for other cases,
> >we need the numbers (Babylon 5, or sequells). 
> >
> >The big question now: how can we make it produce better results? What
> >about:
> >
> >1. search like we search now, the list may be long
> >2. if the number of return items is greater 10 remove all titles which
> >   don't include at least one _word_. So results without 'fellowship'
> >   or 'ext' (only containing 1) will be deleted.
> >3. sort the results:
> >   a) Most popular searches to the top
> >   b) Inside two areas (popular and not so popular), search by number
> >  of matched words: each word in the title and not in the search
> >  string hitpoint--, each search word in the title hitpoint += 5.
> >
> >What do you think?
> 
> I've made a small change locally that (1) throws out any non-word 
> characters from the name (\W) and (2) throws out any single-character 
> words from the name. This seems to produce much better matches.
> 
> In the example above, it would search for "dvd fellowship ext" and frind 
> it, instead of searching for "dvd [fellowship ext d 1]".
> 
> Lars
> -- 
> Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Re: IMDB results

2003-08-27 Thread Lars Eggert
Lars Eggert wrote:
I've made a small change locally that (1) throws out any non-word 
characters from the name (\W) and (2) throws out any single-character 
words from the name. This seems to produce much better matches.

In the example above, it would search for "dvd fellowship ext" and frind 
it, instead of searching for "dvd [fellowship ext d 1]".
I should add that the idea here is to feed imdb more significant words 
for searching, instead of interpreting the matches it returns. Their 
search algorithm doesn't seem to be too smart about weighing terms.

For the same reason, it may make sense to strip other common short words 
(in, the, for, not, a, an, of, etc.) fromt he search string.

Lars
--
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


[Freevo-cvslog] freevo/src/audio/plugins radio.py,NONE,1.1 radioplayer.py,NONE,1.1

2003-08-27 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src/audio/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv733

Added Files:
radio.py radioplayer.py 
Log Message:
Start of Radio Support

--- NEW FILE: radio.py ---
#if 0 /*
# ---
# radio.py - a simple plugin to listen to radio
# ---
# $Id: radio.py,v 1.1 2003/08/27 15:30:12 mikeruelle Exp $
#
# Notes: 
# need to have radio installed before using this plugin
# to activate put the following in your local_conf.py
# plugin.activate('audio.radioplayer')
# plugin.activate('audio.radio')
# RADIO_CMD='/usr/bin/radio'
# RADIO_STATIONS = [ ('Sea FM', '90.9'),
#('Kiss 108', '108'),
#('Mix 98.5', '98.5'),
#('Magic 106', '106.7') ]
# Todo: 
#
# ---
# $Log: radio.py,v $
# Revision 1.1  2003/08/27 15:30:12  mikeruelle
# Start of Radio Support
#
#
# ---
# Freevo - A Home Theater PC framework
# Copyright (C) 2003 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

#python modules
import os, popen2, fcntl, select, time

#freevo modules
import config, menu, rc, plugin, skin, util
from audio.player import PlayerGUI
import event as em
from item import Item

#get the sinfletons so we can add our menu and get skin info
skin = skin.get_singleton()
menuwidget = menu.get_singleton()

TRUE = 1
FALSE = 0


# This is the class that actually runs the commands. Eventually
# hope to add actions for different ways of running commands
# and for displaying stdout and stderr of last command run.
class RadioItem(Item):

def actions(self):
"""
return a list of actions for this item
"""
items = [ ( self.play , 'Listen to Station' ) ]
return items

def play(self, arg=None, menuw=None):
print self.station+" "+str(self.station_index)+" "+self.name
#self.parent.current_item = self
self.elapsed = 0

if not self.menuw:
self.menuw = menuw

self.player = PlayerGUI(self, menuw)
error = self.player.play()

if error and menuw:
AlertBox(text=error).show()
rc.post_event(rc.PLAY_END)

def stop(self, arg=None, menuw=None):
"""
Stop the current playing
"""
print 'RadioItem stop'
self.player.stop()


# this is the item for the main menu and creates the list
# of commands in a submenu.
class RadioMainMenuItem(Item):

def actions(self):
"""
return a list of actions for this item
"""
items = [ ( self.create_stations_menu , 'stations' ) ]
return items
 
def create_stations_menu(self, arg=None, menuw=None):
station_items = []
for rstation in config.RADIO_STATIONS:
radio_item = RadioItem()
radio_item.name = rstation[0]
radio_item.station = rstation[1]
radio_item.type = 'radio'
radio_item.station_index = config.RADIO_STATIONS.index(rstation)
radio_item.length = 0
radio_item.remain = 0
radio_item.elapsed = 0
station_items += [ radio_item ]
if (len(station_items) == 0):
station_items += [menu.MenuItem('No Stations found', 
menuwidget.goto_prev_page, 0)]
station_menu = menu.Menu('Stations', station_items)
rc.app(None)
menuwidget.pushmenu(station_menu)
menuwidget.refresh()

# our plugin wrapper, just creates the main menu item and adds it.
class PluginInterface(plugin.MainMenuPlugin):
def items(self, parent):
menu_items = skin.settings.mainmenu.items

item = RadioMainMenuItem()
item.name = 'Radio'
if menu_items.has_key('radio') and menu_items['radio'].icon:
item.icon = os.path.join(skin.settings.icon_dir, menu_items['radio'].icon)
if menu_items.has_key('radio') and menu_items['radio'].image:
item.image = menu_items['ra

[Freevo-devel] Re: IMDB results

2003-08-27 Thread Lars Eggert
Dirk Meyer wrote:
We search for the label, split on the _. So we search for 'fellowship
ext 1' The 1 gives us many results we don't want. But for other cases,
we need the numbers (Babylon 5, or sequells). 

The big question now: how can we make it produce better results? What
about:
1. search like we search now, the list may be long
2. if the number of return items is greater 10 remove all titles which
   don't include at least one _word_. So results without 'fellowship'
   or 'ext' (only containing 1) will be deleted.
3. sort the results:
   a) Most popular searches to the top
   b) Inside two areas (popular and not so popular), search by number
  of matched words: each word in the title and not in the search
  string hitpoint--, each search word in the title hitpoint += 5.
What do you think?
I've made a small change locally that (1) throws out any non-word 
characters from the name (\W) and (2) throws out any single-character 
words from the name. This seems to produce much better matches.

In the example above, it would search for "dvd fellowship ext" and frind 
it, instead of searching for "dvd [fellowship ext d 1]".

Lars
--
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


[Freevo-cvslog] freevo/src/audio player.py,1.4,1.5

2003-08-27 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src/audio
In directory sc8-pr-cvs1:/tmp/cvs-serv32591

Modified Files:
player.py 
Log Message:
Start of Radio Support

Index: player.py
===
RCS file: /cvsroot/freevo/freevo/src/audio/player.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** player.py   24 Apr 2003 19:56:01 -  1.4
--- player.py   27 Aug 2003 15:27:08 -  1.5
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.5  2003/08/27 15:27:08  mikeruelle
+ # Start of Radio Support
+ #
  # Revision 1.4  2003/04/24 19:56:01  dischi
  # comment cleanup for 1.3.2-pre4
***
*** 66,70 
  self.menuw = menuw
  self.item = item
! self.player = plugin.getbyname(plugin.AUDIO_PLAYER)
  self.running = FALSE
  
--- 69,76 
  self.menuw = menuw
  self.item = item
! if item.type == 'radio':
! self.player = plugin.getbyname(plugin.RADIO_PLAYER)
! else:
! self.player = plugin.getbyname(plugin.AUDIO_PLAYER)
  self.running = FALSE
  




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-cvslog] freevo/src plugin.py,1.29,1.30

2003-08-27 Thread mikeruelle
Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv32281

Modified Files:
plugin.py 
Log Message:
Start of Radio Support

Index: plugin.py
===
RCS file: /cvsroot/freevo/freevo/src/plugin.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** plugin.py   23 Aug 2003 12:51:41 -  1.29
--- plugin.py   27 Aug 2003 15:25:47 -  1.30
***
*** 10,13 
--- 10,16 
  # ---
  # $Log$
+ # Revision 1.30  2003/08/27 15:25:47  mikeruelle
+ # Start of Radio Support
+ #
  # Revision 1.29  2003/08/23 12:51:41  dischi
  # removed some old CVS log messages
***
*** 131,134 
--- 134,138 
  VCD_PLAYER   = 'VCD_PLAYER'
  TV   = 'TV'
+ RADIO_PLAYER   = 'RADIO_PLAYER'
  
  




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.235,1.236

2003-08-27 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote:
>> Maye in the rectangle itself:
>> 
>> 
>
> Dischi, I don't think to put it in each  is a good way. If
> one want that in his skin, almost certainly it will want it for all
> rectangles, not just few ones... 

Guess you're right. How many rectangles are there?

>I'm considering puting that in , do you disagree? 

It seems to be the easier than adding it to each rectangle. Maybe we
could use the setvar like we use in folder.fxd files:


  
  ...


> Any suggetions on the attribute name? For now:  ... rectangles_under_icons_too="1"/>
>
> Maybe we need a better name...

YES! rectangles_under_icons_too isn't very good. Maybe
rectangle_covers_icon. 


Dischi

-- 
Q: Why do programmers always get Christmas and Halloween mixed up?
A: Because DEC 25 = OCT 31


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
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.235,1.236

2003-08-27 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri
wrote:
> >  --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> >> [EMAIL PROTECTED] wrote:
> >> > + # If skin boxes (for example, selection box), should also be
> >> under
> >> > + # icons or just the text
> >> > + SKIN_BOX_UNDER_ICON = 1
> >> 
> >> Can't you make it a skin option? Or a rectangle option?
> >
> > Yes I can. I already asked by mail where to put it, since nobody
> > anwered, I did the easy way.
> 
> There are big problems with the sf mailserver right now. I got your
> mail after you made the changes.
> 
> >IMO skin is the best place to put it, since defining it for each
> > rectangle isn't viable.
> >
> >So... where to put it in  ? Separate tag? inside  ?
> 
> Maye in the rectangle itself:
> 
> 

Dischi, I don't think to put it in each  is a good way. If
one want that in his skin, almost certainly it will want it for all
rectangles, not just few ones... 
   I'm considering puting that in , do you disagree? Any
suggetions on the attribute name? For now:
   

Maybe we need a better name...

Gustavo




___
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, câmeras digitais, videogames e muito
mais! www.cade.com.br/antizona


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] IMDB results (was: [PATCH] third set of FreeBSD patches, also for mmpython)

2003-08-27 Thread Gustavo Sverzut Barbieri
 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu:
 
> 1. search like we search now, the list may be long
> 2. if the number of return items is greater 10 remove all titles
> which
>don't include at least one _word_. So results without 'fellowship'
>or 'ext' (only containing 1) will be deleted.
> 3. sort the results:
>a) Most popular searches to the top
>b) Inside two areas (popular and not so popular), search by number
>   of matched words: each word in the title and not in the search
>   string hitpoint--, each search word in the title hitpoint += 5.
> 
> 
> What do you think?

It's good for me.

Gustavo

___
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, câmeras digitais, videogames e muito
mais! www.cade.com.br/antizona


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-cvslog] freevo/src/plugins lcd.py,1.6,1.7

2003-08-27 Thread gsbarbieri
Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv4184/src/plugins

Modified Files:
lcd.py 
Log Message:
2x20 and 2x40 screens.
Also, fixed some crashes


Index: lcd.py
===
RCS file: /cvsroot/freevo/freevo/src/plugins/lcd.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lcd.py  24 Aug 2003 19:42:25 -  1.6
--- lcd.py  27 Aug 2003 13:02:31 -  1.7
***
*** 14,17 
--- 14,21 
  # ---
  # $Log$
+ # Revision 1.7  2003/08/27 13:02:31  gsbarbieri
+ # 2x20 and 2x40 screens.
+ # Also, fixed some crashes
+ #
  # Revision 1.6  2003/08/24 19:42:25  gsbarbieri
  # Support 2x16 displays
***
*** 250,254 
   "7 4 %d 4 h 2 \"%s\"",
   "( self.width, tv.desc )" )
!   }  
  },  
  
--- 254,258 
   "7 4 %d 4 h 2 \"%s\"",
   "( self.width, tv.desc )" )
!   }
  },  
  
***
*** 358,363 
"( self.width, tv.title )" )
 }
!  } # screens
!   } # chars per line
  } # lines per display
   
--- 362,468 
"( self.width, tv.title )" )
 }
! },
!   
!   20 : # 20 chars per line
!   # Welcome screen
!   { "welcome":
! { "title": ( "title",
!  "1 1 Freevo",
!  None )
!   },
! 
!  "menu":
!  { "title_v"  : ( "scroller",
!   "1 1 %d 1 h 2 \"%s\"",
!   "( self.width, menu.heading )" ),
!"item_v"   : ( "scroller",
!   "1 2 %d 2 h 2 \"%s\"",
!   "( self.width, title )" )
!},
! 
!  "audio_player":
!  { "music_v"   : ( "scroller",
!"1 1 %d 1 h 2 \"%s\"",
!"( self.width, title )" ),
!"time_v": ( "string",
!"1 2 '  % 2d:%02d/% 2d:%02d'",
!"( int(player.length / 60), int(player.length % 
60)," +
!" int(player.elapsed / 60), int(player.elapsed % 
60))" )
!},
! 
!  "tv":
!  { "chan_v"   : ( "scroller",
!   "1 1 %d 1 h 2 \"%s\"",
!   "( self.width, tv.display_name) )" ),
!"prog_v"   : ( "scroller",
!   "1 2 %d 2 h 2 \"%s\"",
!   "( self.width, tv.title )" )
!}
!  },
!   
!   40 : # 40 chars per line
!   # Welcome screen
!   { "welcome":
! { "title": ( "title",
!  "1 1 Freevo",
!  None )
!   },
! 
!  "menu":
!  { "title_l"  : ( "string",
!  "1 1 'MENU: '",
!  None ),
!   "item_l"   : ( "string",
!  "1 2 'ITEM: '",
!  None ),
!"title_v"  : ( "scroller",
!   "7 1 %d 1 h 2 \"%s\"",
!   "( self.width, menu.heading )" ),
!"item_v"   : ( "scroller",
!   "7 2 %d 2 h 2 \"%s\"",
!   "( self.width, title )" )
!},
! 
!  "audio_player":
!  { "music_l"   : ( "string",
!   "1 1 'MUSIC: '",
!   None ),
!   "music_v"   : ( "scroller",
!   "8 1 %d 1 h 2 \"%s\"",
! "( self.width, title )" ),
!   "time_v": ( "string",
!   "2 2 '% 2d:%02d/% 2d:%02d ( %2d%%)'",
!   "( int(player.length / 60), int(player.length % 
60)," +
!   " int(player.elapsed / 60), int(player.elapsed % 
60)," +
!   " int(player.elapsed * 100 / player.length) )" ),
!   "ti

[Freevo-devel] Re: IMDB results (was: [PATCH] third set of FreeBSD patches, also for mmpython)

2003-08-27 Thread Aubin Paul
On Wed, Aug 27, 2003 at 11:34:49AM +0200, Dirk Meyer wrote:
> The big question now: how can we make it produce better results? What
> about:
> 
> 1. search like we search now, the list may be long
> 2. if the number of return items is greater 10 remove all titles which
>don't include at least one _word_. So results without 'fellowship'
>or 'ext' (only containing 1) will be deleted.
> 3. sort the results:
>a) Most popular searches to the top
>b) Inside two areas (popular and not so popular), search by number
>   of matched words: each word in the title and not in the search
>   string hitpoint--, each search word in the title hitpoint += 5.

If we refilter the results, it might make some sense; just compare the
returned values to the string using some sort of fuzzy match (i.e. 75%
of the characters in common > 50% of the characters in common.

I haven't written a fuzzy match since 2nd year computer science, and
it was in Pascal, so it'll take a while to remember it :)


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-cvslog] freevo/src osd.py,1.83,1.84

2003-08-27 Thread Aubin Paul
No big deal; well, it was driving me insane and I had reverted to an
older version, but no big deal :)

On Wed, Aug 27, 2003 at 10:48:03AM +0200, Dirk Meyer wrote:
> [EMAIL PROTECTED] wrote:
> > Update of /cvsroot/freevo/freevo/src
> > In directory sc8-pr-cvs1:/tmp/cvs-serv25488
> >
> > Modified Files:
> > osd.py 
> > Log Message:
> > Found the cause of the hang when initializing Freevo; Freevo was hanging
> > on the set_mode call in Pygame, and it turns out it was simply because we didn't
> > do anything to tty0 which is where Freevo was running when called over a remote
> > shell.
> 
> Oops.
> 
> 
> Dischi
> 
> -- 
> A lecture is a process where information is passed from the notebook of
> the lecturer to the notebook of the student without necessarily passing
> through the minds of either.
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> Freevo-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


[Freevo-devel] Re: [Freevo-cvslog] freevo freevo_config.py,1.235,1.236

2003-08-27 Thread Dirk Meyer
Gustavo Sverzut Barbieri wrote:
>  --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
>> [EMAIL PROTECTED] wrote:
>> > + # If skin boxes (for example, selection box), should also be
>> under
>> > + # icons or just the text
>> > + SKIN_BOX_UNDER_ICON = 1
>> 
>> Can't you make it a skin option? Or a rectangle option?
>
> Yes I can. I already asked by mail where to put it, since nobody
> anwered, I did the easy way.

There are big problems with the sf mailserver right now. I got your
mail after you made the changes.

>IMO skin is the best place to put it, since defining it for each
> rectangle isn't viable.
>
>So... where to put it in  ? Separate tag? inside  ?

Maye in the rectangle itself:




Dischi

-- 
"Real stupidity beats artificial intelligence every time."

  -- Bursar 1 - Hex 0 (Terry Pratchett, Hogfather)


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] IMDB results (was: [PATCH] third set of FreeBSD patches, also formmpython)

2003-08-27 Thread Dirk Meyer
Aubin Paul wrote:
> On Mon, Aug 25, 2003 at 07:22:06PM -0700, Lars Eggert wrote:
>> attached. This version also gets the DVD information right on FreeBSD,
>> thanks to Dirk's explanation earlier. For example, for the first "Lord
>> of the Rings" extended DVD:
>> 
>>  DISCID read label FELLOWSHIP_EXT_D1
>>  DISCID read id 2002082001133700
>>  DISCID is 2002082001133700FELLOWSHIP_EXT_D1
>> 
>> Nice. Minor issue is that if I use the imdb plugin to look up the media
>> information, it doesn't find it (but comes up with a bunch of other
>> unrelated movies.) Not sure if this is significant.
>
> I've applied the patch; as for the IMDB search, the problem is that
> we're currently passing the 'read id' (the numbers) so IMDB searches
> on them as well, meaning a lot of matches. 

We search for the label, split on the _. So we search for 'fellowship
ext 1' The 1 gives us many results we don't want. But for other cases,
we need the numbers (Babylon 5, or sequells). 

The big question now: how can we make it produce better results? What
about:

1. search like we search now, the list may be long
2. if the number of return items is greater 10 remove all titles which
   don't include at least one _word_. So results without 'fellowship'
   or 'ext' (only containing 1) will be deleted.
3. sort the results:
   a) Most popular searches to the top
   b) Inside two areas (popular and not so popular), search by number
  of matched words: each word in the title and not in the search
  string hitpoint--, each search word in the title hitpoint += 5.


What do you think?
   

Dischi

-- 
A much wittier reply came to mind immediately after I clicked the
'Send' button.


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Re: BUG in helpers/imdb.py ?

2003-08-27 Thread Dirk Meyer
<[EMAIL PROTECTED]> wrote:
> I am running Freevo 1.3.4, was trying to make an fxd file for a new movie I
> just got.
> And if I run the script with more than one word in the search string, I get
> zero results, even if I surround the multiple words with a question mark.
> But if I run the script with only one work in the serach string I get
> results.
> examples:
>
> ./freevo execute helpers/imdb.py -s catch
> This works but I get too many results
>
> ./freevo execute helpers/imdb.py -s catch me if you can
> ./freevo execute helpers/imdb.py -s 'catch me if you can'
> ./freevo execute helpers/imdb.py -s "catch me if you can"
> None of these work, they all simply return the help screen.

This is fixed in current cvs by calling
./freevo imdb 'catch me if you can'


Dischi

-- 
Original Pentium of Borg: Division is futile - your decimals will be
approximated.


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-cvslog] freevo/src osd.py,1.83,1.84

2003-08-27 Thread Dirk Meyer
[EMAIL PROTECTED] wrote:
> Update of /cvsroot/freevo/freevo/src
> In directory sc8-pr-cvs1:/tmp/cvs-serv25488
>
> Modified Files:
>   osd.py 
> Log Message:
> Found the cause of the hang when initializing Freevo; Freevo was hanging
> on the set_mode call in Pygame, and it turns out it was simply because we didn't
> do anything to tty0 which is where Freevo was running when called over a remote
> shell.

Oops.


Dischi

-- 
A lecture is a process where information is passed from the notebook of
the lecturer to the notebook of the student without necessarily passing
through the minds of either.


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog


Re: [Freevo-devel] BUG in helpers/imdb.py ?

2003-08-27 Thread Aubin Paul
I had a similar issue, but I started using the plugin and did the
searches from the interface where they work fine. I'll take a look, as
I imagine that the quotes are just not being "carried" along.

Aubin

On Tue, Aug 26, 2003 at 07:11:37PM -0700, [EMAIL PROTECTED] wrote:
> I am running Freevo 1.3.4, was trying to make an fxd file for a new movie I
> just got.
> And if I run the script with more than one word in the search string, I get
> zero results, even if I surround the multiple words with a question mark.
> But if I run the script with only one work in the serach string I get
> results.
> examples:
> 
> ./freevo execute helpers/imdb.py -s catch
> This works but I get too many results
> 
> ./freevo execute helpers/imdb.py -s catch me if you can
> ./freevo execute helpers/imdb.py -s 'catch me if you can'
> ./freevo execute helpers/imdb.py -s "catch me if you can"
> None of these work, they all simply return the help screen.
> 
> I know when I used Freevo 1.3.2 using multple words in the search string
> worked fine.  I even tried downloading a CVS version of this script, but I
> still have the same problems.
> So is anyone else having this issue?
> Thanks
> 
> --Robert
> 
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] BUG in helpers/imdb.py ?

2003-08-27 Thread joekewl
I am running Freevo 1.3.4, was trying to make an fxd file for a new movie I
just got.
And if I run the script with more than one word in the search string, I get
zero results, even if I surround the multiple words with a question mark.
But if I run the script with only one work in the serach string I get
results.
examples:

./freevo execute helpers/imdb.py -s catch
This works but I get too many results

./freevo execute helpers/imdb.py -s catch me if you can
./freevo execute helpers/imdb.py -s 'catch me if you can'
./freevo execute helpers/imdb.py -s "catch me if you can"
None of these work, they all simply return the help screen.

I know when I used Freevo 1.3.2 using multple words in the search string
worked fine.  I even tried downloading a CVS version of this script, but I
still have the same problems.
So is anyone else having this issue?
Thanks

--Robert



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-wikilog] [Freevo Wiki] Update of "DocumentationPage"

2003-08-27 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Freevo Wiki" for change 
notification.

The following page has been changed by 24.128.246.209:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage

--
@@ -979,6 +979,18 @@
 
 '''NOTE:''' you can watch tv and videos while playing detached audio but you won't 
hear their audio.
 
+== Disk Usage ==
+
+better known as the df plugin. This adds an item to your Audio, Video, Games, and 
Pictures Items. It
+states how much memory is free on the partition that directory belongs to.
+
+to activate it, put this in your local_conf.py:
+{{{
+plugin.activate('df')
+}}}
+
+to see the disk usage go to any directory listing and, press ENTER ('e' key or key it 
maps to on your remote) and you will see the disk usage under the Browse directory 
option. This also works on the main directory listings where you see your cdrom drives.
+
 = Extra File Information in XML metafiles =
 
 == Movie files ==


---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog