Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - edcase

Pages: 12 3
Oh, actually just make a playlist of everything in MusicBee,
Rclick the playlist > Export,
Import the .m3u playlist,
In iTunes make a smart playlist which includes everything not in the newly imported playlist.

A quick thing to check would be audio that is tiny, by default MB ignores tracks less than 20KB [MB>Edit>Edit Prefs>Library]

So you could make an auto-playlist in iTunes for small file size / duration and organise by duration, do likewise in MB and if there is a difference, voila.
Likewise any video files might mess with the number comparison.

Otherwise I think you have a game of guess who, making auto-playlists in both which pull all songs less than a minute > check count > less than minute 30 > check count > ...
Fairly quickly you would find in what block the missing songs are, and then you can change the increment to narrow down the song duration more accurately and find the culprit.

Hope this makes sense, good hunting ^^

Might be worth checking the 'Custom sort values for artist',

Not sure if it is pulled for tag suggestions but is easily overlooked.


So you want it to appear like this?

Where under the title it lists either the multiple split out artist / guest artist etc and if none are there just the plain artist tag.

Make the most basic Virtual Tag: MB> Edit> Preferences> Tags (1)> Define New Tags
Name one of them something, for example I did "PlainTitle" type in there <Title>

Open the display section again

But this time change the top field to your new virtual tag [PlainTitle by example] then choose Artists for the next field, that should do what you want.

[Update/Explanation] You were right to point out that it only happens when the <Artist> tag didn't match the <Album Artist>, by default the title detects the mismatch and displays it, the virtual tag we made get's rid of that function and just displays the track name, thus getting rid of your duplicates. Only dug deeper into some of this stuff a couple of days ago.

Questions / Re: Changing how 'artist' is displayed on album cover view?
« on: September 02, 2021, 10:50:12 PM »
Late reply cause finding time is hard. That functions page is a bit sparse when coming into the code world cold, was using it with my experimenting before.

It's hard to know exactly what you're trying to do without seeing other examples of your tags
My bad, should of given more context, at the same time didn't want to just dump my problem fully onto the community, difficult balance =]

Full outline of my tagging wish: To display the <Artist> when it differs from <Album Artist> (eg Various Artists, Soundtrack) but when the difference is minor like a featured artist or a remix to only display that difference, that way it's more likely visible before truncation.

eg: "Mass    [EOB [ft: Laura Marling]]"
==: "Mass    [ft: Laura Marling]"

Since I consistently use square brackets for my featured artists or remixes this makes it a good split point like you helped me initially, but I needed to add the ability to display the full <Artist> in cases where they differed for whatever reason from the <Album Artist> so a good example would be VA or Soundtracks* (which I use as <Album Artist> to group Soundtracks).

This is the same functionality as MB defaults, I just needed to add this back in without causing duplicates where a square bracket might be used.

eg: "Piano Black    [Seatbelts [rmx: Ian O'Brien]]    [rmx: Ian O'Brien]"
==: "Piano Black    [Seatbelts [rmx: Ian O'Brien]]"

I'm only doing comparative jobs on <Artist> and <Album Artist> boom boom, I'm fussy about my labelling but that amount of precision is beyond me (impressive but daunting, meant as a compliment ^^)

