Desktop application alternative to sites like TunesToTube, audioship, tovid.io, etc
Convert audio files to videos and upload them to YouTube automatically.
scoop install ffmpeg
scoop install geckodriver
Download the latest release for your platform here, unzip the archive, and run the songs-to-youtube executable.
$ pip install songs-to-youtube
$ songs-to-youtube
poetry install
poetry run songs-to-youtube
On your first run you may get an error which says Was not able to load https://youtube.com. Have you installed the certificate at {cert_path} ?
.
If this happens you should follow the instructions at https://docs.mitmproxy.org/stable/concepts-certificates/#installing-the-mitmproxy-ca-certificate-manually
to install the certificate at the given path.
Write ~{key}
in any text field and it will be replaced with an appropriate value. If no value exists for that key, it will not be replaced. To see the available keys, right click on an album or song and select "View metadata."
Here are some useful values:
~{song_dir}
- directory of the input audio file~{song_file}
- file name of the input audio~{album}
~{artist}
~{title}
~{date}
~{comment}
~{description}
~{album_dir}
- directory of the album~{timestamps}
- special key that generates timestamps based on song lengths. they will only be generated when concatenating songs into a single video~{song.albumartist}
- name of the album's artist (usually)song.
A template string of the form ~{a|b|c}
will be replaced with the value of a
if it exists, otherwise the value of b
if it exists, and so on. Keys may not contain the character |
A template string of the form ~{a|"hello"}
will be replaced with the value for a
if it exists, otherwise it will be replaced with hello
. String literals may not contain the character |
. They may contain "
though, e.g. ~{""hello""}
will be replaced with "hello"
Any key can be surrounded by <
and >
and the value of that key will be made safe to use as a filename. e.g. ~{<song.album>}.mkv
where song.album
is ~{:¬Þ}
will be replaced with ____Þ_.mkv