dmnc-net / repository.dmnc.aio-repo

All-in-one KODI Repository selection
3 stars 0 forks source link

"dynamic" repository with external links to repositories #2

Open dmnc-net opened 4 years ago

dmnc-net commented 4 years ago

Goal

This "repo" has been created with aim to simplify the Kodi deployment. The 1st goal was make dynamic repository of 3rd party repositories as like as symlinks in your fs.

Why dynamic (working name)?

a) static ZIP (offline)

With help of @vlmaksime I've managed to create static repo/addon which works and contains other repositories without hosting their ZIPs.

b) dynamic

I found out that Kodi tries to download 3rd party repository ZIP from my repo data dir ... discussed here

ERROR: CCurlFile::Open failed with code 404 for http://localhost/repository.dmnc/repository.castagnait/repository.castagnait-1.0.1.zip:

As far as I found the error is produced by calling CAddonInstallJob::DoWork.

At this moment reading the source code is not easy for me and documentation is not very useful in this case:

vlmaksime commented 4 years ago

I found out that Kodi tries to download 3rd party repository ZIP from my repo data dir ... discussed here

I installed your repository and there is no such error. Did you delete old repository from Kodi?

dmnc-net commented 4 years ago

Yes, this is working very well as you've recommended to me. Problem is that I need to achieve original goal. This is "static", if I'm going to release a new version (i.e. add another sub-repo to my AIO), then I have to deploy new ZIP and you (or any user) has to manually install the ZIP again.

I want to do a ZIP step once and provide this AIO repo of repos here on github. But I'm afraid that is not possible. And this "dynamic" approach is not here on github, I'm testing it just offline (you know better tune something on local http rather than commit every change).

vlmaksime commented 4 years ago

You can create addons.xml for your repository and include it into your dynamic repo. Here is example with my repository:

When I need to update the repository, I edit the contents of the repository.xml