Reverse engineered prompt

Build me a modern IPTV player app for Android TV boxes and also usable on phone, with a fast TV friendly interface that works well with a remote. I want people to be able to add either an M3U playlist or Xtream login details, including support for multiple DNS addresses so if one fails it automatically tries the next one.

The app should separate Live, Films, and Series, show posters and episode details, include a scrollable TV guide grid with now and next info, and remember where someone left off so they can continue watching later. Please add multi user profiles like streaming apps, with favorites, history, personalized recommendations, and a simple profile picker.

I also want Chromecast support, an integrated WireGuard VPN import and connect flow, parental control with a 4 digit PIN, search with smart suggestions, and a clean dark purple style. Keep it self contained, no backend, no ads, no account system, everything stored locally except the IPTV provider connection. If needed, look up current docs online and make it build into an APK.

Want more depth? Deep Reverse