Someone asked me in a PM how I got the rating stars to show in the view in the screenshot above. I thought I should answer in this thread if anybody else should be interested.
The panes view in the screenshot is grouped by a custom field with calculated data according to this expression:
Clean(If(IsEmpty([Date]),Okänt år,FormatDate([Date, 0], Year)) - [Album] If(IsEqual([Genre],Live,7),/[Live/] ,)If(IsEqual([Genre],Compilation,7), /[Comp./] ,)If(IsEqual([Genre],Soundtrack,7), /[Soundtrack/] ,)If(IsEqual([Genre],Bootleg,7), /[Bootleg/] ,)If(IsEmpty([Album Rating]),, Left(★ ★ ★ ★ ★ ,Math(Left([Album Rating],1)+Left([Album Rating],1)))If(IsEqual(Mid([Album Rating,0],2),5,2),☺ ,))/(If(IsEqual([Blandade artister],1),Blandade artister,[Album Artist]))/)
In categories views showing albums I use this expression as the thumbnail text to get a similar result:
Clean([Album] • If(IsEqual([Blandade artister],1),Blandade artister,[Album Artist]) [Typ]
If(IsEmpty([Album Rating]),, Left(★ ★ ★ ★ ★ ,Math(Left([Album Rating],1)+Left([Album Rating],1)))If(IsEqual(Mid([Album Rating,0],2),5,2),☺ ,))(FormatNumber([Track #],0,Ingen låt,låtar,låt)), FormatDuration([Duration, 0]))
Clean(If(IsEmpty([Date]),Okänt år,FormatDate([Date, 0], Year))
The expressions are of course based on what is in my tags (what I have in the Genre field, my custom Blandade artister field, indicating by 1 if it is various artist album etc.). I am pretty sure that I got inspired, or just copied, the rating part of the expression from a post in some old thread from someone with better coding skills.
This expression should show only the album name and a star rating based on the numeric values 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5 and 5.0 in the Album Rating field.
[Album] If(IsEmpty([Album Rating]),, Left(★ ★ ★ ★ ★ ,Math(Left([Album Rating],1)+Left([Album Rating],1)))
Add " /([Date]/) • [Album Artist(auto)]" after the [Album] part if you want the year and artist name to show as well. This will sort the albums according to name. Reverse the order of the items in the initial part if you want the albums sorted by year instead, i.e. "[Date] - [Album] • [Album Artist(auto)]".