Expose filepath in columns view (#530)
* Expose filepath in columns view * update
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user