[Freevo-users] Re: Adding a new Video Player

2006-04-13 Thread Dirk Meyer
Ow Mun Heng wrote:
> Hi,
>
>   I want to ask, if someone here can tell me how to add a new Video
> player into Freevo. 
>
> Currently, There is xine and mplayer. I would like to add another into
> the mix. (actually, just another copy of xine with a few changes in the
> way it's called to enable upmix_mono)
>
> I've tried just copying the xine.py/mplayer.py file into eg:
> xine1.py/mplayer1.py but when I try to get the video to be played, I
> only see 2 options.
>
> 1. PLay
> 2. Play with Alternate player
>
> How can I add another option to it?

You can't with 1.5 because 1.5 only expects 2 players. Freevo SVN can
do that. Or if you prefer 1.5 you can hack videoitem.py


Dischi

-- 
If it's stupid but works, it isn't stupid.


pgpyUKr7CObcM.pgp
Description: PGP signature


Re: [Freevo-users] Re: No such device/ main.py 284: Crash!

2006-04-13 Thread TGT
> You need to have a default route or at least the route for mbus (see
> ~/.mbus). I think I should add a warning message when this happens.

Great -- Thank you!

-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Localization of freevo

2006-04-13 Thread Jaap Struyk
Op do 13-04-2006, om 13:40 schreef Timo Reimann:

> I'm having trouble making freevo use my locale so that
> the freevo application and webserver display text in
> my language (German).

I'am using the following in my rc startup script to force dutch (instead
of POSIX wich is used for the rest of my system) and to start freevo as
user freevo:
su - freevo -c "LC_ALL=nl_NL LANG=nl_NL
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin freevo -fs &"

p.s. thats one line...
-- 
Groetjes Japie



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Localization of freevo

2006-04-13 Thread Timo Reimann
Hi all,

I'm having trouble making freevo use my locale so that
the freevo application and webserver display text in
my language (German).

In /etc/freevo/local_conf.py, there's a variable
"LOCALE" which I've tried to set to a number of
different values, including de, de_DE, de_DE.utf8,
iso-8859-15, latin9, latin-9. Whatever I try, however,
I either get an "unsupported encoding" error or freevo
accepts the encoding but doesn't turn text into
German.

The output of locale -a is:
C
POSIX
de_DE
de_DE.iso88591
[EMAIL PROTECTED]
de_DE.utf8
[EMAIL PROTECTED]
[EMAIL PROTECTED]
deutsch
en_US.iso885915
en_US.utf8
german

I'm using freevo 1.5.3 under Debian stable.


Thanks,

--Timo






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: iterating through dir_items

2006-04-13 Thread Dirk Meyer
"Jeremy Wilkins" wrote:
> Hi All,
>
> I'm trying to write a plugin, it operates on a dir item and needs to
> iterate through subdirectories. It then needs to get metadata about
> the files in those sub dirs.

Not in 1.5

> Is there some way of getting any array of child items(audio and dir)
> from the current DirItem, so that it can pull metadata out the audio
> items, and recurse through the dir items?

Again, no. That is one of the major problems with the 1.5 design. The
next version of Freevo will have 'beacon' as mediadb and you will be
able to get all files incl. metadata with a simple database query.


Dischi

-- 
"Actors," said Granny, witheringly. "As if the world weren't full
of enough history without inventing more."
-- (Terry Pratchett, Wyrd Sisters)


pgpSLG6UiiFND.pgp
Description: PGP signature


[Freevo-users] Re: No such device/ main.py 284: Crash!

2006-04-13 Thread Dirk Meyer
[EMAIL PROTECTED] wrote:
> self._endpoint.binary_mreq() )
>   File "", line 1, in setsockopt
> error: (19, 'No such device')
> ***
> the "root thing" is only for testing ;)

You need to have a default route or at least the route for mbus (see
~/.mbus). I think I should add a warning message when this happens.


Dischi

-- 
Yesterday is history, Tomorrow is a mystery, Today is a gift. That's
why it's called: The Present.


pgp86T7fw9lwx.pgp
Description: PGP signature


[Freevo-users] No such device/ main.py 284: Crash!

2006-04-13 Thread TGT
Hi,

I currently tried to boot into freevo but it crashed and I'm not able to
interpret the logs :/
I'm using mingetty and my bash_profile to start freevo, which runs perfectly
after logging in "traditionally"


from the logs:
*
2006-04-13 11:28:01,371 ERROR[  root] main.py 284: Crash!
Traceback (most recent call last):
  File "/root/freevo/lib/python2.4/site-packages/freevo/ui/helpers/main.py",
line 251, in ?
freevo.ipc.Instance('freevo', **config.MBUS_ADDR)
  File
"/root/freevo/lib/python2.4/site-packages/freevo/ipc/mbus_wrapper.py", line
355, in __init__
mbus.Guides.__init__(self, self.addr)
  File "/root/freevo/lib/python2.4/site-packages/mbus/guides.py", line 48,
in __init__
entity.Instance.__init__( self, addr, cfg )
  File "/root/freevo/lib/python2.4/site-packages/mbus/entity.py", line 91,
in __init__
self.reconfigure( addr )
  File "/root/freevo/lib/python2.4/site-packages/mbus/entity.py", line 112,
in reconfigure
self.mcastsocket.multicast( ttl = 0 )
  File "/root/freevo/lib/python2.4/site-packages/mbus/udp.py", line 86, in
multicast
self._endpoint.binary_mreq() )
  File "", line 1, in setsockopt
error: (19, 'No such device')
***
the "root thing" is only for testing ;)


Any ideas!?
Best regards, Tom.

-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users