INTERACT FORUM

More => Old Versions => Media Center 13 (Development Ended) => Topic started by: CP on July 10, 2009, 01:26:29 pm

Title: Image Folder Names
Post by: CP on July 10, 2009, 01:26:29 pm
Is there any way that I can get my photo albums to display the actual file folder names instead of the imported dates. This is in theater view. I have a large and well organized library, but MC doesn't recognize the names of the folders.

Thanks
Title: Re: Image Folder Names
Post by: Matt on July 10, 2009, 02:04:14 pm
One way is to use an expression that gets the part of the filename you want.

So add a view to Theater View (Options > Theater View) and add a category built around an expression.

Here's an example expression for the "Last Folder":
ListItem([Filename (path)], Math(ListCount([Filename (path)], \) - 1), \)
Title: Re: Image Folder Names
Post by: Matt on July 10, 2009, 02:05:01 pm
You can also copy this information to a field by editing a field (say 'Album') and entering the expression with an equal in front of it, so:
=ListItem([Filename (path)], Math(ListCount([Filename (path)], \) - 1), \)
Title: Re: Image Folder Names
Post by: CP on July 10, 2009, 06:54:54 pm
Matt, thanks for your tip; I'll give it a shot. One more thing though. I'm not scared of programming languages, so I'm curious about the origins of your expression. I've been trying to modify the theater view skins, but it seems like they're not giving up the core of this thing.