HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: atrabarba on 2013-02-14 20:42:42

Title: [feature request] "+" syntax for Album List
Post by: atrabarba on 2013-02-14 20:42:42
Assume we have a file with TITLE=title1, ARTIST=artist1 and PERFORMER=performer1. Is there a possibility to implement the following syntax in Album List to have this title1 both in artist1 and performer1:
Code: [Select]
%artist%+%performer%|%title%
Just like
Code: [Select]
%<artist>%|%title%
would work if there were ARTIST=artist1; performer1.
Thanks for consideration.
Title: [feature request] "+" syntax for Album List
Post by: EpicForever on 2013-02-14 22:08:01
Doesn't "AND" fits your request?

Sorry, that's for search. For other uses it's $and(x,y), so maybe $and(performer1,artist1) should be used ?
Title: [feature request] "+" syntax for Album List
Post by: atrabarba on 2013-02-15 23:05:24
$and(X,Y) is logical operator, how can it be of help?
Title: [feature request] "+" syntax for Album List
Post by: mobyduck on 2013-02-16 08:37:31
Never tried this myself, but maybe
Code: [Select]
$puts(artstr,%artist%[';'%performer%])
$get(artstr)|%title%
will do.

HTH.

Alessandro
Title: [feature request] "+" syntax for Album List
Post by: atrabarba on 2013-02-16 12:00:12
doesn't work either. %artist%[';'%performer%] is considered as a string, not two separate values.