INTERACT FORUM

Please login or register.

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

Author Topic: [SOLVED] Question about using expression to list genres  (Read 1434 times)

Mishamag

  • Recent member
  • *
  • Posts: 15
[SOLVED] Question about using expression to list genres
« on: December 03, 2011, 11:42:21 pm »

For my movie collection I have created a View using an expression for genres that I found on these forums:
Code: [Select]
ListBuild(1, ;, Replace([Genre], /,, ;))&datatype=[list]
It works almost perfectly. The problem is as follows:

Movie A: Genre=Comedy;Action
Movie B: Genre=Comedy;Action
Movie C: Genre=Comedy

I have 3 genres showing:

Comedy...    =>Movie C
Comedy       =>Movie A
                 =>Movie B
Action         =>Movie A
                 =>Movie B

Why does Movie C fall under the genre "Comedy..." instead of "Comedy"? How would I get a single "Comedy" genre showing?

Thanks for any help.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Question about using expression to list genres
« Reply #1 on: December 04, 2011, 12:38:26 am »

Try manually updating Movie C's genre tag, typing exactly "Comedy".

Ensure there is no newline or whitespace at the end of your expression.
Logged
The opinions I express represent my own folly.

Mishamag

  • Recent member
  • *
  • Posts: 15
Re: Question about using expression to list genres
« Reply #2 on: December 04, 2011, 09:09:52 am »

I re-entered the tag and triple checked  that there were no line breaks or spaces or anything after "Comedy", but the movie still shows under the genre "Comedy..."
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Question about using expression to list genres
« Reply #3 on: December 04, 2011, 10:36:35 am »

Did you check in the expression editor, that the closing right bracket is the last character?  Any trailing whitespace after the expression will generate the ellipsis.
Logged
The opinions I express represent my own folly.

Mishamag

  • Recent member
  • *
  • Posts: 15
Re: Question about using expression to list genres
« Reply #4 on: December 04, 2011, 11:27:40 am »

Ooops...that's what it was! Thanx much.
Logged

fegelmej

  • Junior Woodchuck
  • **
  • Posts: 67
Re: Question about using expression to list genres
« Reply #5 on: December 04, 2011, 11:57:19 am »

I have a filtering question that might go well in this thread.  IF not, and anyone is aware of an existing thread on the issue, please point me the way...

I have most of my files saved as APE or FLAC and have then conveerted them to MP3 for portable/cloud play.  When listening on my reference system I would like only the lossless files displayed (and therefore played). 

I've tried building some rules in access control, but can't get it to filter the MP3s out leaving the lossless files displayed.

Suggestions?

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Question about using expression to list genres
« Reply #6 on: December 04, 2011, 12:00:36 pm »

Suggestion - start a new thread; you can copy/paste your content, and delete your post here.  Since this one is asked/answered, and your topic is different, a new thread will provide more eyes and hence help.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up