You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should test adding the video to a plex library to see if metadata is read - not sure if plex/jellyfin/emby support this or not.
If they don't, not sure you should be doing this work, but carry on if you want.
Once you have the commands - maybe post them here if as a comment - incase you decide to give up.
Start by figuring out the command line tools to edit a video:
https://mkvtoolnix.download/doc/mkvpropedit.html
You should test adding the video to a plex library to see if metadata is read - not sure if plex/jellyfin/emby support this or not.
If they don't, not sure you should be doing this work, but carry on if you want.
Once you have the commands - maybe post them here if as a comment - incase you decide to give up.
Read some code, look at two files in namer:
1: https://github.com/ThePornDatabase/namer/blob/main/namer/ffmpeg.py
To see how to properly call external commands.
2: https://github.com/ThePornDatabase/namer/blob/main/namer/mutagen.py
To see what needs to be built for mkv's. The mutagen file supports mp4s.
Write your code with a test similar to mutagen:
https://github.com/ThePornDatabase/namer/blob/main/test/namer_mutagen.py
Update namer.py to call your new file for mkvs (around here: https://github.com/ThePornDatabase/namer/blob/main/namer/namer.py#L121)
Profit.
The text was updated successfully, but these errors were encountered: