Find the answer to your Linux question:
Results 1 to 6 of 6
Hey. So this if my first post on this forum and I'm really looking forward to learning a lot on here. My question concerns NCMPCPP ( the frontend music player ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    3

    [solved]Trouble with NCMPCPP

    Hey.
    So this if my first post on this forum and I'm really looking forward to learning a lot on here.
    My question concerns NCMPCPP ( the frontend music player ).
    First off, I'm relatively new to Linux, so please answer as noobish as possible lol. I installed, configured NCMPCPP a while ago and it worked like a charm.

    But yesterday some colours just changed back to the default for some reason.
    From :
    Code:
    http: (double slash) img37 (dot) imageshack (dot) us/img37/1865/firstss.jpg
    To :
    Code:
    http: (double slash) i45 (dot) tinypic (dot) com/24nij34.jpg
    Going into the preferences of the terminal :
    Code:
    http: ( double slash )i46 (dot) tinypic (dot) com/2j26q9z.jpg
    As you can see, it is using the default colour yellow. I created another profile already, changing those two colours to black and grey, but I don't think this is a good solution.

    I checked the error.log file :
    Code:
    TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
    I'm guessing it has something to do with that. I looked this error up on google and on this forum but couldn't find anything that relates to my problem.
    As you can imagine I am lost at this point. I don't know what to do and I hope I provided enough information. Sorry for the dot thing, but I don't think I could explain this without the pictures.
    Thanks in advance.
    Cheers,
    Lennox.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I don't believe the TDAT frame is the problem. According to the id3vs specs
    Code:
    TDAT
        The 'Date' frame is a numeric string in the DDMM format containing the date for the recording. This field is always four characters long.
    Colors for ncmpcpp are usually set in the config file at ~/.ncmpcpp/config.

    This arch linux thread has screenshots and various config files you can use for ideas.

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    3
    Weird. I configured my ncmpcpp when I installed it.
    Code:
    ####################################################
    ## this is example configuration file, copy it to ##
    ## ~/.ncmpcpp/config and set up your preferences ##
    ####################################################
    #
    ##### connection settings #####
    #
    ## set it in order to make tag editor and renaming files work properly
    #
    mpd_host = "localhost"
    #
    mpd_port = "6600"
    
    mpd_music_dir = "/home/Lennox/Music"
    
    mpd_connection_timeout = "5"
    
    mpd_crossfade_time = "5"
    
    ##### delays #####
    #
    ## delay after playlist highlighting will be disabled (0 = don't disable)
    #
    playlist_disable_highlight_delay = "0"
    #
    ## defines how long various messages are supposed to be visible
    #
    #message_delay_time = "4"
    #
    ##### song format #####
    ##
    ## for song format you can use:
    ##
    ## %l - length
    ## %f - short filename
    ## %F - full filename
    ## %a - artist
    ## %t - title
    ## %b - album
    ## %y - year
    ## %n - track number
    ## %g - genre
    ## %c - composer
    ## %p - performer
    ## %d - disc
    ## %C - comment
    ## %r - begin right align
    ##
    ## you can also put them in { } and then it will be displayed
    ## only if all requested values are available and/or define alternate
    ## value with { }|{ } eg. {%a - %t}|{%f}
    ##
    ## text can also have different color than the main window has,
    ## eg. if you want length to be green, write $3%l$9
    ##
    ## available values:
    ##
    ## - 0 - default window color
    ## - 1 - black
    ## - 2 - red
    ## - 3 - green
    ## - 4 - yellow
    ## - 5 - blue
    ## - 6 - magenta
    ## - 7 - cyan
    ## - 8 - white
    ## - 9 - end of current color
    ##
    ## Note: colors can be nested.
    ##
    
    song_list_format 			= "{$5(%l)$9 }{$1%a$9 - }{$1%t$9}|{$1%f$9}"
    
    song_library_format 			= "{%n - }{%t}|{%f}"
    
    media_library_album_format 		= "{(%y) }%b"
    
    tag_editor_album_format 		= "{(%y) }%b"
    
    browser_playlist_prefix 		= "$1playlist$9 "
    
    selected_item_prefix 			= "$5"
    
    selected_item_suffix 			= "$9"
    
    alternative_header_first_line_format 	= "{$1%t$9}"
    
    alternative_header_second_line_format 	= "$1{%a} - {%b} {(%y$9)}"
    
    
    #
    ## colors are not supported for below veriables
    #
    #song_status_format 			= "{(%l) }{%a - }{%t}|{%f}"
    #
    #song_window_title_format 		= "{%a - }{%t}|{%f}"
    #
    ##### columns settings #####
    ##
    ## syntax of song columns list format is "column column etc."
    ##
    ## - syntax for each column is:
    ##
    ## (width of column in %)[column's color]{displayed tag}
    ##
    ## - color is optional (if you want the default one, type [])
    ##
    #
    
    
    
    
    song_columns_list_format 		= "(35)[black]{t} (20)[black]{a} (6)[black]{l} (30)[black]{b} "
    
    
    
    ##### various settings #####
    #
    
    playlist_display_mode 			= "columns"
    
    #
    
    browser_display_mode 			= "columns"
    
    #
    #search_engine_display_mode = "classic" (classic/columns)
    #
    incremental_seeking = "yes"
    #
    #seek_time = "1"
    #
    autocenter_mode = "yes"
    #
    #repeat_one_mode = "no"
    #
    #default_place_to_search_in = "database" (database/playlist)
    #
    #media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
    #
    #default_find_mode = "wrapped" (wrapped/normal)
    #
    default_space_mode = "add" (add/select)
    #
    #default_tag_editor_left_col = "albums" (albums/dirs)
    #
    #default_tag_editor_pattern = "%n - %t"
    #
    header_visibility = "yes"
    #
    statusbar_visibility = "yes"
    #
    fancy_scrolling = "yes"
    #
    follow_now_playing_lyrics = "yes"
    #
    #ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
    #
    display_screens_numbers_on_start = "yes"
    #
    clock_display_seconds = "yes"
    
    user_interface                   = "alternative"
    
    
    ##
    ## Note: If below is enabled, ncmpcpp will ignore leading
    ## "The" word while sorting items in browser, tags in
    ## media library, etc.
    ##
    ignore_leading_the = "yes"
    #
    #enable_window_title = "yes"
    #
    ##### lyrics support #####
    ##
    ## supported lyrics databases:
    ##
    ## - 1 - lyricwiki.org
    ## - 2 - lyricsplugin.com
    ##
    #
    lyrics_database = "2"
    #
    ##### colors definitions #####
    #
    colors_enabled = "yes"
    #
    empty_tag_color = "red"
    #
    header_window_color = "black"
    #
    volume_color = "blue"
    #
    state_line_color = "blue"
    #
    state_flags_color = "blue"
    #
    main_window_color = "black
    #
    color1 = "black"
    #
    color2 = "black"
    #
    main_window_highlight_color = "black"
    #
    progressbar_color = "blue"
    #
    statusbar_color = "black"
    #
    active_column_color = "blue"
    #
    window_border_color = "black"
    #
    active_window_border = "green"
    #
    alternative_ui_separator_color = "blue"
    I have nothing set to yellow, meaning it defaulted back to yellow on it's own ??!! And I don't think I uncommented/commented out anything.

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hmm. I'm not seeing anything obvious that would cause that. But I haven't really looked the config file since I set mine up, so it's been awhile.

    I would try it in a different terminal and see if the result is the same. If the colors are correct in other terminal programs, then it seems likely it's the setting for - what are you using? gnome-terminal?

  5. #5
    Just Joined!
    Join Date
    Jan 2010
    Posts
    3
    Quote Originally Posted by reed9 View Post
    Hmm. I'm not seeing anything obvious that would cause that. But I haven't really looked the config file since I set mine up, so it's been awhile.

    I would try it in a different terminal and see if the result is the same. If the colors are correct in other terminal programs, then it seems likely it's the setting for - what are you using? gnome-terminal?
    Yup, using gnome-terminal. tcsh I think, not sure though.
    And I found my mistake. I accidentally removed the " behind the black of main_window_color, so it defaults back to yellow.
    Code:
    volume_color = "blue"
    #
    state_line_color = "blue"
    #
    state_flags_color = "blue"
    #
    main_window_color = "black
    #
    color1 = "black"
    #
    color2 = "black"
    #
    main_window_highlight_color = "black"
    #
    progressbar_color = "blue"
    #
    statusbar_color = "black"
    Finally
    And thanks for your help.

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Ah, there you go. Sharp eyes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...