Closed Yumega closed 9 months ago
Are you running docker in a non-interactive terminal? That could break some stuff. If you want, you can test the v2 branch, brand new. Use these instructions to use the v2 branch
still get the same thing never work, the container auto stop ,found 0 device
@Yumega 0 devices found means that you haven’t added any. Please use the configurator as described on the v2 guide to add devices
@dmunozv04 really don't know how to use the textual the configurator😂 it's nice you can make a tutorial step by step. I only know how to deploy docker container, don't know other things
@Yumega It’s already nicely explained on the doc. Just run the docker command and it should open
@dmunozv04 does it need install python on the system?
@Yumega no, just run the command and it should work. Append --setup
to the command you ran earlier that gave you the no devices found error or --setup-cli
to run the cli configurator
@Yumega did it work correctly?
@Yumega did it work correctly?
Doesn’t work. Still same problem
@Yumega I've posted a new version. Please check it out and let me know if it fixes your issues
@dmunozv04
docker run -d \
--name iSponsorBlockTV \
--restart=unless-stopped \
-v /opt/iSponsorBlockTV:/app/data \
ghcr.io/dmunozv04/isponsorblocktv
I got error
stdout: Could not load config file
stdout: Blank config file created
stdout: No devices found, please add at least one device
stdout: Exiting in 10 seconds...
stdout: Could not load config file
stdout: Blank config file created
stdout: No devices found, please add at least one device
stdout: Exiting in 10 seconds...
do I need creat a config.json in /opt/iSponsorBlockTV?
You need to run the configurator first. This should be the command with your config directory mounted.
docker run --rm -it \
--name iSponsorBlockTV \
--net=host \ # Remove line on windows and macOS
-v /opt/iSponsorBlockTV:/app/data \
ghcr.io/dmunozv04/isponsorblocktv \
--setup
@dmunozv04
I use openwrt with docker function after I run the configurator first
docker run --rm -it \
--name iSponsorBlockTV \
--net=host \
-v /opt/iSponsorBlockTV:/app/data \
ghcr.io/dmunozv04/isponsorblocktv \
--setup
I found /app/data/ still empty there is nothing inside.
then I run
docker run -d \
--name iSponsorBlock \
--restart=unless-stopped \
-v /opt/iSponsorBlockTV:/app/data \
ghcr.io/dmunozv04/isponsorblocktv
I still get
stdout: Could not load config file
stdout: Blank config file created
stdout: No devices found, please add at least one device
stdout: Exiting in 10 seconds...
Did the command I sent on the previous comment open a configurator window for you to enter some data? If not, try the text-based configurator, it should avoid some issues with the other configurator
docker run --rm -it \
--name iSponsorBlockTV \
--net=host \ # Remove line on windows and macOS
-v /opt/iSponsorBlockTV:/app/data \
ghcr.io/dmunozv04/isponsorblocktv \
--setup-cli
@dmunozv04
lol, yes It should run in TTYD with the code
docker run --rm -it \
--net=host \
-v /opt/iSponsorBlockTV:/app/data \
ghcr.io/dmunozv04/isponsorblocktv \
--setup
now It open a window
but I don't know where to find the pairing code ,lan can't discover my atv. my atv ip is 192.168.11.8 my openwrt ip is 192.168.11.1
V2 has changed some stuff. You need to go into YouTube -> Settings -> Link with code. There you should get a 12 digit code to input
@dmunozv04 seems it's successful now. I will test the result
@dmunozv04 Thanks a lot, it works very well. it's very clean now. Thank you again very appreciate your help
That's great to hear, you're welcome
my docker system support host mode
get error stderr: EOFError: EOF when reading a line![image](https://github.com/dmunozv04/iSponsorBlockTV/assets/61570667/a39b63d5-a737-4921-a784-72f7258091f6)