Changed mp4box placeholder tag

To make it more compatible with older versions.
This commit is contained in:
R. M
2022-12-31 15:26:25 -03:00
parent d20b3c970e
commit 1cb129fd06
+2 -2
View File
@@ -363,13 +363,13 @@ class Gamdl:
def fixup_music_video(self, decrypted_location_audio, decrypted_location_video, fixed_location, final_location):
os.makedirs(final_location.parents[0], exist_ok = True)
subprocess.check_output(['MP4Box', '-quiet', '-add', decrypted_location_audio, '-add', decrypted_location_video, '-itags', 'title=placeholder', '-new', fixed_location])
subprocess.check_output(['MP4Box', '-quiet', '-add', decrypted_location_audio, '-add', decrypted_location_video, '-itags', 'album=placeholder', '-new', fixed_location])
shutil.copy(fixed_location, final_location)
def fixup_song(self, decrypted_location, fixed_location, final_location):
os.makedirs(final_location.parents[0], exist_ok = True)
subprocess.check_output(['MP4Box', '-quiet', '-add', decrypted_location, '-itags', 'title=placeholder', '-new', fixed_location])
subprocess.check_output(['MP4Box', '-quiet', '-add', decrypted_location, '-itags', 'album=placeholder', '-new', fixed_location])
shutil.copy(fixed_location, final_location)