GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - richstokes/ZeroConfigDLNA: 📺 Stream media to your TV, games console, mobile devices, with one command!

BranchesTags
Open more actions menu

Latest commit

 

History

190 Commits
190 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
debug
debug
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
NOTES.md
NOTES.md
 
 
README.md
README.md
 
 
ZeroConfigDLNA.spec
ZeroConfigDLNA.spec
 
 
app.py
app.py
 
 
constants.py
constants.py
 
 
custom_mimetypes.py
custom_mimetypes.py
 
 
dlna.py
dlna.py
 
 
dreamcast.py
dreamcast.py
 
 
helpers.py
helpers.py
 
 
linux_install.sh
linux_install.sh
 
 
mime.types
mime.types
 
 
ssdp.py
ssdp.py
 
 
test_dlna.py
test_dlna.py
 
 
test_dreamcast.py
test_dreamcast.py
 
 

Repository files navigation

ZeroConfigDLNA

Simple, cross-platform DLNA media server.

Share media from your computer to your TV (or any other UPnP device!) with a single command. Runs on Windows, Linux, and MacOS.

 

Quick Start - MacOS

I have a commercial product, Media Server Pro for macOS users which is the easy way! Otherwise, you can run this python app below.

 

Quick Start - Windows

Windows users can download the latest release here. Copy the .exe to the directory you wish to serve files from and double click to launch (you may need to accept the generic Windows security warning).

 

Run via Python (Mac, Linux, Windows)

  1. Clone or download this repository.

  2. Run the application:

    python app.py

    This will serve media from the current directory by default.

  3. To serve media from a different directory, use the -d flag:

    python app.py -d /path/to/your/media

This project uses only Python (3.4+) standard library features, so no additional packages or setup are required.

 

Install as a Linux Service

Great for if you have a dedicated media server. You can install ZeroConfigDLNA as a systemd service by running this one-liner interactive install script. It will prompt you for the directory you wish to serve media from:

curl -fsSL https://raw.githubusercontent.com/richstokes/ZeroConfigDLNA/refs/heads/main/linux_install.sh -o /tmp/install.sh && sudo bash /tmp/install.sh && rm /tmp/install.sh

The service will then auto-start on boot.

To upgrade or change the media directory, simply re-run the install script command above.

 

Why?

I wanted something quick and easy that would let me share videos from my laptop to my TV. The DLNA/media server implementations I tried seemed to be extremely over-complicated, needed tons of configuration, or were heavyweight with various other features bolted on.

By contrast, ZeroConfigDLNA has nothing to configure. You simply run it and it appears as a media server on your TV.

Compatibility

Tested and known working on:

  • Sony Bravia Smart TV
  • Samsung Smart TV
  • Xbox Media Player
  • VLC Media Player (including iPhone/iPad)

Feel free to open an issue with the log output if you run into problems and I'll see if I can fix it. Use the -v flag to turn on verbose logging.

External subtitles

UTF-8 SubRip (.srt) sidecar subtitles are advertised to compatible players using common Samsung and Panasonic-style DLNA extensions. Put the subtitle beside the video and use the same base name, for example Movie.mkv with Movie.srt. Language-tagged names such as Movie.en.srt are also detected. Subtitle support ultimately depends on the receiving player.

Dreamcast mode

--dreamcast-mode adds a live transcode of every video and audio file that a Sega Dreamcast running LemonPlay can play. It needs ffmpeg and ffprobe on your PATH (brew install ffmpeg).

python app.py --dreamcast-mode -d /path/to/your/media

Other players still get the original files; the transcode is an extra resource on each item. Video is MPEG-1 sized for what the Dreamcast's CPU can decode in real time, with 16-bit PCM stereo audio.

About

📺 Stream media to your TV, games console, mobile devices, with one command!

Topics

audio-streamingdlnadlna-castingdlna-serverdlna-upnpffmpeghome-theaterhometheatermedia-servermedia-streamingmediaservermkvpythonpython-media-playersmart-tvstreamingupnp-servervideo-servervideo-streamingvlc

Resources

Readme
MIT license
Activity

Stars

15 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.