dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.17k stars 89 forks source link

Add Apple TV device #146

Closed apereipa closed 2 months ago

apereipa commented 2 months ago

Hello I don't know if this is the most correct place, but I bought an Apple TV, and installed iSponsorBlockTV on my home assistant. And I can't get it to work

in the logs appear this mensage:

[18:02:04] INFO: Starting... No devices found, please add at least one device Exiting in 10 seconds...

Can anyone help me? thanks

dmunozv04 commented 2 months ago

As @bertybuttface ’s add on instructions say, you need to generate a valid config file on another device and copy it to the device that’ll run the addon. It doesn’t automatically discover devices

apereipa commented 2 months ago

And I can use a windows pc to do that?

dmunozv04 commented 2 months ago

Yeah, you should be able to either use docker, pip or pipx to install iSponsorblockTV on your windows machine and copy the appropriate config.json to home assistant. Check the wiki for more details

apereipa commented 2 months ago

ok, It works!!

i install a docker desktop on windows, and then i run in my powershell this:

Remove-Item -Recurse -Force C:\tmp\config New-Item -ItemType Directory -Force C:\tmp\config docker run --rm -it -v C:\tmp\config:/app/data --net=host ghcr.io/dmunozv04/isponsorblocktv --setup-cli Get-Content C:\tmp\config\config.json

dmunozv04 commented 2 months ago

that's great to hear