in

andy vt's tools & blog

Automating lazy

"Object reference not set" error with Advanced Rename

Last post 12-31-2008 10:01 PM by onlydarksets. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 12-26-2008 2:41 AM

    "Object reference not set" error with Advanced Rename

    I can't get Advanced Rename to work as of today.  I noticed the error with 1.2.1.4, but upgrading to 1.2.1.5 didn't help.  I'm trying this with a bare-bones profile that uses only the Advanced Rename action (see screenshot).

    I may be that it's 5a, but I'm not seeing the problem. Both files exist, and the metadata exists in the XML file.  I'll take another look tomorrow (today?), but I thought I'd drop a quick post in case I am missing something obvious.

    Thanks!


  • 12-26-2008 11:31 AM In reply to

    Re: "Object reference not set" error with Advanced Rename

    OK, found it.  I was only using Christmas specials, which, apparently, do not have an episode name.  So, the action was trying to read a property that didn't exist.  Removing that fixed it.

  • 12-26-2008 11:46 AM In reply to

    Re: "Object reference not set" error with Advanced Rename

    BTW, to get around it, just add a second action to "try" the alternate rename.  That is, if the end goal is "Fringe - 2008-11-26 - The Dreamscape.mp4", call AdvancedRename twice:

    • First rename to just %Title% - %originalAirDate%
    • Then, rename to %Title% - %originalAirDate% - %episode%, but select "Continue on fail"

    Now, the profile will rename it to "Fringe - 2008-11-26.mp4".  Then, it will try to rename it to "Fringe - 2008-11-26 - The Dreamscape.mp4".  However, if the %episode% tag doesn't exist, it will still have "Fringe - 2008-11-26.mp4", instead of failing completely or leaving you with "Fringe-TheDreamscape-1355194-0.mp4".

  • 12-29-2008 7:28 PM In reply to

    Re: "Object reference not set" error with Advanced Rename

    Bug, it should be there regardless.  I'll fix it for the next rev.
  • 12-30-2008 9:37 AM In reply to

    Re: "Object reference not set" error with Advanced Rename

    Thanks!
  • 12-30-2008 8:42 PM In reply to

    Re: "Object reference not set" error with Advanced Rename

    this should be fixed in 1.2.1.6; did you get a chance to try it out?
  • 12-31-2008 10:01 PM In reply to

    Re: "Object reference not set" error with Advanced Rename

     No, not yet.  Happy new year!

Page 1 of 1 (7 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems