From there just normal discogs import, media type as Video DVD. My two questions are, how can I set the tracks as video with mb-edit-set_video_recordings.user.js? I checked the other topics here and I just don’t see where to click.
I could deliver exact track lengths/times but my second question is if it would be better to set this as one track only, because it is video and I just don’t feel comfortable with splitting my video file just that it fits.
The buttons appear in the release, but clicking them does not nothing. It seems there is something missing? On the other hand every other script I use works. Greasemonkey 4.12.0 with Firefox 124.0.2
I like to have video in .mkv-container (smallest overhead) with chapters (which I could export to raw text for the mb-entry), picard can’t write .mkv anyway.
On a side note, if you’d like to easily extract out the timestamps in a MusicBrainz friendly format to paste into the track parser, check out my script here
Thank you. I don’t have that much DVD stuff and I’m not sure if I can run this on FreeBSD.
Also I don’t have knowledge about programming/languages, but quick try:
mr44er@ws01:~/musicbrainz-video-tracklist $ poetry install --only main
sh: poetry: not found
mr44er@ws01:~/musicbrainz-video-tracklist $ pip install poetry
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: poetry in /usr/home/mr44er/.local/lib/python3.9/site-packages (1.8.2)
Requirement already satisfied: platformdirs<5,>=3.0.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (4.2.0)
Requirement already satisfied: tomli<3.0.0,>=2.0.1 in /usr/local/lib/python3.9/site-packages (from poetry) (2.0.1)
Requirement already satisfied: cleo<3.0.0,>=2.1.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (2.1.0)
Requirement already satisfied: virtualenv<21.0.0,>=20.23.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (20.25.1)
Requirement already satisfied: poetry-core==1.9.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.9.0)
Requirement already satisfied: requests-toolbelt<2.0.0,>=1.0.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.0.0)
Requirement already satisfied: requests<3.0,>=2.26 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (2.31.0)
Requirement already satisfied: keyring<25.0.0,>=24.0.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (24.3.1)
Requirement already satisfied: trove-classifiers>=2022.5.19 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (2024.4.10)
Requirement already satisfied: build<2.0.0,>=1.0.3 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.2.1)
Requirement already satisfied: crashtest<0.5.0,>=0.4.1 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (0.4.1)
Requirement already satisfied: cachecontrol[filecache]<0.15.0,>=0.14.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (0.14.0)
Requirement already satisfied: pyproject-hooks<2.0.0,>=1.0.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.0.0)
Requirement already satisfied: pkginfo<2.0.0,>=1.9.4 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.10.0)
Requirement already satisfied: packaging>=23.1 in /usr/local/lib/python3.9/site-packages (from poetry) (23.2)
Requirement already satisfied: tomlkit<1.0.0,>=0.11.4 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (0.12.4)
Requirement already satisfied: importlib-metadata>=4.4 in /usr/local/lib/python3.9/site-packages (from poetry) (7.0.1)
Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (4.9.0)
Requirement already satisfied: installer<0.8.0,>=0.7.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (0.7.0)
Requirement already satisfied: shellingham<2.0,>=1.5 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.5.4)
Requirement already satisfied: fastjsonschema<3.0.0,>=2.18.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (2.19.1)
Requirement already satisfied: dulwich<0.22.0,>=0.21.2 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (0.21.7)
Requirement already satisfied: poetry-plugin-export<2.0.0,>=1.6.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from poetry) (1.7.1)
Requirement already satisfied: msgpack<2.0.0,>=0.5.2 in /usr/local/lib/python3.9/site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry) (3.13.4)
Requirement already satisfied: rapidfuzz<4.0.0,>=3.0.0 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from cleo<3.0.0,>=2.1.0->poetry) (3.8.1)
Requirement already satisfied: urllib3>=1.25 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from dulwich<0.22.0,>=0.21.2->poetry) (2.0.2)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.9/site-packages (from importlib-metadata>=4.4->poetry) (3.17.0)
Requirement already satisfied: jaraco.classes in /usr/home/mr44er/.local/lib/python3.9/site-packages (from keyring<25.0.0,>=24.0.0->poetry) (3.4.0)
Requirement already satisfied: ptyprocess>=0.5 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from pexpect<5.0.0,>=4.7.0->poetry) (0.7.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests<3.0,>=2.26->poetry) (2023.11.17)
Requirement already satisfied: idna<4,>=2.5 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from requests<3.0,>=2.26->poetry) (3.4)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from requests<3.0,>=2.26->poetry) (3.1.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/home/mr44er/.local/lib/python3.9/site-packages (from virtualenv<21.0.0,>=20.23.0->poetry) (0.3.8)
Requirement already satisfied: more-itertools in /usr/home/mr44er/.local/lib/python3.9/site-packages (from jaraco.classes->keyring<25.0.0,>=24.0.0->poetry) (10.2.0)
mr44er@ws01:~/musicbrainz-video-tracklist $ poetry install --only main
sh: poetry: not found
Seems to be too much effort to dig/fix into for maybe ~10 DVDs.
Aha, since you’ve installed poetry using pip, you have to invoke it using
python3 -m poetry ...
However, there’s the other issue about Python versions on FreeBSD. The script that I’ve written requires a minimum of Python 3.11, whereas the latest version of Python3 that’s packaged on FreeBSD is Python 3.9.18, the last I checked. I would recommend going through the Docker approach… if you can actually get Docker working fine on FreeBSD ^^;
Hey @vzell, it’s really just a wrapper script around ffprobe, so any video file whose metadata contains chapter information, specifically chapter markers, baked in, will work. I doubt it will work in general for the use-case you wrote about, but if you had ripped the DVD into video containers using tools such as makemkv, it’ll work!
As a small prestep you can open your VIDEO_TS folder with makemkv, export it and ~5 minutes later you have .mkv with everything muxed in it. This way you don’t have to rerip from the original media, if the script can’t read the split-files.