Posts: 8
Joined: Sep 2018
Reputation:
0
I am getting back in to tinkering and I wanted to give building and hosting a repo a go. This is only for me to use and won't be public. I have a server I can hang the .zip and other files needed on but I am wondering about versioning and updates. If I modify the master zip how can I push it to my shield or whatever device (maybe my phone) so the build or add-on updates automatically? I tried doing a local test by hosing the file on my laptop to a build on my laptop but it wasn't seeing any change in the code without uninstalling / reinstalling.
I could have very well missed a step on my end. I am a complete rookie and just very interested in learning. Thanks in advance for help or pointing me in the correct forum direction.
Posts: 12,464
Joined: Oct 2014
Reputation:
601
Thread moved to addons development
Posts: 8
Joined: Sep 2018
Reputation:
0
So I made a small change to the addon, uninstalled it and went to reinstall it from the FTP option that I have mapped as a source in kodi. However I get a popup for failure to install. It's the same zip that installed locally from my laptop, only from an FTP and now it doesn't work.
Posts: 8
Joined: Sep 2018
Reputation:
0
I am going to try again with my post. I have am using Python and coding in visual studio code and have started building a repo which is more for my want to learn than anything else and may not even be needed.
Problem: I am a complete and utter beginner. I have basic python skills that I am slowly growing as I learn how kodi will use them. I have multiple devices in my home that I would like to put this build on (all of this work will stay private - this is just a learning adventure for me) and be able to update it, and push updates. It could be that there's an easy solution to get this part down without building out a ton of custom items but I'm not aware of it yet.
Ideal solution: I slap together a build, zip it, and host it either on my private FTP (which I already own and use) or Github (learning the ropes of how this structure works). As I make changes to the wizard & build files, upload them to the master hosting folder, it should push updates to any devices running it and say "hey there's an update, time to run it" so everything is running the same build at the same time without having to go to each individual device and make the same updates.
Sorry if I am reaching out into more than one topic. I am trying to list my end state goal and what it seems like I might have to do to get there. Once I can figure out the basics of repo / wizard building and am able (if I even have to build my own to start) to get the auto updating working I will venture in to building an add-on of my own.