NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 36 37 38 39 40 … 43 Next »
Import video files

 
  • 0 Vote(s) - 0 Average
Import video files
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#1
2020-03-22, 05:47 PM
Is there, or will there, be a new version of the Vidimport utility to allow video files to be imported into the new v5.x structures ? The files that are generated by the existing Vidimport utllity need quite a lot of manual intervention in order to be able to use them to import videos into the new NPVR v5 app.  Failing that, is there any documentation which details the structure of an XML import file and those XML tags which are deemed as mandatory and optional within such a XML based import file ?

Many thanks for the ongoing work on this new version of NPVR which seems to from strength to strength and, for me, has been working extremely well from a very early stage using RPi v4 and HD Homerun tuners.

Thanks

Chris
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#2
2020-03-22, 05:57 PM
I don't think the xml format changed between v4 and v5 so any issue is probably change file locations. Perhaps try the built in xml import and export function.

The xml is self documenting from what I see.

Martin
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#3
2020-03-22, 06:29 PM (This post was last modified: 2020-03-22, 06:31 PM by ceejayemm.)
Martin

There does seem to be a difference I am afraid.  Exporting a recording from V5 gives a file like example 1 (recordings_v5.txt) attached while vidimport producesa file like example 2 (recordings_v4.txt)  and fact the vidimport file (recordings_v4.txt) will not load for me. Both these files are in the attached zip file

Chris


Attached Files
.zip   recordings_examples.zip (Size: 1.18 KB / Downloads: 8)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#4
2020-03-22, 06:43 PM
There wasn't a change in format exported/imported between v4 and v5.

However, there was an even older GBPVR format (2004-2008), which Vidimport may be producing?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#5
2020-03-22, 06:45 PM
Right but if you are trying to import a v4 file into an rpi there is no way it will work without changing the filename. It doesn't mean the xml is invalid.

Martin
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#6
2020-03-22, 06:50 PM
You could well be right. The version of VidImport I downloaded from the Wiki /Utilities area reports itself as v1.71 dated December 2, 2012.

Hence my original question as to whether ther will be a newer version of VidImport or soem documentation regarding the current XML file format and required tags.

Chris
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#7
2020-03-22, 06:50 PM
(2020-03-22, 06:45 PM)mvallevand Wrote: Right but if you are trying to import a  v4 file into an rpi there is no way it will work without changing the filename. 
You can still import a v4 file (or in fact any version of NextPVR 0.x - 4.x). You can't import an old GBPVR style recordings-dump.xml file any more.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#8
2020-03-22, 06:54 PM
(2020-03-22, 06:50 PM)ceejayemm Wrote: You could well be right.  The version of VidImport I downloaded from the Wiki /Utilities area reports itself as v1.71 dated December 2, 2012. 

Hence my original question as to whether ther will be a newer version of VidImport or soem documentation regarding the current XML file format and required tags.

Chris
I don't have any documentation for you, but the format is mostly self explanatory. You don't have to include the <Event> tag if you want to make life simplier.

Where are these files you're trying to import from? ie, were these originally created by NextPVR, or they files you got elsewhere?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#9
2020-03-22, 07:01 PM
The <oid> value is ignored, so can be anything

Code:
<?xml version="1.0" encoding="UTF-8"?>
<recordings>
  <recording>
    <oid>6129</oid>
    <name>Click</name>
    <channel>BBC One London</channel>
    <filename>/home/pi/nas_recordings/Click/Click_20200322_04300500.ts</filename>
    <status>READY</status>
    <startTime>2020-03-22T04:29:27.0000000Z</startTime>
    <endTime>2020-03-22T05:05:00.0000000Z</endTime>
  </recording>
</recordings>
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#10
2020-03-22, 08:27 PM
Ok, thanks. I never said I was trying to import v4 files. I am trying to import .ts files from an old Humax DVR which I can get over to the v5 storage area on the PI via FTP. VidImport only runs on Windows and I know the difference between RPI (Linux) file path structures and those of Windows - this is one of the edits I need to make to each XML import file. I have done a couple already by trial and error hence my query about an updated VidImport or the mandatory XML tags which would make my life easier. I guess I will just keep editing XML files and try and spot any typo's etc before I try and import a video file. Once I have an XML file that seems to work I will save it as a template and use it to cut down some of the necessary editting for later imports.

Thanks

Chris
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Successful import from MythTV DB to NextPVR Allan 0 227 2025-02-10, 09:51 PM
Last Post: Allan
  Import guide data from HD Homerun tuner jonasx 5 696 2024-10-14, 08:48 PM
Last Post: mvallevand
  NextPVR Deleted All My Important Files on SSD yngsadstn 4 712 2024-09-15, 08:38 AM
Last Post: mvallevand
  Recordings import issue Jaggy 4 550 2024-08-25, 12:03 AM
Last Post: Jaggy
  How to Import Channels? kerryball 1 452 2024-07-09, 04:52 PM
Last Post: sub
  Recording stream following short video clip joshskey 5 793 2023-11-12, 08:37 PM
Last Post: mvallevand
  Issues with MPD Files Paul92 4 960 2023-10-01, 06:22 AM
Last Post: mvallevand
  Unable to Import Recordings Markj2 2 880 2023-07-18, 01:32 AM
Last Post: Markj2
  Video quality on clients ninkynonk 7 882 2023-07-17, 10:06 PM
Last Post: ninkynonk
  How to Import Channels? HITFM885 6 1,354 2023-07-02, 01:37 AM
Last Post: HITFM885

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

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

Linear Mode
Threaded Mode