Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next
Plugin: Freestyle Cast/Crew Edit
Author Message
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
This tool has nothing to do with IMDb or any downloadable data.

It's just an editor that has a grid function where you can copy/paste/append cast and crew data and edit it more freely that in DVD Profiler itself.

Please keep in mind that it's an early version and probably contains errors.

Suggestions for improvement are of course welcome.

Freestyle Cast/Crew Edit
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Unlimited RegistrantTraunStaa
Registered: June 2, 2009
Reputation: Highest Rating
Austria Posts: 306
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Downloaded it and will play around with it as I'm a big fan of your other utils 
DVD Profiler Desktop and Mobile RegistrantStar Contributorhal9g
Who is John Galt?
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 6,635
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
DJ,

Your timing is perfect.  I've been using Tom Gaines Cast/Crew Editor, but it no longer works since I upgraded to Windows 7 and MS Office 2007 over the weekend.

I'll give it a try and let you know if I have any problems!

Thanks.
Hal
DVD Profiler Desktop and Mobile RegistrantStar Contributorhal9g
Who is John Galt?
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 6,635
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
I copied cast with dividers from your program to DVDP.  While it inserted the dividers in DVDP, it "lost" the episode titles.  All of the dividers were blank.

When I tried copying crew (with dividers) I got this error:

"There was an error processing the XML.
        Unrecognized credit type"

When I click on "OK" I get another error:

"There was an error processing the XML.
        The clipboard does not contain valid crew information"

I was copying the cast and crew from another profile without having changed it in any way, other than to append the cast and crew from a second profile to the first.

Once you get this working properly, it will be awesome!!!!!
Hal
 Last edited: by hal9g
DVD Profiler Desktop and Mobile RegistrantStar Contributorhal9g
Who is John Galt?
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 6,635
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Tried copying crew (from a totally different profile) without dividers to a blank profile and got the same errors as described above.
Hal
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting hal9g:
Quote:
I copied cast with dividers from your program to DVDP.  While it inserted the dividers in DVDP, it "lost" the episode titles.  All of the dividers were blank.


Whoops. Stupid beginner mistakes

Try 0.1.1.0
Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile RegistrantStar Contributorhal9g
Who is John Galt?
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 6,635
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Yup, that fixed the problem with the cast dividers.
Hal
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
It should also fix the crew issue.


Anyways, it's past midnite now, I'm going to bed.
Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile RegistrantStar Contributorhal9g
Who is John Galt?
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 6,635
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Crew is now copying correctly as well!!!!

Excellent!!
Hal
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
The XML format of the new version 3.6.0 seems to have become stable, so I released a new version compatible with DVD Profiler 3.6.0. As always, it can be found under http://doena-soft.de/dvdprofiler/index_en.php.
Karsten
DVD Collectors Online

DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Just wanted to say that I've released a new version 2.0.0.0 which is fully integrated in DVD Profiler (i.e. it works as a plugin).

I've built in some consistency checks so that you don't corrupt your database.

I also added an undo/redo system.

And also short keys (thanks Tom!) to make working more efficient.

As usual, it's in the plugins download section.
Karsten
DVD Collectors Online

DVD Profiler Unlimited RegistrantStaNDarD
Registered: March 31, 2007
Germany Posts: 662
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I just downloaded this little tool and I got some feature requests.

1. Make it possible to move more than one row at a time.
I can select multiple rows, but can't move them. Trying to move the selection will move only one row.

2a. Make it it possible to scroll the window while moving a row.
Actually I can move a row only inside the shown rows. To move it a long way I have to move it, scroll the window, move it again...

2b. Otherwise make it possible to cut a selection and paste it at a different position.
Cutting a selection is already possible, but I can only paste it at the end or overwrite all other data.

3. Short key F2 should be edit the selected cell.
This is default behavior in every table-oriented software I've ever used. Right now I have to use left-clicks to edit a cell, because F2 is used to check data validity.

4. DEL key should empty the selected cell, not removing the complete row.
Removing the row should only be done if the row is selected.

5. In crew: if category is not set and I jump to role with TAB key I get an unhandled exception.
It seems it tries to set drop-down-items but can't because category is not set.

6. Undo/redo will stop working after X changes.
It seems that undo/redo will save the first X changes instead of the latest X changes. I stumbled on this in the external tool (started with the start-menu) after I deleted a row by mistake and tried to undo. I was thrown a lot of changes back. Then I edited another movie without closing the tool down and again deleted a row by mistake and tried to undo and was thrown to the same point I was thrown before, which means all data from the first movie was set again.
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
1) I'm using the WindowsForms.DataGridView which sadly has only limited functions. I don't know how to move more than one row at a time. 

2a) Found a code snippet which enables that. 

2b) That should be possible.

3) The function was already there but I had overriden it with my own F2 key. Moved the function to Shift-F2

4) Done. 

5) I can't seem to reproduce that. I'm never in a state where Category is not set. Can you give me an example on how to achieve this?

6) I cannot reproduce this either. The Undo stack is implemented as LIFO - as it should be and it's always the oldest element that gets remved once the stack reaches its limit (currently: 25 changes).
Karsten
DVD Collectors Online

DVD Profiler Unlimited RegistrantStaNDarD
Registered: March 31, 2007
Germany Posts: 662
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
1) I don't know if this works or helps, but I found this.

2a) Thanks.

2b) It's possible with your latest test-build. CTRL+SHIFT+I isn't possible in your official build.

3+4) Two real big Thank you's for those!

5) Select Custom Role in a row, hit F10 to insert an empty row, hit UP followed by SHIFT+TAB. Here's the exception text:
Quote:
************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
  bei DoenaSoft.DVDProfiler.FreestyleCastCrewEdit.EditingPane.OnCrewDataGridViewCellEnter(Object sender, DataGridViewCellEventArgs e) in D:\Files\TFS\Main\DVDProfiler\FreestyleCastCrewEdit\FreestyleCastCrewEditLib\EditingPane.cs:Zeile 938.
  bei System.Windows.Forms.DataGridView.OnCellEnter(DataGridViewCellEventArgs e)
  bei System.Windows.Forms.DataGridView.OnCellEnter(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex)
  bei System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick)
  bei System.Windows.Forms.DataGridView.TabToPreviousCell()
  bei System.Windows.Forms.DataGridView.ProcessTabKey(Keys keyData)
  bei System.Windows.Forms.DataGridView.ProcessDataGridViewKey(KeyEventArgs e)
  bei System.Windows.Forms.DataGridView.OnKeyDown(KeyEventArgs e)
  bei DoenaSoft.DVDProfiler.FreestyleCastCrewEdit.CustomDataGridView.OnKeyDown(KeyEventArgs e) in D:\Files\TFS\Main\DVDProfiler\FreestyleCastCrewEdit\FreestyleCastCrewEditLib\CustomDataGridView.cs:Zeile 531.
  bei System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
  bei System.Windows.Forms.DataGridView.ProcessKeyEventArgs(Message& m)
  bei System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
  bei System.Windows.Forms.Control.WmKeyChar(Message& m)
  bei System.Windows.Forms.Control.WndProc(Message& m)
  bei System.Windows.Forms.DataGridView.WndProc(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

When I select the last row, Category and Role are automatically filled with 'Other' and 'Custom'. Inserting a line with F10 doesn't do that.

6) It seems to be related to the error mentioned in #5. After this Undo/Redo won't be updated anymore.

7) Inserting a row by hitting F10 isn't recognized as a undoable/redoable change.
Edit: It's also not recognized if done in the menu.

8) Maybe it's possible to add two more hotkeys: CTRL+Page Up / CTRL+Page Down to move a selection directly to the top / bottom of the list?
 Last edited: by StaNDarD
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting StaNDarD:
Quote:
2b) It's possible with your latest test-build. CTRL+SHIFT+I isn't possible in your official build.


What I meant to say was "that should be possible to implement" hence it was in the test build.

Quote:

5) Select Custom Role in a row, hit F10 to insert an empty row, hit UP followed by SHIFT+TAB. Here's the exception text

When I select the last row, Category and Role are automatically filled with 'Other' and 'Custom'. Inserting a line with F10 doesn't do that.


Now it does.

Quote:

6) It seems to be related to the error mentioned in #5. After this Undo/Redo won't be updated anymore.


Ok, let's hope the error is gone then.

Quote:

7) Inserting a row by hitting F10 isn't recognized as a undoable/redoable change.
Edit: It's also not recognized if done in the menu.

It wasn't because I didn't deem it necessary.
Now it is.

Quote:

8) Maybe it's possible to add two more hotkeys: CTRL+Page Up / CTRL+Page Down to move a selection directly to the top / bottom of the list?


Couldn't get the multiple row dragon loot, erm, I mean drag'n'drop to work with my existing code but I implemented a simple Cut and Insert function which essentially does the same.
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Unlimited RegistrantStaNDarD
Registered: March 31, 2007
Germany Posts: 662
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Cool, thanks again.
    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next