Advertisement
thioshp

My NCMPCPP Config File

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