Welcome Guest Search | Active Topics | Members | Log In | Register

Bulk setting of the "Watched" property Options · View
marcdeo
Posted: Monday, July 09, 2012 2:45:59 PM
Groups: Member

Joined: 7/3/2012
Posts: 23

Rank:
Rank based on contribution points and purchased points. Click to see details. (2549)
Hi,
Is there some way to update all my movies with the same property? I have registered my entire collection of 550 dvds and blurays but they all have the Watched property set to "No" while I have seen all of them except a few.
I understand that Watched is set to "No" as a default because a new movie is usually not watched to begin with, but in the case that an old collection is being added to My Movies it would be very useful to be able to set all movies to Watched = Yes without having to update 550 movies individually.
Let me know if and how this can be done.
Regards,
Marc
mrwonker
Posted: Monday, July 09, 2012 2:52:21 PM

Groups: Member

Joined: 1/10/2010
Posts: 837

Rank:
Rank based on contribution points and purchased points. Click to see details. (834)
marcdeo wrote:
Hi,
Is there some way to update all my movies with the same property? I have registered my entire collection of 550 dvds and blurays but they all have the Watched property set to "No" while I have seen all of them except a few.
I understand that Watched is set to "No" as a default because a new movie is usually not watched to begin with, but in the case that an old collection is being added to My Movies it would be very useful to be able to set all movies to Watched = Yes without having to update 550 movies individually.
Let me know if and how this can be done.
Regards,
Marc


I can help you on this I will pm you when I am next infront of my pc.

my advice is given to help, my advice might not always be the best solution but is given to the best of my knowledge, my advice is not always approved by MyMovies and often isn't, if my advice ever suggests changing in any way a title from what is contributed on the webservice please insure no invalid changes are contributed, please read the following guides Disc Title Contribution Guide, Contribution Introduction, TV Series Contribution Guide
cchris1986
Posted: Monday, July 09, 2012 3:07:31 PM
Groups: Member

Joined: 5/11/2012
Posts: 63
Location: Germany

Rank:
Rank based on contribution points and purchased points. Click to see details. (1634)
i'm interested in this, too - because i have set the "watched" status this weekend for each profile separatly - and that's not a funny work at all :D

MyCollection

Photogallery
mrwonker
Posted: Monday, July 09, 2012 5:37:22 PM

Groups: Member

Joined: 1/10/2010
Posts: 837

Rank:
Rank based on contribution points and purchased points. Click to see details. (834)
Ok right here go's

You can do this by using a program called Autohotkey it is basically a form of script writing that is very user friendly, you can do all sorts with it but as far as this situation go's basically we're just going to use it to repeat a combination of keypresses and mouse clicks.

once you have installed the software create a new text document and paste in the below script


Code:

WinWait, My Movies - Collection Management,
IfWinNotActive, My Movies - Collection Management, , WinActivate, My Movies - Collection Management,
WinWaitActive, My Movies - Collection Management,

InputBox, count,, Enter how many times to loop for

Loop, % count


{
WinWait, My Movies - Collection Management,
IfWinNotActive, My Movies - Collection Management, , WinActivate, My Movies - Collection Management,
WinWaitActive, My Movies - Collection Management,
MouseClick, left,  618,  620 ; clicks mouse on personal data
Sleep, 100
WinWait, Edit Personal Information,
IfWinNotActive, Edit Personal Information, , WinActivate, Edit Personal Information,
WinWaitActive, Edit Personal Information,
MouseClick, left,  144,  225 ; clicks mouse on watched check box
Sleep, 100
MouseClick, left,  639,  524 ; clicks mouse on ok to exit personal data
Sleep, 100
WinWait, My Movies - Collection Management,
IfWinNotActive, My Movies - Collection Management, , WinActivate, My Movies - Collection Management,
WinWaitActive, My Movies - Collection Management,
MouseClick, left,  642,  651 ; clicks mouse on save title
Sleep, 100
Send, {SHIFTDOWN}{TAB  2}{SHIFTUP}{Down}
}

F1::RELOAD

Esc::ExitApp


now save the text file and change the extension from .txt to .ahk the icon should change to one with a green H, if your using the standalone version you may need to associate .ahk files to the Autohotkey program.

because this script sends mouse clicks it will only send them correctly if you have your screen resolution set to 1280x720 so either change your resolution or change the script to suit, you will see in the script a total of 4 mouse clicks and at the side it says what each or doing if you want to modify it to suit a different resolution these will need changing, to find the correct position for the clicks you can use the autosriptwriter program which comes with autohotkey, just click record and click where you want to find the coordinates for, click stop and it will be displayed in the window.

It is a shame that the watched tick box can only be altered by a mouse click if it could have been changed by pressing enter I could have wrote the whole script using just tab presses then it would have been able to work cross resolutions.

next have collection management open and in full screen drag the right edge of the title pane on the left to the right so it is fully expanded (double check its fully expanded as you can sometimes get it a little further after you come off first time) this step is because sometimes when I've been using cm I sometimes change the length of this pane so rather than restarting cm to get the default length back I use this method. we do this to ensure the clicks in the right hand pane land at the rcorrect spots.

now all the titles you wish to batch change must all to be together in cm if there not and you can't get them together by filtering you could ctrl select the titles that want changing once selected right click one of the sleected titles and add them all to a custom category then filter for this category.

now select the uppermost title that wants to be changed and run the script (make sure you leave cm in full screen) a message box will open asking how many times you wish to loop for, enter how many titles you wish to change in this box.

it will start going through your titles one by one and changing the watched status, note that it will change whatever is currently set to the opposite so this script can be used to batch change from unwatched to watched or the other way round.

at any point whilst the script is running you wish it to stop just press the escape key, If when the script has finished you want to use it again as long as you havent closed the sys tray icon or pressed escape you can reload the script by pressing f1.

my advice is given to help, my advice might not always be the best solution but is given to the best of my knowledge, my advice is not always approved by MyMovies and often isn't, if my advice ever suggests changing in any way a title from what is contributed on the webservice please insure no invalid changes are contributed, please read the following guides Disc Title Contribution Guide, Contribution Introduction, TV Series Contribution Guide
jctcom
Posted: Monday, July 09, 2012 7:19:01 PM
Groups: Member

Joined: 12/26/2011
Posts: 178

Rank:
Rank based on contribution points and purchased points. Click to see details. (6037)
mrwonker wrote:


It is a shame that the watched tick box can only be altered by a mouse click if it could have been changed by pressing enter I could have wrote the whole script using just tab presses then it would have been able to work cross resolutions.

.


Hey Mrwonker.

Since it works using the space bar can't you still write the space using tab presses?

Carl.


My Movies

My Music

mrwonker
Posted: Monday, July 09, 2012 8:40:59 PM

Groups: Member

Joined: 1/10/2010
Posts: 837

Rank:
Rank based on contribution points and purchased points. Click to see details. (834)
jctcom wrote:
mrwonker wrote:


It is a shame that the watched tick box can only be altered by a mouse click if it could have been changed by pressing enter I could have wrote the whole script using just tab presses then it would have been able to work cross resolutions.

.


Hey Mrwonker.

Since it works using the space bar can't you still write the space using tab presses?

Carl.


does it I'm sure I'd tried that before, when I get back to my pc late tonight I'll have a look at that if so can certainly be done to work on any resolution. In which case I could make it a .exe and upload it to the forum.

my advice is given to help, my advice might not always be the best solution but is given to the best of my knowledge, my advice is not always approved by MyMovies and often isn't, if my advice ever suggests changing in any way a title from what is contributed on the webservice please insure no invalid changes are contributed, please read the following guides Disc Title Contribution Guide, Contribution Introduction, TV Series Contribution Guide
mrwonker
Posted: Tuesday, July 10, 2012 2:21:39 AM

Groups: Member

Joined: 1/10/2010
Posts: 837

Rank:
Rank based on contribution points and purchased points. Click to see details. (834)
ok I've created a .exe program and uploaded it on the forum in a seperate thread all you have to do now is open cm select the top title run the program and select how many subsequent titles you wish to change, will work on any resolution and no need to expand the left hand pane. here is the link program to batch change watched status

my advice is given to help, my advice might not always be the best solution but is given to the best of my knowledge, my advice is not always approved by MyMovies and often isn't, if my advice ever suggests changing in any way a title from what is contributed on the webservice please insure no invalid changes are contributed, please read the following guides Disc Title Contribution Guide, Contribution Introduction, TV Series Contribution Guide
jctcom
Posted: Tuesday, July 10, 2012 7:40:36 AM
Groups: Member

Joined: 12/26/2011
Posts: 178

Rank:
Rank based on contribution points and purchased points. Click to see details. (6037)
Just wanted to double check.

1. I am assuming that if we create a filter to narrow down the movies that we want to change the setting on that it will only do the changes on the displayed movies?

2. I am also assuming that if there are any titles in the movie selection that are already marked as "Watched" it would actually un-check those and change them to unwatched? So at the very least people would probably want to create a filter that only displays "Unwatched" movies right?

Please let me know if I am incorrect in these guesses on my part.

Carl.


My Movies

My Music

mrwonker
Posted: Tuesday, July 10, 2012 10:40:27 AM

Groups: Member

Joined: 1/10/2010
Posts: 837

Rank:
Rank based on contribution points and purchased points. Click to see details. (834)
jctcom wrote:
Just wanted to double check.

1. I am assuming that if we create a filter to narrow down the movies that we want to change the setting on that it will only do the changes on the displayed movies?

2. I am also assuming that if there are any titles in the movie selection that are already marked as "Watched" it would actually un-check those and change them to unwatched? So at the very least people would probably want to create a filter that only displays "Unwatched" movies right?

Please let me know if I am incorrect in these guesses on my part.

Carl.


1. yes the program will work its way down the list to however many titles the user inputs.

2. yes if its only unwatched titles that the user wishes to change to watched it would be best to at least use a fileter with the check box selecting unwatched.

my advice is given to help, my advice might not always be the best solution but is given to the best of my knowledge, my advice is not always approved by MyMovies and often isn't, if my advice ever suggests changing in any way a title from what is contributed on the webservice please insure no invalid changes are contributed, please read the following guides Disc Title Contribution Guide, Contribution Introduction, TV Series Contribution Guide
marcdeo
Posted: Tuesday, July 10, 2012 9:50:51 PM
Groups: Member

Joined: 7/3/2012
Posts: 23

Rank:
Rank based on contribution points and purchased points. Click to see details. (2549)
Thanks! That woked just like you said.
Regards,
Marc
mrwonker
Posted: Tuesday, July 10, 2012 9:58:37 PM

Groups: Member

Joined: 1/10/2010
Posts: 837

Rank:
Rank based on contribution points and purchased points. Click to see details. (834)
marcdeo wrote:
Thanks! That woked just like you said.
Regards,
Marc


happy to help, if you could write a comment on the other thread so other users thinking of using the prog can see some feedback that would be great.

my advice is given to help, my advice might not always be the best solution but is given to the best of my knowledge, my advice is not always approved by MyMovies and often isn't, if my advice ever suggests changing in any way a title from what is contributed on the webservice please insure no invalid changes are contributed, please read the following guides Disc Title Contribution Guide, Contribution Introduction, TV Series Contribution Guide
Users browsing this topic
guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.0 (NET v2.0) - 10/10/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.