NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
1 2 3 4 5 125 Next »
Vidimport

 
  • 0 Vote(s) - 0 Average
Vidimport
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#121
2010-10-26, 04:46 PM
Whoops - try again I re-uploaded it to the same posting
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#122
2010-10-27, 04:41 PM
That one worked! It detected npvr mode without me specifying it. And the generated xml file imported into npvr.

The only problem that I noticed is that "special" characters in the title and description aren't showing up right. Here's a sample from one of the ads metadata.xml files:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<recording>
  <filename>D:\NPVR Videos\Hells Kitchen\Hells Kitchen_20100922_19002100.ts</filename>
  <channel>KMSP-DT</channel>
  <status>READY</status>
  <startTime>2010-09-22 19:00:00</startTime>
  <endTime>2010-09-22 21:00:00</endTime>
  <title>Hell's Kitchen *</title>
  <subtitle></subtitle>
  <description>(Wed, Sep 22, 2010) The 16 chefs prepare their signature dishes in the season's first challenge; a contestant is rushed to the emergency room; guests begin to leave when the dinner service is delayed; an elimination.
   ¤  Actors: Scott Leibfried, Andrea &quot;Andi&quot; Van Willigan</description>
  <uid></uid>
</recording>

In the imported description, the "& #164;" and the "&quot;" appear as literal text strings. I already deleted the show which had an "&" in the title, but showed up as "&amp;" in the title in npvr.
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#123
2010-11-06, 03:21 AM
@carpeVideo

I must not be doing something right. I have some .mpg, .ts and .m2ts videos in d:\recordings.
I tried the following line to import them into NPVR and it crashed with the error listed below.

let me know if you need to see any log files.

C:\Program Files\NPVR>vidImport.exe "d:\recordings" imdb=on import=on writeMetadataXml

Running WinXP MCE sp2.
NPVR 1.5.33
GBPVR 1.2.9

Code:
vidImport.exe version 1.45
GBPVR/NPVR key / install directory not found
Settings used:
----> Gbprv Dir = C:\Documents and Settings\All Users\Application Data\NPVR\
----> Gbpvr Recording File = C:\Documents and Settings\All Users\Application Data\NPVR\recording-ba
ckup.xml
----> Show File = C:\Documents and Settings\All Users\Application Data\NPVR\showDetail.txt
----> Autoimport = True
----> XmlOut = import=on
----> 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:\recordings
Reading showfile C:\Documents and Settings\All Users\Application Data\NPVR\showDetail.txt
Checking for gbpvr export file:C:\Documents and Settings\All Users\Application Data\NPVR\recording-b
ackup.xml
Reading gbpvr export: C:\Documents and Settings\All Users\Application Data\NPVR\recording-backup.xml

Recursing: d:\recordings

Unhandled Exception: System.ArgumentOutOfRangeException: Index and length must refer to a location w
ithin the string.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)

   at videoImport.recording.getXmlField(String xmlFieldId, String data, String oldValue, Int32 occur
ance)
   at videoImport.recording.populateWithXmlMetaData(String mData)
   at videoImport.recording..ctor(FileInfo fi, recording pRecording, String metaData, IDictionary dv
rMetaData, recording origRec)
   at videoImport.Program.addRecordings(DirectoryInfo di, ArrayList recList, Hashtable oldRecList)
   at videoImport.Program.clMain()
   at videoImport.Program.Main(String[] args)
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#124
2010-11-06, 11:15 PM
Quote:I must not be doing something right. I have some .mpg, .ts and .m2ts videos in d:\recordings.
I tried the following line to import them into NPVR and it crashed with the error listed below.

First, it will not import directly into npvr you need to save the xml file and manually import since NPVR does not have the command line option to import xml files.

However, I don't think that is causing the problem , it seems to be dying as it is recursing the recording directory. Do any of your files have a <filename>.xml along with them, it seems to be having trouble reading one?
Miller
Offline

Junior Member

Posts: 47
Threads: 7
Joined: Feb 2006
#125
2010-11-07, 05:29 AM
I'm having trouble importing some recordings from before a system restore. I have all the recordings in d:\Temp Recordings\ but I have tried drag and drop and the program crashes. I also tried command line (C:\Program Files (x86)\Devnz\GBPVR\vidimport.exe D:\Temp Recordings xmlin=C:\Program Files (x86)\Devnz\GBPVR\recording-dump.xml) where the vidimport file is in the GBPVR directory I get an error saying it can't find the c:\progam directory nor the d:\Temp directory. Am I just doing something wrong with my command line entry? I'm running Win 7-64bit and Vidimport ver. 1.43 on PVRX2 ver. 1.4.7.
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#126
2010-11-07, 01:55 PM
Did you put quotes around the "D:\Temp Recordings" because according to the command lines output it is trying to look in d:\recordings?

Also I still believe it is erroring out on the first files metadata.

Try this file and respond with the std output.,
Miller
Offline

Junior Member

Posts: 47
Threads: 7
Joined: Feb 2006
#127
2010-11-07, 02:38 PM
I tried 1.4.3 again with the quotes and it ran fine. However after it finishes the last sub-directory it crashed. I also tried 1.4.5 and it did the same thing. After running there is an xml file is each individual directory, but other than that I can't find anything. What is the STD output and is there any other information I could provide to help resolve this?
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#128
2010-11-07, 02:43 PM
The std output is whatever is on the screen - since it passes to the last sub dir it is a new issue - did you turn off auto import?
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#129
2010-11-07, 03:55 PM
carpeVideo Wrote:First, it will not import directly into npvr you need to save the xml file and manually import since NPVR does not have the command line option to import xml files.

However, I don't think that is causing the problem , it seems to be dying as it is recursing the recording directory. Do any of your files have a <filename>.xml along with them, it seems to be having trouble reading one?

Since NPVR doesn't import, I think I'll just wait until support is added.

Yes I do have <filename>.xml for many of the movies in the subdirectory. Perhaps it doesn't like the structure. NPVR reads them fine. Here is an example

Code:
<Title>
<FullTitle>
Seabiscuit
</FullTitle>
<SubTitle></SubTitle>
<Description>
A jockey (Tobey Maguire), an automobile magnate (Jeff Bridges) and a trainer (Chris Cooper) lead a racehorse to glory during the Great Depression. (Released - 2003)
</Description>
</Title>
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#130
2010-11-07, 04:28 PM
NPVR imports the files vidImport creates - you just have to manually kick it off from the settings menu. If you are going to wait for NPVR to have a command line option for that it may be forever.

I'll take a look at the xml files it is likely that NPVR is using two formats one for the metadata alternate filestream and another for the files with a .xml extension, not sure why but it shouldn't be too hard to handle. I assume when you say NPVR reads them you mean in the videos screen.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (16): « Previous 1 … 11 12 13 14 15 16 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  vidImport utility support carpeVideo 73 53,580 2012-05-27, 06:27 AM
Last Post: jksmurf
  Vidimport in Windows 7? Pob 18 9,655 2010-04-02, 08:01 PM
Last Post: Pob
  vidimport console error tvshowman 8 4,234 2009-07-27, 07:27 PM
Last Post: carpeVideo
  Vidimport - I'm getting duplicates. martint123 8 3,613 2009-01-21, 09:15 PM
Last Post: martint123

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode