3 .\" Author: kaliko <kaliko@azylum.org>
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
6 .\" Manual: mpd-sima 0.17.0 User Manual
10 .TH "SIMADB_CLI" "1" "04/19/2021" "mpd-sima" "mpd-sima 0.17.0 User Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 simadb_cli \- simadb_cli is a command line interface editor for the sima user DB\&.
33 .HP \w'\fBsimadb_cli\fR\ 'u
34 \fBsimadb_cli\fR \fB\-\-remove_artist=\fR\fIartist\fR [\fB\-\-dbfile=\fR\fIdb_file\fR] [\fB\-\-reciprocal\fR]
35 .HP \w'\fBsimadb_cli\fR\ 'u
36 \fBsimadb_cli\fR \fB\-\-purge_hist\fR [\fB\-\-dbfile=\fR\fIdb_file\fR]
37 .HP \w'\fBsimadb_cli\fR\ 'u
38 \fBsimadb_cli\fR \fB\-\-view_all\fR [\fB\-\-dbfile=\fR\fIdb_file\fR]
39 .HP \w'\fBsimadb_cli\fR\ 'u
40 \fBsimadb_cli\fR {\fB\-\-bl_curr_trk\fR | \fB\-\-bl_curr_art\fR | \fB\-\-bl_curr_alb\fR | \fB\-\-bl_art=\fR\fIartist_name\fR} [\fB\-\-dbfile=\fR\fIdb_file\fR] [\fB\-\-host=\fR\fImpd_host\fR] [\fB\-\-port=\fR\fImpd_port\fR]
41 .HP \w'\fBsimadb_cli\fR\ 'u
42 \fBsimadb_cli\fR \fB\-\-remove_bl=\fR\fIrow_id\fR [\fB\-\-dbfile=\fR\fIdb_file\fR]
43 .HP \w'\fBsimadb_cli\fR\ 'u
44 \fBsimadb_cli\fR \fB\-\-view_bl\fR [\fB\-\-dbfile=\fR\fIdb_file\fR]
45 .HP \w'\fBsimadb_cli\fR\ 'u
46 \fBsimadb_cli\fR {{\fB\-h\fR\ |\ \fB\-\-help\fR} | \fB\-\-version\fR}
49 This manual page documents briefly the
53 simadb_cli is a command line interface to get and edit users blacklist database used with MPD_sima\&. The default database file (see
54 the section called \(lqFILES\(rq) can be overridden if you want\&.
56 .SS "Black list edition"
58 \fIAdding to black list\&.\fR
59 You can add a single track, an album or an artist to the black list\&. The element to black list is chosen from the currently playing track\&. Use
61 to prevent simadb_cli to queue this track,
65 respectively for the album and the artist\&.
67 Remember you need access to your MPD server to retrieve information to black list\&. Defaults are localhost:6600 or found in environment variables but you may set it up from command line:
69 \fBsimadb_cli \-\-bl_curr_art \-S mympd\&.example\&.org\fR
71 \fITo black list a specific artist\fR
72 (not currently playing) you can use
73 \fB\-\-bl_ar="Artist name to black list"\fR\&.
76 The program follows the usual GNU command line syntax, with long options starting with two dashes ("\-")\&. A summary of options is included below\&.
78 \fB\-h\fR, \fB\-\-help\fR
80 Print help and exit\&.
85 Print version and exit\&.
88 \fB\-\-bl_art=\fR\fB\fIartist_name\fR\fR
91 \fIartist_name\fR\&. simadb_cli is checking
93 is actually in MPD music library (cf
97 options to set MPD host/address if necessary)\&.
101 is not found the script print out a list of matching artists\&.
104 \fB\-\-bl_curr_trk\fR | \fB\-\-bl_curr_art\fR | \fB\-\-bl_curr_alb\fR
106 Use to black list the currently playing track|artist|album\&. You need access to your MPD server, use
110 to set MPD host/address if necessary\&.
113 \fB\-d \fR\fB\fIdb_file\fR\fR, \fB\-\-dbfile=\fR\fB\fIdb_file\fR\fR
115 Use the specific file
122 the section called \(lqFILES\(rq)\&.
127 Purge history, you may supply an alternative DB file with \-\-dbfile option\&.
130 \fB\-\-remove_bl=\fR\fB\fIrow_id\fR\fR
132 Use to remove a black list entry\&. To get the row_id to suppress use
139 Get all entries in the black list\&.
142 \fB\-P \fR\fB\fImpd_port\fR\fR, \fB\-\-port=\fR\fB\fImpd_port\fR\fR
144 Use the specific port number
146 on MPD server\&. This overrides
148 environment variable\&.
154 \fB\-S \fR\fB\fImpd_host\fR\fR, \fB\-\-host=\fR\fB\fImpd_host\fR\fR
156 Use the specific host
163 or a fully qualified domain name as long as your system can resolve it\&. This overrides
165 environment variable\&.
172 ${XDG_DATA_HOME}/mpd_sima/sima\&.db
174 SQLite DB file\&. Usually
177 ${HOME}/\&.local/share\&.
181 The maintainer would be more than happy to ear from you, don\*(Aqt hesitate to send feedback,
182 \m[blue]\fB\%https://kaliko.me/contact/\fR\m[]\&.
185 users are welcome to join the dedicated chat room at
186 \m[blue]\fBkaliko\&.me@conf\&.azylum\&.org\fR\m[]\&.
192 /usr/share/doc/mpd\-sima/
195 \fBkaliko\fR <\&kaliko@azylum\&.org\&>
197 Wrote this man page and is currently leading MPD_sima project\&.
201 Copyright \(co 2009-2021 kaliko
204 This manual page was written for the Debian system (and may be used by others)\&.
206 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation\&.
208 On Debian systems, the complete text of the GNU General Public License can be found in
209 /usr/share/common\-licenses/GPL\&.