INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Image Folder Names  (Read 2230 times)

CP

  • Member
  • *
  • Posts: 2
Image Folder Names
« 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
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: Image Folder Names
« Reply #1 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), \)
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: Image Folder Names
« Reply #2 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), \)
Logged
Matt Ashland, JRiver Media Center

CP

  • Member
  • *
  • Posts: 2
Re: Image Folder Names
« Reply #3 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.
Logged
Pages: [1]   Go Up