Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/Goxore/ytmp3
- Owner: Goxore
- License: gpl-3.0
- Created: 2022-01-26T09:31:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T19:06:50.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T16:55:50.246Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.