List songs by album track number?

k10ck3r
Posts: 50
Joined: Thu Apr 22, 2010 4:07 am

List songs by album track number?

Post by k10ck3r »

Hi,
Is there a way to list songs by album track number? I created a playlist that is organized by Genre -> Artist -> Album, and I'd like the songs to be listed by album track number rather than alphabetically. Can this be done without adding the track number to the file name?
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: List songs by album track number?

Post by Eugene »

Hi,
k10ck3r wrote: Is there a way to list songs by album track number? I created a playlist that is organized by Genre -> Artist -> Album, and I'd like the songs to be listed by album track number rather than alphabetically. Can this be done without adding the track number to the file name?
If you use the new possibilities of grouping
Playlist folder - Grouping - mpGenre - mpAuthor - mpAlbum - right click - Edit - "Sort media resources" - mpTrack
k10ck3r
Posts: 50
Joined: Thu Apr 22, 2010 4:07 am

Re: List songs by album track number?

Post by k10ck3r »

Excellent. Thanks.
k10ck3r
Posts: 50
Joined: Thu Apr 22, 2010 4:07 am

Re: List songs by album track number?

Post by k10ck3r »

Ok, one more question. Is it possible to add an alphabetical grouping of the artists in this structure, similar to the artist index playlist?
Example:
Genre -> Artist (grouped by ABC, DEF, GHI,...) -> Album
k10ck3r
Posts: 50
Joined: Thu Apr 22, 2010 4:07 am

Re: List songs by album track number?

Post by k10ck3r »

Ok, I figured out how to get close. I added another album layer and manually entered the following for the new album layer:
ReplaceStr((UpperCase(Copy(Trim(mpAuthor), 1, 1))), ",", #13#10)

So, now the structure is:
Genre -> Artist (changed to above script) -> Artist -> Album (sorted by track number)
k10ck3r
Posts: 50
Joined: Thu Apr 22, 2010 4:07 am

Re: List songs by album track number?

Post by k10ck3r »

Ok, one last question and I'll have everything how I'd like it:

Is there a way to apply multiple sort criteria without adding hierarchy?

I would like to list all songs by an artist in sort order: year, album, track number
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: List songs by album track number?

Post by Eugene »

Select 'ReplaceStr(mpAuthor, ',', #13#10)'
Right click - Add
Expression grouping: 'All songs'
Sort media resources: +mpYear,+mpAlbum,+mpTrack
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: List songs by album track number?

Post by Eugene »

Changes in script "Create artist index"

Code: Select all

...
      end;
      ArtistIndexFolder := WmsFindMediaFolder(mfAudioPlaylistsItemID, 'Artist Index');
      if ArtistIndexFolder <> nil then
        ArtistIndexFolder.Sort('mpTitle\mpTitle\mpTitle\+mpYear,+mpAlbum,+mpTrack')
    finally
      WmsHideProgress
    end;
...
k10ck3r
Posts: 50
Joined: Thu Apr 22, 2010 4:07 am

Re: List songs by album track number?

Post by k10ck3r »

Nice! Thanks for your help.
SiriusBlack
Posts: 5
Joined: Thu May 20, 2010 2:47 pm

Re: List songs by album track number?

Post by SiriusBlack »

Could you document a little better how this can be done?
Screenshots would be helpful.

So I have right-clicked on playlists (Wiedergabeliste), then I have 2 options:
- Add playlist and
- Add folder
Both lead to exactly the same screen:
- I can type a name, that's clear
- then a path (what is this good for?)
- Then pick one of standard, dynamic, transcoding and grouping
- then add a comment

All of that results to just another entry below playlist, but that's it.
Where do I add the mpxxxx stuff?
Do I have to restart the server?

Any help appeciated.
Post Reply