Kodi machine is firewalled, so I’m tunneling the http interface of 8080 using free ngrok to a random-generated url that looks like this:
the yatse usage is purely for the remote control of kodi commands, not the streaming part.
then every time I do that I launch yatse and manually rewrite the ‘Host IP address’ of a certain media center in yatse, so it works again.
I’d like to automate that process:
I want to do something after ngrok runs to copy the generated url from the kodi machine, send it to my android and automatically edit the ‘Host IP address’ of the media center.
My plan is that every time I launch kodi, it starts ngrok and updates my yatse.
But I have one missing piece - I don’t know how to manually edit yatse since it does not have a directory accessible from the non-rooted (non-system) area of my file system in my android device.
If you could just move some such conf files to such accessible location, it would be fantastic for my purpose!
Let me know what you think.