Expose filepath in columns view (#530)
* Expose filepath in columns view * update
This commit is contained in:
@@ -172,6 +172,7 @@
|
|||||||
##
|
##
|
||||||
## %l - length
|
## %l - length
|
||||||
## %f - filename
|
## %f - filename
|
||||||
|
## %F - full filepath
|
||||||
## %D - directory
|
## %D - directory
|
||||||
## %a - artist
|
## %a - artist
|
||||||
## %A - album artist
|
## %A - album artist
|
||||||
|
|||||||
@@ -472,6 +472,7 @@ For song format you can use:
|
|||||||
|
|
||||||
%l - length
|
%l - length
|
||||||
%f - filename
|
%f - filename
|
||||||
|
%F - full filepath
|
||||||
%D - directory
|
%D - directory
|
||||||
%a - artist
|
%a - artist
|
||||||
%A - album artist
|
%A - album artist
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ const wchar_t *toColumnName(char c)
|
|||||||
return L"Filename";
|
return L"Filename";
|
||||||
case 'D':
|
case 'D':
|
||||||
return L"Directory";
|
return L"Directory";
|
||||||
|
case 'F':
|
||||||
|
return L"Filepath";
|
||||||
case 'a':
|
case 'a':
|
||||||
return L"Artist";
|
return L"Artist";
|
||||||
case 'A':
|
case 'A':
|
||||||
|
|||||||
@@ -168,6 +168,8 @@ MPD::Song::GetFunction charToGetFunction(char c)
|
|||||||
return &MPD::Song::getDirectory;
|
return &MPD::Song::getDirectory;
|
||||||
case 'f':
|
case 'f':
|
||||||
return &MPD::Song::getName;
|
return &MPD::Song::getName;
|
||||||
|
case 'F':
|
||||||
|
return &MPD::Song::getURI;
|
||||||
case 'a':
|
case 'a':
|
||||||
return &MPD::Song::getArtist;
|
return &MPD::Song::getArtist;
|
||||||
case 'A':
|
case 'A':
|
||||||
|
|||||||
Reference in New Issue
Block a user