Open rodriguesfas opened 3 months ago
I had the same issue. It ia not built to control/update remotely..
@hapishyguy is correct. You typically configure Displayer to go and retrieve content from the internet. You do not push content from the internet to Displayer.
For example: In our sports club there's a Displayer set up to load a remote display file (JSON) from a Github repository. Whenever I want to update the content, I push an update to the JSON file in the github repo and Displayer will pick it up within a couple of minutes and start playing the new content.
Of course you could also enable port-forwarding on your router to allow remote access to the device running Displayer but I would strongly discourage that.
If you're interested... here is the displayer file we use at our sports club: https://github.com/kcbj/kcbj-displayer/blob/main/kantine.json
Got it, thanks for getting back to me.
I don't understand much about kotlin. I would like to know if in this part of the code:
val displayUrl: String? =null,
I could add a url base when the app starts, it displays a modal requesting a code, When entering the code 0111.json it completes the url and loads the json data.
It's a way to add a dynamic url to the schedules without having to use the adb commands.
That sounds like a very specific use case. It is technically possible but would still require other (big) changes implement the UI that requests the code. I'm not sure that this is the best approach in general.
There are 2 separate requests:
adb
of type in a full URL.
I need to access remotely via the internet to change the media. How could I access via the internet instead of the local network?