Re: [Freevo-users] Games in 1.7x

2007-10-28 Thread Ljubomir Simin
On Saturday 27 October 2007 10:01, Elizabeth Dodd wrote:
 I'm running a 1.7 something version of Freevo and running some games via
 the menu.

 Some work and some don't - if you watch very quickly there is a window
 flash up and disappear.
 Pingus and Crack-Attack are the failures. The files in /etc/freevo/games/
 are all set up in an equivalent manner.
 Can anyone shed light on this?


 Relevant part of local.conf.py

 plugin.activate('games', level=45)
 GAMES_ITEMS = [ ('Tux Racer', '/etc/freevo/games/ppracer',
('GENERIC', '/usr/games/ppracer', '', '', [ 'ppracer' ] )),
 ('Sudoku', '/etc/freevo/games/ksudoku',
('GENERIC', '/usr/games/ksudoku', '', '', [ 'sudoku' ] )),
 ('Pacman', '/etc/freevo/games/pacman',
('GENERIC', '/usr/local/bin/pacman', '', '', [ 'pacman' ]
 )), ('Pingus', '/etc/freevo/games/pingus',
('GENERIC', '/usr/games/pingus', '', '', [ 'pingus' ] )),
 ('Crack-Attack', '/etc/freevo/games/crack-attack',
('GENERIC', '/usr/games/crack-attack', '', '',
 [ 'crack-attack' ] )),
 ('Frozen Bubble', '/etc/freevo/games/frozen-bubble',
('GENERIC', '/usr/games/frozen-bubble', '', '',
 [ 'frozen-bubble' ] ))
 ]



I don't know the solution for your problem, but I find the way you launch 
games a bit complicated. I keep the shell scripts for launching games with 
the correct parameters in one directory, and name them GameName.game. That 
way I have only one entry for linux games:

('Linux games', '/data/1/roms/games/pc/',  
('GENERIC', '/bin/sh', ' ', '', [ '.game' ] ))



-- 
Ljubomir Simin 
Registered Linux User #351181

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Music player stops after starting a menu command

2007-09-30 Thread Ljubomir Simin
On Monday 01 October 2007 00:13, Francisco Eduardo Álvarez Solano wrote:
 Hi again,

 I've managed to find a workaround:

 1.- Create a fxd file, eg. firefox.fxd:

 ?xml version=1.0?
 freevo
   command title=Internet
 cmd/home/user/fxd/run.cmd/cmd
 info
contentIt is just a test/content
 /info
   /command
 /freevo

 Be aware: no stoposd / nor spawnwm / tags.

 2.- The fxd file calls a script (/home/user/fxd/run.cmd) that starts the
 real application in the background :

 #!/bin/sh
 /home/user/fxd/firefox.cmd 

 Don't forget the '' at the end of the second line!

 3.- And this is the script that runs firefox and the windowmanager (
 /home/user/fxd/firefox.cmd):

 #!/bin/sh
 icewm 
 firefox
 killall icewm


 4.- Finally, insert in local.conf a line like this:

 plugin.activate('command.CommandMainMenuItem',
 args=('/home/casa/fxd/firefox.fxd', ), level=29)


 We need two scripts to make Freevo think the command has finished. The
 problem is that you will have Freevo OSD in a window just below firefox. If
 you change to this window, Freevo can go fullscreen an you will have to
 press 'z' to return to the windowmanager.

 With this setup, when you return to Freevo you will have a message window
 indicating the command has finished successfully. I think there is a tag to
 prevent this window from appearing, but I donn't remember it now.

 Hope this dirty trick helps.

 Eduardo

Thanks for the tips! I run freevo with no WM, but will still try to work 
something out.

-- 
Ljubomir Simin 
Registered Linux User #351181
http://counter.li.org 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Music player stops after starting a menu command

2007-09-29 Thread Ljubomir Simin
On Saturday 29 September 2007 16:52, Francisco Eduardo Álvarez Solano wrote:
 Hi,

 I'm using Freevo 1.7.3 in Ubuntu Feisty and I've configured a MainMenu
 command to start firefox. But if I'm listening to music and I start
 firefox, the player stops whenever the current song ends, and I have to
 close firefox to continue listening to music. I suppose that the mplayer
 command stops and, as the osd is stopped too, nothing starts another
 instance of the player with the next song.

 I'm using mplayer as default player. I wonder if it is possible to avoid
 this behaviour.


 Eduardo

Same happens to me. When running Firefox from the 'commands' menu, music 
playback stops after the current track. 

-- 
Ljubomir Simin 
Registered Linux User #351181
http://counter.li.org 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] data cd/dvd

2007-09-04 Thread Ljubomir Simin
On Tuesday 04 September 2007 21:24, Duncan Webb wrote:
 You can try this patch, it should stop this crash.

 svn diff src/audio/plugins/mplayer.py
 Index: src/audio/plugins/mplayer.py
 ===
 --- src/audio/plugins/mplayer.py(revision 9858)
 +++ src/audio/plugins/mplayer.py(working copy)
 @@ -170,7 +170,8 @@
  
  Stop mplayer
  
 -self.app.stop('quit\n')
 +if self.app:
 +self.app.stop('quit\n')

  for p in self.plugins:
  command = p.stop()


Could you tell me how to apply the patch, so that I don't mess something up?

  Here's the logfile:
 
  file:///cdrom/Behemoth/Antichristian Phenomenon/01-01-Antichristian
  Phenomemon.mp3
  not found!

 Here is what caused the crash in the first place, the file could not be
 found.

I didn't play it, it just crashed in the middle of autodetection, few seconds 
after inserting the disc. 

[EMAIL PROTECTED]:~$ find /cdrom/|grep /Anti
/cdrom/Behemoth/Antichristian Phenomenon
/cdrom/Behemoth/Antichristian Phenomenon/01-01-Antichristian Phenomemon.mp3
/cdrom/Behemoth/Antichristian Phenomenon/02-02-Malice.mp3
/cdrom/Behemoth/Antichristian Phenomenon/03-03-From the Pagan Vastlands 
2000.mp3
/cdrom/Behemoth/Antichristian Phenomenon/04-04-Sathanas (Sarcofago).mp3
/cdrom/Behemoth/Antichristian Phenomenon/05-05-Hello Spaceboy (David 
Bowie).mp3
/cdrom/Behemoth/Antichristian Phenomenon/06-06-Day of Suffering (Morbid 
Angel).mp3
/cdrom/Behemoth/Antichristian Phenomenon/07-07-Carnage (Mayhem).mp3



 These messages look a bit strange.

  /cdrom/Condemned, The -2007-akcija: [Errno 2] No such file or
  directory: '/cdrom/Condemned, The -2007-akcija'
  /cdrom/Condemned, The -2007-akcija: [Errno 2] No such file or
  directory: '/cdrom/Condemned, The -2007-akcija'

 What the real name of these files, does an ls /cdrom report the correct
 files names?

[EMAIL PROTECTED]:~$ ls /cdrom
Condemned, The -2007-akcija  KNOKED UP  Shadow Puppets -2007-triler  
The.Good.Shepherd[2006]DvDrip  The Simpsons Movie TS


[EMAIL PROTECTED]:~$ find /cdrom/
/cdrom/
/cdrom/Condemned, The -2007-akcija
/cdrom/Condemned, The -2007-akcija/Condemned.jpg
/cdrom/Condemned, The -2007-akcija/The Condemned (2007).mht
/cdrom/Condemned, The -2007-akcija/TheCondemned.avi
/cdrom/Condemned, The -2007-akcija/TheCondemned.srt
/cdrom/KNOKED UP
/cdrom/KNOKED UP/KNOKED UP.avi
/cdrom/KNOKED UP/KNOKED UP.jpg
/cdrom/KNOKED UP/KNOKED UP.srt
/cdrom/Shadow Puppets -2007-triler
/cdrom/Shadow Puppets -2007-triler/Shadow Puppets (2007).mht
/cdrom/Shadow Puppets -2007-triler/ShadowPuppets.avi
/cdrom/Shadow Puppets -2007-triler/ShadowPuppets.bmp
/cdrom/Shadow Puppets -2007-triler/ShadowPuppets.srt
/cdrom/The Simpsons Movie TS
/cdrom/The Simpsons Movie TS/The Simpsons Movie (2007).avi
/cdrom/The Simpsons Movie TS/The Simpsons Movie (2007).jpg
/cdrom/The Simpsons Movie TS/The Simpsons Movie (2007).srt
/cdrom/The.Good.Shepherd[2006]DvDrip
/cdrom/The.Good.Shepherd[2006]DvDrip/The Good Shepherd [2006]_Cro.srt
/cdrom/The.Good.Shepherd[2006]DvDrip/The.Good.Shepherd[2006]DvDrip[Eng]-aXXo.avi
/cdrom/The.Good.Shepherd[2006]DvDrip/good-shepherd-poster-image.jpg
[EMAIL PROTECTED]:~$   


 Just for fun I installed the cdfs kernel driver then normal CDs are
 treated as files.


And otherwise they arent?

-- 
Ljubomir Simin 
Registered Linux User #351181
http://counter.li.org 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] unable to display weather

2007-09-02 Thread Ljubomir Simin
Hi!

I'm unable to get weather plugin to work. Freevo downloads the info and maps 
(progress bar is moving), but no actual info is displayed, just NA, and 
question marks, instead of the real values. Here's the log:


2007-09-02 20:38:12,350 ERRORweather.py (415): failed attempting to load 
YIXX0006 radar map from cache
Weather download:  
http://www.tpfans.com/rss/weather.php?Citycode=YIXX0005Language=en - 0.7 sec
Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 
0.4 sec
Retrying [0] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 
0.4 sec
Retrying [1] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 
0.5 sec
Retrying [2] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
Weather ERROR: failed attempting to download radar map from None
2007-09-02 20:42:26,516 ERRORweather.py (415): failed attempting to load 
YIXX0006 radar map from cache
2007-09-02 20:42:26,519 ERRORweather.py (415): failed attempting to load 
YIXX0005 radar map from cache


This is my entry in local_conf:

plugin.activate('weather', level=45)
PLUGIN_WEATHER_LOCATIONS = [
  (YIXX0006, 1, en, Novi Sad, Serbia),
  (YIXX0005, 1, en, Belgrade, Serbia)
]


Location codes are correct, as they work on Yahoo website. Any ideas?

-- 
Ljubomir Simin 
Registered Linux User #351181
http://counter.li.org 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] data cd/dvd

2007-09-02 Thread Ljubomir Simin
On Sunday 02 September 2007 19:44, Duncan Webb wrote:
 Ljubomir Simin wrote:
  Hi!
 
  My video DVDs are detected and played properly, as well as audio CDs.
  I would however like to be able to browse data CDs and DVDs in video
  and music browsers, the same way I'm browsing local files. It's
  possible to achive with automounter and a symlink to /media/cdrom, but
  I would like to do it I a proper freevo way. However whenever I insert
  data disc, CD icon keeps being grayed out. Where should I start
  debugging the problem?

 I'm not sure that this is working but it should work with the
 ROM_DRIVES, eg:
 ROM_DRIVES = [
   ('/mnt/dvd', '/dev/hdc', 'DVD'),
   ('/mnt/dvdram', '/dev/hdd', 'DVD-RAM')
 ]

 May be some can confirm if this is working or not.

 Duncan



I have to eat my words. After upgradiing to 1.7.3 it works. Kinda.

I have this in my local_config.py:
ROM_DRIVES = [ ('/cdrom', '/dev/scd0', 'DVD') ]

This is fstab:
/dev/scd0   /media/cdrom0   udf,iso9660 user,noauto 0   0

/cdrom is a softlink to /media/cdrom0

It works with some disks. But not with all. I've just inserted CD with mp3s, 
and got PLUGIN_EVENT IDENTIFY_MEDIA crashed
Here's the logfile:

file:///cdrom/Behemoth/Antichristian Phenomenon/01-01-Antichristian 
Phenomemon.mp3
not found!
Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/freevo/main.py, line 288, in 
eventhandler
app.eventhandler(event)
  File /usr/lib/python2.5/site-packages/freevo/menu.py, line 750, in 
eventhandler
if p.eventhandler(event=event, menuw=self):
  File /usr/lib/python2.5/site-packages/freevo/plugins/rom_drives.py, line 
162, in eventhandler
media.item.play_recursive(menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/directory.py, line 504, in 
play_recursive
self.check_password_and_build(arg='playlist:recursive', menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/directory.py, line 535, in 
check_password_and_build
self.build(arg=arg, menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/directory.py, line 603, in 
build
display_type=display_type, random=False).play(menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/playlist.py, line 382, in 
play
self.current_item.play(menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/audio/audioitem.py, line 179, 
in play
error = self.player.play()
  File /usr/lib/python2.5/site-packages/freevo/audio/player.py, line 98, in 
play
self.item.eventhandler(event.PLAY_END)
  File /usr/lib/python2.5/site-packages/freevo/item.py, line 415, in 
eventhandler
return self.parent.eventhandler(event, menuw)
  File /usr/lib/python2.5/site-packages/freevo/playlist.py, line 447, in 
eventhandler
self.current_item.stop()
  File /usr/lib/python2.5/site-packages/freevo/audio/audioitem.py, line 205, 
in stop
self.player.stop()
  File /usr/lib/python2.5/site-packages/freevo/audio/player.py, line 129, in 
stop
self.player.stop()
  File /usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py, 
line 173, in stop
self.app.stop('quit\n')
AttributeError: 'NoneType' object has no attribute 'stop'





Another DVD with divx movies triggered event INPUT_ENTER crashed:

/cdrom/Condemned, The -2007-akcija: [Errno 2] No such file or 
directory: '/cdrom/Condemned, The -2007-akcija'
/cdrom/Condemned, The -2007-akcija: [Errno 2] No such file or 
directory: '/cdrom/Condemned, The -2007-akcija'
Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/freevo/main.py, line 288, in 
eventhandler
app.eventhandler(event)
  File /usr/lib/python2.5/site-packages/freevo/menu.py, line 680, in 
eventhandler
action( arg=arg, menuw=self )
  File /usr/lib/python2.5/site-packages/freevo/directory.py, line 480, in 
cwd
self.check_password_and_build(arg=None, menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/directory.py, line 535, in 
check_password_and_build
self.build(arg=arg, menuw=menuw)
  File /usr/lib/python2.5/site-packages/freevo/directory.py, line 789, in 
build
menuw.pushmenu(item_menu)
  File /usr/lib/python2.5/site-packages/freevo/menu.py, line 379, in 
pushmenu
self.refresh()
  File /usr/lib/python2.5/site-packages/freevo/menu.py, line 407, in refresh
skin.draw('menu', self, self.menustack[-1])
  File /usr/lib/python2.5/site-packages/freevo/skins/main/main.py, line 527, 
in draw
a.draw(settings, object, menu, style, type, self.force_redraw)
  File /usr/lib/python2.5/site-packages/freevo/skins/main/area.py, line 196, 
in draw
self.update_content()
  File /usr/lib/python2.5/site-packages/freevo/skins/main/default_areas.py, 
line 179, in update_content
p.draw((self.widget_type, self.menuw), self)
  File /usr/lib/python2.5/site-packages/freevo/plugins/buttonbar.py, line 
172, in draw
actions = self.get_actions(menu)
  File /usr/lib/python2.5/site-packages/freevo/plugins/buttonbar.py, line 
318, in get_actions
for a in p.actions(menu.selected

[Freevo-users] update question

2007-09-01 Thread Ljubomir Simin
Hi,

I have installed Freevo 1.7.1 from source following this guide [1].
How do I update it? I see no uninstall option in setup.py. Should I
just unpack the sources to other place and install them with the same
prefix?
Should I backup any files besides local conf?
Is downgrade possible?

Thanks in advance!

[1] http://freevo.sourceforge.net/cgi-bin/doc/SourceInstallation
-- 
Ljubomir Simin
Registered Linux User #351181
http://counter.li.org

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] geekbox theme

2007-09-01 Thread Ljubomir Simin
Hi,

I've seen on the main page that gexxbox uses gorgeous black theme. Is
it available somewhere for download? How about other themes? Are we
limited to what is installed by default? (besides making our own ones,
of course :))

Regards,
-- 
Ljubomir Simin
Registered Linux User #351181
http://counter.li.org

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] data cd/dvd

2007-09-01 Thread Ljubomir Simin
Hi!

My video DVDs are detected and played properly, as well as audio CDs.
I would however like to be able to browse data CDs and DVDs in video
and music browsers, the same way I'm browsing local files. It's
possible to achive with automounter and a symlink to /media/cdrom, but
I would like to do it I a proper freevo way. However whenever I insert
data disc, CD icon keeps being grayed out. Where should I start
debugging the problem?

Thanks,
-- 
Ljubomir Simin
Registered Linux User #351181
http://counter.li.org

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users