+ Reply to Thread
Results 1 to 7 of 7

Thread: vidImport NPVR key / Install directory not found (Windows/7)

  1. #1
    Join Date
    Dec 2006
    Location
    Alberta, Canada and Mesa, Arizona
    Posts
    21

    vidImport NPVR key / Install directory not found (Windows/7)

    As the guide suggests, I installed the vidImport.exe in the NPVR folder (C:\Program Files (x86)\NPVR\NextPVR.exe).
    Later, after hours of reading, I found out that the vidImport.exe can reside anywhere.

    It would make sense to me that if it is restricted to the NPVR.exe folder, that would be easier to recognize the location of NextPVR.exe, ie, the active folder. Or, at least, try the default installation folder.

    In post #157 in the legacy thread, someone else had the same problem.
    ---------------------------------------------------------------------------------------------------

    2011-09-06, 03:03 PM #157 BrettB

    Carpe,

    I haven't had to use VidImport in quite a while until today (NPVR has been working pretty well!). So, now I've got some feedback/requests...

    1. I think that with NPVR, the internal times (and hence export/import) are in UTC. I'm guessing that your local timezone is GMT, which is why it is working OK for you?
    2. For NPVR, the final import command (for me on 64-bit) should be "C:\Program Files (x86)\NPVR\NextPVR.exe -import". If you could detect/update that, it would be great.

    ----------------------------------------------------------------------------------------------------

    It might seem that the problem shows up on some Windows/7 systems.

    Do you have a way to circumvent this problem?

    I've attached a print screen of the sequence when issued from an elevated command prompt.
    Attached Images Attached Images  

  2. #2
    Join Date
    Dec 2006
    Posts
    813
    It looks like I am using the wrong key for win7 - it is looking at the data directory and not the executable directory. I will take a look and see if I can update it to find the exe correctly.

    The location for vidImport does not need to be restricted - I often put it in a video directory to make drag and drop easier.

    CV

  3. #3
    Join Date
    Dec 2006
    Location
    Alberta, Canada and Mesa, Arizona
    Posts
    21
    Great, I'll give it a try when you get this corrected.

  4. #4
    Join Date
    Jan 2007
    Posts
    8
    Morning CV,

    Did you end up producing a new version of vidImport that looks for the NextPVR.exe in the install path instead of in the data directory for Windows 7 (64bit in my case)? I'm running into this same exception:

    Code:
    Executing C:\Users\Public\NPVR\\NextPVR -import:"videos.xml"
    
    Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at videoImport.Program.importFromGbpvr()
       at videoImport.Program.clMain()
       at videoImport.Program.Main(String[] args)
    Also, another strange one (I don't want to hijack this thread. Let me know if you want me to create a new thread). If I try and create the import.xml for a file not produced by NextPVR (IE, downloaded) it crashes when trying to access tmdb / imdb / tvRage / thetvdb:

    Code:
    Adding American.Horror.Story.S02E06.HD.TV-.mkv to list of recordings.
      Searching for title: American.Horror.Story, subtitle: E01.720p.BluRay- s01e01 on TVRage
    Retrieving thedvdb.com mirror list
    Retrieving thedvdb.com series ID for: American.Horror.Story :: 2012
    
    Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at videoImport.Program.getImdbInfo(ArrayList rList, Boolean overrideMeta)
       at videoImport.Program.clMain()
       at videoImport.Program.Main(String[] args)
    Any ideas? I don't have vidImport in the NextPVR install directory (C:\Program Files (x86)\NPVR) but rather in the data directory (C:\Users\Public\NPVR\Utilities\VidImport)

    Thank you,

    Graham.

  5. #5
    Join Date
    Dec 2006
    Posts
    813
    Try the latest version - the first issue is fixed. The second was the file name all the .'s confused it since they are separators for episode season etc. and while it handles them what it did is it replaced them with "" so there was no show americanhorrorstory, now it is replacing them with a space but that may mess up other filenames.

    CV

  6. #6
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    464
    Quote Originally Posted by carpeVideo View Post
    Try the latest version - the first issue is fixed. The second was the file name all the .'s confused it since they are separators for episode season etc. and while it handles them what it did is it replaced them with "" so there was no show americanhorrorstory, now it is replacing them with a space but that may mess up other filenames.
    CV,

    I just downloaded and tried "the latest version" from the WIKI. It has a date of 12/1/2012. However, I still get the same error:
    Code:
    C:\Users\BrettB>"C:\users\public\npvr\plugins\vidimport\vidimport.exe" "D:\NPVR
    Recordings\Greys Anatomy\Grey's Anatomy .S08E21.Moment of Truth.ts"
    vidImport.exe version 1.60
    GBPVR/NPVR key / install directory not found
    Settings used:
     ----> Gbprv Dir = C:\Users\Public\NPVR\
     ----> Gbpvr Recording File = C:\Users\Public\NPVR\recording-backup.xml
     ----> Show File = C:\Users\Public\NPVR\showDetail.txt
     ----> Autoimport = True
     ----> XmlOut = videos.xml
     ----> Series Only = False
     ----> ImdbLookup = True
     ----> Autoimport = True
     ----> Season Prefix = s
     ----> Episode Prefix = e
     ----> Episode Suffix = .
     ----> Write NFO = False
     ----> Video extensions = avi~mpg~ts~mp4~mkv~mpeg~dvr-ms~wmv~divx~ifo~mov~dvrms~
    mov~flv
     ----> Include Season in Episode = False
     ----> Starting dir/file = D:\NPVR Recordings\Greys Anatomy\Grey's Anatomy .S08E
    21.Moment of Truth.ts
    Reading showfile C:\Users\Public\NPVR\showDetail.txt
    Checking for gbpvr export file:C:\Users\Public\NPVR\recording-backup.xml
    Reading gbpvr export: C:\Users\Public\NPVR\recording-backup.xml
    Adding single file: D:\NPVR Recordings\Greys Anatomy\Grey's Anatomy .S08E21.Mome
    nt of Truth.ts
    Skipping imdb/TVrage/theTvDb lookup on: Grey's Anatomy *::Moment of Truth - desc
    ription already exists.
    Executing C:\Users\Public\NPVR\\NextPVR -import:"videos.xml"
    
    Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot fin
    d the file specified
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startI
    nfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at videoImport.Program.importFromGbpvr()
       at videoImport.Program.clMain()
       at videoImport.Program.Main(String[] args)
    Also, I noticed that it still shows "vidImport.exe version 1.60".

    - Brett

  7. #7
    Join Date
    Dec 2006
    Posts
    813
    Hmm I did upload a later version - attached just in case , still need to do the date conversion
    Attached Files Attached Files
    Last edited by carpeVideo; 2012-12-02 at 12:52 PM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts