Post Reply 
Grouping Albums by type
08-04-2024, 11:03 (This post was last modified: 08-04-2024 11:06 by simoncn.)
Post: #2
RE: Grouping Albums by type
Welcome to the MinimServer forum! All options for separation require you to add a tag to each album to specify the album type, for example:

AlbumType=Studio Album
AlbumType=Live Album
AlbumType=Single
AlbumType=Demo

In addition, you need to add AlbumType to the indexTags property. You can then do any of the following:

1) In the browsing index, select AlbumType to see all available album types, then select an album type to see all albums of that type

2) Configure the album.sortTags option of the tagOptions property to sort the albums list by AlbumType value. For example, you can set album.sortTags={AlbumType, Date, Album} to sort first by album type (alphabetical order, so Demo albums would come first), then by date, then by album name. It isn't possible to add a separator between different AlbumType sections.

3) As you don't want Demo albums to come first in the album list, you need to add another tag such as AlbumTypeSort and set this to the sort order that you want. You also need to set the tagValue property to AlbumType.value.sort={AlbumTypeSort} to activate your custom sort values. For example, to make studio albums come first you can set AlbumTypeSort=1 for all studio albums and set AlbumTypeSort=2 etc. for other album types. Doing this manually would be quite tedious and error-prone, so you can use the tag update facility to specify a rule for doing this automatically, as follows:

@AlbumType=Studio Album
+AlbumTypeSort=1
@AlbumType=Live Album
+AlbumTypeSort=2
@AlbumType=Single
+AlbumTypeSort=3
@AlbumType=Demo
+AlbumTypeSort=4
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Grouping Albums by type - barho - 08-04-2024, 09:46
RE: Grouping Albums by type - simoncn - 08-04-2024 11:03
RE: Grouping Albums by type - barho - 08-04-2024, 12:30
RE: Grouping Albums by type - simoncn - 08-04-2024, 13:36

Forum Jump:


User(s) browsing this thread: 1 Guest(s)