google-code-export / my-films

Automatically exported from code.google.com/p/my-films
0 stars 0 forks source link

Autorun AMCU when plugin starts #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just like in TV-Series plugin so new films would be added to the database 
automatically.

Original issue reported on code.google.com by zavulon...@gmail.com on 9 Nov 2012 at 10:31

GoogleCodeExporter commented 9 years ago
I hope this will only be an option I for 1 would not want AMCU to run 
automatically.

Original comment by Ted98...@gmail.com on 18 Nov 2012 at 10:17

GoogleCodeExporter commented 9 years ago
Actually there was a setting (optional) called Import Watcher in AMCU but it 
has been broken for a while so was removed in (hidden) in 6.0.1 as no one ever 
reported it wasn't working. - See Issue #237: AMCU Import Watcher does not work.

So that could be the 'option' to enable/disable.

@zavulonsrv - Would you expect auto add to work whenever you open MyFilms? 
Whenever you open AMCU or both?

Original comment by Dade...@gmail.com on 18 Nov 2012 at 11:12

GoogleCodeExporter commented 9 years ago
In ideal case, I wouldn't have to use AMCU after the first time.
As I said, I would use MyFilms just the way as I use TV-Series and Moving 
Pictures:
MePo GUI only, no manual import/update/refresh... and using remote only, no 
keyboard,
mouse.
If I put a new movie in my folder, I just want it to be shown automatically.
I think it's a standard :-)

Original comment by zavulon...@gmail.com on 19 Nov 2012 at 9:19

GoogleCodeExporter commented 9 years ago
- setting has to be optional, as there is many ppl like Ted not want things to 
happen automatically - no problem
- Other than the watcher in AMCupdater (which is designed for a central setup 
outside MePo standalone), for most users, a "selfcontained" solution is 
preferred, so we're talking about option to start AMCU backround import process 
on plugin start - and possible a watcher that initiates that automatically when 
movie is added.

Original comment by Guzz...@googlemail.com on 23 Nov 2012 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by Guzz...@googlemail.com on 24 Nov 2012 at 10:54

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2766.

Original comment by Mikeplan...@web.de on 24 Nov 2012 at 11:41

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2786.

Original comment by Mikeplan...@web.de on 6 Dec 2012 at 9:47

GoogleCodeExporter commented 9 years ago
I updated the docs with screenshot and more details - Please review! :
http://wiki.team-mediaportal.com/index.php?title=1_MEDIAPORTAL_1/17_Extensions/3
_Plugins/My_Films/00_What%27s_New/Version_6.1#Auto_Import_new_movies

I assume the scan/watcher options use the GUI setting - i.e Import behaviour in 
MyFilms (in AMCU Import Movies tab)? Please confirm.

We have added many settings to Global Settings in GUI for 6.1. Is there any 
benefit (or risk!) to adding these as well?

Original comment by Dade...@gmail.com on 13 Jul 2013 at 4:49

GoogleCodeExporter commented 9 years ago
Works very nicely! And does it per config - so only once you open that config!  

BUT AMCU activates UAC in Windows, so you get windows dialog and have to 
confirm! :(

I'm scared to see what happens if I have Watch Scan paths enabled, and add a 
movie during playback!! And UAC dialog interrupts! EEK!

This applies to Global Updates as well. Odd that no one ever reported that. ;) 
Unless it is new behaviour in Windows 8/8.1 (dunno, I always had UAC disabled 
in Win 7)

