NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Windows v
« Previous 1 … 6 7 8 9 10 … 39 Next »
Import Recordings Version 5

 
  • 0 Vote(s) - 0 Average
Import Recordings Version 5
EDH
Offline

Junior Member

Canada
Posts: 3
Threads: 1
Joined: Apr 2018
#1
2020-12-15, 01:29 AM
I can't import a recording made on one laptop to another laptop in NPVR v5.  This worked in v4. 

My wife and I separately use a bank of HDHomeRun Tuners to record from our antenna.  Sometimes one of us of records a show that the other wants.  In v4 I copied the folder and its .ts file to a usb drive, loaded it into the recording directory on the other computer, and imported the file.  It appeared in the "What's New" list.

In v5, I go through the above and include the folder, .ts and .xml file of the recording but nothing imports.

Both laptops have the same folder structure and the recording directories are both called "E:\Recorded TV"

Is there a solution?

Drew
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,394
Threads: 744
Joined: May 2006
#2
2020-12-15, 01:35 AM (This post was last modified: 2020-12-15, 01:36 AM by mvallevand.)
If you don't find a solution, I believe my app here https://forums.nextpvr.com/showthread.ph...#pid549948 will work for you.

- make a backup copy of npvr.db3

- unzip into the NextPVR program folder

- delete NextImport.runtimeconfig.json

- execute from the command line

NextImport --import drive:\folder

If you are trying to keep them in sync, running this again will only add new files.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 97,311
Threads: 681
Joined: Nov 2003
#3
2020-12-15, 03:17 AM
Try again, then post the logs. It’s likely just down to the paths in your xml files.
ceejayemm
Offline

Member

Posts: 54
Threads: 11
Joined: Sep 2019
#4
2020-12-15, 09:27 AM
Sub

There is a fundamental difference between the recordings XML file and that produced by the Export Recordings function as pointed out here:

Disaster Recovery (nextpvr.com)

(Linux not Windows and Different subject but the SAME issue).

The XML file produced at the time of recording along with the TS file cannot be used, without editing its format and content, to re-import the TS file to the same or another system.

Chris
Hardware:       Headless RPi4 4GB, Rasbian Lite on internal microSD card 
Recordings:     OpenMediaVault (v5.x) NAS, NFS share, mounted to RPi via autofs
Viewing client: Kodi / Libreelec on a seperate RPi 3b+
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,394
Threads: 744
Joined: May 2006
#5
2020-12-15, 01:44 PM (This post was last modified: 2020-12-15, 01:45 PM by mvallevand.)
Quote:The XML file produced at the time of recording along with the TS file cannot be used, without editing its format and content, to re-import the TS file to the same or another system.

While I cannot speak to to the recording export/import process, my import program that I suggested earlier does read this file based .xml between systems and platforms.

Martin
ceejayemm
Offline

Member

Posts: 54
Threads: 11
Joined: Sep 2019
#6
2020-12-15, 03:37 PM
Martin

i am really pleased that you were able to produce a program to read the XML produced along with the TS file, thank you. However if this XML file was the same format (and its not a long way away) as that generated by the Recordings Export process then both (either / or) could be used to import the existing TS file using the Import procedures already in the NPVR web app. What is the reason for the different format ? Wouldn't it make sense, and be easier for the end user, for them to be the same format ? It would then be possible to import all or single recordings as needed.

Chris
Hardware:       Headless RPi4 4GB, Rasbian Lite on internal microSD card 
Recordings:     OpenMediaVault (v5.x) NAS, NFS share, mounted to RPi via autofs
Viewing client: Kodi / Libreelec on a seperate RPi 3b+
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,394
Threads: 744
Joined: May 2006
#7
2020-12-15, 04:07 PM
Sub would need to speak on it.

My take is tge file based .xml file is certainly smaller and more generic, it works with v4 and v5 and much easier for a user to generate.

The Import/Export are more specific to the system probably because it is as a backup and not currently an interchange format.

Martin
ceejayemm
Offline

Member

Posts: 54
Threads: 11
Joined: Sep 2019
#8
2020-12-15, 04:15 PM
My point is that the XML file generated alongside the recording (in the same dir/folder) TS file is created by NextPVR but cannot, without additional editing, be used to reimport its associated TS file. Yes, the file is smaller because it only relates to the associated recording file but should be of the same format so that we can use the existing Recordings Import facility to restore it should this proved necessary.  It would also solve the original posters request. If it could be done in v4 then I would also argue it should be possible in v5.

Chris
Hardware:       Headless RPi4 4GB, Rasbian Lite on internal microSD card 
Recordings:     OpenMediaVault (v5.x) NAS, NFS share, mounted to RPi via autofs
Viewing client: Kodi / Libreelec on a seperate RPi 3b+
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,394
Threads: 744
Joined: May 2006
#9
2020-12-15, 04:46 PM
Got it now, both you and the op want single file import working via the web browser. I am a command line guy so that seems like more work to me.

Martin
ceejayemm
Offline

Member

Posts: 54
Threads: 11
Joined: Sep 2019
#10
2020-12-15, 05:04 PM
Yes, you got it.

Chris
Hardware:       Headless RPi4 4GB, Rasbian Lite on internal microSD card 
Recordings:     OpenMediaVault (v5.x) NAS, NFS share, mounted to RPi via autofs
Viewing client: Kodi / Libreelec on a seperate RPi 3b+
« 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
  HDHR Prime Recordings Failing BrettB 2 52 2021-04-15, 02:28 AM
Last Post: BrettB
  can one export/import channels? eastavin 1 72 2021-04-07, 03:55 AM
Last Post: sub
  2 bugs I found in new version "5.1.1.210329" bohosh 9 337 2021-03-29, 07:02 PM
Last Post: mvallevand
  Couple of small issues with new version today MovieWiz 1 196 2021-03-28, 08:37 PM
Last Post: sub
  Recordings truncated lkraus 5 232 2021-03-12, 04:11 PM
Last Post: lkraus
  Multiple recordings of the same program drmongrain 6 142 2021-03-03, 05:26 AM
Last Post: drmongrain
  How remove all recordings pnickisson 2 193 2021-03-01, 03:00 AM
Last Post: shuturney
  How can I restore version 5.0.5? lkarlsso 13 311 2021-02-26, 08:48 PM
Last Post: mvallevand
  Web App and Desktop App have inconsistent information in Pending Recordings MovieWiz 21 589 2021-02-13, 07:03 PM
Last Post: MovieWiz
  All Recordings List stopped working dljones8053 6 238 2021-02-09, 04:52 PM
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