Re: [Freevo-users] FXD command files

2010-08-20 Thread Francisco Eduardo Álvarez Solano
2010/8/19 Paul strifek...@users.sourceforge.net

 Is it possible to run fxd command files from within the standard menu
 structure? I have quite a few running from the main menu now (internet,
 karaoke, the cheese photo application) and I wanted to clean it up by
 inserting some within the menu items (ie: karaoke within music, the cheese
 app within photos), there's not a whole lot of documentation on fxd files
 and I've been fiddling with them for a while with no success, is this
 possible at all?


Yes!.

I've added a Spotify entry within the Music main menu. First I've written
this fxd file:

spotify.fxd:

?xml version=1.0 ?
freevo
command title=Spotify
cmdwine C:\Archivos de programa\Spotify\spotify.exe/cmd
stoposd /
/command
/freevo

And then, I've added the fxd file to the AUDIO_ITEMS section in
local_conf.py:

AUDIO_ITEMS = [
('Infantil', '/datos/musica/infantil'),
('Pop', '/datos/musica/pop'),
('Otras', '/datos/musica/otras'),
'/opt/config/freevo/fxd/spotify.fxd',
]

I also have a Picasa entry in the Photo menu, though, instead of adding the
fxd file to the IMAGES section in local_conf.py, I've included it in my
image directory:

picasa.fxd:

?xml version=1.0 ?
freevo
command title=Editar fotos en Picasa
cmd/opt/config/freevo/fxd/picasa.cmd/cmd
nostdout /
/command
/freevo

picasa.cmd:

#!/bin/sh
picasa 
true

local_conf.py:

IMAGE_ITEMS = [ ('Ver Fotos', '/datos/Escritorio/fotos'),
# '/opt/config/freevo/fxd/picasa.fxd',
]

In /datos/Escritorio/fotos I have a directory named fotos and the fxd file
picasa.fxd. As you can see, I previously added the fxd file directly to the
IMAGE_ITEMS section, though now I've commented out the entry. Nevertheless,
both approachs work flawlessly for me.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FXD command files

2010-08-20 Thread Paul
That's odd, I can't replicate either of those functions - I'm using 1.9.0 -
I just get an empty directory if there's an fxd command file in it and if I
put the fxd location in the relevent menu items nothing shows up in Freevo.
I'm using bash scripts to launch all of the applications but see you have
successfully used with picasa, any other tips of here to go from here?

Cheers

2010/8/20 Francisco Eduardo Álvarez Solano franciscoe.alva...@gmail.com



 2010/8/19 Paul strifek...@users.sourceforge.net

 Is it possible to run fxd command files from within the standard menu
 structure? I have quite a few running from the main menu now (internet,
 karaoke, the cheese photo application) and I wanted to clean it up by
 inserting some within the menu items (ie: karaoke within music, the cheese
 app within photos), there's not a whole lot of documentation on fxd files
 and I've been fiddling with them for a while with no success, is this
 possible at all?


 Yes!.

 I've added a Spotify entry within the Music main menu. First I've written
 this fxd file:

 spotify.fxd:

 ?xml version=1.0 ?
 freevo
 command title=Spotify
 cmdwine C:\Archivos de programa\Spotify\spotify.exe/cmd
 stoposd /
 /command
 /freevo

 And then, I've added the fxd file to the AUDIO_ITEMS section in
 local_conf.py:

 AUDIO_ITEMS = [
  ('Infantil', '/datos/musica/infantil'),
  ('Pop', '/datos/musica/pop'),
  ('Otras', '/datos/musica/otras'),
  '/opt/config/freevo/fxd/spotify.fxd',
 ]

 I also have a Picasa entry in the Photo menu, though, instead of adding the
 fxd file to the IMAGES section in local_conf.py, I've included it in my
 image directory:

 picasa.fxd:

 ?xml version=1.0 ?
 freevo
 command title=Editar fotos en Picasa
  cmd/opt/config/freevo/fxd/picasa.cmd/cmd
  nostdout /
 /command
 /freevo

 picasa.cmd:

 #!/bin/sh
 picasa 
 true

 local_conf.py:

 IMAGE_ITEMS = [ ('Ver Fotos', '/datos/Escritorio/fotos'),
 # '/opt/config/freevo/fxd/picasa.fxd',
 ]

 In /datos/Escritorio/fotos I have a directory named fotos and the fxd
 file picasa.fxd. As you can see, I previously added the fxd file directly to
 the IMAGE_ITEMS section, though now I've commented out the entry.
 Nevertheless, both approachs work flawlessly for me.


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users