warren-bank/Android-ExoPlayer-AirPlay-Receiver — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me an Android app for an Android TV or set top box that acts like a simple AirPlay v1 receiver for media links. When the app starts, it shouldn’t show a normal UI. It should run as a foreground service, start a small HTTP server on port 8192, and show a notification with the device IP address.

From another device on the same network, I want to send it a video or audio URL with simple HTTP commands. Videos should open in a full screen player, audio should keep playing in the background even if the screen is off. Add notification controls for play, pause, seek, stop, and returning to the player.

It should also be able to open local media files from Android storage, read m3u playlists, build playlists from folders or simple web directory pages, and auto load matching subtitle files next to local videos. Use ExoPlayer or the current Android media player approach, and look up current docs online if needed.

Want more depth? Deep Reverse