NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) SearchWiz & MovieWiz v
« Previous 1 … 4 5 6 7 8 … 16 Next »
MoviWiz 1.0.24.0

 
  • 0 Vote(s) - 0 Average
MoviWiz 1.0.24.0
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#11
2009-03-07, 12:13 AM
Looks like the WOL call is returning almost immediately (<.3 secs):
Quote:2009-03-06 12:05:33.390 VERBOSE [1] MovieWiz: Activate()- ENTER
2009-03-06 12:05:33.468 VERBOSE [1] MovieWiz: Activate()- Activate Pgm: C:\Program Files\GBPVR\Plugins\Wake_on_Lan.exe
2009-03-06 12:05:33.468 VERBOSE [1] MovieWiz: Activate()- cmd line:
2009-03-06 12:05:33.468 VERBOSE [1] MovieWiz: Activate()- Waiting for Activate Pgm to terminate...
....
2009-03-06 12:05:33.703 VERBOSE [1] MovieWiz: Activate()- Activate Pgm (C:\Program Files\GBPVR\Plugins\Wake_on_Lan.exe) completed with return code: 9152
First, I don't see a command line argument (ie your ip or mac address). Also, I suspect the WOL program returns immediately without insuring the target system responded to the command.

I would recommend putting the program in a batch file and performing the ping as you outlined below.
iwan
Offline

Member

Posts: 138
Threads: 13
Joined: Jan 2006
#12
2009-03-07, 08:56 AM
JavaWiz Wrote:Looks like the WOL call is returning almost immediately (<.3 secs):

First, I don't see a command line argument (ie your ip or mac address). Also, I suspect the WOL program returns immediately without insuring the target system responded to the command.

I would recommend putting the program in a batch file and performing the ping as you outlined below.

I have been using a compiled version of the batch file I outlined above, so no command line arguments needed here.

IIRC, earlier versions of MW wouldn't accept .bat - files, that's why I've actually been using an .exe .

Just checked with the batch file - everything works as expected.
Is there any particular reason for this different behavior ? When choosing the .exe, MW doesn't wait for the wake_on_lan to terminate (the wake_on_lan continues running in the foreground), when choosing the .bat MW sits back nicely until the wake_on_lan is done.
[SIZE="0"]
GBPVR 1.3.11 · Loewe Xemix 5106 DVD Player Case · Noritake 20045 Series 4x20 VFD · Win XP HomePro
AOpen i915GMm-HFS · Pentium Mobile 1.7 GHz · Pinnacle DVB-T · Matsushita SlimLime DVD · 160 GB 2.5" Fujitsu Hornet
Plugins: Movie Wizard · External Display · TV Listings
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#13
2009-03-07, 05:41 PM
iwan Wrote:I have been using a compiled version of the batch file I outlined above, so no command line arguments needed here.

IIRC, earlier versions of MW wouldn't accept .bat - files, that's why I've actually been using an .exe .

Just checked with the batch file - everything works as expected.
Is there any particular reason for this different behavior ? When choosing the .exe, MW doesn't wait for the wake_on_lan to terminate (the wake_on_lan continues running in the foreground), when choosing the .bat MW sits back nicely until the wake_on_lan is done.
Not sure why your .exe does not work. How did you compile the batch file? The program launches the process, then blockes until the process completes. Not quite sure how your .exe works, so there must be something odd occuring with the executable.

I'll try and re-create here once I understand how you convert .bat into .exe.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode