Kodi Community Forum
Exporting and Importing Video Library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: Exporting and Importing Video Library (/showthread.php?tid=359770)



Exporting and Importing Video Library - anlima - 2021-01-12

Kodi contains the possibility to export and import the video library.

The JSON RPC API providesĀ VideoLibrary.Export, butĀ VideoLibrary.Import is missing.
Is there a way to import a video library via JSON RPC?


RE: Exporting and Importing Video Library - Klojum - 2021-01-12

(2021-01-12, 00:48)anlima Wrote: Is there a way to import a video library via JSON RPC?

The Import Library option is set up to use a single xml file with exported metadata.
When the 'separate files' option was used resulting in individual nfo files next to the videos, then the UpdateLibrary() function is to be used.


RE: Exporting and Importing Video Library - anlima - 2021-01-12

Yes, I know.
But I wm talking about the "single file" option.
Is there a way to import such a single file via JSON RPC?