2022-04-02, 08:12 AM
Current Version: 5.2.6.220206, hardware as shown in signature.
A little while ago the ability to import a single recording XML file was fixed and I have been using this, on and off, to reorganise my recordings library to be more along the lines of the Kodi Movies/Files and TV Shows. This almost complete but I am currently left with several seasons of some TV Shows I record for the kids which each have multiple episodes (25/30 per season). Each season has its own folder and I have come across a Powershell script that allows me to make bulk changes to the <filename> tags in each of the XML files to point to the new file locations. Nothing else in the XML file has been changed.
Having made the changes above I was faced with the task of importing each XML file back into NextPVR until I remembered that the import facility (Settings / General/ Import Recordings) can (should ?) also handle a zip file (of XML files ?). I bundled up all the XML file for each season into a zip file and tried to import the zip file. Nothing happened. Checking the log files I can see that tha zip file is recognised, as are the XML files, but nothing happens to them after that:
2022-04-01 10:28:59.585 [DEBUG][79] {"current": "5.2.6.220206","available": "5.2.6.220206"}
2022-04-01 10:29:31.920 [DEBUG][105] Got request [192.168.86.50]: /import
2022-04-01 10:29:31.929 [DEBUG][105] Received import of type: application/x-zip-compressed
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E01.Ring.of.Fire.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E02.Ring.of.Fire.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E03.Space.Race.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E04.Crosscut.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E05.Fireflash.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E06.Unplugged.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E07.Runaway.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E08.EOS.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E09.Slingshot.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E10.Tunnels.of.Time.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E11.Skyhook.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E12.Under.Pressure.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E13.Heavy.Metal.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E14.Falling.Skies.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E15.Relic.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E16.Breakdown.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E17.Heist.Society.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E18.Recharge.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E19.Extraction.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E20.The.Hexpert.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E21.Comet.Chasers.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E22.Designated.Driver.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E23.Chain.of.Command.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E24.Touch.and.Go.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E25.Undercover.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E26.Legacy.xml
2022-04-01 10:29:50.959 [DEBUG][4] Got request [192.168.86.50]: /services/service (system.logs)
Despite trying this import yesterday (April 1) this is NOT an April Fools Day question but a real request for help. Full logs attached.
Is it possible to do what I am trying to do or am I missing something ?
Thanks in advance for any help anybody can provide.
Regards.
Chris
A little while ago the ability to import a single recording XML file was fixed and I have been using this, on and off, to reorganise my recordings library to be more along the lines of the Kodi Movies/Files and TV Shows. This almost complete but I am currently left with several seasons of some TV Shows I record for the kids which each have multiple episodes (25/30 per season). Each season has its own folder and I have come across a Powershell script that allows me to make bulk changes to the <filename> tags in each of the XML files to point to the new file locations. Nothing else in the XML file has been changed.
Having made the changes above I was faced with the task of importing each XML file back into NextPVR until I remembered that the import facility (Settings / General/ Import Recordings) can (should ?) also handle a zip file (of XML files ?). I bundled up all the XML file for each season into a zip file and tried to import the zip file. Nothing happened. Checking the log files I can see that tha zip file is recognised, as are the XML files, but nothing happens to them after that:
2022-04-01 10:28:59.585 [DEBUG][79] {"current": "5.2.6.220206","available": "5.2.6.220206"}
2022-04-01 10:29:31.920 [DEBUG][105] Got request [192.168.86.50]: /import
2022-04-01 10:29:31.929 [DEBUG][105] Received import of type: application/x-zip-compressed
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E01.Ring.of.Fire.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E02.Ring.of.Fire.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E03.Space.Race.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E04.Crosscut.xml
2022-04-01 10:29:31.940 [DEBUG][105] Thunderbirds.Are.Go.S01E05.Fireflash.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E06.Unplugged.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E07.Runaway.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E08.EOS.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E09.Slingshot.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E10.Tunnels.of.Time.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E11.Skyhook.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E12.Under.Pressure.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E13.Heavy.Metal.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E14.Falling.Skies.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E15.Relic.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E16.Breakdown.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E17.Heist.Society.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E18.Recharge.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E19.Extraction.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E20.The.Hexpert.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E21.Comet.Chasers.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E22.Designated.Driver.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E23.Chain.of.Command.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E24.Touch.and.Go.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E25.Undercover.xml
2022-04-01 10:29:31.941 [DEBUG][105] Thunderbirds.Are.Go.S01E26.Legacy.xml
2022-04-01 10:29:50.959 [DEBUG][4] Got request [192.168.86.50]: /services/service (system.logs)
Despite trying this import yesterday (April 1) this is NOT an April Fools Day question but a real request for help. Full logs attached.
Is it possible to do what I am trying to do or am I missing something ?
Thanks in advance for any help anybody can provide.
Regards.
Chris
Server Headless RPi4 4GB, RaspberryPI OS Lite on USB SSD
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to RPi via autofs
Client: Kodi 21/LibreElec 12 (Generric) on Linux PC
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to RPi via autofs
Client: Kodi 21/LibreElec 12 (Generric) on Linux PC