mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Changed mp4box placeholder tag
To make it more compatible with older versions.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user