Skip to content

Latest commit

 

History

History
1101 lines (846 loc) · 35.6 KB

README.rst

File metadata and controls

1101 lines (846 loc) · 35.6 KB

Commands

Usage: musicbot [OPTIONS] COMMAND [ARGS]...

  Music swiss knife, new gen.

Options:
  Global options:
    -c, --config FILE              Config file path  [default: ~/musicbot.ini]
    -l, --log FILE                 Log file path
    -q, --quiet / --no-quiet       Disable progress bars  [default: no-quiet]
    --color / --no-color           Enable or disable color in output  [default: color]
  Verbosity: [mutually_exclusive]
    --debug                        Debug verbosity
    --info                         Info verbosity
    --warning                      Warning verbosity
    --error                        Error verbosity
    --critical                     Critical verbosity
  --dry / --no-dry                 Do not launch real action  [default: no-dry]
  -V, --version                    Show the version and exit.
  -h, --help                       Show this message and exit.

Commands:
  completion     Shell completion
  console        Starts interpreter
  database (db)  DB management
  folder         Manage folders
  help           Print help
  local          Local music management
  music (file)   Music file
  readme (doc)   Generates a README.rst
  spotify        Spotify tool
  version        Print version
  youtube        Youtube tool

musicbot completion

Usage: musicbot completion [OPTIONS] COMMAND [ARGS]...

  Shell completion subcommand

Options:
  -h, --help  Show this message and exit.

Commands:
  help                   Print help
  install                Install the click-completion-command completion
  show (generate,print)  Show the click-completion-command completion code

musicbot completion install

Usage: musicbot completion install [OPTIONS] [[bash|fish|zsh|powershell]] [PATH]

  Auto install shell completion code in your rc file

Options:
  -i, --case-insensitive  Case insensitive completion
  --append / --overwrite  Append the completion code to the file
  -h, --help              Show this message and exit.

musicbot completion show

Usage: musicbot completion show [OPTIONS] [[bash|fish|zsh|powershell]]

  Generate shell code to enable completion

Options:
  -i, --case-insensitive  Case insensitive completion
  -h, --help              Show this message and exit.

musicbot console

Usage: musicbot console [OPTIONS]

  Starts an embedded ipython interpreter

Options:
  -h, --help  Show this message and exit.

musicbot database

Usage: musicbot database [OPTIONS] COMMAND [ARGS]...

  DB management

Options:
  -h, --help  Show this message and exit.

Commands:
  clean (clean-db,erase)        Clean all musics in DB
  edgeql (execute,fetch,query)  EdgeDB raw query
  graphiql                      Explore with GraphiQL
  graphql                       GraphQL query
  help                          Print help
  pgcli                         Connect with PgCLI
  soft-clean                    Clean entities without musics associated
  ui                            Explore with EdgeDB UI

musicbot database clean

Usage: musicbot database clean [OPTIONS]

  Clean all musics in DB

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -y, --yes          Confirm action
  -h, --help         Show this message and exit.

musicbot database edgeql

Usage: musicbot database edgeql [OPTIONS] QUERY

  EdgeDB raw query

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -h, --help         Show this message and exit.

musicbot database graphiql

Usage: musicbot database graphiql [OPTIONS]

  Explore with GraphiQL

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -h, --help         Show this message and exit.

musicbot database graphql

Usage: musicbot database graphql [OPTIONS] QUERY

  GraphQL query

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -h, --help         Show this message and exit.

musicbot database pgcli

Usage: musicbot database pgcli [OPTIONS] [PGCLI_ARGS]...

  Connect with PgCLI

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -h, --help         Show this message and exit.

musicbot database soft-clean

Usage: musicbot database soft-clean [OPTIONS]

  Clean entities without musics associated

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -h, --help         Show this message and exit.

musicbot database ui

Usage: musicbot database ui [OPTIONS]

  Explore with EdgeDB UI

Options:
  -h, --help  Show this message and exit.

musicbot folder

Usage: musicbot folder [OPTIONS] COMMAND [ARGS]...

  Manage folders

Options:
  -h, --help  Show this message and exit.

Commands:
  add-keywords                   Add keywords to music
  delete-keywords                Delete keywords to music
  find                           Just list music files
  flac2mp3 (flac-to-mp3)         Convert all files in folders to mp3
  help                           Print help
  issues                         Show music files issues in folders
  manual-fix                     Fix music files in folders
  playlist (musics,tags,tracks)  Generates a playlist
  set-tags (set-tag)             Set music title

musicbot folder add-keywords

Usage: musicbot folder add-keywords [OPTIONS] [FOLDERS]...

  Add keywords to music

Options:
  --keywords TEXT     Keywords
  --dry / --no-dry    Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER   Limit number of music files
    --extension TEXT  Supported formats  [default: flac, mp3]
  -h, --help          Show this message and exit.

musicbot folder delete-keywords

Usage: musicbot folder delete-keywords [OPTIONS] [FOLDERS]...

  Delete keywords to music

Options:
  --keywords TEXT     Keywords
  --dry / --no-dry    Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER   Limit number of music files
    --extension TEXT  Supported formats  [default: flac, mp3]
  -h, --help          Show this message and exit.

musicbot folder find

Usage: musicbot folder find [OPTIONS] [FOLDERS]...

  Just list music files

Options:
  --dry / --no-dry    Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER   Limit number of music files
    --extension TEXT  Supported formats  [default: flac, mp3]
  -h, --help          Show this message and exit.

musicbot folder flac2mp3

Usage: musicbot folder flac2mp3 [OPTIONS] DESTINATION [FOLDERS]...

  Convert all files in folders to mp3

Options:
  --dry / --no-dry           Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER          Limit number of music files
    --extension TEXT         Supported formats  [default: flac, mp3]
  --threads INTEGER          Number of threads  [default: 8]
  --flat                     Do not create subfolders
  --output [json|table|m3u]  Output format  [default: table]
  -h, --help                 Show this message and exit.

musicbot folder issues

Usage: musicbot folder issues [OPTIONS] [FOLDERS]...

  Show music files issues in folders

Options:
  --dry / --no-dry    Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER   Limit number of music files
    --extension TEXT  Supported formats  [default: flac, mp3]
  -h, --help          Show this message and exit.

musicbot folder manual-fix

Usage: musicbot folder manual-fix [OPTIONS] [FOLDERS]...

  Fix music files in folders

Options:
  --dry / --no-dry    Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER   Limit number of music files
    --extension TEXT  Supported formats  [default: flac, mp3]
  -h, --help          Show this message and exit.

musicbot folder playlist

Usage: musicbot folder playlist [OPTIONS] [FOLDERS]...

  Generates a playlist

Options:
  --dry / --no-dry           Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER          Limit number of music files
    --extension TEXT         Supported formats  [default: flac, mp3]
  --output [json|table|m3u]  Output format  [default: table]
  -h, --help                 Show this message and exit.

musicbot folder set-tags

Usage: musicbot folder set-tags [OPTIONS] [FOLDERS]...

  Set music title

Options:
  --dry / --no-dry        Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER       Limit number of music files
    --extension TEXT      Supported formats  [default: flac, mp3]
  Music options:
    --keywords TEXT       Keywords
    --artist TEXT         Artist
    --album TEXT          Album
    --title TEXT          Title
    --genre TEXT          Genre
    --track TEXT          Track number
    --rating FLOAT RANGE  Rating  [0.0<=x<=5.0]
  -h, --help              Show this message and exit.

musicbot help

Usage: musicbot help [OPTIONS]

  Print help

Options:
  -h, --help  Show this message and exit.

musicbot local

Usage: musicbot local [OPTIONS] COMMAND [ARGS]...

  Local music management

Options:
  -h, --help  Show this message and exit.

Commands:
  artists          Artists descriptions
  bests            Generate bests playlists with some rules
  folders          List folders and some stats
  help             Print help
  player (play)    Music player
  playlist         Generate a new playlist
  scan             Load musics
  search           Search musics by full-text search
  sync             Copy selected musics with filters to destination folder
  watch (watcher)  Watch files changes in folders

musicbot local artists

Usage: musicbot local artists [OPTIONS]

Options:
  MusicDB options:
    --dsn TEXT               DSN to MusicBot EdgeDB
    --graphql TEXT           DSN to MusicBot GrapQL
  --output [json|table|m3u]  Output format  [default: table]
  -h, --help                 Show this message and exit.

