Re: [Freevo-users] Running Freevo on second video card

2007-07-02 Thread Duncan Webb
> On Sat, 2007-06-30 at 21:39 -0400, Brian McKee wrote:
>> Hi All
>>  First post here - please let me know if I'm missing anything etc...
>>  I'm trying to get Freevo 1.7.2 running on my Ubuntu 6.06.1 box on the
>> second video card and monitor.
>>  Wuth gdm running normally if I do 'freevo -fs' from a console it starts
>> a second X session which is exactly what I want - i just want that
>> second session to use a different xconf.org or to be able to pass a
>> different "ServerLayout' to it.   Anybody know how to accomplish this?
>
>
> I've asked this question before but came to no conclusion..

In the freevo script is:
elif arg == '-fs':
# start X server and run freevo, ignore everything else for now
server_num = 0
while 1:
if not os.path.exists('/tmp/.X11-unix/X' + str(server_num)):
break
server_num += 1
sys.stdin.close()
os.execvp('xinit', [ 'xinit', freevo_script, '-force-fs',  '--',
':'+str(server_num) ])

My guess is that you can change the last line to include a server name.

Duncan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Running Freevo on second video card

2007-07-02 Thread Ow Mun Heng
On Sat, 2007-06-30 at 21:39 -0400, Brian McKee wrote:
> Hi All
>   First post here - please let me know if I'm missing anything etc...
>   I'm trying to get Freevo 1.7.2 running on my Ubuntu 6.06.1 box on the
> second video card and monitor.
>   Wuth gdm running normally if I do 'freevo -fs' from a console it starts
> a second X session which is exactly what I want - i just want that
> second session to use a different xconf.org or to be able to pass a
> different "ServerLayout' to it.   Anybody know how to accomplish this?


I've asked this question before but came to no conclusion..

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] DVD does not start automatically as it did before

2007-07-02 Thread Duncan Webb
> Hi Duncan.
> I resolved my issue. The video.xine plugin was not activated anymore. I
> think this was due to a problem/bug inside live_pause plugin.

live tv is a different plug-in, not related to video.xine.

> My workaround
> is currently to put "plugin.activate('video.xine')" inside local_conf.py
> file.

IIRC plugin.activate('video.xine') should not be active by default and
putting this in local_conf.py is the correct place. I hope you leave
freevo_config.py alone otherwise updates, except svn update, overwrite
freevo_config.py.

> In fact, as xine plugin was not active (as it is normally by default),
> xine
> was never used, even when I forced it by choosing xine as my default video
> player.

Glad you sorted this out.
Duncan

> There are several things to try
>> 1) Eliminate the possibility of the problem being caused by a specific
>> DVD, try several different DVDs. There are some DVDs that have been
>> messed up by the mastering as a sort of *ineffective* copy protection
>> system.
>>
>> 2) Try an audio CD and see if this plays.
>>
>> 3) Eliminate xine, set your preferred player to mplayer and see if this
>> changes anything.
>>
>> 4) If you can program a little bit of python look at the
>> src/plugins/rom_drives.py code where it handles the event IDENTIFY_MEDIA
>> and add print statements after each if statement and to check what
>> freevo is trying to do with the DVD. You will see that freevo is
>> checking audio first and then video. eg:
>>
>> if media.type == 'audio':
>> # disc marked as audio, play everything
>> print 'audio cd'
>> etc.
>>
>> You can do the code changes in the site-packages/freevo directory and
>> then next time you upgrade they will be overwritten, should not be
>> overwritten when doing a python setup.py install unless rom_drives has
>> changed.
>>
>> Duncan
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.7 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFGhVquNi6l+Xvys44RAlNqAJwObTuXKEM/CqJec3SKMYClbPPoIwCfUkfh
>> o/xYvOSjcv72u280PtnkFGU=
>> =rcR9
>> -END PGP SIGNATURE-
>>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] DVD does not start automatically as it did before

2007-07-02 Thread Pirlouwi

Hi Duncan.
I resolved my issue. The video.xine plugin was not activated anymore. I
think this was due to a problem/bug inside live_pause plugin. My workaround
is currently to put "plugin.activate('video.xine')" inside local_conf.py
file.
In fact, as xine plugin was not active (as it is normally by default), xine
was never used, even when I forced it by choosing xine as my default video
player.
LOUIS


There are several things to try

1) Eliminate the possibility of the problem being caused by a specific
DVD, try several different DVDs. There are some DVDs that have been
messed up by the mastering as a sort of *ineffective* copy protection
system.

2) Try an audio CD and see if this plays.

3) Eliminate xine, set your preferred player to mplayer and see if this
changes anything.

4) If you can program a little bit of python look at the
src/plugins/rom_drives.py code where it handles the event IDENTIFY_MEDIA
and add print statements after each if statement and to check what
freevo is trying to do with the DVD. You will see that freevo is
checking audio first and then video. eg:

if media.type == 'audio':
# disc marked as audio, play everything
print 'audio cd'
etc.

You can do the code changes in the site-packages/freevo directory and
then next time you upgrade they will be overwritten, should not be
overwritten when doing a python setup.py install unless rom_drives has
changed.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGhVquNi6l+Xvys44RAlNqAJwObTuXKEM/CqJec3SKMYClbPPoIwCfUkfh
o/xYvOSjcv72u280PtnkFGU=
=rcR9
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Ideas for changing background daily

2007-07-02 Thread Elizabeth Dodd

I'm getting bored withe the same picture everyday for my Freevo background.
I'm working out how to make APOD (Astronomy Picture of the Day) my background 
every day.
The apod plugin is a bit slack on getting the picture daily (3 pictures in 10 
days) but daily strips is getting them fine.
I'm thinking of symlinking the latest picture to the correct place in the 
skins image directory and using cron to restart Freevo daily.
Anyone got another idea?


-- 
Expedience is the best teacher.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] imdb.py broken?

2007-07-02 Thread Dirk Meyer
Duncan Webb wrote:
> Brian McKee wrote:
>> Hi All
>>  Is imdb.py broken or is it me?
>> 
>> ==> freevo imdb -s test
>> {a few snipped warnings}
>> 
>> searching test
>> url: http://www.imdb.com/find?s=tt;site=aka;q=test
>> Traceback (most recent call last):
>>   File
>> "/usr/lib/python2.4/site-packages/freevo/helpers/imdb.py", line
>> 148, in ?for result in fxd.searchImdb(filename):
>>   File
>> "/usr/lib/python2.4/site-packages/freevo/util/fxdimdb.py", line
>> 167, in searchImdb
>> if appended == False and \
>> AttributeError: 'NoneType' object has no attribute 'lower'
>> 
>> Comments appreciated
>
> It was reported to the list a couple of days ago
>
> Attached is a fixed version

Maybe we should improve kaa.netsearch. It is in WIP and needs imdb
support and other stuff. There is also kaa.webinfo, also WIP. Both
names suck but the idea behind is to put everything parsing related
into an extra module so you can update it very easy without a new
freevo release.

Kaa.netsearch has an amazon parser written by me and some maybe broken
musicdns code. What I miss is an imdb parser that only does the
parsing and not the fxd stuff. So someone needs to split fxdimdb.py to
get an imdb.py for kaa.netsearch.


Dischi

-- 
There can't be a crisis today, my schedule is already full.


pgparvm364RXU.pgp
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] dvd rom speed when playing dvd disabled ???

2007-07-02 Thread Dirk Meyer
"Duncan Webb" wrote:
>> Hi the list
>> I was wondering, I set the ROM_SPEED and it seems to be working when
>> playing an audio cd but not with dvd.
>> I look at the code and see this in plugins/rom_drives.py :
>> "if config.ROM_SPEED and data and not data['mime'] == 'video/dvd':"
>> It seems that it's disable on purpose for dvd.
>> What is it like this ?
>
> I don't really know, it could be history, a couple of years ago DVD drives
> were slow and didn't need to be slowed down or that the speed could not be
> set.

IIRC it was something like that. Setting the speed for by DVD drive
had some bad side-effects.


Dischi

-- 
Press any key to continue or any other key to quit...


pgpk8hzYaJJ64.pgp
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users