Advertisement
Guest User

Untitled

a guest
Nov 25th, 2011
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.51 KB | None | 0 0
  1. #=================================#
  2. #|| ||#
  3. #|| N C M P C P P C O N F I G ||#
  4. #|| ||#
  5. #=================================#
  6. ##
  7. ##### connection settings #####
  8. ## set it in order to make tag editor and renaming files work properly
  9. mpd_host = "localhost"
  10. mpd_port = "6600"
  11. mpd_music_dir = "/media/data/Music"
  12. mpd_connection_timeout = "5"
  13. mpd_crossfade_time = "1"
  14. mpd_communication_mode = "notifications" (polling/notifications)
  15. ##### music visualizer #####
  16. ##
  17. ## Note: In order to make music visualizer work you'll
  18. ## need to use mpd fifo output, whose format parameter
  19. ## has to be set to 44100:16:1. Example configuration:
  20. ## (it has to be put into mpd.conf)
  21. ##
  22. ## audio_output {
  23. ## type "fifo"
  24. ## name "My FIFO"
  25. ## path "/tmp/mpd.fifo"
  26. ## format "44100:16:1"
  27. ## }
  28. ##
  29. visualizer_fifo_path = "/tmp/mpd.fifo"
  30. ##
  31. ## Note: Below parameter is needed for ncmpcpp
  32. ## to determine which output provides data for
  33. ## visualizer and thus allow syncing between
  34. ## visualization and sound as currently there
  35. ## are some problems with it.
  36. ##
  37. visualizer_output_name = "FIFO"
  38. ##
  39. ## Note: Below parameter defines how often ncmpcpp
  40. ## has to "synchronize" visualizer and audio outputs.
  41. ## 30 seconds is optimal value, but if you experience
  42. ## synchronization problems, set it to lower value.
  43. ## Keep in mind that sane values start with >=10.
  44. ##
  45. visualizer_sync_interval = "25"
  46. ##
  47. ## Note: To enable spectrum frequency visualization
  48. ## you need to compile ncmpcpp with fftw3 support.
  49. ##
  50. visualizer_type = "wave" (spectrum/wave)
  51. ##### system encoding #####
  52. ##
  53. ## ncmpcpp should detect your charset encoding
  54. ## but if it failed to do so, you can specify
  55. ## charset encoding you are using here.
  56. ##
  57. ## Note: You can see whether your ncmpcpp build
  58. ## supports charset detection by checking output
  59. ## of `ncmpcpp --version`.
  60. ##
  61. ## Note: Since MPD uses utf8 by default, setting
  62. ## this option makes sense only if your encoding
  63. ## is different.
  64. ##
  65. system_encoding = ""
  66. ##### delays #####
  67. ## delay after playlist highlighting will be disabled (0 = don't disable)
  68. playlist_disable_highlight_delay = "5"
  69. ## defines how long various messages are supposed to be visible
  70. message_delay_time = "4"
  71. ##### song format #####
  72. ## for song format you can use:
  73. ##
  74. ## %l - length
  75. ## %f - filename
  76. ## %D - directory
  77. ## %a - artist
  78. ## %A - album artist
  79. ## %t - title
  80. ## %b - album
  81. ## %y - year
  82. ## %n - track number (01/12 -> 01)
  83. ## %N - full track info (01/12 -> 01/12)
  84. ## %g - genre
  85. ## %c - composer
  86. ## %p - performer
  87. ## %d - disc
  88. ## %C - comment
  89. ## $R - begin right alignment
  90. ##
  91. ## you can also put them in { } and then it will be displayed
  92. ## only if all requested values are available and/or define alternate
  93. ## value with { }|{ } eg. {%a - %t}|{%f}
  94. ##
  95. ## Note: Format that is similar to "%a - %t" (i.e. without any additional
  96. ## braces) is equal to "{%a - %t}", so if one of the tags is missing,
  97. ## you'll get nothing.
  98. ##
  99. ## text can also have different color than the main window has,
  100. ## eg. if you want length to be green, write $3%l$9
  101. ##
  102. ## available values:
  103. ##
  104. ## - 0 - default window color (discards all other colors)
  105. ## - 1 - black
  106. ## - 2 - red
  107. ## - 3 - green
  108. ## - 4 - yellow
  109. ## - 5 - blue
  110. ## - 6 - magenta
  111. ## - 7 - cyan
  112. ## - 8 - white
  113. ## - 9 - end of current color
  114. ##
  115. ## Note: colors can be nested.
  116. ##
  117. song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
  118. song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}"
  119. song_library_format = "{%n - }{%t}|{%f}"
  120. tag_editor_album_format = "{(%y) }%b"
  121. ##
  122. ## Note: Below variables are for alternative version of user's interface.
  123. ## Their syntax supports all tags and colors listed above plus some extra
  124. ## markers used for text attributes. They are followed by character '$'.
  125. ## After that you can put:
  126. ##
  127. ## - b - bold text
  128. ## - u - underline text
  129. ## - r - reverse colors
  130. ## - a - use alternative character set
  131. ##
  132. ## If you don't want to use an attribute anymore, just put it again, but
  133. ## this time insert character '/' between '$' and attribute character,
  134. ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
  135. ## with reversed colors.
  136. ##
  137. #
  138. alternative_header_first_line_format = "$b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b"
  139. #
  140. alternative_header_second_line_format = "{{$4%a$9}{ - $7%b$9}}|{%D}"
  141. #
  142. ##
  143. ## Note: Below variables also supports
  144. ## text attributes listed above.
  145. ##
  146. #
  147. now_playing_prefix = "$b$u"
  148. now_playing_suffix = "$/b$/u"
  149. browser_playlist_prefix = "$2playlist$9 "
  150. selected_item_prefix = "$6"
  151. selected_item_suffix = "$9"
  152. ## colors are not supported for below variable
  153. song_window_title_format = "{%a - }{%t}|{%f}"
  154. ##### columns settings #####
  155. ##
  156. ## syntax of song columns list format is "column column etc."
  157. ##
  158. ## - syntax for each column is:
  159. ##
  160. ## (width of column)[column's color]{displayed tag}
  161. ##
  162. ## Note: Width is by default in %, if you want a column to
  163. ## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
  164. ## will be the column that take 10% of screen (so the real column's
  165. ## width will depend on actual screen size), whereas (10f)[white]{a}
  166. ## will take 10 terminal cells, no matter how wide the screen is.
  167. ##
  168. ## - color is optional (if you want the default one, type [])
  169. ##
  170. ## Note: You can give a column additional attributes by putting appropriate
  171. ## character after displayed tag character. Available attributes are:
  172. ##
  173. ## - r - column will be right aligned
  174. ## - E - if tag is empty, empty tag marker won't be displayed
  175. ##
  176. ## You can also:
  177. ##
  178. ## - give a column custom name by putting it after attributes,
  179. ## separated with character ':', e.g. {lr:Length} gives you
  180. ## right aligned column of lengths named "Length".
  181. ##
  182. ## - define sequence of tags, that have to be displayed in case
  183. ## predecessor is empty in a way similar to the one in classic
  184. ## song format, i.e. using '|' character, e.g. {a|c|p:Owner}
  185. ## creates column named "Owner" that tries to display artist
  186. ## tag and then composer and performter if previous ones are
  187. ## not available.
  188. ##
  189. song_columns_list_format = "(7f)[green]{l} (40)[cyan]{t|f} (25)[blue]{a} (30)[green]{b}"
  190. ##### various settings #####
  191. #
  192. ##
  193. ## Note: Custom command that will be executed each
  194. ## time song changes. Useful for notifications etc.
  195. ##
  196. ## Attention: It doesn't support song format anymore.
  197. ## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
  198. ##
  199. execute_on_song_change = ""
  200. playlist_show_remaining_time = "no"
  201. playlist_shorten_total_times = "yes"
  202. playlist_separate_albums = "no"
  203. playlist_display_mode = "columns" (classic/columns)
  204. browser_display_mode = "columns" (classic/columns)
  205. search_engine_display_mode = "classic" (classic/columns)
  206. discard_colors_if_item_is_selected = "yes"
  207. incremental_seeking = "yes"
  208. seek_time = "1"
  209. autocenter_mode = "yes"
  210. centered_cursor = "yes"
  211. #progressbar_look = "//"
  212. progressbar_look = "-▸"
  213. default_place_to_search_in = "database" (database/playlist)
  214. user_interface = "alternative" (classic/alternative)
  215. media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
  216. default_find_mode = "wrapped" (wrapped/normal)
  217. default_space_mode = "add" (add/select)
  218. default_tag_editor_left_col = "albums" (albums/dirs)
  219. default_tag_editor_pattern = "%n - %t"
  220. header_visibility = "yes"
  221. statusbar_visibility = "yes"
  222. header_text_scrolling = "yes"
  223. fancy_scrolling = "yes"
  224. cyclic_scrolling = "no"
  225. lines_scrolled = "2"
  226. follow_now_playing_lyrics = "no"
  227. ncmpc_like_songs_adding = "yes" (enabled - add/remove, disabled - always add)
  228. show_hidden_files_in_local_browser = "no"
  229. display_screens_numbers_on_start = "yes"
  230. ##
  231. ## How shall key_screen_switcher work?
  232. ##
  233. ## - "previous" - switch between current and last used screen
  234. ## - "sequence: 2 -> 9 -> 5" - switch between given sequence of screens.
  235. ##
  236. ## Screen numbers you can use after 'sequence' keyword are:
  237. ##
  238. ## - 1 - help
  239. ## - 2 - playlist
  240. ## - 3 - browser
  241. ## - 4 - search engine
  242. ## - 5 - media library
  243. ## - 6 - playlist editor
  244. ## - 7 - tag editor
  245. ## - 8 - outputs
  246. ## - 9 - visualizer
  247. ## - 10 - clock
  248. ##
  249. ## As you can see, above example will switch between
  250. ## playlist, visualizer and media library screens.
  251. ##
  252. screen_switcher_mode = "sequence: 2 -> 3"
  253. ##
  254. ## Note: You can define startup screen for ncmpcpp
  255. ## by choosing screen number from the list above.
  256. ##
  257. startup_screen = "2"
  258. jump_to_now_playing_song_at_start = "yes"
  259. ask_before_clearing_main_playlist = "no"
  260. clock_display_seconds = "yes"
  261. display_volume_level = "yes"
  262. display_bitrate = "no"
  263. display_remaining_time = "no"
  264. regular_expressions = "basic" (basic/extended)
  265. ##
  266. ## Note: If below is enabled, ncmpcpp will ignore leading
  267. ## "The" word while sorting items in browser, tags in
  268. ## media library, etc.
  269. ##
  270. ignore_leading_the = "no"
  271. block_search_constraints_change_if_items_found = "yes"
  272. mouse_support = "yes"
  273. mouse_list_scroll_whole_page = "yes"
  274. empty_tag_marker = "<empty>"
  275. tag_editor_extended_numeration = "no"
  276. media_library_display_date = "yes"
  277. media_library_disable_two_column_mode = "no"
  278. enable_window_title = "yes"
  279. ##
  280. ## Note: You can choose default search mode for search
  281. ## engine. Available modes are:
  282. ##
  283. ## - 1 - use mpd built-in searching (no regexes, pattern matching)
  284. ## - 2 - use ncmpcpp searching (pattern matching with support for regexes,
  285. ## but if your mpd is on a remote machine, downloading big database
  286. ## to process it can take a while
  287. ## - 3 - match only exact values (this mode uses mpd function for searching
  288. ## in database and local one for searching in current playlist)
  289. ##
  290. #
  291. #search_engine_default_search_mode = "1"
  292. #
  293. ##
  294. ## Note: Below variables can allow you to physically
  295. ## remove files and directories from your hdd using
  296. ## ncmpcpp's browser screen.
  297. ##
  298. allow_physical_files_deletion = "no"
  299. allow_physical_directories_deletion = "no"
  300. ##### lyrics support #####
  301. ##
  302. ## supported lyrics databases:
  303. ##
  304. ## - 1 - lyricsplugin.com
  305. ##
  306. lyrics_database = "1"
  307. external_editor = "vim"
  308. use_console_editor = "yes" (set to yes, if your editor is console app)
  309. ##### colors definitions #####
  310. colors_enabled = "yes"
  311. empty_tag_color = "black"
  312. header_window_color = "blue"
  313. volume_color = "blue"
  314. state_line_color = "black"
  315. state_flags_color = "cyan"
  316. main_window_color = "blue"
  317. color1 = "blue"
  318. color2 = "cyan"
  319. main_window_highlight_color = "cyan"
  320. progressbar_color = "cyan"
  321. statusbar_color = "blue"
  322. alternative_ui_separator_color = "blue"
  323. active_column_color = "red"
  324. window_border_color = "green"
  325. active_window_border = "red"
  326.  
  327.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement