5rahim / seanime

Open-source media server for anime and manga.
https://seanime.rahim.app
MIT License
385 stars 29 forks source link

bug: [Termux] /etc/resolv.conf issue #107

Closed SonaliBendre closed 2 months ago

SonaliBendre commented 3 months ago

Checklist

Bug Severity

Low

Bug Area

Online Streaming

Bug Description / Steps to Reproduce

in unrooted android device, /etc/resolv..conf can't be accessed. When seanime is run in termux certian stuffs like online streaming and anilist/tvdb metadata don't work because of no internet connection Possible solution is build it in termux-docker

Expected Behavior

No response

Screenshots

No response

Logs

-

Debugging Checklist

App Version

v1.7.3

Operating System

Android

SonaliBendre commented 2 months ago

@5rahim

5rahim commented 2 months ago

Sorry for the delay but as I said in https://github.com/5rahim/seanime/issues/100#issuecomment-2227035328, I'm not familiar with Termux & I don't own an android phone to test and debug related issues.

SonaliBendre commented 2 months ago

Termux is ditto same as any other GNU/Linux distro. Only one caveat is if your phone isn't rooted and running a go app in termux then it won't be able to access /etc/resolv.conf so technically no Internet The fix is you've to either build the software in termux app or in docker https://github.com/termux/termux-docker

SonaliBendre commented 2 months ago

https://github.com/termux/termux-packages/pull/9721

5rahim commented 2 months ago

The issue for me here is CI/CD. You could fork it and try to make it work with the current release workflow as a proof of concept, otherwise I'm not currently willing to spend time on it.

5rahim commented 2 months ago

I'm not asking for a build. Like I said, either:

  1. Fork the project and integrate the build process for Termux into the current Github release workflow -- as a PoC
  2. Fork the project and maintain your own Termux releases

Closing this issue for now.