Sign inSign up

thewicklowwolf/playlistdir

By thewicklowwolf

•Updated about 1 month ago

Create Playlists from Sub-folders

Image
Content management system
0

5.4K

thewicklowwolf/playlistdir repository overview

Build Status Docker Pulls

logo

Create playlists from music files in a directory.

⁠Run using docker-compose

services:
  playlistdir:
    image: thewicklowwolf/playlistdir:latest
    container_name: playlistdir
    environment:
      - media_server_addresses=Plex:http://192.168.1.2:32400, Jellyfin:http://192.168.1.2:8096
      - media_server_tokens=Plex:x-token, Jellyfin:api-token
      - plex_library_section_id=0
      - path_to_parent=/path/to/parent
      - path_to_playlists=/path/to/playlists
      - sync_schedule=3
    ports:
      - 5000:5000
    volumes:
      - /path/to/parent:/playlistdir/parent:ro
      - /path/to/playlists:/playlistdir/playlists
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped

⁠Configuration via environment variables

Certain values can be set via environment variables:

  • PUID: The user ID to run the app with. Defaults to 1000.
  • PGID: The group ID to run the app with. Defaults to 1000.
  • media_server_addresses: Addresses for media servers, remove where not needed. Format: Plex:http://192.168.1.2:32400, Jellyfin:http://192.168.1.2:8096.
  • media_server_tokens: The API keys for media servers, remove where not needed. Format: Plex: abc, Jellyfin: xyz.
  • plex_library_section_id: Library section ID for Plex. Defaults to 0.
  • path_to_parent: Raw path to the parent directory. Defaults to .
  • path_to_playlists: Raw path to the playlists directory. Defaults to .
  • sync_schedule: Schedule hours to run. Defaults to
  • playlist_sorting_method: Sorting method, options are modified (sort by the modified timestamp of the files, with latest files at the top) or alphabetically. Defaults to alphabetically.
  • include_subfolders: Include subfolders in search for music files. Defaults to False.

⁠Sync Schedule

Use a comma-separated list of hours to start sync (e.g. 2, 20 will initiate a sync at 2 AM and 8 PM).

Note: There is a deadband of up to 10 minutes from the scheduled start time.


image


image


https://github.com/TheWicklowWolf/PlaylistDir⁠

Tag summary

Content type

Image

Digest

sha256:496bfb1c6…

Size

26.6 MB

Last updated

about 1 month ago

docker pull thewicklowwolf/playlistdir