damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Importer can wake up sleeping NAS devices #507

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to investigate if the importer needs to be adjusted in the 
scanning/watcher area. Watchers should probably not reconnect 
automatically when an import path is down because the device it sits is 
suspended (else it would wake it up again - in fact keeping it awake). We 
need more cooperation with the monitor in this area where the monitor 
signals when a path goes in/out of suspend.

Original issue reported on code.google.com by apond...@gmail.com on 11 Aug 2009 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 13 Aug 2009 at 2:02

GoogleCodeExporter commented 9 years ago
I was thinking about this today and I think perhaps it's not the watchers that 
cause
the NAS to wake up at all, perhaps it is our device monitor logic? I suspect 
the act
of checking if a device has gone offline, wakes it up. There could of course be 
an
issue with the watchers as well, but it occured to me that the device monitor 
may be
the real issue.

Original comment by conrad.john on 16 Sep 2009 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 16 Sep 2009 at 8:32

GoogleCodeExporter commented 9 years ago
I also thought about that yes... if this is true then i suggest one of the 
following:

a) I have developed an improved WMI based monitor that detects every change, i 
would 
definately want to try that (i have source code and a console test to check it 
out)
b) we listen to watcher events and shut down the check for the device when the 
path 
goes down or the system signals the devices is sleeping.
c) Back to the WndProc and hidden form and figure out why we miss out on the 
events 
like before

Original comment by apond...@gmail.com on 16 Sep 2009 at 9:45

GoogleCodeExporter commented 9 years ago
Retagged the version number for this issue. This is not a rescheduling, we 
are just changing our version number scale.

Original comment by conrad.john on 29 Nov 2009 at 8:15

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 31 Jan 2011 at 1:22