Coder Social home page Coder Social logo

musidl's Introduction

musidl

musidl is a simple command-line utility written in Bash for downloading music from YouTube with ID3v2 tags (used by media players to display the artist, album, etc.). It is licensed under the GNU GPLv3.

musidl requires yt-dlp to get information about and download the audio from videos, jq to process JSON, and eyeD3 to add ID3v2 tags.

Installation

To install, git clone this repository, cd into it, and run

sudo ln -s $PWD/musidl /usr/local/bin/musidl

Usage

Help information is also available by running musidl --help

Usage: musidl [options]... [url]... (-- [yt-dlp options])

Options:

Flag Argument Description
-h, --help Show help information and exit
-v, --version Show the version and exit
-q, --quiet Only print errors
-f, --format fmt The audio format to use (default: mp3)
-a, --artist name The audio format to use (default: mp3)
-A, --album name Set the album title (default: detect from YouTube)
-t, --song name Set the song title (default: detect from YouTube)
-g, --genre name Set the genre (default: none)
-y, --year year Set the year (default: detect from YouTube)
-T, --track track Set the track (default: detect from playlist, otherwise none)
-s, --show Print information to stdout instead of downloading to file
-o, --output Set the template used for filenames. See the yt-dlp documentation for more info
--color when Enable or disable colored output. <when> must be always, auto (default), or never

Any arguments after '--' will be sent to yt-dlp directly. These are not officially supported and some may cause problems.

musidl's People

Contributors

trimill avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.