Ncmpcpp: Difference between revisions

From wikinotes
(Created page with "{| class="wikitable" | <pre>~/.ncmpcpp/config</pre> || [http://{{SERVERNAME}}/progs/config/mpd/ncmpcpp-config .ncmpcpp/config]] || configure ncmpcpp from visualization to text...")
 
No edit summary
Line 1: Line 1:
A TUI [[mpd]] client.
= Documentation =
<blockquote>
{| class="wikitable"
{| class="wikitable"
| <pre>~/.ncmpcpp/config</pre> || [http://{{SERVERNAME}}/progs/config/mpd/ncmpcpp-config .ncmpcpp/config]] || configure ncmpcpp from visualization to text colours
|-
|-
| <pre>/usr/share/doc/ncmpcpp/bindings</pre> || || default keybindings (just copy and change)
| <code>~/.ncmpcpp/config</code> || config
|-
| <code>/usr/share/doc/ncmpcpp/bindings</code> || default keybindings
|}
|}
</blockquote><!-- Documentation -->


Install
= Install =
<pre>
<blockquote>
sudo pacman -S ncmpcpp mpd smbclient
</pre>
 
 
''' ncmpcpp '''
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# Connect to Samba Share
sudo pacman -S ncmpcpp mpd
# Check possible samba shares on current network connection:
smbtree
 
# Connect Samba Share
sudo mount -t cifs //Langdon/Music /mnt/music/xbmc -o user=will,password=thisismypassword
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Install -->


''' Config '''
= Usage =
<syntaxhighlight lang="bash">
<blockquote>
## %l - length
== Menus ==
## %f - filename
<blockquote>
## %D - directory
<syntaxhighlight lang="yaml">
## %a - artist
1 - Current playlist
## %A - album artist
2 - Filesystem browser
## %t - title
3 - DB search
## %b - album
4 - Library
## %y - date
5 - Playlist editor
## %n - track number (01/12 -> 01)
6 - Tag editor (very powerful!)
## %N - full track info (01/12 -> 01/12)
7 - Output selector
## %g - genre
8 - Music visualizer
## %c - composer
= - Clock
## %p - performer
F1 - Help
## %d - disc
## %C - comment
## %P - priority
## $R - begin right alignment
 
{%a} ## Display Artist only if available
{%a}|{%A} ## Display Artist if available, else display AlbumArtist
{%30a} ## Display Artist, maximum char width of 30
 
$2this is red text ## Numeric Colours (1-8) can be assigned
 
 
 
    1 - Current playlist
    2 - Filesystem browser
    3 - DB search
    4 - Library
    5 - Playlist editor
    6 - Tag editor (very powerful!)
    7 - Output selector
    8 - Music visualizer
    = - Clock
    F1 - Help
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Menus -->
</blockquote><!-- Usage -->


 
= Configuration =
''' Tips/Tricks '''
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
### Browse By Genre
# %l - length
- Hit '4' to get to columns (4 again if in 2-column mode)
# %f - filename
- Navigate to left column
# %D - directory
- ` + g
# %a - artist
- hit space to add a genre
# %A - album artist
</syntaxhighlight>
# %t - title
</blockquote>
# %b - album
# %y - date
# %n - track number (01/12 -> 01)
# %N - full track info (01/12 -> 01/12)
# %g - genre
# %c - composer
# %p - performer
# %d - disc
# %C - comment
# %P - priority
# $R - begin right alignment


{%a}      # Display Artist only if available
{%a}|{%A}  # Display Artist if available, else display AlbumArtist
{%30a}    # Display Artist, maximum char width of 30


''' Troubleshooting Samba Connections '''<br>
# Numeric Colours (1-8) can be assigned
I have had many issues connecting to samba shares over the years (very frustrating).
$2this is red text
Here is a checklist of some of the issues that I have run into, and how I solved them.
<syntaxhighlight lang="bash">
#### wicd/network manager do not inform systemd that hte network is up
use netctl profiles(confirmed), or dhcpcd@interface.service.
 
#### remote-fs.target disabled
systemctl list-unit-files | grep remote-fs ## Check remote-fs status
sudo systemctl enable remote-fs.target ## re-enable
sudo reboot
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Configuration -->

Revision as of 19:15, 17 July 2021

A TUI mpd client.

Documentation

~/.ncmpcpp/config config
/usr/share/doc/ncmpcpp/bindings default keybindings

Install

sudo pacman -S ncmpcpp mpd

Usage

Menus

1 - Current playlist
2 - Filesystem browser
3 - DB search
4 - Library
5 - Playlist editor
6 - Tag editor (very powerful!)
7 - Output selector
8 - Music visualizer
= - Clock
F1 - Help

Configuration

# %l - length
# %f - filename
# %D - directory
# %a - artist
# %A - album artist
# %t - title
# %b - album
# %y - date
# %n - track number (01/12 -> 01)
# %N - full track info (01/12 -> 01/12)
# %g - genre
# %c - composer
# %p - performer
# %d - disc
# %C - comment
# %P - priority
# $R - begin right alignment

{%a}       # Display Artist only if available
{%a}|{%A}  # Display Artist if available, else display AlbumArtist
{%30a}     # Display Artist, maximum char width of 30

# Numeric Colours (1-8) can be assigned
$2this is red text