INTERACT FORUM

Please login or register.

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

Author Topic: file folder name display  (Read 1806 times)

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
file folder name display
« on: February 03, 2013, 01:53:48 am »

Is there a way to display filefolder name as an expression that works? I'm using FileFolder() for the expression, but the name of the folder only displays if that folder contains just one file. for example, folders with tv show seasons (multiple files), the folder name is not displayed, but single file movie foldernames are displayed. This problem seems to happen when using the 'filepath' mode in 'customizable view' setting. I have view set as 'Categories' in the 'View as'.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9143
Re: file folder name display
« Reply #1 on: February 03, 2013, 03:05:50 am »

Where are you using the expression?

If I set a category here using the expression option, and use filefolder() as the expression, it works as expected.

For example, I see a "Season 1" entry in the pane, and when selected, it lists every season one file for every series there is.

Do you have any other filters in play? For example, what settings are applied under "Set rules for file display"?

-marko

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: file folder name display
« Reply #2 on: February 03, 2013, 03:59:59 am »

I think he's using it for Thumbnail text.  Filefolder() doesn't make sense for a category that contains multiple final paths, as the value would essentially be <varies>.  You can see this by selecting a category that has no value for FileFolder() and look at the Filename (path) field in the TAW.

What is it you are trying to get at that level?
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: file folder name display
« Reply #3 on: February 03, 2013, 04:10:09 am »

this is how it set out
navigation panel on the left, under Video > Files. The customizable 'view as' is 'Catagories'. The Catagorie i selected is 'FilePath'.  now back to the list view , it is selected as 'List Style' > 'Details' (not thumbnail view). i have a column called folder, this is where I've added the expression 'Filefolder()'
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: file folder name display
« Reply #4 on: February 03, 2013, 04:26:31 am »

Ok, seems the old format works

'ListItem([Filename (path)], Math(ListCount([Filename (path)], \) - 1), \)'

but new format 'Filefolder()' doesn't
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: file folder name display
« Reply #5 on: February 03, 2013, 12:27:19 pm »

I'm not seeing the problem when I use FileFolder() as an expression column in a Details file list view.   The only issue I saw was when I used it as Thumbnail text for the category.

Are you seeing this for only aggregate types such as DVD or Blu-ray?
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: file folder name display
« Reply #6 on: February 03, 2013, 01:51:35 pm »

I'm seeing it for video files .MKV, .AVI
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: file folder name display
« Reply #7 on: February 03, 2013, 02:01:06 pm »

If you share some screenshots, and a reliable way for us to reproduce, it is likely to get fixed if its a bug.  I can't reproduce in a column, so I'll need your help to narrow it down...
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: file folder name display
« Reply #8 on: February 03, 2013, 02:14:34 pm »

If you share some screenshots, and a reliable way for us to reproduce, it is likely to get fixed if its a bug.  I can't reproduce in a column, so I'll need your help to narrow it down...

sure i can do that.
without having done previously, how do i post screen shots here?
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: file folder name display
« Reply #9 on: February 03, 2013, 02:15:56 pm »

If you have Attach privileges, you can just attach them to your post.  Otherwise, the images need to be hosted somewhere, and you can paste the URL surrounded by [img][/img] tags:

    [img]url goes here[/img]
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: file folder name display
« Reply #10 on: February 04, 2013, 03:48:05 am »

Hi MrC
Here with new and old folder format expression.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: file folder name display
« Reply #11 on: February 04, 2013, 11:38:07 am »

I'm not able to reproduce it.  Hopefully someone will be able to create a case that always succeeds.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up