NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 22 23 24 25 26 … 34 Next »
MIgrate recordings windows to linux

 
  • 0 Vote(s) - 0 Average
MIgrate recordings windows to linux
ottoguy
Offline

Member

Posts: 190
Threads: 62
Joined: Mar 2005
#1
2020-07-24, 01:57 PM
Is there a way to migrate the "scheduled recordings" from a windows v4 install to a linux v5 install?  I saw a windows thread about copying the database.  Not sure if that would work to linux?
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2020-07-24, 02:14 PM (This post was last modified: 2020-07-24, 02:18 PM by Graham.)
(2020-07-24, 01:57 PM)ottoguy Wrote: Is there a way to migrate the "scheduled recordings" from a windows v4 install to a linux v5 install?  I saw a windows thread about copying the database.  Not sure if that would work to linux?

Copying the database should work ... Also, you can export recordings in V4 and that will produce two xml files with one file containing recurring recordings and one file containing ready recordings.  You should be able to import one or other or both of these files in V5.

But copying the database to Linux will create problems with file paths for existing ready recordings.

http://www.nextpvr.com/nwiki/pmwiki.php?....Recording
https://github.com/sub3/NextPVR/wiki/Add...g-defaults

Backup the V4 and V5 databases at every opportunity so that you can go back when you discover that I am all wrong Wink

Edit: On second thoughts ... I suspect that copying the database from Windows to Linux might not ne a good idea ... I suggest that you try the export <-> import first.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#3
2020-07-24, 02:34 PM
For Window or Linux it will only work if you don't have to remap channels. "All channel" recordings would be safe others would be iffy based on tuner type.

Via Kodi there is an option to change the channel number on a recurring recording but the API current rejects the change. It might work one day.

Martin
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#4
2020-07-24, 04:31 PM
(2020-07-24, 02:34 PM)mvallevand Wrote: For Window or Linux it will only work if you don't have to remap channels.  "All channel" recordings would be safe others would be iffy based on tuner type. 

I don't have time to test it right now ... but ... I suspect, from previous experience, that NextPVR uses the channel name and not the channel oid when the xml file is imported ... so the recordings are portable from one installation to another provided that the channel names are the same.
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#5
2020-10-26, 07:21 PM
What's the best way to get the channel names from the Linux config? I don't see an xml file in /var/opt/nextpvr for my HDHR device, and don't see a channel export in the web config like there was in v4.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#6
2020-10-26, 07:43 PM (This post was last modified: 2020-10-26, 07:45 PM by mvallevand.)
Channels scanning is different so you can't migrate them over.

I wrote a program that will migrate all recording you just need to set the paths up so the new server can see them.

Martin
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#7
2020-10-27, 04:22 AM
(2020-10-26, 07:43 PM)mvallevand Wrote: Channels scanning is different so you can't migrate them over.

I wrote a program that will migrate all recording you just need to set the paths up so the new server can see them.

Martin

Maybe I wasn't clear.  I want the channel names in Linux so I can edit recurring-recordings.xml export from Windows/v4.25 and search and replace the Channel Names with the Linux Channel Names so I can import my recurring recordings in v5.  Or is this what you are saying is not possible?
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#8
2020-10-27, 04:48 AM
dotnet NScriptHelper.dll -service:channel.list
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#9
2020-10-27, 05:56 AM
Mmmm, that results in an error.

/opt/nextpvr/system$ /opt/dotnet/dotnet NScriptHelper.dll -service:channel.list
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/opt/nextpvr/system/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the /opt/nextpvr/system/NScriptHelper.runtimeconfig.json file specifying the appropriate framework.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#10
2020-10-27, 09:16 AM
NScripthelper doesn't run on linux I posted a workaround somewhere on this forum if you search.

Martin
« 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
  How to get Hauppage firmware running on Linux Mint Higgo 9 454 2025-07-09, 07:50 AM
Last Post: Higgo
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 86 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 55 2025-07-03, 12:02 AM
Last Post: Siftingice
  Direct access to recordings TugboatBill 1 326 2025-05-05, 11:04 PM
Last Post: mvallevand
  Linux Command Line To Initiate SchedulesDirect EPG Update LinuxDVR 1 376 2025-04-13, 06:35 PM
Last Post: mvallevand
  Linux install failed -- permission denied? FrogFan 4 727 2025-03-26, 12:39 AM
Last Post: FrogFan
  Is there a 'recommended' version/release of Linux? Bobthegoldfish 1 491 2024-12-24, 12:28 AM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,147 2024-12-20, 03:23 AM
Last Post: ballfam
  Recordings fail, sometimes while playing WagMan 9 779 2024-11-07, 12:46 PM
Last Post: mvallevand
  recordings fail, somtimes while playing WagMan 0 315 2024-11-02, 03:00 AM
Last Post: WagMan

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

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

Linear Mode
Threaded Mode