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 … 25 26 27 28 29 … 34 Next »
Migrating from recording directory in user's home directory to NAS share

 
  • 0 Vote(s) - 0 Average
Migrating from recording directory in user's home directory to NAS share
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#1
2020-05-29, 08:28 PM
Right now I'm still in the experiment phase of NextPVR.

With MythTV, multiple mount points / paths can be configured as recording directories, and then MythTV can be configured to either spread the load, most space available, etc. When it comes time to playback a recording, the MythTV database stores the name of the recording, but not necessarily the complete mount path, so if I choose to manually move a recording in the CLI from one recording directory to another, then mythtvbackend can still find it. (Because most users will have a reasonable number of mount points, it takes a fraction of a second to check each directory for the file that we're looking for)

If I create a share on my NAS, and configure the recording and LiveTV buffer directories to point at that share, then will I be able to move the existing recordings that are in the recordings subdirectory to the new mount point? Or is the NextPVR database storing the full path to the recording, so if I manually move it with "mv", that's going to break things?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2020-05-29, 08:35 PM (This post was last modified: 2020-05-29, 08:36 PM by mvallevand.)
In will disagree with you about searching directory time since it can take quite a long time to spin up a green drive or load a network share. Sub had to specifically add an option to not look up directories because of this.

I think what you are looking for is the Archive feature that is not available in the web yet, but is available in the NextPVR GUI in nlite or knewc+kodi. It does the move for you as a background task. You can queue up multiple moves too.

Martin
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#3
2020-05-29, 08:47 PM
Fair enough as far as the search of the recording directories; I can see if drives have been spun down that it might take a while.

But because there's an Archive feature, it sounds like recordings can't just be moved around from the command line.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2020-05-29, 08:54 PM
Correct, it stores the complete path to a recording in the database, so you can't just move them.

It does have a concept of multiple recording paths, though the UI for configuring this isn't in v5 yet, so you need configure extra paths in config file. With multiple paths configured, you get the option where to record to while scheduling recordings. You can also configure it to spread recordings among the different directories.

There is an archive feature which moves the files between directories and updates the database.

There is also NScriptHelper which users can use in scripts to do things like update the database when the move files etc.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Plyback Timeline Issue JeffH 11 565 2025-01-17, 03:20 PM
Last Post: mvallevand
  Strange problem writing to CIFS share ehfortin 5 508 2024-12-27, 08:00 PM
Last Post: ehfortin
  Wake on suspend for recording flyingsubs 15 4,362 2024-12-03, 01:07 PM
Last Post: mvallevand
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 655 2024-10-29, 11:44 PM
Last Post: sub
Wink recording rules - nextpvr kfmf 4 682 2024-07-20, 08:50 AM
Last Post: kfmf
  Live stream not working while recording pciber 6 839 2024-06-10, 07:48 AM
Last Post: pciber
  Linux setup - Help a Windows user... prothed 18 2,331 2024-06-03, 11:08 AM
Last Post: Rod Hutchinson
  Time scheduled radio recording? WagMan 8 995 2024-01-13, 05:34 PM
Last Post: mvallevand
  Recording length error VCR58 20 2,060 2023-11-12, 11:46 PM
Last Post: mvallevand
  Nextpvr Has Stopped Recording Mark_S 4 842 2023-05-28, 04:27 PM
Last Post: Mark_S

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

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

Linear Mode
Threaded Mode