Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

Is there any way to make separate tabs in album list showing directori
post Jan 26 2013, 01:28
Post #1

Group: Members
Posts: 3
Joined: 26-January 13
Member No.: 106190

Is there any way to make two separate tabs in album list showing different directories?

I want to make separate tabs for Singles, Albums, EPs etc which updates automatically as I add files using File Operations.

Appreciate any help

Edit: Sorry about the title, didn't come out as planned...

This post has been edited by kode54: Jan 26 2013, 02:31
Go to the top of the page
+Quote Post
Start new topic
post Jan 26 2013, 03:47
Post #2

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

Hmm... try creating different views in Album List with these (I didn't test them as my directory structure is different than yours):

$if($strstr($directory($replace(%path%,:,),$sub($sub($len(%path%),$len($replace(%path%,\,))),1)),Albums),display this)

$if($strstr($directory($replace(%path%,:,),$sub($sub($len(%path%),$len($replace(%path%,\,))),1)),Singles),display this)

$if($strstr($directory($replace(%path%,:,),$sub($sub($len(%path%),$len($replace(%path%,\,))),1)),EPs),display this)

Essentially what these strings should do is check to see if the root directory has Albums, Singles or EPs in its name and display the contents of each as you stipulate in the display this part. The digits in red stipulate the directory it should use counting down from the root directory, which is 1 in most cases.

If the strings work, you could then assign each view to the instance of Album List in each tab.

Crossing my fingers on these and hoping they work for you.


On second thought, you might consider tagging your files with a custom tag, if possible, which would stipulate its "type". Then you could use something like the following (at least for the root node,anyway):

$if($stricmp(%customtag%,Album),display this)

$if($stricmp(%customtag%,Single),display this)

$if($stricmp(%customtag%,EP),display this)

Tagging files can make customizing your library much simpler.

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

Posts in this topic

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: 5th October 2015 - 10:18