However, UAC does NOT display dialog when I use Desktop Shortcut for AMCU 
(which I usually use) but it does when I press Import button in MF Setup :( 
(PITA! LOL) I wonder why, and if there is some way to use that to avoid UAC for 
AMCU?

Minor issue is you get the dialog message for start/finish Global update even 
if there are no updates. I doubt there is a way around that since AMCU has to 
open to check if there are updates. However, maybe we could avoid that dialog 
now? or make it less obtrusive. The Status message displays IF global update is 
active and is much less 'in your face'

I'm not sure I should verify this issue until we sort out a solution for UAC!

Original comment by Dade...@gmail.com on 22 Jun 2014 at 9:58

GoogleCodeExporter commented 9 years ago
I never got any UAC dialog - but using XP and Win7, so might indeed be related 
to Win8/8.1 - but I can't reproduce it unfortunately.
Can you explain the minor issue a bit more step by step?

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 10:47

GoogleCodeExporter commented 9 years ago
Re: "I assume the scan/watcher options use the GUI setting - i.e Import 
behaviour in MyFilms (in AMCU Import Movies tab)? Please confirm."
The watcher iirc always uses the GUI import settings - and there is only one 
option: Import if no automatic match found. So you're asking, if that option 
should be in MFGUI? Imho, that is not worth it, as you either want all them to 
import - or not. 

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 11:04

GoogleCodeExporter commented 9 years ago
Re UAC again: "However, UAC does display dialog when I press Import button in 
MF Setup"
I tried on my dev machine, which is Win8 - ther is no such dialog (but I am 
administrator, so probably does not need to elevate privileges...)!?

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 11:06

GoogleCodeExporter commented 9 years ago
id some reading - can you try to add a manifest file to the executable, that 
makes sure invokation is used in caller context?

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 11:49

GoogleCodeExporter commented 9 years ago
Well I am administrator to, but it's possible it is not running AMCUpdater.exe 
as Admin.
Normally for any .exe file I have a Compatibility tab in properties which 
allows me to specify 'Run as Administrator'. But AMCUpdater.exe properties does 
not have that tab. :S

If I double click on AMCUpdater.exe  (in program files), I do NOT get UAC 
prompt. Only when I access it via MF Setup or GUI! 

I have no clue what a manifest file is! To make sure I test what you want, 
could you provide a link?

Original comment by Dade...@gmail.com on 22 Jun 2014 at 12:19

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3041.

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 1:39

GoogleCodeExporter commented 9 years ago
With newer win versions, even administrator runs with limited privileges by 
default.
re manifest - see here:
https://code.google.com/p/my-films/source/browse/trunk/AMCupdater/AMCUpdater/My%
20Project/app.manifest
I could also try to remove the "runas" option and see what happens - 
unfortunately I can't test, as I cannot reproduce it.

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 1:41

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3045.

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 9:12

GoogleCodeExporter commented 9 years ago
Haven't been able to test 3045 yet, but problem still exists in 3041.

Re the 'minor issue' of dialog displays:
1. Select Scan on Startup in Setup
2. Open MF and wait for Delay

Even if there are no movies to add you see:
1. File system info: Global Update started
2. After a second global update active'
3. After another second 'Import Update all Movies (AMCupdater) Global Update 
Finished.
See attached file for screenshots

This all makes sense if there are updates, but not every time you open MF even 
though there are no updates.

Original comment by Dade...@gmail.com on 22 Jun 2014 at 10:31

Attachments:

GoogleCodeExporter commented 9 years ago
About UAC, perhaps it is only some setting/issue on my Win 8.1 install/account?
If so, it is not a problem for me personally (I am happy to disable UAC)
Perhaps we should release this and see if/how many users run into it?

Original comment by Dade...@gmail.com on 22 Jun 2014 at 10:41

GoogleCodeExporter commented 9 years ago
Re displays: Should we disable those notifications on the automatic background 
activities and only show them, if it is manually launched? Problem is, that 
Updater doesn't know in advance, if there are any updates - and in reality, it 
takes quite some time - Samplemovies might be fast, but an update with movies 
on NAS might take several minutes. But I understand, that this behaviour is 
"expected", but "annoying", right?

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 11:07

GoogleCodeExporter commented 9 years ago
Re UAC - please once test the next version, if it brings any changes - other 
than that I am fine with your suggestion to see what other users say.

Original comment by Guzz...@googlemail.com on 22 Jun 2014 at 11:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3050.

Original comment by Guzz...@googlemail.com on 24 Jun 2014 at 8:20

GoogleCodeExporter commented 9 years ago
verified using build 3056 - no more UAC popup in GUI with Scan on startup 
enabled (or when selecting Global Updates)

Docs updated: 
http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/My_Film
s/4_MyFilms_Setup/6_Import_Tab
http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/My_Film
s/3_Using_My_Films/z_Importing_new_Films

Original comment by Dade...@gmail.com on 25 Jun 2014 at 6:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3059.

Original comment by Guzz...@googlemail.com on 25 Jun 2014 at 8:58

GoogleCodeExporter commented 9 years ago
Verified - no more UAC prompt when opening AMCU via import button in Setup! 
Congrats! Nice work!

Removed testmode label as we forgot to before!

Original comment by Dade...@gmail.com on 25 Jun 2014 at 12:27

GoogleCodeExporter commented 9 years ago
Great to hear.
re testmode - it is strange, selecting that label in the issue overview as 
filter seems to not show all issues, that have that label ...

Original comment by Guzz...@googlemail.com on 25 Jun 2014 at 8:23

GoogleCodeExporter commented 9 years ago
Example? I don't see any more than that one issue #243 left in test mode.
Are you searching all issues for label:Testmode?

Original comment by Dade...@gmail.com on 25 Jun 2014 at 9:50

GoogleCodeExporter commented 9 years ago
No more examples - I changed all after going through them manually... and yes, 
was using that search...

Original comment by Guzz...@googlemail.com on 25 Jun 2014 at 10:39