NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 14 15 16 17 18 … 43 Next »
Import multiple recording XML files

 
  • 0 Vote(s) - 0 Average
Import multiple recording XML files
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#1
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


Attached Files
.zip   logs-20220401-1029.zip (Size: 1.15 MB / Downloads: 1)
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2022-04-02, 04:16 PM
You can import either a single .xml, or a .zip file.

The .xml file can be called whatever you want.

When you try to import a .zip file, it's really intended for a zip file created earlier using the 'export recordings' feature. ie, it's specifically looking for the recurring-backup.xml and recording-backup.xml files within the zip. (it'll ignore random other xml files you might have put in there(
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#3
2022-04-03, 08:26 AM
Sub

Thanks for this explanation, I guess I will now have to resign myself to importing 100+ recording XML files individually to complete my re-org.

Regards.

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#4
2022-04-03, 02:38 PM
(2022-04-03, 08:26 AM)ceejayemm Wrote: Thanks for this explanation, I guess I will now have to resign myself to importing 100+ recording XML files individually to complete my re-org.

You should search for NextTool in the forums. I think that you will find it will meet your needs.
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#5
2022-04-04, 04:49 PM
Martin

You previously supplied me with a version of NextImport on Forum post:

https://forums.nextpvr.com/showthread.ph...#pid557788 

In this post you also provided an outline on its options and use. Did you ever get round to adding the software and these notes to the Wiki ? If not it would be extremely useful as a reference point as my search of the forum as suggested by BrettB returned many references to the NextImport utility and many zip file versions of it, including the version referenced above. Other search results also seem to imply that NextImport is now called NextTool. Has NextTool been released anywhere in place of NextImport ??

Thanks

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#6
2022-04-04, 05:23 PM
Yes it is now NextTool and it supersedes NextImport because a database change sub made. I know I should do a wiki page, I started one but I get bored easily doing it. Feel free to write one based on my posts here and I will upload it for you.

The syntax is the same for importing in NextTool as NextImport . I don't know if I have publicly uploaded the current version that has wmv and HDHomerun DVR metadata importing.

Martin
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#7
2022-04-04, 05:38 PM
Martin

I would happily have a go at writing such a page, not that it is something I have done for a long time :-). If you would be so kind as to cast your eye over it once its done. Are there any guides as to what to do and what is acceptable ?  Also what file type should be use (.txt, .md, .doc or something else) ? Would it be possible to get a look at your earlier attempt ?

Are there any new features/options I should know about beyond the post I referenced earlier? You say above you also support other file types, do you have any further details as to how these are handled ?  

If I am successful can you provide the utility and add a link to be able to access it ?

Regards.

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#8
2022-04-04, 06:05 PM
Sure that would be great.  If you can get the initial formatting I can fill in some blanks.

The file needs to be in markdown (.md) format and I would suggest Visual Studio Code or Notepad+ with plugins.  They provide a WYSIWYG editor.

Attached is the current version.

Martin


Attached Files
.zip   NextTool-1.1.0.zip (Size: 159.51 KB / Downloads: 21)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording from the point you switch channels rather than when you press record Swindiff 2 193 2025-05-05, 12:30 PM
Last Post: Swindiff
  Controlling the nextpvr server from Jellyfin (via the nextpvr plugin) (no recording) kfmf 2 251 2025-05-04, 02:21 PM
Last Post: mvallevand
  Keeping users recording separate Swindiff 2 199 2025-05-02, 07:47 PM
Last Post: Swindiff
  Recurring recording creates multiple recordings of same event txinga 2 339 2025-03-29, 12:33 AM
Last Post: txinga
  Recording Auto Transcode VCR58 8 1,704 2025-02-18, 12:45 AM
Last Post: mvallevand
  Successful import from MythTV DB to NextPVR Allan 0 235 2025-02-10, 09:51 PM
Last Post: Allan
  Automated placement based on recording type? ehfortin 6 559 2024-12-28, 11:50 PM
Last Post: spin35
  HDHR Tuner not released after recording since update to 7.0.0 spin35 1 337 2024-12-24, 01:46 PM
Last Post: mvallevand
  Cannot seek live recording, v7.0.0.241105 pulley 6 651 2024-11-17, 09:58 PM
Last Post: mvallevand
  [Failed: Recording service not running at recording time] Poocher 17 1,347 2024-10-14, 11:14 PM
Last Post: Poocher

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

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

Linear Mode
Threaded Mode