Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Goxore/ytmp3

A simple shell script that downloads a song with youtube-dl/yt-dlp, renames it and adds artist and album names with id3tool.
https://github.com/Goxore/ytmp3

Last synced: 12 days ago
JSON representation

A simple shell script that downloads a song with youtube-dl/yt-dlp, renames it and adds artist and album names with id3tool.

Awesome Lists containing this project

README

        

# ytmp3
A simple shell script that downloads a song with youtube-dl/yt-dlp, renames it and adds artist and album names with id3tool.

example:

```
ytmp3 -o "Devil Trigger" -r "Casey Edwards" -a "DMC" "https://www.youtube.com/watch?v=-WpnPSChVRQ"
```
use ytmp3 -h to get the list of flags.

the best use case of the script is to use it as follows:

```
ytmp3 -c -o "Name of the song"
```

If you want to type in the name of the song with rofi use theese flags:

```
ytmp3 -c -rofi
```

I recommend putting this script in any folder, ~/scripts for example, and exporting it in .zshrc or .bashrc.
```
export PATH=$HOME/scripts/:$PATH
```

Warning: Calling the script with rofi from i3 for some reason results in i3 crashing on my system for no apparent reason.