musicbot local bests

Usage: musicbot local bests [OPTIONS] FOLDER

  to-fix: keyword=(tofix|todo|spotify-error)
  no-artist: artist=^$
  no-album: album=^$
  no-title: title=^$
  no-genre: genre=^$
  no-keyword: keyword=^$
  no-rating: max_rating=0.0
  bests-4.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.0
  bests-4.5: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.5
  bests-5.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=5.0

Options:
  Filter options:
    --prefilter [bests-4.0|bests-4.5|bests-5.0|no-album|no-artist|no-genre|no-keyword|no-rating|no-title|to-fix]
                                                      Music pre filters (repeatable)
    --filter TEXT                                     Music filters (repeatable), fields: genre,keyword,artist,title,album,min_size,max_size
                                                      ,min_length,max_length,min_rating,max_rating,limit
  MusicDB options:
    --dsn TEXT                                        DSN to MusicBot EdgeDB
    --graphql TEXT                                    DSN to MusicBot GrapQL
  --dry / --no-dry                                    Do not launch real action  [default: no-dry]
  Links options:
    --kind, --kinds [all|local|local-http|local-ssh|remote|remote-http|remote-ssh]
                                                      Generate musics paths of types  [default: local]
    --relative / --no-relative                        Generate relative links  [default: no-relative]
  Ordering options: [mutually_exclusive]
    --shuffle / --no-shuffle                          Randomize selection  [default: no-shuffle]
    --interleave / --no-interleave                    Interleave tracks by artist  [default: no-interleave]
  Bests options:
    --min-playlist-size INTEGER                       Minimum size of playlist to write  [default: 1]
  -h, --help                                          Show this message and exit.

musicbot local folders

Usage: musicbot local folders [OPTIONS]

  List folders and some stats

Options:
  MusicDB options:
    --dsn TEXT       DSN to MusicBot EdgeDB
    --graphql TEXT   DSN to MusicBot GrapQL
  -h, --help         Show this message and exit.

musicbot local player

Usage: musicbot local player [OPTIONS]

  to-fix: keyword=(tofix|todo|spotify-error)
  no-artist: artist=^$
  no-album: album=^$
  no-title: title=^$
  no-genre: genre=^$
  no-keyword: keyword=^$
  no-rating: max_rating=0.0
  bests-4.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.0
  bests-4.5: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.5
  bests-5.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=5.0

Options:
  MusicDB options:
    --dsn TEXT                                        DSN to MusicBot EdgeDB
    --graphql TEXT                                    DSN to MusicBot GrapQL
  Filter options:
    --prefilter [bests-4.0|bests-4.5|bests-5.0|no-album|no-artist|no-genre|no-keyword|no-rating|no-title|to-fix]
                                                      Music pre filters (repeatable)
    --filter TEXT                                     Music filters (repeatable), fields: genre,keyword,artist,title,album,min_size,max_size
                                                      ,min_length,max_length,min_rating,max_rating,limit
  Links options:
    --kind, --kinds [all|local|local-http|local-ssh|remote|remote-http|remote-ssh]
                                                      Generate musics paths of types  [default: local]
    --relative / --no-relative                        Generate relative links  [default: no-relative]
  Ordering options: [mutually_exclusive]
    --shuffle / --no-shuffle                          Randomize selection  [default: no-shuffle]
    --interleave / --no-interleave                    Interleave tracks by artist  [default: no-interleave]
  --vlc-params TEXT                                   VLC params  [default: --vout=dummy --aout=pulse]
  -h, --help                                          Show this message and exit.

musicbot local playlist

Usage: musicbot local playlist [OPTIONS] [OUT]

  to-fix: keyword=(tofix|todo|spotify-error)
  no-artist: artist=^$
  no-album: album=^$
  no-title: title=^$
  no-genre: genre=^$
  no-keyword: keyword=^$
  no-rating: max_rating=0.0
  bests-4.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.0
  bests-4.5: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.5
  bests-5.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=5.0

Options:
  MusicDB options:
    --dsn TEXT                                        DSN to MusicBot EdgeDB
    --graphql TEXT                                    DSN to MusicBot GrapQL
  --output [json|table|m3u]                           Output format  [default: table]
  Filter options:
    --prefilter [bests-4.0|bests-4.5|bests-5.0|no-album|no-artist|no-genre|no-keyword|no-rating|no-title|to-fix]
                                                      Music pre filters (repeatable)
    --filter TEXT                                     Music filters (repeatable), fields: genre,keyword,artist,title,album,min_size,max_size
                                                      ,min_length,max_length,min_rating,max_rating,limit
  Links options:
    --kind, --kinds [all|local|local-http|local-ssh|remote|remote-http|remote-ssh]
                                                      Generate musics paths of types  [default: local]
    --relative / --no-relative                        Generate relative links  [default: no-relative]
  Ordering options: [mutually_exclusive]
    --shuffle / --no-shuffle                          Randomize selection  [default: no-shuffle]
    --interleave / --no-interleave                    Interleave tracks by artist  [default: no-interleave]
  -h, --help                                          Show this message and exit.

musicbot local scan

Usage: musicbot local scan [OPTIONS] [FOLDERS]...

  Load musics

Options:
  --dry / --no-dry           Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER          Limit number of music files
    --extension TEXT         Supported formats  [default: flac, mp3]
  MusicDB options:
    --dsn TEXT               DSN to MusicBot EdgeDB
    --graphql TEXT           DSN to MusicBot GrapQL
  -s, --save                 Save to config file
  --output [json|table|m3u]  Output format  [default: table]
  --clean                    Delete musics before
  --coroutines INTEGER       Limit number of coroutines  [default: 64]
  -h, --help                 Show this message and exit.

musicbot local search

Usage: musicbot local search [OPTIONS] PATTERN

  Search musics by full-text search

Options:
  MusicDB options:
    --dsn TEXT                                        DSN to MusicBot EdgeDB
    --graphql TEXT                                    DSN to MusicBot GrapQL
  --output [json|table|m3u]                           Output format  [default: table]
  Links options:
    --kind, --kinds [all|local|local-http|local-ssh|remote|remote-http|remote-ssh]
                                                      Generate musics paths of types  [default: local]
    --relative / --no-relative                        Generate relative links  [default: no-relative]
  Ordering options: [mutually_exclusive]
    --shuffle / --no-shuffle                          Randomize selection  [default: no-shuffle]
    --interleave / --no-interleave                    Interleave tracks by artist  [default: no-interleave]
  -h, --help                                          Show this message and exit.

musicbot local sync

Usage: musicbot local sync [OPTIONS] DESTINATION

  to-fix: keyword=(tofix|todo|spotify-error)
  no-artist: artist=^$
  no-album: album=^$
  no-title: title=^$
  no-genre: genre=^$
  no-keyword: keyword=^$
  no-rating: max_rating=0.0
  bests-4.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.0
  bests-4.5: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=4.5
  bests-5.0: keyword=^((?!cutoff|bad|demo|intro).)$,min_rating=5.0

Options:
  MusicDB options:
    --dsn TEXT                                        DSN to MusicBot EdgeDB
    --graphql TEXT                                    DSN to MusicBot GrapQL
  -y, --yes                                           Confirm action
  --dry / --no-dry                                    Do not launch real action  [default: no-dry]
  Filter options:
    --prefilter [bests-4.0|bests-4.5|bests-5.0|no-album|no-artist|no-genre|no-keyword|no-rating|no-title|to-fix]
                                                      Music pre filters (repeatable)
    --filter TEXT                                     Music filters (repeatable), fields: genre,keyword,artist,title,album,min_size,max_size
                                                      ,min_length,max_length,min_rating,max_rating,limit
  --flat                                              Do not create subfolders
  --delete                                            Delete files on destination if not present in library
  -h, --help                                          Show this message and exit.

musicbot local watch

Usage: musicbot local watch [OPTIONS] [FOLDERS]...

  Watch files changes in folders

