NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 331 332 333 334 335 … 433 Next »
NPVR Import recordings commandline option

NPVR Import recordings commandline option
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2011-06-28, 08:06 PM
I see in http://www.nextpvr.com/nwiki/pmwiki.php?...ineOptions

That there is no mention of an import recordings xml file function. Is this a documentation oversight, or a feature that doesn't yet exist?

Of course as a follow on, if that feature doesn't yet exist could it make a return? Big Grin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#2
2011-06-28, 08:19 PM
You can import and export recordings from the Settings -> Recordings screen. There isnt a command line equivalent, because no one has asked for one, but it can probably be added if you need it.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2011-06-28, 08:29 PM
Yes please. I haven't looked at the format yet, has it changed?

Oh, can I ask for another gbpvr feature...Ctrl-K to delete a recording in the recordings screen...I believe that was another I requested those many moons ago.

No rush on either of these.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#4
2011-06-28, 08:33 PM
I've added the -import/-export command line options for the next release. See the recording-backup.xml for example format.

I cant remember ctrl-k ever deleting recording? This is the record button.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2011-06-28, 08:37 PM
Yes it was definitely there - used to use it a lot.

Here's the original request: http://forums.nextpvr.com/showthread.php...dings+ctrl

Lol - the internet doesn't forget anything!!
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#6
2011-06-29, 03:09 AM
Oh, another final question on this import function, does this work in a client/server environment, so could a client do an import?

I'd imagine not.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#7
2011-06-29, 03:11 AM
Yeah, a client could do the import, but the path to the file would have to be exactly the same for server. (ie, like a share on a NAS)
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#8
2011-06-29, 03:14 AM
oooh, cool. I've gone from having a machine that's loaded with all sort of crap (ie the PVR), to a fairly virtualised environment, so sticking my tvimport program (which reads "acquired video files" gets episode information etc and creates an import file) on another machine is preferable.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#9
2011-06-29, 08:18 AM
So I had a toodle. Tried it on a client machine (should have tried the server first but anyway).

It said 1 recording imported, but doesn't show up anywhere. Tried it again on the server, same import file, and it didn't import anything. So I assume it's holding either the filename or something as processed.

But in looking at the export from npvr, and my import file I do see some differences. So this is a cut/past of the two sections

Here's the old format file
Code:
<?xml version="1.0" encoding="utf-8"?>
<recordings>
    <recording>
        <filename>\\pvr.lan\movies\TV\Keeping.Up.With.The.Kardashians\Keeping.Up.With.the.Kardashians.S06E03.avi</filename>
        <channel>IMPORT</channel>
        <status>READY</status>
        <startTime>2011-06-29 00:00:00</startTime>
        <endTime>2011-06-29 01:00:00</endTime>
        <title>Keeping Up with the Kardashians (Import)</title>
        <subtitle>S06E03 - The Former Mrs. Jenner</subtitle>
        <description>Kris decides to change her name back to Kardashian, much to Bruce's displeasure. Kim is tired of people asking if her butt is real &amp; gets an x-ray to set the world straight.
</description>
        <uid />
    </recording>
</recordings>

Here's teh new format file.

Code:
<recording>
    <oid>2931</oid>
    <name>Shortland Street</name>
    <channel>TV2</channel>
    <filename>G:\Recordings\Shortland Street\Shortland Street_20110628_19001930.ts</filename>
    <status>READY</status>
    <startTime>2011-06-28T07:00:00.0000000Z</startTime>
    <endTime>2011-06-28T07:30:00.0000000Z</endTime>
    <Event>
      <OID>1061437</OID>
      <Title>Shortland Street</Title>
      <SubTitle></SubTitle>
      <Description>Bella leaves the nest, Hunter has his own reasons for helping Paige and Brooke realises something is very wrong.</Description>
      <ChannelOID>7219</ChannelOID>
      <StartTime>2011-06-28T07:00:00.0000000Z</StartTime>
      <EndTime>2011-06-28T07:30:00.0000000Z</EndTime>
    </Event>
  </recording>

So question is, does npvr import support the old format import? and if not, what bits do I need of the new. In pvrx2, I used to create a fake channel called import for all my imported programs. I see in the new the recording id and a channel ID - obviously these wont exist.

Also start end time, this is UTC time?

Any pointers useful
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#10
2011-06-29, 05:38 PM
psycik Wrote:It said 1 recording imported, but doesn't show up anywhere. Tried it again on the server, same import file, and it didn't import anything. So I assume it's holding either the filename or something as processed.
If you post your npvr.db3, and config.xml, I can check that out.

Quote:So question is, does npvr import support the old format import? and if not, what bits do I need of the new. In pvrx2, I used to create a fake channel called import for all my imported programs. I see in the new the recording id and a channel ID - obviously these wont exist.

Also start end time, this is UTC time?
For the most part, it's really designed to import the new format, but you can make it import the old format by naming your file "recording-dump.xml", which is the name of the old file GBPVR used to generate. This was only really intended to be used for users doing their move from GBPVR to NPVR.

Yes, the the new format is UTC time. The recording OID is optional, and ignored during import. You can make up any channel name if you want (there is no ID). The entire <Event> tag is optional. If you include it though, pretty much all the entries shown within that example <Event> are mandatory, but you can safely set the <OID> to 0 if you want. There is another half dozen or so optional settings not shown in that <Event>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,607 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  npvr is not responding johndutcher 3 1,583 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,086 2022-04-14, 04:33 AM
Last Post: Antmannz
  All my recordings start 90 sec early ncsercs 2 1,450 2022-03-19, 03:28 AM
Last Post: sub
  nPVR Continually Wakes PC bfos 23 11,680 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,836 2022-01-03, 04:45 AM
Last Post: mvallevand
  zap2it import tv logo MaxOne72 2 1,555 2021-11-14, 05:56 PM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 15,324 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,161 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,229 2021-01-07, 08:47 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode