Author Topic: [6322] <AlbumArtist>="Various Artists" don't show up under autoplaylists  (Read 1632 times)

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
Before, I was used to seeing compilations under the <Albumartist> "Various Artists" in my autoplaylists until this particular build.  I mean, for genres that definitely have numerous compilations, my autoplaylists no longer display any albums with "Various Artists".  The albums still remain in the library though since they show up in a compilations autoplaylist with the same view but sorted by <album> only.  Has something changed recently?  I've been using the same sorting scheme for the past year without any issues until now.

View: Custom Album and Tracks

Sorting Scheme:

Album Artist > $If(<Album Artist>="Various Artists",$Sort(<Album>),<Year><DateCustom>) > Year (yyyy) > DateCustom > Album

~or~

Album Artist > $If(<Album Artist>="Various Artists",$Sort(<Album>),<Year>.$IsNull(<DateCustom>,"00.00",<DateCustom>)) > Album

Blue = Virtualtag "SortVA"






Code: "Ambient Autoplaylist"
<?xml version="1.0" encoding="UTF-8"?>
<SmartPlaylist SaveStaticCopy="False" Layout="1" CustomSettingsName="AT_Default" LayoutGroupBy="0" ShuffleMode="None" ShuffleSameArtistWeight="0.5" MinimumArtistGap="0" GroupBy="track" ConsolidateAlbums="False" MusicLibraryPath="D:\Music\MusicBee\">
  <Source Type="1">
    <Description />
    <Conditions CombineMethod="Any">
      <Condition Field="GenreCategory" Comparison="Is" Value="Ambient" />
      <Condition Field="Custom1" Comparison="Contains" Value="Ambient" />
    </Conditions>
    <Limit FilterDuplicates="False" Enabled="False" Count="25" Type="Items" SelectedBy="Random" />
    <DefinedSort Id="6" />
    <Fields>
      <Group Id="AlbumAndTracks">
        <Field Code="40" Width="222" />
        <Field Code="20" Width="227" />
        <Field Code="78" Width="0" />
        <Field Code="116" Width="34" />
        <Field Code="86" Width="41" />
        <Field Code="65" Width="411" />
        <Field Code="75" Width="94" />
        <Field Code="76" Width="51" />
        <Field Code="14" Width="45" />
        <Field Code="16" Width="59" />
      </Group>
    </Fields>
  </Source>
</SmartPlaylist>
Last Edit: April 25, 2017, 10:26:38 PM by theta_wave


theta_wave

  • Sr. Member
  • ****
  • Posts: 680
Darn it.  I just figured it out.  Apparently, the custom view was set to be grouped by a virtualtag I made of <Albumartist> (see below) long ago.  For whatever reason, the custom sorting rule worked out fine all this time until the latest build.  Swapping <Albumartist> out for the virtualtag in my custom sorting rules restored the expected behavior.

Virtualtag (AAPresentation): $If($First(<Album Artist>)=<Album Artist>,<Album Artist>,$If(<Album Artist>="Kairon; IRSE!",<Album Artist>,$Replace($Replace(<Album Artist>*,"; "$RSplit(<Album Artist>,;,1)*,),;,",")" & "$RSplit(<Album Artist>,;,1)))

Sorting Rule (old): Album Artist > $If(<Album Artist>="Various Artists",$Sort(<Album>),<Year>.$IsNull(<DateCustom>,"00.00",<DateCustom>)) > Album

Sorting Rule (fixed): AAPresentation > $If(<Album Artist>="Various Artists",$Sort(<Album>),<Year>.$IsNull(<DateCustom>,"00.00",<DateCustom>)) > Album
Last Edit: April 25, 2017, 07:37:59 AM by theta_wave

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
Virtualtag (AAPresentation): $If($First(<Album Artist>)=<Album Artist>,<Album Artist>,$If(<Album Artist>="Kairon; IRSE!",<Album Artist>,$Replace($Replace(<Album Artist>*,"; "$RSplit(<Album Artist>,;,1)*,),;,",")" & "$RSplit(<Album Artist>,;,1)))

Sorting Rule (old): Album Artist > $If(<Album Artist>="Various Artists",$Sort(<Album>),<Year>.$IsNull(<DateCustom>,"00.00",<DateCustom>)) > Album

Sorting Rule (fixed): AAPresentation > $If(<Album Artist>="Various Artists",$Sort(<Album>),<Year>.$IsNull(<DateCustom>,"00.00",<DateCustom>)) > Album
From the other thread, I was not happy with the results of the (fixed) sorting rule above after using $Sort() on AAPresentation since the virtualtag by itself didn't follow "ignore words" criteria.  After clearing out the artistsort, composersort and albumsort mess, I noticed that my compilations (<Albumartist> is "Various Artist") returned to my autoplaylists when using the old sorting rule.  Weird.
Last Edit: April 25, 2017, 07:41:44 PM by theta_wave