Options:
  --dry / --no-dry    Do not launch real action  [default: no-dry]
  Folders options:
    --limit INTEGER   Limit number of music files
    --extension TEXT  Supported formats  [default: flac, mp3]
  MusicDB options:
    --dsn TEXT        DSN to MusicBot EdgeDB
    --graphql TEXT    DSN to MusicBot GrapQL
  --sleep INTEGER     Clean music every X seconds  [default: 1800]
  --timeout INTEGER   How many seconds until we terminate
  -h, --help          Show this message and exit.

musicbot music

Usage: musicbot music [OPTIONS] COMMAND [ARGS]...

  Music file

Options:
  -h, --help  Show this message and exit.

Commands:
  add-keywords                                        Add keywords to music
  delete-keywords (delete-keyword,remove-keyword,remove-keywords)
                                                      Delete keywords to music
  fingerprint                                         Print music AcoustID fingerprint
  flac2mp3 (flac-to-mp3)                              Convert flac music to mp3
  help                                                Print help
  issues                                              Check music consistency
  manual-fix                                          Fix music file
  replace-keyword                                     Replace one keyword in music
  set-tags (set-tag)                                  Set music title
  shazam (recognize)                                  Recognize music using Shazam
  show                                                Show music
  tags (tag)                                          Print music tags

musicbot music add-keywords

Usage: musicbot music add-keywords [OPTIONS] FOLDER FILE [KEYWORDS]...

  Add keywords to music

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music delete-keywords

Usage: musicbot music delete-keywords [OPTIONS] FOLDER FILE [KEYWORDS]...

  Delete keywords to music

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music fingerprint

Usage: musicbot music fingerprint [OPTIONS] FOLDER FILE

  Print music AcoustID fingerprint

Options:
  --dry / --no-dry         Do not launch real action  [default: no-dry]
  --acoustid-api-key TEXT  AcoustID API Key
  -h, --help               Show this message and exit.

musicbot music flac2mp3

Usage: musicbot music flac2mp3 [OPTIONS] FOLDER FILE DESTINATION

  Convert flac music to mp3

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music issues

Usage: musicbot music issues [OPTIONS] FOLDER FILE

  Check music consistency

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music manual-fix

Usage: musicbot music manual-fix [OPTIONS] FOLDER FILE

  Fix music file

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music replace-keyword

Usage: musicbot music replace-keyword [OPTIONS] FOLDER FILE OLD_KEYWORD NEW_KEYWORD

  Replace one keyword in music

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music set-tags

Usage: musicbot music set-tags [OPTIONS] [PATHS]...

  Set music title

Options:
  --dry / --no-dry        Do not launch real action  [default: no-dry]
  Music options:
    --keywords TEXT       Keywords
    --artist TEXT         Artist
    --album TEXT          Album
    --title TEXT          Title
    --genre TEXT          Genre
    --track TEXT          Track number
    --rating FLOAT RANGE  Rating  [0.0<=x<=5.0]
  -h, --help              Show this message and exit.

musicbot music shazam

Usage: musicbot music shazam [OPTIONS] FOLDER FILE

  Recognize music using Shazam

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music show

Usage: musicbot music show [OPTIONS] FOLDER FILE

  Show music

Options:
  --dry / --no-dry  Do not launch real action  [default: no-dry]
  -h, --help        Show this message and exit.

musicbot music tags

Usage: musicbot music tags [OPTIONS] FOLDER FILE

  Print music tags

Options:
  --dry / --no-dry           Do not launch real action  [default: no-dry]
  --output [json|table|m3u]  Output format  [default: table]
  -h, --help                 Show this message and exit.

musicbot readme

Usage: musicbot readme [OPTIONS]

  Generates a complete readme

Options:
  --output [rst|markdown]  README output format  [default: rst]
  -h, --help               Show this message and exit.

musicbot spotify

Usage: musicbot spotify [OPTIONS] COMMAND [ARGS]...

  Spotify tool

Options:
  -h, --help  Show this message and exit.

Commands:
  artist-diff       Artists diff between local and spotify
  cached-token      Token informations
  help              Print help
  new-token (auth)  Generate a new token
  playlist          Show playlist
  playlists         List playlists
  refresh-token     Get a new token
  to-download       Show download playlist
  track-diff        Diff between local and spotify
  tracks (liked)    Show liked tracks

musicbot spotify artist-diff

Usage: musicbot spotify artist-diff [OPTIONS]

  Artists diff between local and spotify

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  MusicDB options:
    --dsn TEXT                    DSN to MusicBot EdgeDB
    --graphql TEXT                DSN to MusicBot GrapQL
  -h, --help                      Show this message and exit.

musicbot spotify cached-token

Usage: musicbot spotify cached-token [OPTIONS]

  Token informations

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  --dry / --no-dry                Do not launch real action  [default: no-dry]
  -h, --help                      Show this message and exit.

musicbot spotify new-token

Usage: musicbot spotify new-token [OPTIONS]

  Generate a new token

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  --dry / --no-dry                Do not launch real action  [default: no-dry]
  -h, --help                      Show this message and exit.

musicbot spotify playlist

Usage: musicbot spotify playlist [OPTIONS] NAME

  Show playlist

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  --output [json|table|m3u]       Output format  [default: table]
  -h, --help                      Show this message and exit.

musicbot spotify playlists

Usage: musicbot spotify playlists [OPTIONS]

  List playlists

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  -h, --help                      Show this message and exit.

musicbot spotify refresh-token

Usage: musicbot spotify refresh-token [OPTIONS]

  Get a new token

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  --dry / --no-dry                Do not launch real action  [default: no-dry]
  -h, --help                      Show this message and exit.

musicbot spotify to-download

Usage: musicbot spotify to-download [OPTIONS]

  Show download playlist

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  --output [json|table|m3u]       Output format  [default: table]
  -h, --help                      Show this message and exit.

musicbot spotify track-diff

Usage: musicbot spotify track-diff [OPTIONS]

  Diff between local and spotify

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  MusicDB options:
    --dsn TEXT                    DSN to MusicBot EdgeDB
    --graphql TEXT                DSN to MusicBot GrapQL
  --output [json|table|m3u]       Output format  [default: table]
  --download-playlist             Create the download playlist
  --min-threshold FLOAT RANGE     Minimum distance threshold  [default: 90; 0<=x<=100]
  --max-threshold FLOAT RANGE     Maximum distance threshold  [default: 100; 0<=x<=100]
  -h, --help                      Show this message and exit.

musicbot spotify tracks

Usage: musicbot spotify tracks [OPTIONS]

  Show liked tracks

Options:
  Spotify options:
    --spotify-username TEXT       Spotify username
    --spotify-client-id TEXT      Spotify client ID
    --spotify-client-secret TEXT  Spotify client secret
    --spotify-cache-path FILE     Spotify cache path
    --spotify-scope TEXT          Spotify OAuth scopes, comma separated
    --spotify-redirect-uri TEXT   Spotify redirect URI
    --spotify-token TEXT          Spotify token
  --output [json|table|m3u]       Output format  [default: table]
  -h, --help                      Show this message and exit.

musicbot version

Usage: musicbot version [OPTIONS]

  Print version, equivalent to -V and --version

Options:
  -h, --help  Show this message and exit.

musicbot youtube

Usage: musicbot youtube [OPTIONS] COMMAND [ARGS]...

  Youtube tool

Options:
  -h, --help  Show this message and exit.

Commands:
  download     Download a youtube link with artist and title
  find         Search a youtube link with artist and title
  fingerprint  Fingerprint a youtube video
  help         Print help
  search       Search a youtube link with artist and title

musicbot youtube download

Usage: musicbot youtube download [OPTIONS] ARTIST TITLE

  Download a youtube link with artist and title

Options:
  --path TEXT
  -h, --help   Show this message and exit.

musicbot youtube find

Usage: musicbot youtube find [OPTIONS] FOLDER FILE

  Search a youtube link with artist and title

Options:
  --dry / --no-dry         Do not launch real action  [default: no-dry]
  --acoustid-api-key TEXT  AcoustID API Key
  -h, --help               Show this message and exit.

musicbot youtube fingerprint

Usage: musicbot youtube fingerprint [OPTIONS] URL

  Fingerprint a youtube video

Options:
  --acoustid-api-key TEXT  AcoustID API Key
  -h, --help               Show this message and exit.

musicbot youtube search

Usage: musicbot youtube search [OPTIONS] ARTIST TITLE

  Search a youtube link with artist and title

Options:
  -h, --help  Show this message and exit.