These screenshots show how I do want the titles to display, I got it to work but it feels messy.
<Title>$If($Contains(<Artist>,<Album Artist>),$If($Contains(<Artist>,[),{Contrast: 35}"    ["$RxSplit(<Artist>,"\[",2),),{Contrast: 35}"    ["<Artist>"]")
If <artist> contains <album artist>
    (T) if <artist> has a "["
        (T) display text from after that "[",
        (F) display nothing from <artist>
    (F) display <artist>

Thanks again, if I get a reply pointing out something to neaten it up I will, might post a tips post about this with area's denoted where it might apply to their tagging scheme and also a sorting virtual tag with mention of users like yourselves who basically did the work / heavily guided me if you guys aren't opposed?

Questions / Re: Changing how 'artist' is displayed on album cover view?
« on: August 31, 2021, 03:31:49 PM »
Wow! That's great, um is there a more comprehensive listing of commands / syntax for virtual tags? So my library is consistent [mostly] but there are more cases than just featured artists, eg remixes or just album artists being various or soundtrack where this falls apart. Does virtual tag support something like a CASE instead of IF?

I played with it a bit and did essentially 2 more if statements following yours [one for splitting out rmx: and another for <artist>!=<album artist>] with the obvious pitfall of repeating in cases where multiple criteria were met. I figured actually something along the lines of

<Title>$If(<Artist>!=<Album Artist>,{fontchoices}"  ["$RxSplit(<Artist>,<Album Artist>,2)"]",)

If <artist> doesn't match <album artist>, display everything after the matched text. Issues maybe when there is no match?
Doesn't work anyway, RxSplit wants an actual string, so then I tried something more messy

<Title>$If($And(<Artist>!=<Album Artist>,$Contains(<Artist>,<Album Artist>){fontchoices}"  ["$RxSplit(<Artist>,$Left(<Album Artist>,),2"],)

If <artist> doesn't match <album artist> but does contain it, split <artist> after the amount of characters in <album artist> display that.
I was hoping Left might return number of chars and Split might use that as a value, silly really.

<Title>$If(<Artist>!=<Album Artist>,$If($Contains(<Artist>,[)"    ["$RxSplit(<Artist>,"\[",2),"    ["<Artist>"]"),)

So I tried a sorta nested If, but that fails to compile at the end of the statement "@ ist>"]"),)

Is there an inverse to $Contains? A command to return amount of characters in a tag? A way to $Split by position / number of characters?
Super to know this is possible, thanks for the help!

Questions / Re: Changing how 'artist' is displayed on album cover view?
« on: August 31, 2021, 01:55:31 AM »
proph, that would be altering the actual info in the tag, don't wanna do that as it just removes the artist name in the now playing / scrub area / other devices.
issue is over readability and redundant-ness... also my library is a bit too large to manually go through.

What's the non-compact view? I really like the album cover layout when outside of playlists so doubt I'd change for it. Yah I'll +1 that, thanks for the replies guys.

Wouldn't pulling from the artist split section make some sense there? The whole issue is sorta odd considering MusicBee already detects album artist = artist and avoids display, feel like it's pretty close to being standard feature / option. ^^

Questions / Changing how 'artist' is displayed on album cover view?
« on: August 30, 2021, 09:41:38 PM »
Albums with featured artists used in the <artist> tag display the full string, any way to detect the matching artist bit and only display the difference?

Don't want to alter the actual text of the <artist> tag, just the display, is this doable with virtual tags or something, even just being able to remove the square brackets "[ ]" surrounding it would be nice since I like to use them for [ft: artists]. ^^

So on that first screenshot, remove "Artists" on fields displayed below title.

If you want help finding it through the edit > preferences menu

Layout (1) > Main Panel [Customise Layout] > directly under the selected album or artist [Show Settings] >

which is quite buried, or just

Anyway to mark this thread as solved? For those interested my Virtual Tag ended up:

$If($Or(<Album Artist>="Various Artists",<Album Artist>="Soundtrack"),$Sort(<Sort Album>","<Year>),)

Custom Sort by Album Artist > Virtual Tag Name > Year > Album.
Hit F5 to refresh library after changes, done.

Much thanks to all =]

[UPDATE] For some reason custom sort values for artists repopulated and put "Soundtrack" as "Murphy, John" for the "28 Days Later"... anyway, that makes sense now, removed that and it's working as expected. =]

So went ahead and tried your virtual tag and it worked a treat... except it places all the "Soundtrack" albums under MU, just after Muddy Waters and before Muse, added an additional <Album Artist> to the sort and it has no effect either. Not a big deal but just a bit confused at the logic ^^ Otherwise works perfectly.

Godsend! Thankyou, didn't realise you couldn't automagically write to custom tags.
<SortYear> tag was made as I was experimenting, but my standard <Year> tag's are in order.
Had the Custom sort defined like yours, just using the custom tag which wasn't being effected.

Only added the false condition to make sure I wasn't missing some syntax.
Your solution is much neater and is exactly what I wanted to achieve, will do a variation of this with VA also, thanks again!

Yah, I figured it wouldn't be a thing, thanks for the suggestions tho. So I had a quick poke around with some Virtual / Custom Tags, Not quite sure how to apply the result...

So I renamed Custom1 tag to "SortYear" and made a Virtual tag titled AlbumYearSort..
So I tried both $If($Contains(<Album Artist>,"Soundtrack")="T",<SortYear>=<Album>,<SortYear>=<Year>)
and <SortYear> = $If($Contains(<Album Artist>,"Soundtrack")="T",<Album>,<Year>)

Both preview the same, yet don't actually write anything to the custom tag <SortYear>, is this just doing a comparison function, how do I write data to the custom tag? Is it the replace function? I'll probably remove the false action and leave it null when it works.

Thanks for the reply, but either I wasn't clear enough or I'm missing something =]

So I want to keep all my music sorted by "Album Artist > Year > Album" except one artist, let's define as 'X'.
For X's album's I want to order them by "Album Artist > Album > Year".
X's music exists with all my other music from artists 'A' to 'Z', only their (X) albums are organised alphanumerically before chronologically.

I'm not sure there is a clean automated way to do this. The "enable custom sort values for individual artists...' looks like band A = B for grouping purposes.


A --- 1976 - Fruit
A --- 1982 - Bread

B --- 1979 - Berries
B --- 1980 - Nuts

X --- 2001 - Jam
X --- 1999 - Marshmallows
X --- 2018 - Strawberries

Y --- 1954 - Oats
Y --- 1981 - Carrots

Z --- 2015 - Potato
Z --- 2018 - Apple

So my regular Album Cover's view is sorted by Album Artist > Year > Album, which is great BUT for any soundtrack stuff.
I separate any OST things since I rename their album artist to "Soundtrack" so they all live together.
Now this probably isn't possible but I'd like to 'conditionally sort' or something akin, so for any album artist which matches "Soundtrack" it would sort by Album Artist > Album > Year without disturbing everything else. Would be helpful for anything under the umbrella of 'Various' too. Am I just crazy or is this achievable?

Pages: 12 3