robweber / xbmcbackup

Backup Addon for Kodi
MIT License
112 stars 48 forks source link

[FEATURE] Export databases as nfo #219

Open shtrom opened 1 year ago

shtrom commented 1 year ago

Not a bug, but a feature request / suggestion.

Kodi has an export mechanism where it is able to dump the libraries as either a single directory, or a number of per-media-entry nfo files. The latter can be re-imported simply by rescanning the media directories.

There has been a few questions over the years about how to schedule such exports (e.g., https://forum.kodi.tv/showthread.php?tid=231294, https://www.reddit.com/r/kodi/comments/60mde3/automatic_library_export/, https://forum.kodi.tv/showthread.php?tid=104611, ...). This is also what led me to installing the addon, as the description on the Kodi wiki says that it can “export your database” (which it does, but not the way Kodi Library export does it).

It would be useful if, in addition to the other backup mechanisms, the addon were able to also trigger Kodi Library exports (single or multi files).

robweber commented 1 year ago

Good idea. I see there is a JSON command for doing both exports of the Audio and Video Library. These could be leaned on to do the export.