Count Folders

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
Mendeln
Donor
Posts: 4
Joined: 04 Nov 2016, 02:56

Count Folders

Post by Mendeln » 09 Oct 2017, 19:05

hi there

is there a way to count folders? or this "/" sign?

problem is, i want to use AcoustID to identify and sort my music (id3 tags are sometimes missing or wrong) but sometimes it happend that the Album information is missing.
the information is online on musicbrainz.org

i use P:/{plex} and/or P:/Music/{artist}/{album+'/'}{pi.pad(2)} - {t}

User avatar
rednoah
The Source
Posts: 13425
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Count Folders

Post by rednoah » 09 Oct 2017, 21:27

Not sure why you'd count folder levels...

I think you want to have a default value for expressions that fail:
viewtopic.php?f=5&t=1895

e.g.

Code: Select all

{ any{artist}{'No Artist'} }
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

Mendeln
Donor
Posts: 4
Joined: 04 Nov 2016, 02:56

Re: Count Folders

Post by Mendeln » 10 Oct 2017, 02:13

if there is no album information, the music must be sorted out to P:/unsorted. away from plex
my amc is pretty much done except for this detail

thanks i will try it that way

User avatar
rednoah
The Source
Posts: 13425
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Count Folders

Post by rednoah » 10 Oct 2017, 09:38

Sure. That'll work the same way.

e.g.

Code: Select all

P:/{ any{"Music/$artist"}{"Unsorted/No Artist"} }/...
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest