Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup the list of installed addons #185

Open
stdedos opened this issue Mar 3, 2021 · 2 comments
Open

Backup the list of installed addons #185

stdedos opened this issue Mar 3, 2021 · 2 comments

Comments

@stdedos
Copy link

stdedos commented Mar 3, 2021

Until Full backup is done (and stored, and updated automatically every now and then ... i.e. #173), is there some in-between ground for backing up the user-installed addons (i.e. not the dependencies)?
And if so ... is there also a way to "inject them" to Kodi?

I am imagining a post-clean-install restore, which, magically, writes the list of the addons that "should be installed" and closes Kodi. Then, I imagine, when Kodi boots up again, it will read and try to satisfy that list of "theoretically present" addons.

"If everything is done as they are supposed to", you don't need to carry the extension artifacts anymore, you get to restore your settings, and not waste space (carrying around artifacts) or time (manually trying to re-install the correct addons because you don't have a full backup i.e. by reading old logs that may be laying around).

Worst case, you can manually search/restore the addons one by one, since you know what you are looking for.

@robweber
Copy link
Owner

robweber commented Mar 7, 2021

I think I follow what you're saying. This would be more of a list of addons that are in the userdata folder, just as like a txt file or something. You could then, in theory, tell Kodi just to redownload them instead of having to save the actual files and dependencies somewhere. Is that kind of what you mean?

I'd have to research of Kodi has a mechanism to tell it to install an addon based on it's ID or something via Python or JSON-RPC.

@stdedos
Copy link
Author

stdedos commented Mar 7, 2021

Yeah, I think you have the basic idea of what I am thinking about to the fullest.

Of course, concept / implementation is up to the availability and limitations. 😀

robweber added a commit that referenced this issue Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants