Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Can't find a function for a link
#1
Question 
I am playing around with a menu system for Kodi which I want to include a few shortcuts.
It will be a backup menu to Export and Import Kodi's Video Library without the need to go into the Kodi System/Media/Library options.
I found the Export Library function: exportlibrary(type [, exportSingeFile, exportThumbs, overwrite, exportActorThumbs])
However, I see no "Import" Library function listed anywhere. Of course I guessed at changing exportlibrary to importlibrary but that didn't work.
Anyone have any idea what that might be, or where to find it in inside Kodi to help this idiot out? lol
Reply
#2
(2020-05-27, 17:56)G_streamer Wrote: However, I see no "Import" Library function listed anywhere. Of course I guessed at changing exportlibrary to importlibrary but that didn't work.
If you are exporting to Separate Files, then you use the Update Library function, which is available in the Left Sideblade Menu

Might be of some use... https://forum.kodi.tv/showthread.php?tid...pid2794144
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
(2020-05-27, 20:36)Karellen Wrote:
(2020-05-27, 17:56)G_streamer Wrote: However, I see no "Import" Library function listed anywhere. Of course I guessed at changing exportlibrary to importlibrary but that didn't work.
If you are exporting to Separate Files, then you use the Update Library function, which is available in the Left Sideblade Menu

Might be of some use... https://forum.kodi.tv/showthread.php?tid...pid2794144 
Yes, I understand that way of doing it. What I am really trying to do is a menu option to do a Library dump of a single file to my hard drive as a backup, refresh my Kodi, then import the Library back in. I have the commands to export, update and clean but the import feature is not one I can figure out the command for. I do appreciate your reply. Thank you.
Reply
#4
(2020-05-27, 21:31)G_streamer Wrote: but the import feature is not one I can figure out the command for

Because it does not exist, unfortunately Wink

The "Library builtins" are mentioned here:

https://github.com/xbmc/xbmc/blob/master...iltins.cpp

If you search for "export" you will find the section which you already figured out. Try searching for "import" and you won't find anything. If you want that feature, please create a feature request at the specific subforum Wink
Reply
#5
(2020-05-28, 00:20)DaVu Wrote:
(2020-05-27, 21:31)G_streamer Wrote: but the import feature is not one I can figure out the command for

Because it does not exist, unfortunately Wink

The "Library builtins" are mentioned here:

https://github.com/xbmc/xbmc/blob/master...iltins.cpp

If you search for "export" you will find the section which you already figured out. Try searching for "import" and you won't find anything. If you want that feature, please create a feature request at the specific subforum Wink 

Okay, thank you for the reply. Much appreciated.
Reply

Logout Mark Read Team Forum Stats Members Help
Can't find a function for a link0