You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

462 lines
13 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. ncmpcpp_directory = ~/.config/ncmpcpp
  2. lyrics_directory = ~/.config/lyrics
  3. mpd_host = 127.0.0.1
  4. #mpd_host = mpdmaster@192.168.1.50
  5. mpd_port = 6600
  6. #mpd_connection_timeout = 5
  7. ## Needed for tag editor and file operations to work.
  8. mpd_music_dir = /mnt/network/Audio
  9. #mpd_crossfade_time = 5
  10. visualizer_data_source = /tmp/mpd.fifo
  11. visualizer_output_name = my_fifo
  12. visualizer_in_stereo = yes
  13. ## Available values: spectrum, wave, wave_filled, ellipse.
  14. visualizer_type = spectrum
  15. visualizer_look = ●▮
  16. #visualizer_color = blue, cyan, green, yellow, magenta, red
  17. ## Alternative subset of 256 colors for terminals that support it.
  18. #visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161
  19. #default in mpd UTF-8, only set here if encoding seems buggy
  20. #system_encoding = ""
  21. ##### delays #####
  22. #
  23. ## Time of inactivity (in seconds) after playlist highlighting will be disabled
  24. ## (0 = always on).
  25. ##
  26. #playlist_disable_highlight_delay = 5
  27. #
  28. ## Defines how long messages are supposed to be visible.
  29. ##
  30. #message_delay_time = 5
  31. #
  32. ##### song format #####
  33. ##
  34. ## For a song format you can use:
  35. ##
  36. ## %l - length
  37. ## %f - filename
  38. ## %D - directory
  39. ## %a - artist
  40. ## %A - album artist
  41. ## %t - title
  42. ## %b - album
  43. ## %y - date
  44. ## %n - track number (01/12 -> 01)
  45. ## %N - full track info (01/12 -> 01/12)
  46. ## %g - genre
  47. ## %c - composer
  48. ## %p - performer
  49. ## %d - disc
  50. ## %C - comment
  51. ## %P - priority
  52. ## $R - begin right alignment
  53. ##
  54. ## If you want to make sure that a part of the format is displayed only when
  55. ## certain tags are present, you can archieve it by grouping them with brackets,
  56. ## e.g. '{%a - %t}' will be evaluated to 'ARTIST - TITLE' if both tags are
  57. ## present or '' otherwise. It is also possible to define a list of
  58. ## alternatives by providing several groups and separating them with '|',
  59. ## e.g. '{%t}|{%f}' will be evaluated to 'TITLE' or 'FILENAME' if the former is
  60. ## not present.
  61. ##
  62. ## Note: If you want to set limit on maximal length of a tag, just put the
  63. ## appropriate number between % and character that defines tag type, e.g. to
  64. ## make album take max. 20 terminal cells, use '%20b'.
  65. ##
  66. ## In addition, formats support markers used for text attributes. They are
  67. ## followed by character '$'. After that you can put:
  68. ##
  69. ## - 0 - default window color (discards all other colors)
  70. ## - 1 - black
  71. ## - 2 - red
  72. ## - 3 - green
  73. ## - 4 - yellow
  74. ## - 5 - blue
  75. ## - 6 - magenta
  76. ## - 7 - cyan
  77. ## - 8 - white
  78. ## - 9 - end of current color
  79. ## - b - bold text
  80. ## - u - underline text
  81. ## - r - reverse colors
  82. ## - a - use alternative character set
  83. ##
  84. ## If you don't want to use a non-color attribute anymore, just put it again,
  85. ## but this time insert character '/' between '$' and attribute character,
  86. ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename with
  87. ## reversed colors.
  88. ##
  89. ## If you want to use 256 colors and/or background colors in formats (the naming
  90. ## scheme is described below in section about color definitions), it can be done
  91. ## with the syntax $(COLOR), e.g. to set the artist tag to one of the
  92. ## non-standard colors and make it have yellow background, you need to write
  93. ## $(197_yellow)%a$(end). Note that for standard colors this is interchangable
  94. ## with attributes listed above.
  95. ##
  96. ## Note: colors can be nested.
  97. ##
  98. #
  99. #song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
  100. #
  101. #song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
  102. #
  103. #song_library_format = {%n - }{%t}|{%f}
  104. #
  105. #alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
  106. #
  107. #alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
  108. #
  109. #current_item_prefix = $(yellow)$r
  110. #
  111. #current_item_suffix = $/r$(end)
  112. #
  113. #current_item_inactive_column_prefix = $(white)$r
  114. #
  115. #current_item_inactive_column_suffix = $/r$(end)
  116. #
  117. #now_playing_prefix = $b
  118. #
  119. #now_playing_suffix = $/b
  120. #
  121. #browser_playlist_prefix = "$2playlist$9 "
  122. #
  123. #selected_item_prefix = $6
  124. #
  125. #selected_item_suffix = $9
  126. #
  127. #modified_item_prefix = $3> $9
  128. #
  129. ##
  130. ## Note: attributes are not supported for the following variables.
  131. ##
  132. #song_window_title_format = {%a - }{%t}|{%f}
  133. ##
  134. ## Note: Below variables are used for sorting songs in browser. The sort mode
  135. ## determines how songs are sorted, and can be used in combination with a sort
  136. ## format to specify a custom sorting format. Available values for
  137. ## browser_sort_mode are "name", "mtime", "format" and "noop".
  138. ##
  139. #
  140. #browser_sort_mode = name
  141. #
  142. #browser_sort_format = {%a - }{%t}|{%f} {(%l)}
  143. #
  144. ##### columns settings #####
  145. ##
  146. ## syntax of song columns list format is "column column etc."
  147. ##
  148. ## - syntax for each column is:
  149. ##
  150. ## (width of the column)[color of the column]{displayed tag}
  151. ##
  152. ## Note: Width is by default in %, if you want a column to have fixed size, add
  153. ## 'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of
  154. ## screen (so the real width will depend on actual screen size), whereas
  155. ## (10f)[white]{a} will take 10 terminal cells, no matter how wide the screen
  156. ## is.
  157. ##
  158. ## - color is optional (if you want the default one, leave the field empty).
  159. ##
  160. ## Note: You can give a column additional attributes by putting appropriate
  161. ## character after displayed tag character. Available attributes are:
  162. ##
  163. ## - r - column will be right aligned
  164. ## - E - if tag is empty, empty tag marker won't be displayed
  165. ##
  166. ## You can also:
  167. ##
  168. ## - give a column custom name by putting it after attributes, separated with
  169. ## character ':', e.g. {lr:Length} gives you right aligned column of lengths
  170. ## named "Length".
  171. ##
  172. ## - define sequence of tags, that have to be displayed in case predecessor is
  173. ## empty in a way similar to the one in classic song format, i.e. using '|'
  174. ## character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to
  175. ## display artist tag and then composer and performer if previous ones are not
  176. ## available.
  177. ##
  178. #
  179. #song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
  180. #
  181. ##### various settings #####
  182. #
  183. ##
  184. ## Note: Custom command that will be executed each time song changes. Useful for
  185. ## notifications etc.
  186. ##
  187. #execute_on_song_change = ""
  188. #
  189. ##
  190. ## Note: Custom command that will be executed each time player state
  191. ## changes. The environment variable MPD_PLAYER_STATE is set to the current
  192. ## state (either unknown, play, pause, or stop) for its duration.
  193. ##
  194. #
  195. #execute_on_player_state_change = ""
  196. #
  197. #playlist_show_mpd_host = no
  198. #
  199. #playlist_show_remaining_time = no
  200. #
  201. #playlist_shorten_total_times = no
  202. #
  203. #playlist_separate_albums = no
  204. #
  205. ##
  206. ## Note: Possible display modes: classic, columns.
  207. ##
  208. #playlist_display_mode = columns
  209. #
  210. #browser_display_mode = classic
  211. #
  212. #search_engine_display_mode = classic
  213. #
  214. #playlist_editor_display_mode = classic
  215. #
  216. #discard_colors_if_item_is_selected = yes
  217. #
  218. #show_duplicate_tags = yes
  219. #
  220. #incremental_seeking = yes
  221. #
  222. #seek_time = 1
  223. #
  224. #volume_change_step = 2
  225. #
  226. #autocenter_mode = no
  227. #
  228. #centered_cursor = no
  229. #
  230. ##
  231. ## Note: You can specify third character which will be used to build 'empty'
  232. ## part of progressbar.
  233. ##
  234. #progressbar_look = =>
  235. #
  236. ## Available values: database, playlist.
  237. ##
  238. #default_place_to_search_in = database
  239. #
  240. ## Available values: classic, alternative.
  241. ##
  242. #user_interface = classic
  243. #
  244. #data_fetching_delay = yes
  245. # Available values: artist, album_artist, date, genre, composer, performer.
  246. media_library_primary_tag = genre
  247. media_library_albums_split_by_date = no
  248. ## Available values: wrapped, normal.
  249. ##
  250. #default_find_mode = wrapped
  251. #
  252. #default_tag_editor_pattern = %n - %t
  253. #
  254. #header_visibility = yes
  255. #
  256. #statusbar_visibility = yes
  257. #
  258. #titles_visibility = yes
  259. #
  260. #header_text_scrolling = yes
  261. #
  262. #cyclic_scrolling = no
  263. #
  264. #lines_scrolled = 2
  265. #
  266. #lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet
  267. #
  268. #follow_now_playing_lyrics = no
  269. #
  270. #fetch_lyrics_for_current_song_in_background = no
  271. #
  272. #store_lyrics_in_song_dir = no
  273. #
  274. #generate_win32_compatible_filenames = yes
  275. #
  276. #allow_for_physical_item_deletion = no
  277. #
  278. ##
  279. ## Note: If you set this variable, ncmpcpp will try to get info from last.fm in
  280. ## language you set and if it fails, it will fall back to english. Otherwise it
  281. ## will use english the first time.
  282. ##
  283. ## Note: Language has to be expressed as an ISO 639 alpha-2 code.
  284. ##
  285. #lastfm_preferred_language = en
  286. #
  287. #space_add_mode = add_remove
  288. #
  289. #show_hidden_files_in_local_browser = no
  290. #
  291. ##
  292. ## How shall screen switcher work?
  293. ##
  294. ## - "previous" - switch between the current and previous screen.
  295. ## - "screen1,...,screenN" - switch between given sequence of screens.
  296. ##
  297. ## Screens available for use: help, playlist, browser, search_engine,
  298. ## media_library, playlist_editor, tag_editor, outputs, visualizer, clock,
  299. ## lyrics, last_fm.
  300. ##
  301. #screen_switcher_mode = playlist, browser
  302. #
  303. ##
  304. ## Note: You can define startup screen by choosing screen from the list above.
  305. ##
  306. #startup_screen = playlist
  307. #
  308. ##
  309. ## Note: You can define startup slave screen by choosing screen from the list
  310. ## above or an empty value for no slave screen.
  311. ##
  312. #startup_slave_screen = ""
  313. #
  314. #startup_slave_screen_focus = no
  315. #
  316. ##
  317. ## Default width of locked screen (in %). Acceptable values are from 20 to 80.
  318. ##
  319. #
  320. #locked_screen_width_part = 50
  321. #
  322. #ask_for_locked_screen_width_part = yes
  323. #
  324. #jump_to_now_playing_song_at_start = yes
  325. #
  326. #ask_before_clearing_playlists = yes
  327. #
  328. #clock_display_seconds = no
  329. #
  330. #display_volume_level = yes
  331. #
  332. #display_bitrate = no
  333. #
  334. #display_remaining_time = no
  335. #
  336. ## Available values: none, basic, extended, perl.
  337. ##
  338. #regular_expressions = perl
  339. #
  340. ##
  341. ## Note: if below is enabled, ncmpcpp will ignore leading "The" word while
  342. ## sorting items in browser, tags in media library, etc.
  343. ##
  344. #ignore_leading_the = no
  345. #
  346. ##
  347. ## Note: if below is enabled, ncmpcpp will ignore diacritics while searching and
  348. ## filtering lists. This takes an effect only if boost was compiled with ICU
  349. ## support.
  350. ##
  351. #ignore_diacritics = no
  352. #
  353. #block_search_constraints_change_if_items_found = yes
  354. #
  355. #mouse_support = yes
  356. #
  357. #mouse_list_scroll_whole_page = yes
  358. #
  359. #empty_tag_marker = <empty>
  360. #
  361. #tags_separator = " | "
  362. #
  363. #tag_editor_extended_numeration = no
  364. #
  365. #media_library_sort_by_mtime = no
  366. #
  367. #enable_window_title = yes
  368. #
  369. ##
  370. ## Note: You can choose default search mode for search engine. Available modes
  371. ## are:
  372. ##
  373. ## - 1 - use mpd built-in searching (no regexes, pattern matching)
  374. ##
  375. ## - 2 - use ncmpcpp searching (pattern matching with support for regexes, but
  376. ## if your mpd is on a remote machine, downloading big database to process
  377. ## it can take a while
  378. ##
  379. ## - 3 - match only exact values (this mode uses mpd function for searching in
  380. ## database and local one for searching in current playlist)
  381. ##
  382. #
  383. #search_engine_default_search_mode = 1
  384. #
  385. #external_editor = nano
  386. #
  387. ## Note: set to yes if external editor is a console application.
  388. ##
  389. #use_console_editor = yes
  390. #
  391. ##### colors definitions #####
  392. ##
  393. ## It is possible to set a background color by setting a color value
  394. ## "<foreground>_<background>", e.g. red_black will set foregound color to red
  395. ## and background color to black.
  396. ##
  397. ## In addition, for terminals that support 256 colors it is possible to set one
  398. ## of them by using a number in range [1, 256] instead of color name,
  399. ## e.g. numerical value corresponding to red_black is 2_1. To find out if the
  400. ## terminal supports 256 colors, run ncmpcpp and check out the bottom of the
  401. ## help screen for list of available colors and their numerical values.
  402. ##
  403. ## What is more, there are two special values for the background color:
  404. ## "transparent" and "current". The first one explicitly sets the background to
  405. ## be transparent, while the second one allows you to preserve current
  406. ## background color and change only the foreground one. It's used implicitly
  407. ## when background color is not specified.
  408. ##
  409. ## Moreover, it is possible to attach format information to selected color
  410. ## variables by appending to their end a colon followed by one or more format
  411. ## flags, e.g. black:b or red:ur. The following variables support this syntax:
  412. ## visualizer_color, color1, color2, empty_tag_color, volume_color,
  413. ## state_line_color, state_flags_color, progressbar_color,
  414. ## progressbar_elapsed_color, player_state_color, statusbar_time_color,
  415. ## alternative_ui_separator_color.
  416. ##
  417. ## Note: due to technical limitations of older ncurses version, if 256 colors
  418. ## are used there is a possibility that you'll be able to use only colors with
  419. ## transparent background.
  420. #
  421. #colors_enabled = yes
  422. #
  423. #empty_tag_color = cyan
  424. #
  425. #header_window_color = default
  426. #
  427. #volume_color = default
  428. #
  429. #state_line_color = default
  430. #
  431. #state_flags_color = default:b
  432. #
  433. #main_window_color = yellow
  434. #
  435. #color1 = white
  436. #
  437. #color2 = green
  438. #
  439. #progressbar_color = black:b
  440. #
  441. #progressbar_elapsed_color = green:b
  442. #
  443. #statusbar_color = default
  444. #
  445. #statusbar_time_color = default:b
  446. #
  447. #player_state_color = default:b
  448. #
  449. #alternative_ui_separator_color = black:b
  450. #
  451. #window_border_color = green
  452. #
  453. #active_window_border = red
  454. #