INTERACT FORUM

Please login or register.

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

Author Topic: Weird filtering behaviour  (Read 862 times)

gvag

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 96
  • nothing more to say...
Weird filtering behaviour
« on: May 24, 2003, 11:36:32 pm »

MC 175

I tried setting up a view scheme with this filter:
[Number Plays]=0
and MC showed no files in the view.  Then I tried
[Number Plays]=''
nothing.  So I changed it to
[Number Plays]=<1
and all the files with nothing or 0 in the Number Plays field showed up.

thanks

gvag
Logged

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Weird filtering behaviour
« Reply #1 on: May 25, 2003, 07:01:55 am »

Not sure if it's a syntax problem,  but I have a similar smarlist working OK and the syntax that it uses for number plays is:

Number Plays: =0

Perhaps someone more knowledgable could confirm if it's just a syntax problem.

Regards,

----
Listening to: 'Am I the Only One?' from 'Maybe You Should Drive' by 'Barenaked Ladies' on Media Center 9.0
Logged

gvag

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 96
  • nothing more to say...
Re: Weird filtering behaviour
« Reply #2 on: May 25, 2003, 11:49:53 am »

Hi Deivit -

Thanks Il checked it out.  I have a scheme that uses this same logic and works fine in my main library.  

I was trying to setup the same scheme in another library and I entered the filter manually: [Number Plays]=0.  When I went into the working scheme and right clicked to edit the filter manually it showed up as: Number Plays]==0.  So you were right it was a syntax error.  But...

Just for fun I manually added another filter to the scheme, [Number Plays]==0 [Comment]="", which shows up in the Filter Bar as, [Number Plays]: =0 [Comment]:.  If you edit this filter manually it shows up as, [Number Plays]==0 [Comment]="". ?

I guess someone was having a bad hair day ;D  I say this in a spirit of fun because you will note that in your playlist the filter returns all files where [Number Plays]==0 or [Number Plays]==<empty>.  Sorry! I do ramble on.

Point is you were right and I now know how MC deals with numeric fields.

Thanks

gvag
Logged
Pages: [1]   Go Up