Endless loop with no Internet access
-
doveman
- Posts: 32
- Joined: 2011-09-17 09:58:35
Endless loop with no Internet access
With AMC 4.1.0, if there's no Internet access (in my case the firewall was blocking it) and I try and e.g. run the Update All script it gives a socket error but then keeps trying repeatedly every time I click the error box with no way to quit out of it.
-
soulsnake
- Posts: 756
- Joined: 2011-03-14 15:42:20
- Location: France
-
doveman
- Posts: 32
- Joined: 2011-09-17 09:58:35
-
antp
- Site Admin
- Posts: 9898
- Joined: 2002-05-30 10:13:07
- Location: Brussels
-
bad4u
- Posts: 1148
- Joined: 2006-12-11 22:54:46
Should happen only if you accidentally selected more than one movie when you run the script. Technically the update script wouldn't need a movie to be selected, as it doesn't access movie data in any way, but you cannot run scripts without selecting one. That's why I warned about not selecting more than one movie in the license window which comes up on the first run 
I think holding down the ESC button might speed up finishing the loop if that happens to you (though it still runs through all movies).
I think holding down the ESC button might speed up finishing the loop if that happens to you (though it still runs through all movies).
-
soulsnake
- Posts: 756
- Joined: 2011-03-14 15:42:20
- Location: France
We should modify this script to run update only if it is the first iteration (first selected movie).
For this you can use this test in main:
The problem is that GetIteration function only exists since AMC 4.1.0.
Soulsnake.
For this you can use this test in main:
Code: Select all
if GetIteration = 0 then ... else do nothingSoulsnake.
-
antp
- Site Admin
- Posts: 9898
- Joined: 2002-05-30 10:13:07
- Location: Brussels