Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jul 2008
    Posts
    261

    Plugin install.xml id2 tag

    I'm fairly sure using uuidgen to generate a value for <id> is the recommended way, but I was looking at Michael's Phishin plugin and it also has an <id2> tag that looks like maybe a sha384sum of ... something? I tried sha384sum of the id value but it doesn't match. Is the id2 tag needed or recommended and if so, how do I generate it?

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,622

    Plugin install.xml id2 tag

    The ID value needs to be a unique value. Usin a UUID is the best way to
    get this kind of uniqness.

  3. #3
    Senior Member
    Join Date
    Jul 2008
    Posts
    261
    Thanks for the reply Michael, I missed it until now. I used uuidgen for <id> so that's good but I was asking about an <id2> tag I noticed in one of your plugins and wasn't sure how to generate that one as the format is different than what uuidgen produces, looks like a hash of something. I don't think it's really needed?

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,622

    Plugin install.xml id2 tag

    > I don't think it's really needed?

    No, it's not needed. I think only very few fields like id, name, module,
    version are really needed. A plugin can put basically anything in there,
    like eg. the often used icon field: it's not required, but the plugin
    can read it from the file to show a custom icon.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •