getmusicbee.com

Support => Questions => Topic started by: SonicRings on June 22, 2020, 07:23:14 PM

Title: A-Z bar doesn't work
Post by: SonicRings on June 22, 2020, 07:23:14 PM
I'm having some trouble getting the A-Z bar to work. I saw a thread here (https://getmusicbee.com/forum/index.php?topic=28567.0) mentioning that you first need to set your sorting options. Is it referring to this?
(https://i.imgur.com/U6CW7XR.png)
If so, it's already set, yet #-D just takes me to the top of my albums
(https://i.imgur.com/P9H9ziT.png)

and E-Z takes me to the bottom.
(https://i.imgur.com/N2btBUr.png)

What am I missing here?
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 22, 2020, 08:31:17 PM
What is your library actually sorted by?
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 22, 2020, 08:33:54 PM
What is your library actually sorted by?
It's sorted by Path.
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 22, 2020, 08:38:54 PM
The A-Z jumpbar looks at the first letters in the sort field, so it's not going to work well with path because all paths will probably start with the same letters (drive letter, folder name, etc).

If you sort by Artist, Album Artist, Album, etc, it should work fine.
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 22, 2020, 08:42:56 PM
The A-Z jumpbar looks at the first letters in the sort field, so it's not going to work well with path because all paths will probably start with the same letters (drive letter, folder name, etc).

If you sort by Artist, Album Artist, Album, etc, it should work fine.
Ah, that makes a lot of sense! My music's on my D drive, so that explains why anything after D just goes to the end. Sadly it's useless to me then as my library does not sort the way I want it to when I sort using tags. I have to sort by path. Bummer! Is there no way it can have some sort of filter so it doesn't get the drive letter? Since the path to the music library itself is a constant, can the A-Z bar look for the n'th character in the path (which would be the first letter of the album's folder) instead of the 1st letter of the path?
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 22, 2020, 09:20:14 PM
You could create a virtual tag for sorting. There are instructions for that around, probably in Tips & Tricks
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 22, 2020, 09:24:19 PM
You could create a virtual tag for sorting. There are instructions for that around, be probably in Tips & Tricks
I'm not willing to edit my audio files unfortunately. Many things I need to match a hash check.

This seems like an oversight in MusicBee rather than an issue with tags. The program already knows the path to the library as that is set, so I imagine it would be trivial to modify the way it treats items sorted by path by just removing the library path from the album path, which would leave you with the album's unique path.
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 23, 2020, 12:02:42 AM
I'm not willing to edit my audio files unfortunately.

A virtual tag doesn't change your file. That's why it's virtual.

https://musicbee.fandom.com/wiki/Virtual_Tags
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 23, 2020, 01:09:12 AM
I'm not willing to edit my audio files unfortunately.

A virtual tag doesn't change your file. That's why it's virtual.

https://musicbee.fandom.com/wiki/Virtual_Tags
Ah, thank you for explaining it to me! I will give this a shot next time I'm on. (~˘▾˘)~
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 23, 2020, 01:50:17 AM
I'm not willing to edit my audio files unfortunately.

A virtual tag doesn't change your file. That's why it's virtual.

https://musicbee.fandom.com/wiki/Virtual_Tags
Thanks again for the suggestion. I've read the wiki page, but without examples, I'm unclear on whether or not I'm doing this right. Can you please assist me with this?

I've tried this but it didn't seem to make any difference. Am I meant to input something in the top row as well?
(https://i.imgur.com/8pvT5mc.png)
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 23, 2020, 02:55:42 AM
You don't need to put anything in the top. You probably want to give your virtual tag a meaningful name, though.

This post should point you in the right direction: https://getmusicbee.com/forum/index.php?topic=9317.msg67186#msg67186


Redwing's formula should work, with adjustments for your situation, but you could also try something like this:

Sortable Path = $Replace(<Path>,"{Root Path}","")

That should strip the root path, leaving only the meaningful portion.


I'm curious what your sort order is, though, that you have to rely on path to get it correct. It looks close to Album Artist\Album.
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 23, 2020, 06:04:28 PM
You don't need to put anything in the top. You probably want to give your virtual tag a meaningful name, though.

This post should point you in the right direction: https://getmusicbee.com/forum/index.php?topic=9317.msg67186#msg67186


Redwing's formula should work, with adjustments for your situation, but you could also try something like this:

Sortable Path = $Replace(<Path>,"{Root Path}","")

That should strip the root path, leaving only the meaningful portion.


I'm curious what your sort order is, though, that you have to rely on path to get it correct. It looks close to Album Artist\Album.
Thanks, I've tried both your suggestion and the one posted in the url you sent but they both contain errors.
(https://i.imgur.com/wAQKZFp.png)
I've tried without the <> surrounding the word Path, and although that doesn't throw an error, it still doesn't actually work. I've also tried removing the "Sortable Path = " and "Folder = " from the formulae, but no luck. What am I doing wrong here?

As for the sort order, I usually sort by album artist, but for some VGM as well as my Monstercat folder I just have the album name.
Title: Re: A-Z bar doesn't work
Post by: The Incredible Boom Boom on June 23, 2020, 06:48:56 PM
Thanks, I've tried both your suggestion and the one posted in the url you sent but they both contain errors.
I've tried without the <> surrounding the word Path, and although that doesn't throw an error, it still doesn't actually work. I've also tried removing the "Sortable Path = " and "Folder = " from the formulae, but no luck. What am I doing wrong here?

As for the sort order, I usually sort by album artist, but for some VGM as well as my Monstercat folder I just have the album name.

"Sortable Path" and "Folder" should replace "Path Sort" and "Path Sort 2" in the label column.

[Mod: edited for length]
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 23, 2020, 09:21:10 PM
Thanks, I've tried both your suggestion and the one posted in the url you sent but they both contain errors.
I've tried without the <> surrounding the word Path, and although that doesn't throw an error, it still doesn't actually work. I've also tried removing the "Sortable Path = " and "Folder = " from the formulae, but no luck. What am I doing wrong here?

As for the sort order, I usually sort by album artist, but for some VGM as well as my Monstercat folder I just have the album name.

"Sortable Path" and "Folder" should replace "Path Sort" and "Path Sort 2" in the label column.

[Mod: edited for length]
I did this and it's still not working. Am I meant to change something now that I've set this?

(https://i.imgur.com/Kwpf2EB.png)

I know I only need one, but I used both for the sake of seeing if it actually works.
Title: Re: A-Z bar doesn't work
Post by: hiccup on June 23, 2020, 10:37:39 PM
I did this and it's still not working.

Does this work? :

$Split($Replace(<Path>,"K:\EVERYTHING\[FLAC]",),\,2)
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 23, 2020, 10:42:45 PM
Hiccup's method should work, or you can just add the trailing \ in the replace text.

Are you looking at the preview of the results? Click the [...] button on the virtual tag and it will show you what the output will look like.
Title: Re: A-Z bar doesn't work
Post by: hiccup on June 23, 2020, 10:49:14 PM
or you can just add the trailing \ in the replace text.

That won't work. A trailing backslash throws an error.
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 23, 2020, 10:53:30 PM
That won't work. A trailing backslash throws an error.

Ah. I thought I remembered backslashes were trouble...
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 24, 2020, 05:09:09 AM
I did this and it's still not working.

Does this work? :

$Split($Replace(<Path>,"K:\EVERYTHING\[FLAC]",),\,2)
No, and now suddenly all of my virtual tags are showing an error that they cannot be parsed when I didn't even change the first 2.

(https://i.imgur.com/bCtbICD.png)

The previews all looked fine to me before this suddenly started giving errors. I'm very confused on what's wrong here..


EDIT: Not even <Path> alone works without throwing an error. Are we maybe using the wrong syntax?

(https://i.imgur.com/iqd8FZr.png)

EDIT 2: After a restart it's just magically working again!

(https://i.imgur.com/iWwG2yc.png)

However, my A-Z bar still behaves the same, where #-D goes to the top and E-Z goes to the bottom. How do I make the A-Z bar actually work with these tags?
Title: Re: A-Z bar doesn't work
Post by: The Incredible Boom Boom on June 24, 2020, 04:58:08 PM
However, my A-Z bar still behaves the same, where #-D goes to the top and E-Z goes to the bottom. How do I make the A-Z bar actually work with these tags?

Have you added the virtual tags in the custom sorting menu?
Title: Re: A-Z bar doesn't work
Post by: SonicRings on June 24, 2020, 08:34:10 PM
However, my A-Z bar still behaves the same, where #-D goes to the top and E-Z goes to the bottom. How do I make the A-Z bar actually work with these tags?

Have you added the virtual tags in the custom sorting menu?
Ah, that's the step we were all missing! Thanks a ton, it's working now. From my previous screenshot I've found that only the last 2 work, so I'm sticking with the second one since it looks the most efficient.
Title: Re: A-Z bar doesn't work
Post by: psychoadept on June 25, 2020, 02:37:13 AM
Great, glad you got it working! Yeah, I wouldn't expect my suggestion to work since it doesn't account for the trailing slash.