playlist

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99
    Anonymous
    Guest

    Finally got round to playting with the playlist function. Using 0.2.2 on NSLU2 with Unslung 5.5 Beta.

    Issue is that using the field Coomment with literal strings, the= operator doesn’t function, although the is does. so

    “Personal music” {
    Comment = “Mine”
    }

    does not result in a playlist, but

    “Personal music” {
    Comment is “Mine”
    }

    does result in a playlist.

    I haven’t yet tried it with other fields. The = operator is fine with numeric data (such as year = 1990 )

    Post edited by: peterb, at: 2005/09/15 21:38

    Post edited by: peterb, at: 2005/09/15 21:42

    #3650
    rpedde
    Participant

    This is a actually not a bug, it’s a feature. 🙂

    Okay, maybe not a feature, but a “working as designed”. ‘=’ is for integer comparisons, whereas ‘is’ is for string comparisons.

    Now, the argument could be made that that is a stupid design, and I’d have a hard time arguing the point, but I’m not sure I want to work on it, as the playlist stuff will be different in next stable.

    — Ron

    #3651
    peterb
    Guest

    Ah – I understand! 🙂 I mis-interpreted the instructions in the playlist file; thank you for the explanation!

    Post edited by: peterb, at: 2005/09/16 10:00

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.