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.

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