Re: [Freevo-users] LIRC ChanelUp ChanelDown w/h tv.ivtv_xine_tv

2008-12-18 Thread Richard van Paasen
From: Evan Hisey 
> >> As ivtv does not require any special settings for up and down
> >> channels, I would first check that you have them set right in the
> >> lircrc file. Do them work with tvtime? Also check the debuging log.
> >
> >
> > IIRC this is only available in the cvs version of the xine-ui.
> > Personally I can't get this to work smoothly with the ivtv driver.
> >
> I thought you only needed the CVS for the live record feature. I have
> it working well on my end, but I am using a CVS version of xine.

If you are using the svn version of freevo, then you should use the cvs
version of xine-ui and patch it with
'freevo/runtime/patches/xine-ui-record-menu.patch'. That will give you more
control over the OSD font color and size (in ~/.xine/config). It also fixes a
bug that may freeze/crash xine. And, an OSD menu will be available to choose
record modes.

The 'smoothliness' Duncan mentions is probably caused by the live record
feature. Xine uses a buffer internally for the (ivtv) pvr feature and on
every channel change, a 'mark' is set in this buffer. Xine then flushes the
buffer to disk and starts a new buffer.

Cheers,
Richard.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help with autoshutdown plugin

2008-12-18 Thread Richard van Paasen
From: Martin Beck 
> Thanks for your answer! my only problem now is how to run it as root.
> I'm user 'freevo' now. Do I need to run as the 'root' user or can I
> still be 'freevo' and do a workaround?

You should add user 'freevo' to the /etc/sudoers file. Or, better, add the
commands that freevo may run as root in that file. For example, add the
following entry:

Zeus ~ # cat /etc/sudoers | grep freevo
freevo ALL=(ALL) NOPASSWD: /usr/bin/nvram-wakeup, /bin/mount,
/sbin/grub-set-default, /bin/ps, /bin/egrep, /sbin/shutdown

In freevo's local_conf.py, add 'sudo' to the commands that freevo executes,
for example:

Zeus ~ # cat /home/freevo/.freevo/local_conf.py | grep sudo
SYS_SHUTDOWN_CMD = "sudo shutdown -h now"
SYS_RESTART_CMD = "sudo shutdown -r now"
# AUTOSHUTDOWN_WAKEUP_CMD = sudo /PATH/TO/set_acpi.sh
AUTOSHUTDOWN_WAKEUP_CMD = "sudo /usr/bin/nvram-wakeup"
AUTOSHUTDOWN_REMOUNT_BOOT_CMD = "sudo /bin/mount"
AUTOSHUTDOWN_GRUB_CMD = "sudo /sbin/grub-set-default 0"
# AUTOSHUTDOWN_LILO_CMD = "sudo /sbin/lilo"

Cheers,
Richard.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LIRC ChanelUp ChanelDown w/h tv.ivtv_xine_tv

2008-12-18 Thread Evan Hisey
On Thu, Dec 18, 2008 at 10:47 AM, Duncan Webb  wrote:
> Evan Hisey wrote:
>> On Thu, Dec 18, 2008 at 4:31 AM, Martin Beck  wrote:
>>> I can't get ChanelUp/Down to work with the Xine when using
>>> tv.ivtv_xine_tv -plugin. Anyone has it working?
>>> Thanks,
>>>
>>> Settings as follows:
>>>
>>> plugin.activate('tv.ivtv_xine_tv')
>>> XINE_TV_VO_DEV = 'xv'
>>> XINE_TV_AO_DEV = 'oss'
>>> XINE_TV_TIMESHIFT_FILEMASK =
>>> '/home/freevo/Video/timeshift/livetv-.mpeg'
>>> plugin.remove('tv.generic_record')
>>> plugin_record = plugin.activate('tv.ivtv_record')
>>> XINE_TV_CONFIRM_STOP = False
>>> XINE_TV_LIVE_RECORD = True
>>> XINE_TV_PROGRESSIVE_SEEK = True
>>> XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
>>> XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5
>>>
>>>
>> As ivtv does not require any special settings for up and down
>> channels, I would first check that you have them set right in the
>> lircrc file. Do them work with tvtime? Also check the debuging log.
>
>
> IIRC this is only available in the cvs version of the xine-ui.
> Personally I can't get this to work smoothly with the ivtv driver.
>
I thought you only needed the CVS for the live record feature. I have
it working well on my end, but I am using a CVS version of xine.

Evan

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo doesn't work after update

2008-12-18 Thread patricio

-Original Message-
From: Duncan Webb 

Date: Thu, 18 Dec 2008 17:44:23 
To: 
Subject: Re: [Freevo-users] Freevo doesn't work after update


Jason Tackaberry wrote:
> On Thu, 2008-12-18 at 07:58 +1100, Laurence Huizinga wrote:
>> However, just to try freevo out I get the following errors:
> [...]
>> [Errno 13] Permission denied: '/var/log/freevo/main-1000.log'
>>   
>> [Errno 13] Permission denied: '/var/log/freevo/main-1000.log'
>>   
> 
> By default freevo tries to write to /var/log/freevo, so you need to make
> sure that this directory exists and that the user you're running freevo
> as can write to it.
> 
> (I never did like thsi default.{)

Exactly what happens is:
If the environment variable FREEVO_LOGDIR is set then this is used
It will try to create and use /var/log/freevo, and if running as
non-root this will fail
Finally, it will try to create ${HOME}/.freevo/log.

I think that the problem is that root created the /var/log/freevo
directory but didn't change the permissions on the directory to 1777. So
the directory exists but is not writeable by the non-root user. A "chmod
1777 /var/log/freevo" will fix this.

The following, I'll add to svn for the next release.

Index: src/config.py
===
--- src/config.py   (revision 11224)
+++ src/config.py   (working copy)
@@ -353,12 +353,14 @@
 try:
 print 'trying "%s"...' % (freevo_dirname)
 os.makedirs(freevo_dirname)
+os.chmod(freevo_dirname, 01777)
 except OSError:
 freevo_dirname = os.path.join(os.environ['HOME'],
'.freevo', private_dir)
 if not os.path.isdir(freevo_dirname):
 try:
 print 'trying "%s"...' % (freevo_dirname)
 os.makedirs(freevo_dirname)
+os.chmod(freevo_dirname, 0755)
 except OSError, e:
 print 'Warning: %s does not exists and can\'t be
created' % freevo_dirname
 print 'Please create this directory as root and set
permissions for the'

Duncan

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
BEGIN:VCARD
VERSION:2.1
FN:Astrid
N:;Astrid;;;
TEL;TYPE=WORK:+56 995418908
NOTE:
END:VCARD
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LIRC ChanelUp ChanelDown w/h tv.ivtv_xine_tv

2008-12-18 Thread Duncan Webb
Evan Hisey wrote:
> On Thu, Dec 18, 2008 at 4:31 AM, Martin Beck  wrote:
>> I can't get ChanelUp/Down to work with the Xine when using
>> tv.ivtv_xine_tv -plugin. Anyone has it working?
>> Thanks,
>>
>> Settings as follows:
>>
>> plugin.activate('tv.ivtv_xine_tv')
>> XINE_TV_VO_DEV = 'xv'
>> XINE_TV_AO_DEV = 'oss'
>> XINE_TV_TIMESHIFT_FILEMASK =
>> '/home/freevo/Video/timeshift/livetv-.mpeg'
>> plugin.remove('tv.generic_record')
>> plugin_record = plugin.activate('tv.ivtv_record')
>> XINE_TV_CONFIRM_STOP = False
>> XINE_TV_LIVE_RECORD = True
>> XINE_TV_PROGRESSIVE_SEEK = True
>> XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
>> XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5
>>
>>
> As ivtv does not require any special settings for up and down
> channels, I would first check that you have them set right in the
> lircrc file. Do them work with tvtime? Also check the debuging log.


IIRC this is only available in the cvs version of the xine-ui.
Personally I can't get this to work smoothly with the ivtv driver.

Duncan

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo doesn't work after update

2008-12-18 Thread Duncan Webb
Jason Tackaberry wrote:
> On Thu, 2008-12-18 at 07:58 +1100, Laurence Huizinga wrote:
>> However, just to try freevo out I get the following errors:
> [...]
>> [Errno 13] Permission denied: '/var/log/freevo/main-1000.log'
>>   
>> [Errno 13] Permission denied: '/var/log/freevo/main-1000.log'
>>   
> 
> By default freevo tries to write to /var/log/freevo, so you need to make
> sure that this directory exists and that the user you're running freevo
> as can write to it.
> 
> (I never did like thsi default.{)

Exactly what happens is:
If the environment variable FREEVO_LOGDIR is set then this is used
It will try to create and use /var/log/freevo, and if running as
non-root this will fail
Finally, it will try to create ${HOME}/.freevo/log.

I think that the problem is that root created the /var/log/freevo
directory but didn't change the permissions on the directory to 1777. So
the directory exists but is not writeable by the non-root user. A "chmod
1777 /var/log/freevo" will fix this.

The following, I'll add to svn for the next release.

Index: src/config.py
===
--- src/config.py   (revision 11224)
+++ src/config.py   (working copy)
@@ -353,12 +353,14 @@
 try:
 print 'trying "%s"...' % (freevo_dirname)
 os.makedirs(freevo_dirname)
+os.chmod(freevo_dirname, 01777)
 except OSError:
 freevo_dirname = os.path.join(os.environ['HOME'],
'.freevo', private_dir)
 if not os.path.isdir(freevo_dirname):
 try:
 print 'trying "%s"...' % (freevo_dirname)
 os.makedirs(freevo_dirname)
+os.chmod(freevo_dirname, 0755)
 except OSError, e:
 print 'Warning: %s does not exists and can\'t be
created' % freevo_dirname
 print 'Please create this directory as root and set
permissions for the'

Duncan

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo Article in LinuxUser

2008-12-18 Thread John Molohan
Helmut Auer wrote:
> Hi
>   
>> a good article about Freevo and open source MediaCenters can be found in
>> the actual LinuxUser 01/2009 (this is german paper magazine).
>> The authors compares Elisa, Freevo and Geexbox with (the leader) MythTV.
>>   
>> 
> Looks like they forgot the reel leader (xbmc)...
>
>   
I looked at MythTV about 4 years ago and never got it configured, much 
preferred Freevo but having just taken a 5 minute look at xbmc I have to 
say it's very nice. UI is smooth, slick and user friendly and it's 
configuration system is a perfect example of what we should be looking 
at for freevo. Some of these config options are already there but hidden 
under individual menus. If someone could even just move these to a 
common settings section it would be a great start.

John

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help with autoshutdown plugin

2008-12-18 Thread Martin Beck
Thanks for your answer! my only problem now is how to run it as root.
I'm user 'freevo' now. Do I need to run as the 'root' user or can I
still be 'freevo' and do a workaround?
Cheers,
Martin

--- Adam Charrett  skrev:

> On Thu, December 18, 2008 10:27 am, Martin Beck wrote:
> > I get an error when closing freevo and have activated the
> > autoshutdown-plugin. Here are my settings in local_conf.py:
> >
> > ##acpi shutdown##
> > plugin.remove('shutdown')
> > plugin.activate('autoshutdown',level=90)
> > SYS_SHUTDOWN_ENABLE = 1
> > AUTOSHUTDOWN_METHOD = 'acpi'
> > AUTOSHUTDOWN_WAKEUP_CMD = '/home/freevo/script/acpi_wakeup.sh'
> > AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = '10:15'
> > AUTOSHUTDOWN_FORCE_DEFAULT_WAKEUP = False
> > AUTOSHUTDOWN_BOOT_LOADER = 'GRUB'
> > AUTOSHUTDOWN_REMOUNT_BOOT_CMD = '/bin/mount'
> > AUTOSHUTDOWN_REMOUNT_BOOT_OPT = '/boot -o remount,rw'
> > AUTOSHUTDOWN_GRUB_CMD = '/sbin/grub-set-default 0'
> > AUTOSHUTDOWN_GRUB_OPT = '0'
> >
> > ##acpi shutdown end##
> >
> > 
> > The log gives me this message:
> >
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 297,
> in
> > eventhandler
> > app.eventhandler(event)
> >   File "/usr/share/pyshared/freevo/menu.py", line 822, in
> eventhandler
> > self._handle_play_item(menu, event)
> >   File "/usr/share/pyshared/freevo/menu.py", line 581, in
> > _handle_play_item
> > actions = menu.selected.actions()
> >   File "/usr/share/pyshared/freevo/plugins/autoshutdown.py", line
> 177,
> > in actions
> > if self.idletimer.ispaused():
> > AttributeError: 'NoneType' object has no attribute 'ispaused'
> >
> > --
> >
> > Are the settings wrong? I read in plugin help that I need to run
> the
> > acpi_wakeup.sh as root. Do I have to run the total kit as sudo or
> can I
> > run just this part as sudo? In that case how?
> 
> Found this out myself the other day when I was trying to test
> something,
> you need to activate autoshutdown.autoshutdowntimer as well.
> ie
> 
> plugin.remove('shutdown')
> plugin.activate('autoshutdown',level=90)
> plugin.activate('autoshutdown.autoshutdowntimer')
> 
> Cheers
> 
> Adam
> 
> 
>
--
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to
> help
> pave the way to the Next Web now. Learn more and register at
>
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
> 



  __
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling. 
Sök och jämför priser hos Kelkoo.
http://www.kelkoo.se/c-100015813-bredband.html?partnerId=96914325

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LIRC ChanelUp ChanelDown w/h tv.ivtv_xine_tv

2008-12-18 Thread Evan Hisey
On Thu, Dec 18, 2008 at 4:31 AM, Martin Beck  wrote:
> I can't get ChanelUp/Down to work with the Xine when using
> tv.ivtv_xine_tv -plugin. Anyone has it working?
> Thanks,
>
> Settings as follows:
>
> plugin.activate('tv.ivtv_xine_tv')
> XINE_TV_VO_DEV = 'xv'
> XINE_TV_AO_DEV = 'oss'
> XINE_TV_TIMESHIFT_FILEMASK =
> '/home/freevo/Video/timeshift/livetv-.mpeg'
> plugin.remove('tv.generic_record')
> plugin_record = plugin.activate('tv.ivtv_record')
> XINE_TV_CONFIRM_STOP = False
> XINE_TV_LIVE_RECORD = True
> XINE_TV_PROGRESSIVE_SEEK = True
> XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
> XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5
>
>
As ivtv does not require any special settings for up and down
channels, I would first check that you have them set right in the
lircrc file. Do them work with tvtime? Also check the debuging log.

Evan

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help with autoshutdown plugin

2008-12-18 Thread Adam Charrett
On Thu, December 18, 2008 10:27 am, Martin Beck wrote:
> I get an error when closing freevo and have activated the
> autoshutdown-plugin. Here are my settings in local_conf.py:
>
> ##acpi shutdown##
> plugin.remove('shutdown')
> plugin.activate('autoshutdown',level=90)
> SYS_SHUTDOWN_ENABLE = 1
> AUTOSHUTDOWN_METHOD = 'acpi'
> AUTOSHUTDOWN_WAKEUP_CMD = '/home/freevo/script/acpi_wakeup.sh'
> AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = '10:15'
> AUTOSHUTDOWN_FORCE_DEFAULT_WAKEUP = False
> AUTOSHUTDOWN_BOOT_LOADER = 'GRUB'
> AUTOSHUTDOWN_REMOUNT_BOOT_CMD = '/bin/mount'
> AUTOSHUTDOWN_REMOUNT_BOOT_OPT = '/boot -o remount,rw'
> AUTOSHUTDOWN_GRUB_CMD = '/sbin/grub-set-default 0'
> AUTOSHUTDOWN_GRUB_OPT = '0'
>
> ##acpi shutdown end##
>
> 
> The log gives me this message:
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 297, in
> eventhandler
> app.eventhandler(event)
>   File "/usr/share/pyshared/freevo/menu.py", line 822, in eventhandler
> self._handle_play_item(menu, event)
>   File "/usr/share/pyshared/freevo/menu.py", line 581, in
> _handle_play_item
> actions = menu.selected.actions()
>   File "/usr/share/pyshared/freevo/plugins/autoshutdown.py", line 177,
> in actions
> if self.idletimer.ispaused():
> AttributeError: 'NoneType' object has no attribute 'ispaused'
>
> --
>
> Are the settings wrong? I read in plugin help that I need to run the
> acpi_wakeup.sh as root. Do I have to run the total kit as sudo or can I
> run just this part as sudo? In that case how?

Found this out myself the other day when I was trying to test something,
you need to activate autoshutdown.autoshutdowntimer as well.
ie

plugin.remove('shutdown')
plugin.activate('autoshutdown',level=90)
plugin.activate('autoshutdown.autoshutdowntimer')

Cheers

Adam


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] LIRC ChanelUp ChanelDown w/h tv.ivtv_xine_tv

2008-12-18 Thread Martin Beck
I can't get ChanelUp/Down to work with the Xine when using
tv.ivtv_xine_tv -plugin. Anyone has it working?
Thanks,

Settings as follows:

plugin.activate('tv.ivtv_xine_tv')
XINE_TV_VO_DEV = 'xv'
XINE_TV_AO_DEV = 'oss'
XINE_TV_TIMESHIFT_FILEMASK =
'/home/freevo/Video/timeshift/livetv-.mpeg'
plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.ivtv_record')
XINE_TV_CONFIRM_STOP = False
XINE_TV_LIVE_RECORD = True
XINE_TV_PROGRESSIVE_SEEK = True
XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5


  __
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling. 
Sök och jämför priser hos Kelkoo.
http://www.kelkoo.se/c-100015813-bredband.html?partnerId=96914325

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Help with autoshutdown plugin

2008-12-18 Thread Martin Beck
I get an error when closing freevo and have activated the
autoshutdown-plugin. Here are my settings in local_conf.py:

##acpi shutdown##
plugin.remove('shutdown')
plugin.activate('autoshutdown',level=90)
SYS_SHUTDOWN_ENABLE = 1
AUTOSHUTDOWN_METHOD = 'acpi'
AUTOSHUTDOWN_WAKEUP_CMD = '/home/freevo/script/acpi_wakeup.sh'
AUTOSHUTDOWN_DEFAULT_WAKEUP_TIME = '10:15'
AUTOSHUTDOWN_FORCE_DEFAULT_WAKEUP = False
AUTOSHUTDOWN_BOOT_LOADER = 'GRUB'
AUTOSHUTDOWN_REMOUNT_BOOT_CMD = '/bin/mount'
AUTOSHUTDOWN_REMOUNT_BOOT_OPT = '/boot -o remount,rw'
AUTOSHUTDOWN_GRUB_CMD = '/sbin/grub-set-default 0'
AUTOSHUTDOWN_GRUB_OPT = '0'

##acpi shutdown end##


The log gives me this message:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/freevo/main.py", line 297, in
eventhandler
app.eventhandler(event)
  File "/usr/share/pyshared/freevo/menu.py", line 822, in eventhandler
self._handle_play_item(menu, event)
  File "/usr/share/pyshared/freevo/menu.py", line 581, in
_handle_play_item
actions = menu.selected.actions()
  File "/usr/share/pyshared/freevo/plugins/autoshutdown.py", line 177,
in actions
if self.idletimer.ispaused():
AttributeError: 'NoneType' object has no attribute 'ispaused'

--

Are the settings wrong? I read in plugin help that I need to run the
acpi_wakeup.sh as root. Do I have to run the total kit as sudo or can I
run just this part as sudo? In that case how?
Greatful for answers!
Cheers


  __
Låna pengar utan säkerhet. Jämför vilkor online hos Kelkoo.
http://www.kelkoo.se/c-100390123-lan-utan-sakerhet.html?partnerId=96915014

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Which usb ir-receiver should I buy?

2008-12-18 Thread Manfred Schmitt
Duncan Webb wrote:

> Manfred Schmitt wrote:
> > Duncan Webb wrote:
> >>
> >> The only problem is that sometimes the devices move about.
> >>
> > Not if you nail it down with an udev-rule:
> > /etc/udev/rules.d/010_own.rules:
> 
> This useful information and belongs in the wiki, have you already added
> it there?
> 
Done now.
There's already a good explanation about creating unique device names 
from Tanja at 
http://doc.freevo.org/IVTVEventInterface 
so I only added a backlink and some notes at the bottom of 
http://doc.freevo.org/LircDevInput

Bye,
Manne

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users