dmunozv04 / iSponsorBlockTV

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

Jailbroken Apple TV? #11

Closed PencilNotPen closed 1 year ago

PencilNotPen commented 2 years ago

Hi,

Do you think it would be possible to run this directly on the Apple TV if it were jailbroken?

Given that a jailbroken ATV can be attached to via SSH, and the filesystem is open to modification, could iSponsorBlockTV be installed and run directly on the device, without the need for another device?

If so, what changes would need to be made, and what requirements would be needed of the ATV in terms of available commands installed for it to work?

Thanks for a great tool!

dmunozv04 commented 2 years ago

I don’t have a jailbroken Apple TV but it may be a better experience to port iSponsorBlock the tweak to apple TV by @Galactic-Dev. I don’t know if it’s possible to run python and pip on a jailbroken AppleTV and if airplay api is accessible from localhost. If you learn more about this, please let me know

Galactic-Dev commented 2 years ago

If my Apple TV didn't get updated I should be able to jailbreak it still. I could mess around with this and let you know what I find.

dmunozv04 commented 2 years ago

If my Apple TV didn't get updated I should be able to jailbreak it still. I could mess around with this and let you know what I find.

Thank you, that would be amazing

PencilNotPen commented 2 years ago

I don’t have a jailbroken Apple TV but it may be a better experience to port iSponsorBlock the tweak to apple TV by @Galactic-Dev. I don’t know if it’s possible to run python and pip on a jailbroken AppleTV and if airplay api is accessible from localhost. If you learn more about this, please let me know

Yea, I thought the same thing and contacted the dev on iSponsorblock’s GitHub. He said it was too difficult for him due to differences between iOS/tvOS and the YT app on the two platforms:

https://github.com/Galactic-Dev/iSponsorBlock/issues/36

Looking back on it now, it was there that you told me about your tool!

Anyway it seems that Galactic Dev is not likely to do it, and it’s beyond me. I don’t know if you know anyone else who would be capable of adapting his tweak? I agree it would be the simplest way.

I occasionally have access to a jailbroken Apple TV to try out your tool on-device. Let me know of any specific changes you know would be needed (port and stuff), assuming I can install python etc on the device.

Thanks for your quick response!

oxixes commented 1 year ago

With V2, this should be possible as long as a jailbroken Apple TV can run an arbitrary python program, therefore this should be closed.