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

How to use the docker image #93

Open
sunhaox opened this issue Oct 16, 2024 · 1 comment
Open

How to use the docker image #93

sunhaox opened this issue Oct 16, 2024 · 1 comment

Comments

@sunhaox
Copy link

sunhaox commented Oct 16, 2024

Thanks for your hard work. It's a greate app.
I try the executable binary and it works on the host side. I try it in container but can not find any avaliable device.

$ go2tv -l
Encountered error(s): checkflags error: checkTflag service loading error: loadSSDPservices: No available Media Renderers

Do I need to publish some container port? Can you share the docker run command?
Thanks.

@alexballas
Copy link
Owner

Hello,

Here are the steps I run.

$ xhost +local:docker
$ docker run -it --network host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix go2tv go2tv

The important bit is define the --network host part as this is the one that will allow the docker container to run in the same network as "presumably" the one your media device runs on.

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

No branches or pull requests

2 participants