# Share your custom Actions

**URL:** <https://community.mp3tag.de/t/share-your-custom-actions/1722>\
**Category:** General Discussion\
**Created:** [February 21, 2005, 2:01am UTC](https://community.mp3tag.de/t/share-your-custom-actions/1722 "2005-02-21T02:01:42Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)\
**Post date:** [April 28, 2011, 12:36am UTC](https://community.mp3tag.de/t/share-your-custom-actions/1722/41 "2011-04-28T00:36:26Z")

</div>

> [@Flskydiver](#):
>
> If you like your your music sorted by Artist first, than by all Albums Chronologically, and then in order by Track number, add this string to the "Sort By" field of the "Album by Artist, Year & Track" column you create:
> 
> %artist% - %year% - %album% - %track%

UPDATED 21 May 2011:

I just _further_ updated this because I started using the "AlbumSortOrder" (or "AlbumSort" in the new version) tag to insert chronological info for Artists who release multiple albums or singles in the same year and my OCD wants even THEM to appear in the right order.

I went with a "%year%·1·%album%", "%year%·2·%album%" etc. scheme for artists who I insert the same year chronological detail for manually.

My workflow would thus be to highlight all the tracks from one artists, sort as mentioned below, format the %albumsort% field as %year%·1 for all tracks (as the VAST MAJORITY of all albums ARE the first release of the year by a given artist), and then update the sort number as appropriate for singles or albums that weren't the first item released that year for the given artist, and aren't also alphabetically first. Then, when done, I append the album names on the end, so there is something to keep all the "1973-1"'s from sorting together elsewhere.

Otherwise, I just format the %albumsort% field for all other tracks as "%year%·%album%".

My new sort column script is this:

Sort by: $if2(%artistsortorder%,%artist%) - %year% - $if2(%albumsortorder%,%album%) - %discnumber% - %track%

With the new tag names in version 2.47 and beyond, this would be:

Sort by: $if2(%artistsort%,%artist%) - %year% - $if2(%albumsort%,%album%) - %discnumber% - %track%

($if2 specifies if the ArtistSortOrder or AlbumSortOrder tags are present, use them; otherwise, just use the artist or album name.)

This way I don't have to add Sort Order data _manually_ to EVERY artist in my collection - just the ones I'm really anal about. And since I previously blanked out the AlbumSortOrder tags from all my collection, only the ones I've specifically added it back to will have them, so I know they will be correct.

Love this program more and more every day!

[Edited previously to include Artist Sort & Disc Number tags]

---

<div class="post-metadata">

**Author:** ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)\
**Post date:** [May 24, 2011, 1:38am UTC](https://community.mp3tag.de/t/share-your-custom-actions/1722/42 "2011-05-24T01:38:40Z")

</div>

> [@Flskydiver](#):
>
> Here's another for helping me keep track of which .mp3 files have lyrics and which still need to be updated with them:
> 
> A custom Column named "Lyrics" that returns "Yes" if Lyrics are found, or "No" if the Lyrics tag (%UNSYNCEDLYRICS%) exist but is blank (except for the language identifier) because of the clean up steps I performed with the Actions I posted above to get rid of only partially downloaded lyrics (due to licensing restrictions or glitches).
> 
> If the %UNSYNCEDLYRICS% tag does not exist at all, the "Lyrics" column remains blank.
> 
> Put this in the "Value" field of your custom "Lyrics" column:
> 
> $iflonger(%UNSYNCEDLYRICS%,10,Yes,$if(%UNSYNCEDLYRICS%,No,))

Refined it to this:

$ifgreater($len(%unsyncedlyrics%),5,Yes,$if(%unsyncedlyrics%,No,))

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [December 19, 2020, 7:09am UTC](https://community.mp3tag.de/t/share-your-custom-actions/1722/44 "2020-12-19T07:09:12Z")

</div>



[Previous page](https://community.mp3tag.de/t/share-your-custom-actions/1722.md?page=2)
