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.

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