Expose filepath in columns view (#530)

* Expose filepath in columns view

* update
wilder
djvs 2 years ago committed by GitHub
parent b218d90193
commit 8ecbb8b49b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      doc/config
  2. 1
      doc/ncmpcpp.1
  3. 2
      src/display.cpp
  4. 2
      src/utility/type_conversions.cpp

@ -172,6 +172,7 @@
##
## %l - length
## %f - filename
## %F - full filepath
## %D - directory
## %a - artist
## %A - album artist

@ -472,6 +472,7 @@ For song format you can use:
%l - length
%f - filename
%F - full filepath
%D - directory
%a - artist
%A - album artist

@ -47,6 +47,8 @@ const wchar_t *toColumnName(char c)
return L"Filename";
case 'D':
return L"Directory";
case 'F':
return L"Filepath";
case 'a':
return L"Artist";
case 'A':

@ -168,6 +168,8 @@ MPD::Song::GetFunction charToGetFunction(char c)
return &MPD::Song::getDirectory;
case 'f':
return &MPD::Song::getName;
case 'F':
return &MPD::Song::getURI;
case 'a':
return &MPD::Song::getArtist;
case 'A':

Loading…
Cancel
Save