I set the sleep delay to only 50ms because the shutdown script sometimes takes some time to execute. Since scripts requiring too long at shutdown will be killed my intention was to lose as few time as possible. Therefore I let it at 50ms. Here's a new pull request:

*addon - service.wakeup.mediaserver
*version - 1.0.2
*url - git://github.com/lagwagon667/wakeup.mediaserver.git
*revision - 143da3e326
*branch - master
*xbmc version - eden

-- 
Mit freundlichen Grüßen / kind regards
David Rummel



Date: Wed, 7 Nov 2012 17:40:05 +0100
Subject: Re: [Xbmc-addons] [Git Pull] Wakeup Mediaserver
From: martijn@xboxmediacenter.com
To: rummel.david@web.de
CC: xbmc-addons@lists.sourceforge.net

Sorry forgot the mention that you need to add  a language tag in your addon.xml
In your case it would be
<language/>
http://wiki.xbmc.org/index.php?title=Add-on_development#The_.3Cextension.3E_elements

xbmc.sleep(50) means 50ms. Seems a bit on the low side to me but i'll leave judgement up to you.


Martijn

On Sat, Nov 3, 2012 at 9:49 PM, David Rummel <rummel.david@web.de> wrote:
*addon - service.wakeup.mediaserver
*version - 1.0.1
*revision - 09a24d1534
*branch - master
*xbmc version - eden

-- 
Mit freundlichen Grüßen / kind regards
David Rummel



Date: Sat, 3 Nov 2012 15:06:36 +0100
Subject: Re: [Xbmc-addons] [Git Pull] Wakeup Mediaserver
From: martijn@xboxmediacenter.com
To: rummel.david@web.de
CC: xbmc-addons@lists.sourceforge.net

also since it's a service please name it
"service.wakeup.mediaserver"

Martijn

On Sun, Oct 28, 2012 at 10:10 PM, David Rummel <rummel.david@web.de> wrote:
*addon - script.wakeup.mediaserver
*version - 1.0.0
*revision - 9ce1fe5815
*branch - master
*xbmc version - eden

------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons



------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons