GithubHelp home page GithubHelp logo

docker-minidlna's Introduction

MiniDLNA

MiniDLNA is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

MiniDLNA Docker Images

This image is based on Alpine Linux.

Usage

Example:

docker run -d --name minidlna \
  --net=host \
  -v <PATH_TO_MUSIC_DIR>:/opt/Music \
  -v <PATH_TO_VIDEOS_DIR>:/opt/Videos \
  -v <PATH_TO_PICUTRES_DIR>:/opt/Pictures \
  geekduck/minidlna

If you want to overwrite a config file:

docker run -d --name minidlna \
  --net=host \
  -v <PATH_TO_MUSIC_DIR>:/opt/Music \
  -v <PATH_TO_VIDEOS_DIR>:/opt/Videos \
  -v <PATH_TO_PICUTRES_DIR>:/opt/Pictures \
  -v <PATH_TO_CONFIG_DIR>/minidlna.conf:/etc/minidlna.conf \
  geekduck/minidlna

docker-minidlna's People

Contributors

geekduck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-minidlna's Issues

inotify doesn't work on NFS volumes

Need a way to force a refresh as inotify doesn't work if we're using NFS to store the media

eg

podman volume create --opt type=nfs --opt o=ro --opt device=mediaserver:/mnt/Videos Videos

podman run -d --name minidlna \
  --net=host \
  -v Video:/opt/Videos \
  -v /var/cache/minidlna:/var/cache/minidlna:Z \
  geekduck/minidlna

Is there any way to get a refresh without reloading/rebuilding the DB. I'm running with a persistent Cache and DB. Start/Stop doesn't cause a re-scan

podman stop minidlna
podman start minidlna

Error message "Inotify max_user_watches"

Sometimes I'm getting the error message:
monitor.c:216: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [2451] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches
Afterwards the docker is stopped with minidlna.c:155: warn: received signal 15, good-bye

Is there a possibility to increase the value?

Exposing port is not necessary

Do you really have to expose ports using "-p" in docker run? You are using net=host, I think this would be unnecessary. Can you confirm?

MiniDLNA is already running

Since recently the container stopped working without me changing any settings. It crashes on start right away stating:

minidlna.c:961: error: MiniDLNA is already running. EXITING.

Network mode Exposed Ports

While in network mode, it's moot to append the ports to use as well in the docker command/compose since it's already in host mode. It runs fine as is, but it gives the misconception of what host mode is and that those port variables are required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.