Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Online Media link Repository

moltra
2013-05-23
2013-05-30
  • moltra
    moltra
    2013-05-23

    I run a site called www.serviidb.com  I currently have 541 video and 16 audio sources world wide.  I currently have a RESTful API that returns the repository in the following manner.

    {
        "name": "10 O'Clock Live",
        "region": "UK",
        "url": "http:\/\/www.channel4.com\/programmes\/10-oclock-live\/4od",
        "mediaType": "Video",
        "resourceType": "Web Resource",
        "plugin": "4OD (UK only)",
        "language": "English",
        "nid": "190",
        "resolution": "SD",
        "quality": null,
        "reliability": null,
        "installCount": "60"
    },
    {
        "name": "1600 Penn",
        "region": "US",
        "url": "http:\/\/www.hulu.com\/feed\/show\/12744\/episodes",
        "mediaType": "Video",
        "resourceType": "RSS Atom Feed",
        "plugin": "Hulu (US only)",
        "language": "English",
        "nid": "655",
        "resolution": "SD",
        "quality": null,
        "reliability": null,
        "installCount": "15"
    }
    

    The API can be filtered by the various variables returned by the API.

    I would like to set up a response for XBMC  to be able to use the data in the database. 

    What would be the proper response format for mediatomb?  JSON?  XML?