An open API service indexing awesome lists of open source software.

https://github.com/richstokes/zeroconfigdlna

📺 Stream media to your TV/games console/mobile device with one command!
https://github.com/richstokes/zeroconfigdlna

audio-streaming dlna dlna-casting dlna-server dlna-upnp ffmpeg home-theater hometheater media-server media-streaming mediaserver mkv python python-media-player smart-tv streaming upnp-server video-server video-streaming vlc

Last synced: 2 months ago
JSON representation

📺 Stream media to your TV/games console/mobile device with one command!

Awesome Lists containing this project

README

          

# 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
Mac users can download `Easy Media Server` from the App Store, [here](https://apps.apple.com/us/app/easy-media-server/id6747689205). Easy Media Server is the graphical interface, which uses this repo as it's backend.

 

## Quick Start - Windows
Windows users can [download the latest release here](https://github.com/richstokes/ZeroConfigDLNA/releases). 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:
```bash
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:
```bash
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](https://github.com/richstokes/ZeroConfigDLNA/blob/main/linux_install.sh). It will prompt you for the directory you wish to serve media from:
```bash
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.