Safety and family4 min read

End-to-end encryption: how your playlist reaches the TV without anyone seeing it

Your playlist's path from phone to TV, explained with a safe and two keys. What our server sees (nothing that matters), what it keeps (nothing) and why that makes a difference.

By the Nineplay TeamPublished
Article cover: End-to-end encryption: how your playlist reaches the TV without anyone seeing it

In 30 seconds

  • Your playlist has a username, password and server address. Anyone with those details can use your access.
  • In Nineplay, the playlist is locked on your phone and only your TV has the key to open it. Our server only passes along a sealed package.
  • The TV's QR code lasts 3 minutes and the package is deleted from the server within minutes.
  • On iPhone, Android and Windows the playlist stays on the device only; it never goes to any server.

Why protect a playlist?

An IPTV playlist looks like just a link, but it carries a personal login: server address, username and password. Anyone who copies those details can use your access on another device, take up your screens or get your account blocked by the provider.

Typing that login with a remote is a pain, so the natural route is to send the playlist from another device. The question is: where does it pass through, and who can read it on the way? In Nineplay the answer is short: our server can never read your playlist.

0playlists stored on Nineplay's server
3 minbefore the TV's QR code expires
1 keythat can open the package, and it stays on the TV

The idea in one picture: a safe only the TV can open

Picture a safe with a special padlock. The TV makes a pair of keys: an open padlock it can show anyone, and the only key that opens it, which never leaves the TV. The phone gets the open padlock, locks the playlist inside the safe and sends the closed safe. Along the way, nobody has the key, not even us.

Figure 1. End-to-end encryption: the playlist only exists unlocked on your phone and your TV.

Sending to the TV, step by step

  1. The TV shows a QR codeIt carries a pairing code and the TV's open padlock. The padlock goes in the part of the link after the #, which the browser never sends to any server. It lasts 3 minutes; then the TV makes a new one.
  2. You point your phone's cameraIt opens the sending page in your phone's browser. Nothing to install.
  3. You choose M3U or Xtream and sendThe playlist is locked right there, in your phone's browser, before it leaves the device.
  4. The server delivers the package to the TVIt only knows which TV the package is for. The contents are unreadable to it.
  5. The TV opens it and loads the catalogThe package is deleted from the server within minutes. The playlist stays only on the TV.

What Nineplay's server sees and doesn't see

The server knows

That a transfer exists

  • That TV's pairing code
  • When it was sent
  • The size of the sealed package
The server never sees

Your playlist

  • The M3U link
  • The Xtream server, username and password
  • Your channels, movies and series

The technical part, for anyone who wants to check

We use public-key cryptography with Curve25519 to agree on a key between phone and TV and XSalsa20-Poly1305 to lock and authenticate the contents. It's the combination known as box from the NaCl library, used for years in messaging apps and security tools.

  • Curve25519: each side has a private and a public key. Combining its own private key with the other's public key, both arrive at the same secret without ever sending it.
  • XSalsa20: scrambles the playlist with that secret. Without the key, the result is noise.
  • Poly1305: a seal of authenticity. If anyone changes a single byte along the way, the TV notices and rejects the package.
If our server were hacked tomorrow, there would be no playlists to take.

What about phones and computers?

On iPhone, Android and Windows you paste the playlist right into the app, and it's stored only on that device. Nothing is sent to a server. What syncs between devices is your progress and your My list, never the playlist login (see how continue watching works).

Nineplay settings screen on iPhone with subscription, profiles and the connected playlist
Connect-your-playlist screen in the phone app
Figure 2. On the phone, the playlist is pasted into the app and stored only on the device. Sample data.
A rule that always appliesNineplay support never asks for your playlist link, username or password. If someone asks in our name, don't send it.

Quick quiz

3 questions to check what stuck. Tap an answer.

Can Nineplay's server read the playlist going to the TV?

Where is the playlist stored on the phone?

Continue watching progress is tied to…

Frequently asked questions

Does Nineplay store my playlist?

No. On TVs, the playlist passes through our server only as an encrypted package it can't open, and it's deleted within minutes. On iPhone, Android and Windows it doesn't even touch the server.

What encryption does Nineplay use?

Curve25519 to agree on keys and XSalsa20-Poly1305 to lock and authenticate the contents, the combination known as box from the NaCl library.

Why does the QR code expire?

So a QR code that's photographed or left on screen can't be used to send anything later. It lasts 3 minutes and the TV makes a new one right away.

Try Nineplay for 7 days.

Create your account now and use it on iPhone, iPad, Mac, Apple TV, Android, Windows and Xbox. The other platforms join the same subscription.

Nineplay is a player app. We don't sell, provide or recommend channels, movies, series or playlists, and we don't support using content without authorization. Only use playlists from providers who have the right to stream them.