glyrc(1)
π NAME π
glyrc β okay so picture this: it's a search engine for music-related metadata π like, covers, lyrics, artist pics, the whole vibe. And yes bestie, this is the glyrc(1) page straight out of the General Commands Manual, we are being official today β¨
π¦ USAGE π¦
glyrc GETTER [options]
where GETTER must be one of these lil guys (pick exactly one, no mixing and matching π):
coverlyricsartistphotoartistbiosimilarartistssimilarsongsalbumreviewalbumlisttagsrelationstracklistguitartabsbackdrops
β¨ GENERAL OPTIONS β¨
-f,--fromString β which providers you wanna pull metadata from π runglyrc --listand it'll show you the full lineup, no cap.-w,--writePath β writes the metadata to the dir d, or to the filename d. The special valuesstdout,stderrandnullare supported too π
And here's the cute part: certain escapes get escaped inside the filename in the form :X:, where X can be any of these:
type: The getter used in this query (e.g. cover)artist: Artist - as passed by-aalbum: Album - as passed by-btitle: Title - as passed by-tsize: Size in bytesformat: The image format ortxtfor textitemssource: The source URL of this itemprov: The Provider of this itemcksum: a md5sum of the datarating: (Usually 0)duration: (Only for tracks) Duration in secondsnumber: An index incremented with each item (starting with 1)
The default format is ':artist::album::title::type::number:.:format:' π Strings containing / are replaced with | automatically, so --write ':artist:' for AC/DC will result in AC|DC β the filesystem said absolutely not to that slash, periodt.
-n,--numberInteger β download max. n items. Fair warning bestie: the amount of actually downloaded items may be less. She's aspirational like that π-l,--langString β language settings. Only a few getters actually use this to deliver localized data. Given in ISO 639-1 codes likedeπΈ-o,--only-langβ only use providers that offer language specific data. Heads up: this only applies to text items.-z,--fuzzynessInteger β sets the threshold for the level of the Levenshtein algorithm. Yes that's a real word, yes it's doing math about how "close enough" a match is π₯-q,--qsratioFloat β how to weight quality/speed;1.0= full quality,0.0= full speed. Pick your fighter β‘-x,--plugmaxInteger β the maximum number a download plugin may deliver. Use this to make results more varied π«-v,--verbosityInteger β set verbosity from0to4. See the online README for the details, iykyk.
π NETWORK OPTIONS π
-p,--parallelInteger β define the number of downloads that may be performed in parallel. Multitasking queen π-u,--useragentString β the useragent to use during HTTP requests.-r,--redirectsInteger β define the number of redirects that are allowed. She will follow, but only so far π-m,--timeoutInteger β define the maximum number in seconds after which a download is cancelled β°-k,--proxyString β set the proxy to use, in the form of:
[protocol://][user:pass@]yourproxy.domain[:port]
π PROVIDER SPECIFIC OPTIONS π
-d,--downloadβ download Images. Yes, capital-I Images, we respect her.-D,--skip-downloadβ don't download images, but return the URLs to them (acts like a search engine). Honestly iconic behaviour π-a,--artistString β artist name to search for.-b,--albumString β album name to search for.-t,--titleString β songname to search for.-e,--maxsizeInteger β (images only) the maximum size a cover may have.-i,--minsizeInteger β (images only) the minimum size a cover may have.-F,--formatsString β a semicolon separated list of imageformats that are allowed. e.g.:png;jpegπΌοΈ-8,--force-utf8β forces utf8 encoding for text items, invalid encodings get sorted out β¨
π MISC OPTIONS π
-L,--listβ list all fetchers and source providers for each and exit. Window shopping, but make it metadata.-h,--helpβ this text you unlucky wanderer are viewing π (yes, that's literally what it says, and honestly? relatable.)-V,--versionβ print the version string.-U,--updateβ updates libglyr if a new version is available. Staying fresh π-g,--as-oneβ (Textitems only) output all results as one. Super useful fortracklistandalbumlist.-G,--no-as-oneβ disables--as-one(Default).-y,--colorβ enables colored output for glyrc (Default). As she should π-Y,--no-colorβ prints no colored output.-s,--musictree-pathp β p is a path to your music directory. Glyr might fetch things likefolger.jpgfrom there π-j,--callbackCommand β set a bash command to be executed when an item is finished downloading. The special string<path>is expanded with the actual path to the data π₯
πΎ DATABASE OPTIONS πΎ
-c,--cachefolder β creates or opens an existing cache atfolder/metadata.dband lookups data from there. Bestie is keeping receipts πcache select [Query]β selects data from the cache; you can use any other option behind this.cache delete [Query]β instead of searching for this element, the element is deleted from the database. Needs--cache. Gone, reduced to atoms πcache listβ list all items in the database (including the artist / album / title / type). Needs--cache.
π EXAMPLES π
glyrc cover --artist SomeBand --album SomeAlbum
DB:
# Write found items to cache; create it if not existent
glyrc lyrics -a A -b B --cache /tmp
# List all in the cache
glyrc cache list --cache /tmp
# Delete artist/album
glyrc cache delete cover -a Equilibrium -b Sagas --cache /tmp
# Search for two items in cache and print them
glyrc cache select lyrics -a Knorkator -t 'A' -n 2 --cache /tmp
With each item received you get a link to the original source, please refer to the individual terms of use β copying and distributing of this data might be not allowed π¨ fr fr, read the terms.
A more detailed version of this help can be found online: https://github.com/sahib/glyr/wiki/Commandline-arguments π§
π AUTHORS π
Christopher Pahl <sahib@online.de>, Etienne Millon.
and that's the whole page bestie π this one shipped as part of the General Commands Manual, dated May 9 2012, and it answers to the name glyrc(1). go forth and fetch metadata, you absolute main character πβ¨π¦
π¦ where this page comes from
- debian bookworm: glyrc 1.0.10-1 Β· GPL-3.0-or-later
- debian trixie: glyrc 1.0.10-2.1 Β· GPL-3.0-or-later
- ubuntu jammy: glyrc 1.0.10-1 Β· GPL-3.0-or-later
- ubuntu noble: glyrc 1.0.10-2ubuntu2 Β· GPL-3.0-or-later
- ubuntu questing: glyrc 1.0.10-2.1
- ubuntu resolute: glyrc 1.0.10-3 Β· GPL-3.0-or-later
- ubuntu stonking: glyrc 1.0.10-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms