Expose filepath in columns view (#530)

* Expose filepath in columns view

* update
This commit is contained in:
djvs
2024-07-24 12:15:02 -04:00
committed by GitHub
parent b218d90193
commit 8ecbb8b49b
4 changed files with 6 additions and 0 deletions

View File

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

View File

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

View File

@@ -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':

View File

@@ -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':