I am downloading channel audios with following script:
#!/bin/bash ............... youtube-dl -o "%(upload_date)s %(title)s.%(ext)s" --write-annotations --download-archive "$ArchiveFile" --add-metadata --write-sub --sub-lang ru --write-auto-sub --sub-format srt -f "bestaudio[ext=webm]" -i "$ChannelPath"
With these parameters file names are written in following format:
yyyymmdd Corrected video title text.webm
After that I convert WEBM to MP3 with
ffmpeg which takes over all the tags from WEBM file.
I would like that not only the file name, but also title written to ID3 tag is prepended with
yyyymmdd time stamp, too. I could take some tool and write file name into corresponding ID3 tag.
The problem is that title in ID3 tag fully corresponds to video title and file name is a corrected title, with removed forbidden characters.
How to take the MP3 title from ID3 title tag and prepend it with time stamp?