unixpunk / PlutoWeb

PlutoWeb
73 stars 19 forks source link

add LearnTRX option to settings.sh #36

Closed ImDroided closed 6 years ago

ImDroided commented 6 years ago

maybe add a LearnTRX flag to settings.sh so in the future if we can ever pass stuff along to it might make things a bit easier. then I can call that with the CGI file instead of the none flag

ImDroided commented 6 years ago

this may work the best because then you can work the link into the output just like openwebrx and dump1090

unixpunk commented 6 years ago

Its just a web framework, can't really do anything with it. We just need to make sure that nothing else has the radio locked. I'll create a symlink named leantrx that just points to none. Then you can add a LeanTRX button and call leantrx for the program.

unixpunk commented 6 years ago

done: https://github.com/unixpunk/PlutoWeb/commit/fe3bb27921d47e73b19b61df8697587329f62386

unixpunk commented 6 years ago

I don't think this change made it into the image itself, not sure on the timing. Go with it anyway. You can test it by running: mv /etc/init.d/S96none /etc/init.d/S96leantrx

Then test your buttons and things. It won't say anything about leantrx in the output, but you'll know things will work on the next build.

LamaBleu commented 6 years ago

Hi, just reflashed, performed some tests. Manual update seems ok copying the file to USB mass storage and unmounting. Leantrx is working perfectly, I can launch openwebrx, exit then click SoapyRemote button, and go to leantrx without issue. Just one thing :the message related to leantrx URL access is not displayed, please see my comment about /etc/init.d/S9SoapyRemote file thanks again ;)

unixpunk commented 6 years ago

@LamaBleu Noted and resolved in one way or another on the next build yet to come. https://github.com/unixpunk/PlutoWeb/commit/fe3bb27921d47e73b19b61df8697587329f62386 https://github.com/unixpunk/PlutoWeb/commit/886e853fc5a9aab1bd128489c5ad255b67851868 https://github.com/unixpunk/PlutoWeb/commit/83a48d823b4e055756585a3684072de53b4adc62

unixpunk commented 6 years ago

Latest build: https://github.com/unixpunk/PlutoWeb/commit/87a81d130f15db56f61e8dc845c947ed62f33dd1

unixpunk commented 6 years ago

Latest commits and update.tgz look good.