yuliskov / SmartTube

SmartTube - an advanced player for set-top boxes and tvs running Android OS
https://www.patreon.com/smarttube
Other
18.61k stars 1.04k forks source link

[Feature Request]: SmartTube Update script #3860

Open rsauve opened 2 weeks ago

rsauve commented 2 weeks ago

Describe the feature you'd like to request

I would like to contribute this script to the project. Not sure if this is the right way of going about it.

Describe the solution you'd like

Our Sony Bravia KD-50X85J TV refuses to directly update SmartTube even though I have set permissions to allow it to do so.

To update the TV I installed adb-tools on our Ubuntu file server and created this bash script to update SmartTube over our LAN.

If anyone is interested in using this script here it is: smarttubeupdate.zip

Unzip the file, copy it to your adb-tools location (or if placed elsewhere, link to it), add adb-tools path and hostname/IP address of your TV in the script:

Place adb-tools path here.

ADBpath=(path)

TV hostanme or IP address.

TVname=(hostname or IP address)

Describe alternatives you've considered

If your TV/device is able to update SmartTube directly then this script is not necessary.

Generator commented 2 weeks ago

What about Obtanium?

Didn't test on AndroidTV, but its an alternative to self-update.

I'll look at your script, maybe you should host it on gist.github.com for better visibility

Generator commented 2 weeks ago

Here a better version https://gist.github.com/Generator/308bae3a05f9254a70bcec4b0f4636f0

Use Meld or similar see the modifications

Can be improved, like check remote and upstream version before download, check if package installed is beta or stable