Yesterday, 09:05 PM
In your post #16 above where you specify /folder_to_import, do I run this on each folder containing recordings (i.e., each television show that has been recorded)?
Yesterday, 09:05 PM
In your post #16 above where you specify /folder_to_import, do I run this on each folder containing recordings (i.e., each television show that has been recorded)?
Yesterday, 09:11 PM
It depends, it will traverse the tree starting at the parent you point to.
Martin
Yesterday, 09:14 PM
Okay, this is looking better. I need to rename the share folders because I used spaces in the names.
Yesterday, 09:21 PM
You can use spaces just use tab completion if you don't want to bother with the syntax slash space.
Martin
Yesterday, 09:42 PM
So after a few failed attempts because I forgot a slash, something happened. I've attached a zip with the text I saw, and I'm not sure what has happened.
What I've come to understand from reading various threads in this forum, is that to bring recordings from another instance of NextPVR into a new instance where the save-to path is different, the path in the database needs to be changed for each recording, and that's what I thought I was doing here with NextTool. Then the recordings can be imported into the new instance, presumably when the recording-backup.xml is updated. Is that all correct? By the way, I want to thank you for all your help today.
Yesterday, 09:49 PM
(This post was last modified: Yesterday, 09:51 PM by mvallevand.)
I'd need to see /mnt/badcorginas_share/Configuration/nvpr.db3 but before that maybe try this..
This logic is actually loading the full path for each ts file it found and then tries to match metadata with the old database. To be fair I am not sure if anyone has used this. Code: sudo apt install sqlite3 Martin
Yesterday, 09:59 PM
I ran that command ( select * from scheduled_recording; ) and it brought up both upcoming scheduled things as well as some previously recorded stuff, and the previously recorded stuff still has the path from the old Windows V4 instance of NextPVR.
Yesterday, 10:11 PM
Could you send the zipped logs? I might be missing that ; on the attach
Martin
Yesterday, 10:19 PM
The code you sent in #26 opened the npvr.db3 from the old instance, and that was what I described in my original reply. I also ran the same but on the npvr.db3 in the new instance, and it came up with nothing for scheduled_recording. I don't have nay scheduled recordings in the new instance, and the merge errored on scheduled recordings.
|
|