More > JRiver Media Center 30 for Linux

Help setting Library, using Expressions

<< < (2/5) > >>

lepa:
It should work (FileFolder(,6) I mean) and I think that there is a bug in Linux FileFolder() function. Booted up my old laptop with Ubuntu 22.04 and folde tree seems to be handled backwards in Linux. Probably something to do with windows/linux back slash vs forward flash.

Also Windows version gives somewhat strange results while giving mostly the correct ones
FileFolder works from right to left so if your folder structure doesn't have same amount of folders coming from right to left then you cannot use that function

lepa:
If you really especially want to use that folder structure as your grouping you could try following expression to group AND to display (to get thumbnail to show correct value)
Mid([Filename (path)],42,Math(Find([Filename (path)],//,42) - 42))

If i looked your folders correctly it will get text which starts from character index 42 and continues printing until next "/". I'm sure there are more clever ways to achieve this but something like that should work.

You could also consider to use the actual metadata of the files to do the same using real fields like composer or artist to do the grouping

cochinada:
I don't know why but still doesn't work.

lepa:
Pictures are little unclear to see but it should with space [Filename (path)] not [Filename(path)]

cochinada:

--- Quote from: lepa on March 01, 2023, 03:17:28 pm ---Pictures are little unclear to see but it should with space [Filename (path)] not [Filename(path)]

--- End quote ---

OK, I'll try but isn't Filename a function and if so, does it matter if there is a space before the '('?

Clearly it matters but I don't understand why.  ::)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version