Page 1 of 3

List songs by album track number?

Posted: Sun Oct 03, 2010 3:39 am
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?

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 6:48 am
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

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 2:11 pm
by k10ck3r
Excellent. Thanks.

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 2:27 pm
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

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 2:41 pm
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)

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 3:40 pm
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

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 5:11 pm
by Eugene
Select 'ReplaceStr(mpAuthor, ',', #13#10)'
Right click - Add
Expression grouping: 'All songs'
Sort media resources: +mpYear,+mpAlbum,+mpTrack

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 5:20 pm
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;
...

Re: List songs by album track number?

Posted: Sun Oct 03, 2010 5:33 pm
by k10ck3r
Nice! Thanks for your help.

Re: List songs by album track number?

Posted: Sun Nov 28, 2010 10:29 am
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.