INTERACT FORUM

Please login or register.

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

Author Topic: File list only when there are multiple files?  (Read 1666 times)

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
File list only when there are multiple files?
« on: December 07, 2013, 01:40:07 am »

I'm trying to clean up my library a bit, and make things easier to find.
Rather than using a flat file list sorted by name, I thought it would be nice to use the "categories" view with FirstNotEmpty([Series],[Name]) as an expression.
 
This displays items as you would expect - films are sorted by name unless they are part of a series, which groups them together.
This is particularly useful when the titles of these films would not place them together when sorted by name - "James Bond" as a group would be an example of that.
 
The problem is that when you double-click on a film, it brings up the file list even when there is only a single item.
Is there any way to change this behavior so that double-clicking individual items will play them?
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: File list only when there are multiple files?
« Reply #1 on: December 08, 2013, 11:14:40 pm »

This won't help at all with your core request, but I'm curious...  Why are you using FirstNotEmpty([Series],[Name]) instead of TVInfo(SeriesDisplay)?

For the record, I think this would be a useful change.  If you double-click on a Category that only contains a single file, it could certainly treat that as a double click on the file itself.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: File list only when there are multiple files?
« Reply #2 on: December 09, 2013, 06:51:54 am »

This won't help at all with your core request, but I'm curious...  Why are you using FirstNotEmpty([Series],[Name]) instead of TVInfo(SeriesDisplay)?
I wasn't aware that it existed, and it didn't occur to me to check the "TVInfo" section (last thing on the wiki page) when I was making an expression for films. I assume that would be faster?
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: File list only when there are multiple files?
« Reply #3 on: December 09, 2013, 10:02:49 am »

I assume that would be faster?

No idea.  It might be smarter though.  Not sure.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up