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 - chrdev/minidlna: A minidlna supports sonos

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

875 Commits
875 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
buildroot
buildroot
 
 
linux
linux
 
 
po
po
 
 
tagutils
tagutils
 
 
.gitignore
.gitignore
 
 
AUTHORS
AUTHORS
 
 
COPYING
COPYING
 
 
ChangeLog
ChangeLog
 
 
LICENCE.miniupnpd
LICENCE.miniupnpd
 
 
Makefile.am
Makefile.am
 
 
NEWS
NEWS
 
 
README
README
 
 
TODO
TODO
 
 
albumart.c
albumart.c
 
 
albumart.h
albumart.h
 
 
autogen.sh
autogen.sh
 
 
avahi.c
avahi.c
 
 
avahi.h
avahi.h
 
 
clients.c
clients.c
 
 
clients.h
clients.h
 
 
codelength.h
codelength.h
 
 
configure.ac
configure.ac
 
 
containers.c
containers.c
 
 
containers.h
containers.h
 
 
event.h
event.h
 
 
getifaddr.c
getifaddr.c
 
 
getifaddr.h
getifaddr.h
 
 
icons.c
icons.c
 
 
image_utils.c
image_utils.c
 
 
image_utils.h
image_utils.h
 
 
kqueue.c
kqueue.c
 
 
libav.h
libav.h
 
 
log.c
log.c
 
 
log.h
log.h
 
 
metadata.c
metadata.c
 
 
metadata.h
metadata.h
 
 
minidlna.c
minidlna.c
 
 
minidlna.conf
minidlna.conf
 
 
minidlna.conf.5
minidlna.conf.5
 
 
minidlnad.8
minidlnad.8
 
 
minidlnapath.h
minidlnapath.h
 
 
minidlnatypes.h
minidlnatypes.h
 
 
minissdp.c
minissdp.c
 
 
minissdp.h
minissdp.h
 
 
minixml.c
minixml.c
 
 
minixml.h
minixml.h
 
 
monitor.c
monitor.c
 
 
monitor.h
monitor.h
 
 
monitor_inotify.c
monitor_inotify.c
 
 
monitor_kqueue.c
monitor_kqueue.c
 
 
options.c
options.c
 
 
options.h
options.h
 
 
playlist.c
playlist.c
 
 
playlist.h
playlist.h
 
 
process.c
process.c
 
 
process.h
process.h
 
 
scanner.c
scanner.c
 
 
scanner.h
scanner.h
 
 
scanner_sqlite.h
scanner_sqlite.h
 
 
select.c
select.c
 
 
sendfile.h
sendfile.h
 
 
sql.c
sql.c
 
 
sql.h
sql.h
 
 
testupnpdescgen.c
testupnpdescgen.c
 
 
tivo_beacon.c
tivo_beacon.c
 
 
tivo_beacon.h
tivo_beacon.h
 
 
tivo_commands.c
tivo_commands.c
 
 
tivo_commands.h
tivo_commands.h
 
 
tivo_utils.c
tivo_utils.c
 
 
tivo_utils.h
tivo_utils.h
 
 
upnpdescgen.c
upnpdescgen.c
 
 
upnpdescgen.h
upnpdescgen.h
 
 
upnpevents.c
upnpevents.c
 
 
upnpevents.h
upnpevents.h
 
 
upnpglobalvars.c
upnpglobalvars.c
 
 
upnpglobalvars.h
upnpglobalvars.h
 
 
upnphttp.c
upnphttp.c
 
 
upnphttp.h
upnphttp.h
 
 
upnpreplyparse.c
upnpreplyparse.c
 
 
upnpreplyparse.h
upnpreplyparse.h
 
 
upnpsoap.c
upnpsoap.c
 
 
upnpsoap.h
upnpsoap.h
 
 
utils.c
utils.c
 
 
utils.h
utils.h
 
 
uuid.c
uuid.c
 
 
uuid.h
uuid.h
 
 

Repository files navigation

MiniDLNA with sonos support

## Usage

Set minidlna port to 10243. In sonos app, turn on "System -> Media Servers -> Show Media Servers".

This fork doesn't affect other already supported devices.

Tip 1: Sonos S2 dropped DLNA functionality, so use S1.

Tip 2: There is a "Show UPnP servers" in the sonos app, it doesn't matter.

#### Album art

The original minidlna serves 160x160 album arts. It's blurry on Sonos App. So this fork sends raw art files to sonos. Arts are searched in this order:

1. audiofilename.ext.cover.jpg

2. audiofilename.jpg

3. file names specified by album_art_names - minidlna.conf.

960x960 is recommended for optimal visuals, and 480x480 for limited bandwidth.

As a protective measure, art file size can not exceed 512KB.

## Development

Sonos support only a limited number of DLNA servers, namely Windows Media Player and reportedly a few other proprietary software.

So we can mimic Windows Media Player.

1. Model name must be "Windows Media Player Sharing", model number be "12.0". Then the server is listed and browsable.

2. Port number must be 10243. This is the port that "Windows Media Player Network Sharing Service" uses. Actually, description, control and event can use any port, but media files must use 10243.

3. Media files must reside in /WMPNSSv4/ so that sonos will request for arts. The requsting syntax is "/WMPNSSv4/.../audiofile.ext?albumArt=true".

4. Metadata in SOAP: album artist is 'upnp:artist role="AlbumArtist"', track artist is 'upnp:artist role="Performer"'. See upnpsoap.c for details.

## Original README:

MiniDLNA project
(c) 2009 Justin Maggard
Portions (c) 2006-2007 Thomas Bernard
webpage: http://sourceforge.net/projects/minidlna/

This directory contains the MiniDLNA daemon software.
This software is subject to the conditions detailed in
the LICENCE file provided with this distribution.

Parts of the software including the discovery code are
licensed under the BSD revised license which is detailed
in the LICENSE.miniupnpd file provided with the distribution.
More information on MiniUPnPd can be found at http://miniupnp.free.fr.


The MiniDLNA daemon is an UPnP-A/V and DLNA service which
serves multimedia content to compatible clients on the network.
See http://www.upnp.org/ for more details on UPnP
and http://www.dlna.org/ for mode details on DLNA.

Prerequisites
==================

- libexif
- libjpeg
- libid3tag
- libFLAC
- libvorbis
- libsqlite3
- libavformat (the ffmpeg libraries)


Justin Maggard

About

A minidlna supports sonos

Topics

dlnaminidlnasonosupnp

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

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.