Milad Al Usta Halabi
العربية
Menu

06Apps

PROTV Apps

Streaming apps for phones, Android TV and LG TVs

Draws on

  1. Networks
  2. Software
Role
Sole developer
Year
2026
Disciplines
Software engineering, Systems architecture, Telecommunications and networking
Technologies
Kotlin, Jetpack Compose, Media3 ExoPlayer, HLS, UDP multicast, LG webOS, ES5 JavaScript, Node.js, OpenAPI, Cloudflare Pages
PROTV home screen on an LG TV with a featured title and favourites

Independent client apps for the PROTV streaming service, covering series, movies and live TV. One Kotlin app runs on phones, tablets and Android TV boxes, and a web app runs on LG TVs back to 2016, both in Arabic and English with a full right-to-left layout.

The challenge

People watch on whatever screen they have, from new phones to Android TV boxes and LG TVs as old as 2016, often on connections that stall. Live channels arrive as UDP multicast inside the provider's network, which a web page cannot play, and the service's API sends no CORS headers, so a TV web app cannot call it directly.

The solution

  • One native Android app in Kotlin and Jetpack Compose serves phones, tablets and Android TV. On a TV it switches by itself to a layout built for the remote.
  • Video plays through Media3 ExoPlayer with a three-minute buffer for unsteady connections. It resumes where you stopped, plays the next episode by itself, and explains a failure instead of showing a blank screen.
  • Live channels play straight from UDP multicast through ExoPlayer, with a TV guide showing what is on now and next.
  • The LG app is plain ES5 JavaScript and old-engine CSS, so it runs on webOS 3.0 (Chromium 38) and later. A small Node.js service on the TV makes the API calls the page cannot make itself.

Features

Player

  • HLS playback with a three-minute buffer, resume or start over, and the next episode starting on its own.
  • Subtitles in the app's language by default, and an overlay showing download speed and seconds buffered.
  • An intro skipper. Mark the end of an intro once, and later episodes of the series skip it or offer a button.

Live TV

  • UDP multicast channels played directly with ExoPlayer, holding Wi-Fi and multicast locks while they play.
  • Channel groups, favourites, search and a now-and-next guide. Channels behind the parental PIN show as locked.
  • On a TV remote, the arrows change channel and the number keys jump to one.

Downloads

  • Episodes, whole seasons and movies download for offline viewing, subtitles included, as a background service with a notification.
  • Downloads pause while something plays online, so they never slow the video down.

Account and updates

  • The session renews itself before its 72-hour token expires, so viewing is never cut off.
  • The app updates itself. It checks a feed on Cloudflare Pages, downloads the new APK, verifies its SHA-256, and hands it to Android's installer.
  • Arabic and English, following the phone's language on first run.

LG TVs

  • Sign in, home, series and movie grids with search, series and movie pages, resume, and full right-to-left Arabic.
  • Tested on a 2017 LG TV, and packaged for the LG Content Store with icons, screenshots and Arabic and English descriptions.

My contribution

Designed and built both apps, the TV-side service and the release tooling. All 56 commits are mine, from November to December 2026.

Outcomes

  • Android app version 0.2.9, about 3 MB after minification, for Android 8.0 and newer.
  • The LG webOS app has been submitted to the LG Content Store.

Documentation

Series grid on Android in Arabic with filters and posters
Fig. 1 Series on a phone, Arabic
Series page on Android with season and episode list
Fig. 2 A series and its episodes
Video player on Android with playback controls and episode navigation
Fig. 3 The player
Movies grid on Android in Arabic
Fig. 4 Movies on a phone
Live TV channel grid on an LG TV with channel groups
Fig. 5 Live TV on an LG TV
Series page on an LG TV with seasons and episodes
Fig. 6 A series page on the TV, Arabic
Movie page on an LG TV with a play button and related titles
Fig. 7 A movie page on the TV

An independent client for the PROTV service. Posters, channel logos and programme artwork belong to their owners.