Skip to content

arifer612/musicbrainz-video-tracklist

Repository files navigation

MusicBrainz Video Tracklist Generator

https://img.shields.io/badge/license-GPL_3-green.svg https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg https://codecov.io/gh/arifer612/musicbrainz-video-tracklist/graph/badge.svg

This project provides the tools and a script to generate a tracklist of video recordings for MusicBrainz from the chapters of a video file.

Dependencies

When run locally, this project requires the following programs:

  • poetry
  • ffprobe

Otherwise, when run as a Docker container, there is no need to worry about these dependencies.

Usage

Local usage

Clone this repository, install the dependencies, and run the script.

git clone https://github.com/arifer612/musicbrainz-video-tracklist
cd musicbrainz-video-tracklist
poetry install --only main
poetry run ./generate-tracklist "/path/to/video/file"

Docker container

Alternatively, run this as a Docker container.

Assuming that the video file is in the current working directory, an example docker run execution will look like

docker run --rm -v .:/media:ro ghcr.io/arifer612/musicbrainz-video-tracklist:latest VIDEO_FILE_NAME

where “VIDEO_FILE_NAME” is to be replaced with the name of the video file in question.