ALSEARCH(1)
โจ ALSEARCH(1) โจ
Okay bestie, this one lives under User Contributed Perl Documentation ๐ and it's the guide to alsearch ๐ถ
๐ NAME
alsearch, which is the tool that searches the AudioLink database for music ๐งโจ
๐ฎ SYNOPSIS
alsearch [OPTION]... search_option... --td=/some/path/to/create/links/
alsearch [OPTION]... search_option... -s
๐ง DESCRIPTION
So this script is how you hunt for songs in the AudioLink database ๐ You can throw in one or several options for the artist, composer, lyricist, album, etc., and those become your search criteria. It's giving customizable ๐
You can pass several search_option options to dig up specific music files. Check the "search options" section further down for the full list ๐ธ
The search is not case sensitive ๐ alsearch looks for strings and sub-strings in the fields it searches, so you don't need the exact spelling. See the "examples" section for more info ๐
Specifying the --td (target directory) option is mandatory if you want links made to the actual files ๐จ That directory holds the symbolic links to the real audio files, and it gets created if it doesn't exist yet ๐
Making symbolic links to the real files is basically like making playlists in your audio app ๐ Symlinks just point at the actual files on your hard disk, and this way of making and storing playlists is so useful for a few reasons, like:
- Compatible across various audio players ๐ฆ Since your "playlists" are real files on your hard disk, you can add whole directories that
alsearchgenerated into your audio software's playlist. If you ever switch to a different music player, your playlists come with you ๐ You don't have to stress about whether the two players' playlist formats match ๐ญ - Can be seen and operated upon in a file browser ๐ Because the symbolic links live on the file system, you can look at your playlist collection with normal shell file operations or a GUI file browser ๐ง If the file browser supports file traversals and symlinks, it'll show you the info of the actual song โจ
๐ OPTIONS
--helpโ Brief usage info, bestie ๐ซถ--host=xxxโ Connects to the MySQL server on the target host. The default islocalhost๐--pass=xxxโ The password for the database ๐-s,--naโ Just shows you the search results and doesn't make any links. It's simulation mode, so think of it as a vibe check before committing ๐--td=xxxโ The target directory where links get created ๐--user=xxxโ The username for the database ๐ค-v,--verboseโ Shows some extra info. It's super useful for spotting errors and sending debug info ๐ฅ
๐ SEARCH OPTIONS
--album=xxxโ Searches the "album" field ๐ฟ--artist=xxxโ Searches the artist/band/performers fields. You can give this option multiple times ๐ค You can do it like this:
"alsearch --artist=kishore --artist=asha --td=/songs/asha_kishore"
--comment=xxxโ Searches the "comment" field ๐ฌ-c,--composer=xxxโ Searches the "composer" field ๐ผ--genre=xxxโ Searches the "genre" field ๐ต-l,--lyricist=xxxโ Searches the "lyricist" field โ๏ธ--title=xxxโ Searches the "title" field ๐
๐ EXAMPLES
Okay so options that take arguments can be written two ways, and both are iconic ๐ The option and its argument can be separated by a space (' ') or an equal sign ('=') ๐ฆ
"alsearch --artist="kishore kumar" --td=/songs/kishore"
"alsearch --artist "kishore kumar" --td /songs/kishore"
If you want to search for a string with spaces in it, wrap that string in " " ๐ซถ
"alsearch --artist=kishore --composer=burman --lyricist=bakshi"
That one will search for songs sung by Kishore, composed by Burman, and written by Bakshi ๐ถ Any name in the composer field that has "burman" in it will match, so it'll find songs composed by RD Burman, SD Burman, etc. This is true for all the search fields, periodt ๐
๐ธ SEE ALSO
audiolink(1), alfilldb(1) โญ The current version of this man page is available on the AudioLink website at http://audiolink.sourceforge.net/ ๐
๐ BUGS
Bug reports for the AudioLink software or the man pages go to the audiolink-devel mailing list at audiolink-devel@lists.sourceforge.net ๐
๐ฉโ๐ป AUTHOR
This manual page is written and maintained by Amit Shah <amitshah@gmx.net> ๐ง
โ๏ธ COPYRIGHT
The AudioLink package is Copyright (C) 2003, Amit Shah <amitshah@gmx.net>. All the programs and the documentation that come as part of AudioLink are licensed under the GNU General Public License v2 (GPLv2) ๐
Stay iconic, and happy searching! This page came from perl v5.30.3, dated 2020-08-11, under ALSEARCH(1) ๐๐ฆ
๐ฆ where this page comes from
- debian bookworm: audiolink 0.05-4 ยท GPL-2.0-or-later
- debian trixie: audiolink 0.05-4 ยท GPL-2.0-or-later
- ubuntu jammy: audiolink 0.05-4 ยท GPL-2.0-or-later
- ubuntu noble: audiolink 0.05-4 ยท GPL-2.0-or-later
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms