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

Apple TV implementation #723

Open
ghost opened this issue Sep 9, 2023 · 4 comments
Open

Apple TV implementation #723

ghost opened this issue Sep 9, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 9, 2023

Someone should build a frontend for apple TV and release it for free.

@Blaquewithaq
Copy link
Contributor

Sounds like your volunteering? :D

@kblaschke
Copy link
Member

Seriously, if anyone is able to write an open-source app for iOS and tvOS, that'd be amazing!

Once there's there's a working implementation, we finally have a good incentive to use some of our OpenCollective funds to buy an Apple Developer subscription and release the new app, the SDL frontend and the Music plug-in with proper code signing and an official Apple Store account managed by the projectM team.

@connorjs
Copy link

Are there any example iOS-like apps that y'all know of that can hook into existing sound? The macOS app works via its microphone, but the Apple TV doesn't have a mic.

I assume the idea would be that I start Spotify or Apple Music or something and then open this app second.

I haven't dove too deeply, but I think I saw the Apple Music app existed as a plug in somehow?

Context: I've always wanted a visualizer similar to the old iTunes one, and liked projectM from trying it out. I've also always wanted to build an Apple TV app. I'm happy to try to build this out, but hoping for any direction/guidance to get me started.

(Treat this as "interested" not "yes I'm doing it" though 😀)

@kblaschke
Copy link
Member

kblaschke commented Oct 21, 2023

Yes, there is a plug-in for Apple Music. Not exactly sure if it works on Apple TV, can't try it because I don't have such a device, but I don't see a reason why it shouldn't. You'd have to build it with the tvOS SDK and code-sign your build with a proper developer ID to be able to run code on the Apple TV, similar to iOS apps. If you've got an Apple developer account, then just go ahead, the sources are here:

https://github.com/projectM-visualizer/frontend-music-plug-in

Due to limitations of the - now deprecated and undocumented - iTunes visualizer API, you will only get 8-bit audio data and only updates every 200ms, so the beat detection won't work very well and the waveforms look a bit choppy, but as with all Apple things there's not much we can do here.

Not sure about how to package/install the extension bundle on tvOS, but there's probably some documentation available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants