IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
foo_upnp—How to split tree nodes by a different rule, e.g. 1st letter?, [TOS #6: moved from General Audio]
retroactive
post Jan 20 2013, 20:54
Post #1





Group: Members
Posts: 2
Joined: 25-March 12
Member No.: 98066



I'd like to have my "by artist" view split by first letter, however the setting under Preferences>Tools>UPnP>Server>Content only allows for this setting to be universally applied via item count, which would screw up my use case of listing all songs by genre then shuffling between them, thus harshing my mellow. Is there a way to set split tree node by first letter by view, instead of item count?

Many thanks in advance is you have ideas to try.
Go to the top of the page
+Quote Post
BenB
post Jan 20 2013, 23:58
Post #2





Group: Members
Posts: 776
Joined: 17-April 12
Member No.: 98921



The problem is that you cannot manipulate constructions such as %<artist>% with title formatting, so if you want multi-value artist tagss split in that way, the only option is to use the built-in setting.

On the other hand, if the artist values in your tags are all single-value, you can create a spec containing something as simple as one of the following:

CODE
$left(%artist%,1)
$left($stripprefix(%artist%),1)

You can also use those for multi-value artist tags, but the drawback is that if your next tier has %<artist>%, then all artists in a multi-valued tag will be listed under the first letter of the first value, e.g. if artist=John Doe; Fred Bloggs, then it will return

CODE
J
  Fred Bloggs
  John Doe

not

CODE
F
  Fred Bloggs
J
  John Doe


This post has been edited by BenB: Jan 21 2013, 00:04
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 23:05