Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added support to Android via Termux App #423

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

jepes1981
Copy link
Contributor

This PR adds support to Android via the Termux App.

  • lib/app.py
    Handle error when querying cpu usage on Termux (restricted)
    Force to run on headless mode when detected running on Android.

  • karaoke.py
    Added way to query ip address when running on Termux/Android since sockets will not work.

  • get_platform.py
    is_raspberry_pi(): Added validation to avoid incorrectly reporting Termux/Android as raspberry pi.
    get_platform(): Properly returns Android as platform to avoid crashes in other program logic.

  • scripts/README.md
    Added Termux/Android installation.

scripts/README.md Outdated Show resolved Hide resolved
pikaraoke/app.py Outdated Show resolved Hide resolved
pikaraoke/karaoke.py Outdated Show resolved Hide resolved
@vicwomg vicwomg changed the title feat : Added support to Android via Termux App feat: Added support to Android via Termux App Nov 22, 2024
@vicwomg
Copy link
Owner

vicwomg commented Nov 22, 2024

Great! Just had a few suggested changes. I will add the Android guide to the wiki

…o a function / use lowecase convention for android / Generalize the error CPU usage query not supported / Use precise statement '==' vs 'in'
@jepes1981
Copy link
Contributor Author

I've addressed the requested changes. Please review them when you have time. Thank you!

@vicwomg vicwomg merged commit 0118733 into vicwomg:master Nov 23, 2024
vicwomg added a commit that referenced this pull request Nov 23, 2024
🤖 I have created a release *beep* *boop*
---


## [1.6.0](1.5.2...1.6.0)
(2024-11-23)


### Features

* Added support to Android via Termux App
([#423](#423))
([0118733](0118733))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants