JSPF Draft: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(More)
(Integer fix)
Line 40: Line 40:
         "image"        : "http://example.com/",
         "image"        : "http://example.com/",
         "album"        : "Album name",
         "album"        : "Album name",
         "trackNum"      : "1",
         "trackNum"      : 1,
         "duration"      : "0",
         "duration"      : 0,
         "link"          : [
         "link"          : [
           TODO
           TODO

Revision as of 13:13, 13 June 2007

This is the JSPF specification workspace.

Example JSPF file:

{
  "playlist" : {
    "title"         : "JSPF example",
    "creator"       : "Artist name",
    "annotation"    : "Super playlist",
    "info"          : "http://example.com/",
    "location"      : "http://example.com/",
    "identifier"    : "http://example.com/",
    "image"         : "http://example.com/",
    "date"          : "2005-01-08T17:10:47-05:00",
    "license"       : "http://example.com/",
    "attribution"   : [
      {"identifier"   : "http://example.com/"},
      {"location"     : "http://example.com/"}
    ],
    "link"          : [
      TODO
    ],
    "meta"          : [
      TODO
    ],
    "extension"     : [
      TODO
    ],
    "track"         : [
      {
        "location"      : [
          TODO
        ],
        "identifier"    : [
          TODO
        ],
        "title"         : "Track title",
        "creator"       : "Artist name",
        "annotation"    : "Some text",
        "info"          : "http://example.com/",
        "image"         : "http://example.com/",
        "album"         : "Album name",
        "trackNum"      : 1,
        "duration"      : 0,
        "link"          : [
          TODO
        ],
        "meta"          : [
          TODO
        ],
        "extension"     : [
          TODO
        ]
      }
    ]
  }
}