Re: [Freevo-users] FXD command files

2010-08-28 Thread Paul
Good to know it works, thanks Adam (I've just had a hard drive failure, but
when I'm up and running again I'll give it a try).

2010/8/23 Adam Charrett a...@dvbstreamer.org



 On Mon, 23 Aug 2010, Francisco Eduardo Álvarez Solano wrote:

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

  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?


 I'm using Ubuntu 10.04 and Freevo 1.8.2 with this setup.

 I've tried Freevo 1.9.0 and, yes, I can't see the new menu entries. I
 think
 it's related to the plugin 'command.fxdhandler'. When I've enabled it in
 1.9.0 in local_conf.py, I've got an error whenever I try one of the menus
 that have a fxd file:

 plugin.activate('command.fxdhandler')

 $ freevo

 Traceback (most recent call last):
   File /datos/freevo190/lib/python2.6/site-packages/freevo/fxditem.py,
 line 132, in parse
 parser.parse()

 snip

 self.spawnwm = config.COMMAND_SPAWN_WM
 AttributeError: 'module' object has no attribute 'COMMAND_SPAWN_WM'


 Looks like you need to add 2 new variables in your local_conf.py called
 COMMAND_SPAWN_WM and COMMAND_KILL_WM

 ie.

 COMMAND_SPAWN_WM = ''
 COMMAND_KILL_WM = ''

 These appear to be used to start and stop a window manager using the
 sqawnwm tag. You probably don't need this but defining these should allow
 you to use the plugin.

 What is odd is that the plugin should defined these automatically?! Looks
 like another bug to bash.

 Cheers

 Adam

 --
 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


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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-26 Thread Francisco Eduardo Álvarez Solano

  self.spawnwm = config.COMMAND_SPAWN_WM
 AttributeError: 'module' object has no attribute 'COMMAND_SPAWN_WM'


 Looks like you need to add 2 new variables in your local_conf.py called
 COMMAND_SPAWN_WM and COMMAND_KILL_WM

 ie.

 COMMAND_SPAWN_WM = ''
 COMMAND_KILL_WM = ''


Yes, it works! I've added both lines to local_conf.py in Freevo 1.9.0, and I
can now access Picasa or Spotify from the images or music menu, as I do in
Freevo 1.8.2

It's very strange, because in Freevo 1.8.2 I don't have to define these
variables in local_conf.py

Thanks for the tip
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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-23 Thread Francisco Eduardo Álvarez Solano
2010/8/21 Paul strifek...@users.sourceforge.net

 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?


I'm using Ubuntu 10.04 and Freevo 1.8.2 with this setup.

I've tried Freevo 1.9.0 and, yes, I can't see the new menu entries. I think
it's related to the plugin 'command.fxdhandler'. When I've enabled it in
1.9.0 in local_conf.py, I've got an error whenever I try one of the menus
that have a fxd file:

plugin.activate('command.fxdhandler')

$ freevo

Traceback (most recent call last):
  File /datos/freevo190/lib/python2.6/site-packages/freevo/fxditem.py,
line 132, in parse
parser.parse()
  File
/datos/freevo190/lib/python2.6/site-packages/freevo/util/fxdparser.py,
line 224, in parse
callback = self.read_callback[node.name](self, node)
  File
/datos/freevo190/lib/python2.6/site-packages/freevo/plugins/command.py,
line 310, in fxdparser
item = CommandItem()
  File
/datos/freevo190/lib/python2.6/site-packages/freevo/plugins/command.py,
line 243, in __init__
self.spawnwm = config.COMMAND_SPAWN_WM
AttributeError: 'module' object has no attribute 'COMMAND_SPAWN_WM'
/datos/freevo190/lib/python2.6/site-packages/freevo/osd.py:169:
UnicodeWarning: Unicode equal comparison failed to convert both arguments to
Unicode - interpreting them as being unequal
  return self.chars[c]
/datos/freevo190/lib/python2.6/site-packages/freevo/osd.py:172:
UnicodeWarning: Unicode equal comparison failed to convert both arguments to
Unicode - interpreting them as being unequal
  self.chars[c] = w


Can you confirm this behaviour?


Regards
--
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-23 Thread Adam Charrett



On Mon, 23 Aug 2010, Francisco Eduardo Álvarez Solano wrote:


2010/8/21 Paul strifek...@users.sourceforge.net
  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?


I'm using Ubuntu 10.04 and Freevo 1.8.2 with this setup.

I've tried Freevo 1.9.0 and, yes, I can't see the new menu entries. I think
it's related to the plugin 'command.fxdhandler'. When I've enabled it in
1.9.0 in local_conf.py, I've got an error whenever I try one of the menus
that have a fxd file:

plugin.activate('command.fxdhandler')

$ freevo

Traceback (most recent call last):
  File /datos/freevo190/lib/python2.6/site-packages/freevo/fxditem.py,
line 132, in parse
    parser.parse()

snip

    self.spawnwm = config.COMMAND_SPAWN_WM
AttributeError: 'module' object has no attribute 'COMMAND_SPAWN_WM'


Looks like you need to add 2 new variables in your local_conf.py called 
COMMAND_SPAWN_WM and COMMAND_KILL_WM


ie.

COMMAND_SPAWN_WM = ''
COMMAND_KILL_WM = ''

These appear to be used to start and stop a window manager using the 
sqawnwm tag. You probably don't need this but defining these should 
allow you to use the plugin.


What is odd is that the plugin should defined these automatically?! Looks 
like another bug to bash.


Cheers

Adam--
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-21 Thread Bill Burroughs
., 189 becomes 18 or 89) and, although recording starts at
 the correct time, the wrong channel's program is recorded.  Other
 times, it seems LIRC isn't working correctly and no new channel is
 tuned via the IRBlaster, so the recording starts at the right time,
 but for the previously tuned (default) channel so, again, the wrong
 program is recorded.  In the latter situation, I have to reboot my
 system so LIRC can load correctly.  I don't know if the problem is
 with LIRC, the script, the IRBlaster, or the cable box.  Probably each
 of those at some time or another.  That's why I was hoping to
 eliminate all these variables by getting a new card with clear QAM
 support so the TV card itself can tune to the correct station without
 dependency on other devices and software.  Unfortunately, my cable
 company's decision to remove most of the channels on their line-up
 from clear QAM has thwarted my plans.

 My rough guess is that it's 95%+ reliable, but it's very frustrating
 when there's a special program I want (worse yet, a program that my
 wife really wants) and it's the very one that records incorrectly.
 Life was much simpler before the cable company switched to digital
 signals and you could have your TV or TV card tune to the correct
 channel without being forced to use their box.

 Art S R

 --
 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

  



--

Message: 3
Date: Thu, 19 Aug 2010 15:05:43 -0300
From: Paul strifek...@users.sourceforge.net
Subject: [Freevo-users] FXD command files
To: freevo-users@lists.sourceforge.net
Message-ID:
aanlktinst_thhw_4xeep03zovfkgckxa1kum2v3je...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

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?

Cheers,

Paul
-- next part --
An HTML attachment was scrubbed...

--

Message: 4
Date: Thu, 19 Aug 2010 21:17:42 +0200
From: Alberto Hernando pajaro...@gmail.com
Subject: Re: [Freevo-users] FXD command files
To: freevo-users@lists.sourceforge.net
Message-ID: 201008192117.42823.pajaro...@gmail.com
Content-Type: text/plain;  charset=utf-8

On Thursday 19 August 2010 20:05:43 Paul wrote:
 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?

What happens if you just put your karaoke.fxd in a music folder?
It works with playlists. Perhaps all fxd will work too.

Alberto



--

Message: 5
Date: Thu, 19 Aug 2010 18:21:59 -0300
From: Paul strifek...@users.sourceforge.net
Subject: Re: [Freevo-users] FXD command files
To: freevo-users@lists.sourceforge.net
Message-ID:
aanlkti=6a4mvmgcrpzto7fwsrc18eoh1rtcz=rdwy...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

No, it doesn't show up, I've fiddled with it a lot but haven't had any
success.

On 19 August 2010 16:17, Alberto Hernando pajaro...@gmail.com wrote:

 On Thursday 19 August 2010 20:05:43 Paul wrote:
  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?

 What happens if you just put your karaoke.fxd in a music folder?
 It works with playlists. Perhaps all fxd will work too.

 Alberto


 --
 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

Re: [Freevo-users] FXD command files

2010-08-21 Thread Bill Burroughs
P.S. Apologies for replying to the digest and not chopping off the majority of 
it - my bad. :(
 
Nothing is true; Everything is permissible...



  

--
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-21 Thread Paul
Hi Bill,

I use pykaraoke. It has a special mini frontend that's perfect - it launches
full screen and is just simply a list of all the karaoke songs in the
database (you can set this and update it from the main program) - the user
just scrolls through the songs and selects whichever one they want. My
requirements are for a robust system which family friends or guests can use
intutively with a wiimote without (accidentally or intentionally) breaking
out of freevo and into other parts of the system, so this integrates very
easily.

Now back to my problem, Francisco - is there anything you can think of that
I might not have done with my shell scripts that may be causing me problems?

Cheers

On 21 August 2010 03:21, Bill Burroughs djmatu...@yahoo.com wrote:

 P.S. Apologies for replying to the digest and not chopping off the majority
 of
 it - my bad. :(

 Nothing is true; Everything is permissible...






 --
 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


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


[Freevo-users] FXD command files

2010-08-19 Thread Paul
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?

Cheers,

Paul
--
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-19 Thread Alberto Hernando
On Thursday 19 August 2010 20:05:43 Paul wrote:
 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?

What happens if you just put your karaoke.fxd in a music folder?
It works with playlists. Perhaps all fxd will work too.

Alberto

--
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-19 Thread Paul
No, it doesn't show up, I've fiddled with it a lot but haven't had any
success.

On 19 August 2010 16:17, Alberto Hernando pajaro...@gmail.com wrote:

 On Thursday 19 August 2010 20:05:43 Paul wrote:
  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?

 What happens if you just put your karaoke.fxd in a music folder?
 It works with playlists. Perhaps all fxd will work too.

 Alberto


 --
 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


Re: [Freevo-users] FXD command files

2010-08-19 Thread Manfred Schmitt
Paul wrote:

 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?
 
Afaik it's not possible to put commands into an existing menu but to 
avoid the clutter in the main menu you can put the commands/fxd-files 
into a submenu:
http://doc.freevo.org/GeneralPlugins/Commands
http://doc.freevo.org/CommandsFxd

Bye,
Manne

--
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