Database views - please teach me how (1 Viewer)

emphatic

Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #21
    Using <> gives me ALL genres. I'm trying to use "|Barn|" with "like" now. I still want to know what these mean exactly, <, >, <=, etc. It should be in the Wiki!

    Emph
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Those are logic operators related to selected database field. As they are "stupid" you can see them all no matter of what type is db field, so, for example, genre is type "string" but you see all operators <,>,<=.... and you see that many of them can't be logically applied on string but you have them on list

    So,
    < means "less than" (no usable for string fields)
    > means "greater than" (no usable for string fields)
    <= means "less than or equal" (no usable for string fields)
    = means "equal"
    ...
    LIKE means "search in field result string my string"
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #23
    With LIKE and |Barn|, I did get some results finally. Anyway, I've made a feature request in the MovPicNFO thread to clean up the genre handling. Hopefully it'll happen. :)

    Emph
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #25
    That's fantastic, is this a change to the nfo scaper so I can just update the scripts, or is it a change to MediaPortal's core features?

    Emph
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #27
    I've imported again now, and it works beautifully! :) I will have to clear my database though, as it seems that as the older entries in the database are in there as well.

    Emph
     

    Users who are viewing this thread

    Top Bottom