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
New Apple Tv not found when running setup #36
Comments
You can get them this way (it’s an old guide the readme had at some point):
I can’t give you more help if you don’t follow the issue template |
I get an error trying to run that. Using the issue template below. Before opening an issue make sure that there are no duplicates and that you are on the latest version. To Reproduce docker run --rm -it Expected behavior iSponsorBlockTV server (please complete the following information): Apple TV (please complete the following information): Additional context Terminal log
complete config file: {"apikey": "AIza...", "skip_categories": ["sponsor"]} |
If I'm understanding this correctly, your older (not 2022) apple TV's are connecting fine, but your 2022 isn't? |
Yes. Running the setup with the old Apple TV months ago worked. New one
isn’t being added to the config. I no longer have the old Apple TV though.
I’m guessing there must be some network issue or something unusual with the
new Apple TVs that prevents this info from being seen.
…On Sun, Nov 13, 2022 at 5:44 PM David ***@***.***> wrote:
If I'm understanding this correctly, your older (not 2022) apple TV's are
connecting fine, but your 2022 isn't?
—
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYYTOUFBC2YCUNV7M2DMJ6TWIFVMDANCNFSM6AAAAAAR7F4NTY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
My code checks for specific apple TV models. The new model hasn't been added to pyatv yet AFAIK, so maybe that's the issue. Could you edit |
Please let me know if this works and I'll edit it in the repository |
I was able to edit the file as instructed and download your code but I am too much of a docker novice to understand how to actually run that new setup file. I even tried branching your code and running it under my username but failed to make that live. a bit embarrassing. https://github.com/theprinceofspace/iSponsorBlockTV Sorry, any other suggestions here? |
Please run
That should use the new code from my pull request |
unfortunately the output was the same. terminal: jeff@trove:~$ sudo docker run --rm -it \
|
Did you attempt this method? |
Sorry again, very new to docker in general. docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown. Tried updating this part |
Try using this |
WOOHOO! that worked. though it gave me a couple identifiers, both look much shorter than the previous setup. Identifiers:
I used the second one first but it wasnt skipping ads so I tried the first one. same result though. both asked me to put in the code on the apple tv so I thought I had synced correctly. but after several tests, app restarts and apple tv restarts, still no ad skipping. Config file {"atvs": [{"identifier": "A8...", "airplay_credentials": "910cfb51..."}], "apikey": "AIza...", "skip_categories": ["sponsor", "selfpromo", "exclusive_access", "interaction"]} I also deleted and reinstalled the docker container just in case that was the issue. it is running but still seeing the sponsor segments in videos where those sections skip on my laptop. |
Please run the container with debug logs so I can diagnose the issue.
|
If you don’t want to post them, you can send them to my discord: dmunozv04#7198 |
Better news, after my last comment I rebooted the server completely (not just docker) and it works! Like magic ads are skipping just as with my old Apple TV. Thanks for holding my hand through all of this. Really appreciate it and your incredible software. You rock! |
Thanks for the nice comment. I’m happy that you managed to get it working with the new apple TV! |
I got a new apple tv and when I run the setup it isn't found, no identifier or airplay credentials are added to config.json. I deleted all and tried a fresh install but that also didnt work.
I run this
docker run --rm -it
--network=host
-v /volume1/docker/isponsorblocktv/config.json:/app/config.json
-e PUID=0
-e PGID=0
-e iSPBTV_docker=
ghcr.io/dmunozv04/isponsorblocktv
--setup
in terminal I see
Found 0 Apple TV(s) in config.json. Add more? (y/n) y
I hit y but it just asks for my API key next.
output looks like this:
{"apikey": "6...", "skip_categories": ["sponsor", "selfpromo", "exclusive_access", "interaction"]}
with none of the
"atvs": [{"identifier": "D261...", "airplay_credentials"
I also tried installing docker on my mac but get the same output. On the Apple TV settings Airplay is on and Allow Access is set to Same Network. All devices are on the same network.
Must be missing something here but I am out of ideas.
If there is another way to get the identifier and airplay credentials I am happy to update the config file manually. Open to options here.
The text was updated successfully, but these errors were encountered: