I do generate the .cue files so can do it differently.
I want each spoken link to have a unique title so that I can play them
individually (and would not want LMS to have hundreds of tracks with the
same name).
"Genre" is, unfortunately, a REM header field - i.e. it applies to the
whole file - so I can't change that per track (of course, LMS could be
changed to allow it to be specified per track).
I could easily put in a likely to be unique string as part of the title
- like "SpokenLink" but it was not clear to me how substrings would
match ... so I abstracted the code:
Code:
--------------------
@ignoreTitles = split(/\s*,\s*/, "aaa,bbbb,ccccc,Some text in here");
print @ignoreTitles[1]."\n";
if (grep { "some text in here" =~ /\Q$_\E/i } @ignoreTitles){
print("matched");
} else {
print("not matched");
}
--------------------
As expected ... this one says that it matched.
However, if I change the searched for string on line 5 to "Some text in
here but longer" then it also matches ... which is good for me but is
that what LMS really wants to do?
e.g. if someone configures LMS to ignore
Buffalo Gals
then I think it would also ignore
Buffalo Gals Go Round and Round
Also - with my contrived data ... a track called "hello world aaa how
are you?" would result in a match with "aaa".
Anyway - with LMS like it is now I can make it work for me by simply
inserting text string into each spoken link track title.
Perhaps to have a full regex capability in the specifier could be done
by having a prefix - then I could have something like
regex:.* - [12][0-9][0-9][0-9]\/[01][0-9] - [0-9]*$
Hmmm - ok - not very nice - I'll go with LMS like it is now and add a
unique substring to the title.
Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109014
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter