lltag_config(5)

πŸ’– lltag_config(5) β€” the manual, but make it cute πŸ’–

ok bestie, sit down, hydrate, and let me tell you about lltag_config β€” that's the File Formats Manual page for the lltag config file, and yes, it's giving main character energy. πŸŽ€

✨ NAME ✨

config β€” the configuration file for lltag. That's it. That's the name. Slay. πŸ’…

🌸 DESCRIPTION 🌸

So here's the tea: these options can live in /etc/lltag/config, or in your very own $HOME/.lltag/config, or literally in any file you hand over with --config. Your config, your rules, your vibe. πŸ¦‹

And lowkey? You can also just have that config file generated for you with --gencfg. No cap. ✨


πŸ“ Obtaining tags

Where the tags come from, bestie. Let's get into it.

  • format = "string" β€” Adds a user-defined format [-R]. You can use this one multiple times, go off. The default is to guess if there are no user-defined formats and no default field values given. 🫢
  • guess = <0/1> β€” Tries to guess if the user-defined formats don't match [-G]. The default is 0 (disabled) when no user-defined formats and no explicit values are given. Periodt.
  • tag = <TAG=value> β€” Adds an explicit tag [--tag]. Also usable multiple times. Stack 'em up, queen. πŸ‘‘

🌈 Tweaking filename parsing

Filenames are messy and we're fixing that.

  • no_path = <0/1> β€” Do not use the file path when matching the filename [-p]. Default is 0 (disabled).
  • spaces = <0/1> β€” Allows no spaces or multiple spaces [--spaces]. Default is 0 (disabled).

πŸ’œ Cleaning obtained tags

Now we tidy up. Glow-up time. 🧚

  • edit = <0/1> β€” Edits the tags immediately [--edit]. Default is 0 (disabled).
  • maj = <0/1> β€” Upcases the first letters of words in tags [--maj]. Default is 0 (disabled).
  • regexp = "s/from/to/" β€” Replaces from with to in all tags. But wait, there's more: title,number:s/from/to/ replaces in the title and number tags only. Can be used multiple times [--regexp]. Default is to not apply any regexp.
  • sep = "string" β€” Replaces |-separated strings with a space in tags. Default is to not replace any separator.

πŸŽ€ Configuration of tag application

The actual tagging behaviour, aka the moment of truth.

  • type = <mp3|ogg|flac|none> β€” Forces mp3, ogg of flac instead of the by-extension detection [--mp3, --ogg and --flac]. Default is none. (Yes, the original says "ogg of flac" β€” I'm not fixing it, I'm just reporting it, bestie. πŸ’€)
  • clear_tags = <0/1> β€” Clears all tags of the audio files [--clear]. Default is 0 (disabled).
  • append_tags = <0/1> β€” Appends tags only, instead of replacing the old ones [--append]. Default is 0 (disabled).
  • no_tagging = <0/1> β€” Doesn't actually tag the files [--no-tagging]. Default is 0 (disabled).
  • preserve_time = <0/1> β€” Preserves the file modification time while tagging [--preserve-time]. Default is 0 (disabled).

πŸ¦‹ Renaming

Changing the name, changing the game. 😌

  • rename_format = "string" β€” Renames the file according to the format [--rename]. Default is to not rename.
  • rename_min = <0/1> β€” Lowcases tags before renaming [--rename-min]. Default is 0 (disabled).
  • rename_regexp = "s/from/to/" β€” Replaces from with to in all tags before renaming. And again: title,number:s/from/to/ replaces in the title and number tags only. Can be used multiple times [--rename-regexp]. Default is to not apply any regexp.
  • rename_sep = "string" β€” Replaces spaces with a string in tags before renaming [--rename-sep]. Default is to not replace any separator.
  • rename_slash = "string" β€” Replaces slashes with a string in tags before renaming [--rename-slash]. Default is to replace with a dash.
  • rename_ext = <0/1> β€” Assumes the rename format provides an extension [--rename-ext]. Default is 0 (disabled).

⭐ Miscellaneous

The random-but-essential girlypops of this config file. πŸ’«

  • dry_run = <0/1> β€” Does nothing but show what would have been done [--dry-run]. Default is 0 (disabled).
  • yes = <0/1> β€” Tags without asking for confirmation when guessing, and renames without asking for confirmation [--yes]. Default is 0 (disabled).
  • ask = <0/1> β€” Always asks for confirmation before tagging [--ask]. Default is 0 (disabled).
  • recursive = <0/1> β€” Recursively traverses all the given subdirectories [-R]. Default is 0 (disabled).
  • verbose = <integer> β€” The message verbosity level [-v and -q]. Default is 0 (only important messages). The other possible values are 1 (show usage information when a menu is displayed for the first time) and 2 (always show usage information before a menu appears).

πŸ’Ώ CDDB configuration

For the CD database girlies. 🌐

  • cddb_server_name = hostname β€” Changes the CDDB server name. Default is www.freedb.org.
  • cddb_server_port = <port> β€” Changes the CDDB server port. Default is 80 (HTTP).

πŸ‘€ SEE ALSO πŸ‘€

  • lltag(1)
  • The config template file provided within the documentation directory. πŸ“„

πŸ‘‘ AUTHOR πŸ‘‘

Brice Goglin β€” the icon, the legend, the moment. We stan. 🫢


ok that's the whole page, bestie, nothing skipped, nothing hidden, every flag accounted for. πŸ’–

and that's a wrap on the lltag_config(5) page, dated NOVEMBER 2006 β€” vintage, iconic, still serving. βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from