From 10973e3ac812bc30ed3ced5e4e6e99c6ef61ee62 Mon Sep 17 00:00:00 2001 From: Cuan Date: Mon, 28 Mar 2022 23:59:44 -0400 Subject: [PATCH] Added tag for transfering FLAC RG data to rg2sc for MP4s --- bin/flac2pod | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/bin/flac2pod b/bin/flac2pod index 32d1f68..9484b94 100755 --- a/bin/flac2pod +++ b/bin/flac2pod @@ -3,6 +3,7 @@ # external modules from argparse import ArgumentParser +from mutagen.flac import FLAC from os import cpu_count, path, walk from pathlib import Path from subprocess import check_output, Popen @@ -71,12 +72,27 @@ def scan_destination_convert(): _cmd = f"screen -DmS flac2pod{_i} ffmpeg -i {_file_s} -c:v copy -ab 320k -map_metadata 0" \ f" -id3v2_version 3 {_file_d}