Skip to content
프로젝트

소개

Give your old DLNA TV a second life: a phone-controlled smart TV powered by your PC

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • YouTube – search, channels, and with your account: subscriptions and your personal Home
  • Twitch – live streams, past broadcasts and the channels you follow
  • Pluto TV – free live channels plus on-demand movies and series
  • RaiPlay and La7 – Italian live TV and catch-up (available in Italy only)

측정된 스타 증가

in 24h
+2
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ReviveTV icon

ReviveTV

Give your old DLNA TV a second life.
A phone-controlled "smart TV" for pre-smart televisions, powered by the Windows PC you already have.

Platform Node.js License Donate with PayPal

ReviveTV phone app: profile picker, home and settings with profiles and TVs


Plenty of TVs from around 2010 have a perfectly good panel but no usable apps: the built-in YouTube is gone, there is no Twitch, and the "smart" features stopped working years ago. What many of them still have is a DLNA media renderer – they can play a video stream that another device on the network pushes to them.

ReviveTV uses that. A PC on your home network finds the video, converts it on the fly into a format the TV understands (MPEG-2 video + AC3 audio) and streams it to the TV as if it were a home media server. You pick what to watch from a web app on your phone, which can be installed like a native app.

Features

Sources

  • YouTube – search, channels, and with your account: subscriptions and your personal Home
  • Twitch – live streams, past broadcasts and the channels you follow
  • Pluto TV – free live channels plus on-demand movies and series
  • RaiPlay and La7 – Italian live TV and catch-up (available in Italy only)
  • Your own library – movies and TV shows stored on the PC, with embedded or .srt subtitles

On the TV (SmartTV mode)

  • A home screen instead of the TV's tuner: clock and date with the weather beside them, the profile that is watching (photo and name) at the top right, and suggestions picked for that profile that fade in and out one at a time
  • Smooth transitions between videos: everything is stitched into one continuous stream, so the TV never "reloads"
  • An animated info bar, a "coming up" card while a video loads, and an "up next" card with autoplay
  • Pause with a frozen frame and a blurred background
  • YouTube chapters and automatic sponsor skipping (SponsorBlock)
  • Subtitles (including YouTube's automatic translation) and audio track selection

The ReviveTV home screen on a 2010 Sony Bravia: clock, weather, the profile at the top right and a suggestion card
The home screen on the development TV, a 2010 Sony Bravia (Italian locale; profile name and city blurred).

Profiles and multiple TVs

  • Profiles ("Who's watching?"), each with its own name, colour and photo, its own YouTube and Twitch accounts, its own history ("Continue watching") and its own preferences (sources, subtitle language, SponsorBlock)
  • More than one TV: TVs that are on in the network are found automatically; every phone picks the TV it controls, and several TVs can play different things at the same time
  • When a phone connects to a TV, the TV's home screen switches to that phone's profile

On the phone

  • Installable web app (PWA) with a mini player: pause, seek ±30 s / ±5 min, chapters, subtitles, audio tracks, TV volume
  • "Continue watching" across all sources
  • Show or hide individual sources
  • The TV's state is a coloured dot at the top: tap it to pick another TV
  • Send links from other apps: Android's Share menu, or an iPhone Shortcut

Tested TVs

TV Year Result
Sony Bravia KDL-40NX700 2010 ✅ Everything works (the development TV)

That is the only TV it has been tested on so far. Other DLNA TVs should work – look for "DLNA", "media renderer", "DMR" or "media sharing" in the specs – but DLNA support differs a lot between brands and models (accepted formats, seeking, how they react to a stream that never ends). If you try it with your TV, please open an issue and say how it went so this table can grow.

Requirements

  • Windows 10 or 11, switched on while you watch, on the same network as the TV
  • A TV that works as a DLNA renderer (see above)
  • Node.js 22 or later – the installer offers to install it with winget
  • A reasonably modern CPU: every video is re-encoded to MPEG-2 in real time
  • Optional: Git for Windows, for its OpenSSL, to create the HTTPS certificate that lets you install the phone app
  • Optional: Microsoft Edge (preinstalled on Windows), to connect your YouTube and Twitch accounts

ffmpeg and yt-dlp are downloaded by the installer.

Installation

  1. Download the project (Code → Download ZIP and extract it, or git clone https://github.com/martinrossetto/ReviveTV) into a folder such as C:\ReviveTV.

  2. Turn on the TV.

  3. Open PowerShell in that folder and run:

    powershell -ExecutionPolicy Bypass -File .\Install.ps1
    

    The script checks Node.js, downloads ffmpeg and yt-dlp into tools\, compiles the overlay renderer, creates App\config.json and the Media\ folder, looks for the TV on the network, creates the HTTPS certificate, adds Desktop shortcuts and (if you want) starts ReviveTV automatically with Windows. It asks before downloading anything or changing Windows settings (firewall). You can run it again at any time – it also updates yt-dlp.

    Options: -NoPrompt accepts every default; -FilesOnly touches nothing outside the project folder (no firewall rules, shortcuts or startup entry).

  4. On your phone, connected to the same Wi-Fi, open the address shown at the end (e.g. http://192.168.1.10:8765/).

  5. To install it as an app, tap Install as an app at the top of the page and follow the steps: you install a certificate that is only valid for home-network addresses, then open the app over HTTPS.

Usage

  • Start / stop: the Start ReviveTV and Stop ReviveTV shortcuts on the Desktop.
  • SmartTV switch (top of the app): when on, the TV shows the ReviveTV home screen whenever nothing is playing; when off, the TV stays on its own channels and videos play on demand. Pressing Stop on the TV remote while the home screen is showing also switches back to TV mode.
  • Your videos: put them in Media\Movies and Media\TV Shows (folders and subfolders are fine). .srt files with the same name as the video are picked up automatically.
  • Profiles: the first time, the app asks Who's watching? (with only one profile it skips the question). Tap the round picture at the top to switch profile or add one; Settings → Profiles changes the name, colour and photo (picked from the phone, cropped to a square) or deletes a profile – its folder goes to the Windows Recycle Bin. Existing data from an older version becomes the Main profile.
  • TVs: tap the dot at the top (or Settings → TV) to pick the TV this phone controls, rename it (e.g. "Living room") or remove it from the list. The refresh icon searches the network for TVs that have just been switched on. The SmartTV switch is per TV.
  • Accounts (optional, per profile): Settings → Accounts → Connect opens an Edge window on the PC with a separate Edge profile used only by that ReviveTV profile. Sign in on the official page and close the window; the PC then refreshes the session by itself every 6 hours. Your password never passes through ReviveTV.
  • Weather: Settings → Weather on the TV, type your city.
  • Share: on Android, with the app installed, use Share → ReviveTV from YouTube, Twitch and others. On iPhone, set up a Shortcut (instructions in Settings).

Configuration (App\config.json)

Created by Install.ps1 from App\config.example.json. Every entry is optional.

Key Meaning
tv "auto" (find the TV on the network) or the address of its DLNA description, e.g. "http://192.168.1.20:52323/dmr.xml"
tvName With more than one TV: part of the name or model of the one a new phone controls by default (every phone can then pick its own TV in the app)
httpPort, httpsPort App ports (default 8765 and 8766)
mediaDir, libraries Video folder and the subfolders shown in the Library
locale Date format, language names and preferred audio/subtitle language (default "en-GB"; e.g. "en-US", "it-IT", "de-DE")
twitchLanguages Stream languages shown in Twitch's Live now (default ["EN"])
ffmpeg, ffprobe, ytdlp, node "auto" (the tools\ folder, then the PATH) or the full path of the program

After changing it, stop and start ReviveTV.

Limitations

  • Windows only. The installer, startup scripts, overlay renderer (C# / System.Drawing) and account connection (Edge) are all Windows-specific.
  • One tested TV. See Tested TVs. Some TVs may refuse the stream, stop after a while, or not support volume control over DLNA.
  • No DRM. Protected content (many movies on RaiPlay, La7's live stream, paid services such as Netflix) cannot be sent to the TV and is left out. ReviveTV does not bypass protections or geo-blocking.
  • Regional sources. RaiPlay and La7 only work from Italy; the Pluto TV catalogue depends on your country.
  • Startup delay. A video takes a few seconds to start (resolving + conversion), and seeking restarts the conversion from the new position. Picture quality is limited by real-time MPEG-2 encoding and by what the TV accepts.
  • Depends on yt-dlp. When YouTube or Twitch change something, playback may break until yt-dlp is updated – run Install.ps1 again.
  • Twitch followed channels are read from the Following page of the connected Edge profile (Twitch no longer exposes them to third-party apps), so the list can take a few seconds to load.
  • Installable app only on 192.168.x.x networks. The local certificate authority is restricted to those addresses on purpose (and to no domain names at all, so even its key could not be used to impersonate a real website). On other networks the app still works over plain HTTP in the browser, it just can't be installed.
  • One encode per TV. Every TV in SmartTV mode has its own ffmpeg conversion, so the CPU load adds up with each TV that is watching something (or showing the home screen).
  • The PC must stay on while you watch.

Troubleshooting

  • "TV not found" – the TV must be on (not in deep standby) and on the same network. Make sure the firewall rules were added (run Install.ps1 again), or write the TV's address in config.json (search for your model + "dmr.xml", or use any UPnP browser app to find it).
  • The phone can't open the app – the PC and the phone must be on the same network, and the Windows firewall must allow ports 8765/8766.
  • Installed before December 2026? The local certificate authority made by older versions restricted IP addresses but not domain names. Run AppCreate-Certificate.ps1 -NewCA (or Install.ps1, which offers it), restart ReviveTV, install the new certificate on your phones and remove the old ReviveTV - local CA from them.
  • The PC's address changed – the HTTP app keeps working at the new address; for the installed app run App\Create-Certificate.ps1 again. Better: give the PC a fixed address in your router.
  • A YouTube video doesn't start – run Install.ps1 again to update yt-dlp.
  • Logs – startup.log (startup) and App\app.log (everything else).

How it works

flowchart LR
    phone["📱 Phone<br/>web app"]

    subgraph pc["💻 Windows PC · Node.js server"]
        direction LR
        src["Sources<br/>YouTube, Twitch via yt-dlp<br/>Pluto TV API · local files"]
        ff["ffmpeg<br/>MPEG-2 + AC3<br/>one process per piece"]
        sp["Splicer<br/>rewrites SCR / PTS<br/>cuts at GOPs"]
        src --> ff --> sp
    end

    tv["📺 Old TV<br/>DLNA renderer"]

    phone -- "HTTP" --> src
    pc -. "play URL (once)" .-> tv
    sp == "endless stream" ==> tv

    classDef accent stroke:#7c8cff,stroke-width:3px
    class sp accent

The TV is told to play a URL only once (discovered via SSDP, controlled via UPnP AVTransport). Everything after that – home screen, "coming up" card, videos, pause screen – is a separate ffmpeg output in the same format, stitched into that single stream by the splicer, so the TV never stops or falls back to its own menu.

Path Contents
App/server.js Node.js server: phone app API, DLNA control of the TVs (SSDP discovery + SOAP, one instance per TV), profiles, sources, ffmpeg conversion, history
App/continuous.js The "splicer": the TV receives a single endless stream, and content (home screen, videos, pause) is stitched piece after piece by rewriting MPEG-PS clocks
App/overlays.js, App/tools/overlay-render.cs TV graphics: images drawn by a small C# program and animated by ffmpeg
App/accounts.js YouTube/Twitch accounts through a dedicated Edge profile (cookies read locally)
App/rai-la7.js RaiPlay and La7 catalogues
App/public/ The phone web app (PWA)
App/profiles/, App/tvs.json Created at runtime: one folder per profile (accounts, history, preferences, photo) and the list of known TVs – never committed
Install.ps1, Start-ReviveTV.ps1, Stop-ReviveTV.ps1, App/Create-Certificate.ps1 Setup, start, stop, HTTPS certificate

Privacy: everything stays on your PC. Profiles (with their history, settings, account cookies and photos), the TV list and certificates live in the project folder and are excluded from git (see .gitignore). The only external services contacted are the video sources themselves, Open-Meteo for the weather and SponsorBlock for the segments to skip.

Support the project

ReviveTV is free for personal use. If it gave your old TV a second life and you'd like to say thanks, you can buy me a coffee on PayPal ☕ – it's completely optional, and reporting how it works on your TV (see Tested TVs) helps just as much.

Disclaimer

Using YouTube and other services through tools such as yt-dlp may not comply with their terms of service: use ReviveTV for personal use and at your own discretion. This project is not affiliated with YouTube, Twitch, Pluto TV, Rai, La7 or Sony; logos and trademarks belong to their respective owners.

License

PolyForm Noncommercial 1.0.0 © 2026 martinrossetto. In short (the text in LICENSE is what counts):

  • you may use, download, modify and share ReviveTV for free, for any non-commercial purpose (personal use, study, hobby projects, non-profit organisations…);
  • you may not use it commercially (selling it, or including it in paid products or services);
  • anyone who redistributes it, modified or not, must include the license and the line Required Notice: Copyright 2026 martinrossetto (https://github.com/martinrossetto) – i.e. credit the author.

For commercial use, contact the author. ffmpeg and yt-dlp, downloaded by Install.ps1, have their own licenses.

관련 프로젝트 살펴보기

불러오는 중…