mikevb1

~/.ncmpcpp/config

Nov 16th, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.69 KB | None | 0 0
  1. ####################################################
  2. ## this is example configuration file, copy it to ##
  3. ## ~/.ncmpcpp/config and set up your preferences ##
  4. ####################################################
  5. #
  6. ##### directories ######
  7. ##
  8. ## Directory for storing ncmpcpp related files.
  9. ## Changing it is useful if you want to store
  10. ## everything somewhere else and provide command
  11. ## line setting for alternative location to config
  12. ## file which defines that while launching ncmpcpp.
  13. ##
  14. #
  15. ncmpcpp_directory = ~/.ncmpcpp
  16. #
  17. ##
  18. ## Directory for storing downloaded lyrics. It
  19. ## defaults to ~/.lyrics since other MPD clients
  20. ## (eg. ncmpc) also use that location.
  21. ##
  22. #
  23. lyrics_directory = ~/.lyrics
  24. #
  25. ##### connection settings #####
  26. #
  27. #mpd_host = localhost
  28. #
  29. #mpd_port = 6600
  30. #
  31. #mpd_connection_timeout = 5
  32. #
  33. ## Needed for tag editor and file operations to work.
  34. ##
  35. mpd_music_dir = ~/Music
  36. #
  37. mpd_crossfade_time = 5
  38. #
  39. ##### music visualizer #####
  40. ##
  41. ## Note: In order to make music visualizer work you'll
  42. ## need to use mpd fifo output, whose format parameter
  43. ## has to be set to 44100:16:1 for mono visualization
  44. ## or 44100:16:2 for stereo visualization. Example
  45. ## configuration (it has to be put into mpd.conf):
  46. ##
  47. ## audio_output {
  48. ## type "fifo"
  49. ## name "Visualizer feed"
  50. ## path "/tmp/mpd.fifo"
  51. ## format "44100:16:2"
  52. ## }
  53. ##
  54. #
  55. visualizer_fifo_path = /tmp/mpd.fifo
  56. #
  57. ##
  58. ## Note: Below parameter is needed for ncmpcpp
  59. ## to determine which output provides data for
  60. ## visualizer and thus allow syncing between
  61. ## visualization and sound as currently there
  62. ## are some problems with it.
  63. ##
  64. #
  65. visualizer_output_name = Visualizer Feed
  66. #
  67. ##
  68. ## If you set format to 44100:16:2, make it 'yes'.
  69. ##
  70. visualizer_in_stereo = yes
  71. #
  72. ##
  73. ## Multiply received samples by given value. Very
  74. ## useful for proper visualization of quiet music.
  75. ##
  76. visualizer_sample_multiplier = 1.5
  77. #
  78. ##
  79. ## Note: Below parameter defines how often ncmpcpp
  80. ## has to "synchronize" visualizer and audio outputs.
  81. ## 30 seconds is optimal value, but if you experience
  82. ## synchronization problems, set it to lower value.
  83. ## Keep in mind that sane values start with >=10.
  84. ##
  85. #
  86. visualizer_sync_interval = 30
  87. #
  88. ##
  89. ## Note: To enable spectrum frequency visualization
  90. ## you need to compile ncmpcpp with fftw3 support.
  91. ##
  92. #
  93. ## Available values: spectrum, wave.
  94. ##
  95. visualizer_type = wave
  96. #
  97. visualizer_look = ●▮
  98. #
  99. ##### system encoding #####
  100. ##
  101. ## ncmpcpp should detect your charset encoding
  102. ## but if it failed to do so, you can specify
  103. ## charset encoding you are using here.
  104. ##
  105. ## Note: You can see whether your ncmpcpp build
  106. ## supports charset detection by checking output
  107. ## of `ncmpcpp --version`.
  108. ##
  109. ## Note: Since MPD uses UTF-8 by default, setting
  110. ## this option makes sense only if your encoding
  111. ## is different.
  112. ##
  113. #
  114. #system_encoding = ""
  115. #
  116. ##### delays #####
  117. #
  118. ## Time of inactivity (in seconds) after playlist
  119. ## highlighting will be disabled (0 = always on).
  120. ##
  121. #playlist_disable_highlight_delay = 5
  122. #
  123. ## Defines how long messages are supposed to be visible.
  124. ##
  125. #message_delay_time = 5
  126. #
  127. ##### song format #####
  128. ##
  129. ## for song format you can use:
  130. ##
  131. ## %l - length
  132. ## %f - filename
  133. ## %D - directory
  134. ## %a - artist
  135. ## %A - album artist
  136. ## %t - title
  137. ## %b - album
  138. ## %y - date
  139. ## %n - track number (01/12 -> 01)
  140. ## %N - full track info (01/12 -> 01/12)
  141. ## %g - genre
  142. ## %c - composer
  143. ## %p - performer
  144. ## %d - disc
  145. ## %C - comment
  146. ## %P - priority
  147. ## $R - begin right alignment
  148. ##
  149. ## you can also put them in { } and then it will be displayed
  150. ## only if all requested values are available and/or define alternate
  151. ## value with { }|{ } eg. {%a - %t}|{%f}
  152. ##
  153. ## Note: If you want to set limit on maximal length of a tag, just
  154. ## put the appropriate number between % and character that defines
  155. ## tag type, e.g. to make album take max. 20 terminal cells, use '%20b'.
  156. ##
  157. ## Note: Format that is similar to "%a - %t" (i.e. without any additional
  158. ## braces) is equal to "{%a - %t}", so if one of the tags is missing,
  159. ## you'll get nothing.
  160. ##
  161. ## text can also have different color than the main window has,
  162. ## eg. if you want length to be green, write "$3%l$9".
  163. ##
  164. ## Available values:
  165. ##
  166. ## - 0 - default window color (discards all other colors)
  167. ## - 1 - black
  168. ## - 2 - red
  169. ## - 3 - green
  170. ## - 4 - yellow
  171. ## - 5 - blue
  172. ## - 6 - magenta
  173. ## - 7 - cyan
  174. ## - 8 - white
  175. ## - 9 - end of current color
  176. ##
  177. ## Note: colors can be nested.
  178. ##
  179. #
  180. #song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
  181. #
  182. #song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
  183. #
  184. #song_library_format = {%n - }{%t}|{%f}
  185. #
  186. #tag_editor_album_format = {(%y) }%b
  187. #
  188. ##
  189. ## Note: Below variables are used for sorting songs in browser.
  190. ## The sort mode determines how songs are sorted, and can be used
  191. ## in combination with a sort format to specify a custom sorting format.
  192. ## Available values for browser_sort_mode are "name", "mtime", "format"
  193. ## and "noop".
  194. ##
  195. #
  196. #browser_sort_mode = name
  197. #
  198. #browser_sort_format = {%a - }{%t}|{%f} {(%l)}
  199. #
  200. ##
  201. ## Note: Below variables are for alternative version of user's interface.
  202. ## Their syntax supports all tags and colors listed above plus some extra
  203. ## markers used for text attributes. They are followed by character '$'.
  204. ## After that you can put:
  205. ##
  206. ## - b - bold text
  207. ## - u - underline text
  208. ## - r - reverse colors
  209. ## - a - use alternative character set
  210. ##
  211. ## If you don't want to use an attribute anymore, just put it again, but
  212. ## this time insert character '/' between '$' and attribute character,
  213. ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
  214. ## with reversed colors.
  215. ##
  216. #
  217. #alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
  218. #
  219. #alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
  220. #
  221. ##
  222. ## Note: below variables also support text attributes listed above.
  223. ##
  224. #
  225. #now_playing_prefix = $b
  226. #
  227. #now_playing_suffix = $/b
  228. #
  229. #browser_playlist_prefix = "$2playlist$9 "
  230. #
  231. #selected_item_prefix = $6
  232. #
  233. #selected_item_suffix = $9
  234. #
  235. #modified_item_prefix = $3> $9
  236. #
  237. ## Note: colors are not supported for below variable.
  238. ##
  239. #song_window_title_format = {%a - }{%t}|{%f}
  240. #
  241. ##### columns settings #####
  242. ##
  243. ## syntax of song columns list format is "column column etc."
  244. ##
  245. ## - syntax for each column is:
  246. ##
  247. ## (width of column)[column's color]{displayed tag}
  248. ##
  249. ## Note: Width is by default in %, if you want a column to
  250. ## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
  251. ## will be the column that take 10% of screen (so the real column's
  252. ## width will depend on actual screen size), whereas (10f)[white]{a}
  253. ## will take 10 terminal cells, no matter how wide the screen is.
  254. ##
  255. ## - color is optional (if you want the default one, type [])
  256. ##
  257. ## Note: You can give a column additional attributes by putting appropriate
  258. ## character after displayed tag character. Available attributes are:
  259. ##
  260. ## - r - column will be right aligned
  261. ## - E - if tag is empty, empty tag marker won't be displayed
  262. ##
  263. ## You can also:
  264. ##
  265. ## - give a column custom name by putting it after attributes,
  266. ## separated with character ':', e.g. {lr:Length} gives you
  267. ## right aligned column of lengths named "Length".
  268. ##
  269. ## - define sequence of tags, that have to be displayed in case
  270. ## predecessor is empty in a way similar to the one in classic
  271. ## song format, i.e. using '|' character, e.g. {a|c|p:Owner}
  272. ## creates column named "Owner" that tries to display artist
  273. ## tag and then composer and performer if previous ones are
  274. ## not available.
  275. ##
  276. #
  277. #song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
  278. #
  279. ##### various settings #####
  280. #
  281. ##
  282. ## Note: Custom command that will be executed each
  283. ## time song changes. Useful for notifications etc.
  284. ##
  285. ## Attention: It doesn't support song format anymore.
  286. ## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
  287. ##
  288. #execute_on_song_change = ""
  289. #
  290. #playlist_show_remaining_time = no
  291. #
  292. #playlist_shorten_total_times = no
  293. #
  294. #playlist_separate_albums = no
  295. #
  296. ##
  297. ## Note: Possible display modes: classic, columns.
  298. ##
  299. #playlist_display_mode = columns
  300. #
  301. #browser_display_mode = classic
  302. #
  303. #search_engine_display_mode = classic
  304. #
  305. #playlist_editor_display_mode = classic
  306. #
  307. #discard_colors_if_item_is_selected = yes
  308. #
  309. #incremental_seeking = yes
  310. #
  311. #seek_time = 1
  312. #
  313. #volume_change_step = 2
  314. #
  315. #autocenter_mode = no
  316. #
  317. #centered_cursor = no
  318. #
  319. ##
  320. ## Note: You can specify third character which will
  321. ## be used to build 'empty' part of progressbar.
  322. ##
  323. #progressbar_look = =>
  324. #
  325. #progressbar_boldness = yes
  326. #
  327. ## Available values: database, playlist.
  328. ##
  329. #default_place_to_search_in = database
  330. #
  331. ## Available values: classic, alternative.
  332. ##
  333. #user_interface = classic
  334. #
  335. #data_fetching_delay = yes
  336. #
  337. ## Available values: artist, album_artist, date, genre, composer, performer.
  338. ##
  339. #media_library_primary_tag = artist
  340. #
  341. ## Available values: wrapped, normal.
  342. ##
  343. #default_find_mode = wrapped
  344. #
  345. ## Available values: add, select.
  346. ##
  347. #default_space_mode = add
  348. #
  349. #default_tag_editor_pattern = %n - %t
  350. #
  351. #header_visibility = yes
  352. #
  353. #statusbar_visibility = yes
  354. #
  355. #titles_visibility = yes
  356. #
  357. #header_text_scrolling = yes
  358. #
  359. #cyclic_scrolling = no
  360. #
  361. #lines_scrolled = 2
  362. #
  363. #follow_now_playing_lyrics = no
  364. #
  365. #fetch_lyrics_for_current_song_in_background = no
  366. #
  367. #store_lyrics_in_song_dir = no
  368. #
  369. #generate_win32_compatible_filenames = yes
  370. #
  371. #allow_for_physical_item_deletion = no
  372. #
  373. ##
  374. ## Note: If you set this variable, ncmpcpp will try to
  375. ## get info from last.fm in language you set and if it
  376. ## fails, it will fall back to english. Otherwise it will
  377. ## use english the first time.
  378. ##
  379. ## Note: Language has to be expressed as an ISO 639 alpha-2 code.
  380. ##
  381. #lastfm_preferred_language = en
  382. #
  383. ## Available values: add_remove, always_add.
  384. ##
  385. #space_add_mode = always_add
  386. #
  387. #show_hidden_files_in_local_browser = no
  388. #
  389. ##
  390. ## How shall screen switcher work?
  391. ##
  392. ## - "previous" - switch between the current and previous screen.
  393. ## - "screen1,...,screenN" - switch between given sequence of screens.
  394. ##
  395. ## Screens available for use: help, playlist, browser, search_engine,
  396. ## media_library, playlist_editor, tag_editor, outputs, visualizer, clock.
  397. ##
  398. #screen_switcher_mode = playlist, browser
  399. #
  400. ##
  401. ## Note: You can define startup screen for ncmpcpp
  402. ## by choosing screen from the list above.
  403. ##
  404. #startup_screen = playlist
  405. #
  406. ##
  407. ## Default width of locked screen (in %).
  408. ## Acceptable values are from 20 to 80.
  409. ##
  410. #
  411. #locked_screen_width_part = 50
  412. #
  413. #ask_for_locked_screen_width_part = yes
  414. #
  415. #jump_to_now_playing_song_at_start = yes
  416. #
  417. #ask_before_clearing_playlists = yes
  418. #
  419. #clock_display_seconds = no
  420. #
  421. #display_volume_level = yes
  422. #
  423. #display_bitrate = no
  424. #
  425. #display_remaining_time = no
  426. #
  427. ## Available values: none, basic, extended.
  428. ##
  429. #regular_expressions = none
  430. #
  431. ##
  432. ## Note: If below is enabled, ncmpcpp will ignore leading
  433. ## "The" word while sorting items in browser, tags in
  434. ## media library, etc.
  435. ##
  436. #ignore_leading_the = no
  437. #
  438. #block_search_constraints_change_if_items_found = yes
  439. #
  440. #mouse_support = yes
  441. #
  442. #mouse_list_scroll_whole_page = yes
  443. #
  444. #empty_tag_marker = <empty>
  445. #
  446. #tags_separator = " | "
  447. #
  448. #tag_editor_extended_numeration = no
  449. #
  450. #media_library_sort_by_mtime = no
  451. #
  452. #enable_window_title = yes
  453. #
  454. ##
  455. ## Note: You can choose default search mode for search
  456. ## engine. Available modes are:
  457. ##
  458. ## - 1 - use mpd built-in searching (no regexes, pattern matching)
  459. ## - 2 - use ncmpcpp searching (pattern matching with support for regexes,
  460. ## but if your mpd is on a remote machine, downloading big database
  461. ## to process it can take a while
  462. ## - 3 - match only exact values (this mode uses mpd function for searching
  463. ## in database and local one for searching in current playlist)
  464. ##
  465. #
  466. #search_engine_default_search_mode = 1
  467. #
  468. #external_editor = nano
  469. #
  470. ## Note: set to yes if external editor is a console application.
  471. ##
  472. #use_console_editor = yes
  473. #
  474. ##### colors definitions #####
  475. #
  476. #colors_enabled = yes
  477. #
  478. #empty_tag_color = cyan
  479. #
  480. #header_window_color = default
  481. #
  482. #volume_color = default
  483. #
  484. #state_line_color = default
  485. #
  486. #state_flags_color = default
  487. #
  488. #main_window_color = yellow
  489. #
  490. #color1 = white
  491. #
  492. #color2 = green
  493. #
  494. #main_window_highlight_color = yellow
  495. #
  496. #progressbar_color = black
  497. #
  498. #progressbar_elapsed_color = green
  499. #
  500. #statusbar_color = default
  501. #
  502. #alternative_ui_separator_color = black
  503. #
  504. #active_column_color = red
  505. #
  506. #visualizer_color = yellow
  507. #
  508. #window_border_color = green
  509. #
  510. #active_window_border = red
  511. #
Advertisement
Add Comment
Please, Sign In to add comment