online media link respository
#1
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.

Code:
{
    "name": "10 O'Clock Live",
    "region": "UK",
    "url": "http:\/\/www.example.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 XBMC? JSON? XML?
Reply
#2
doesnt really matter. you have to write some python script in any case.
Reply
#3
That would probably be like the plugins in groovy that serviio uses. Those can be stored in the database also and the API will return the download url so that they can be downloaded easier.
Reply

Logout Mark Read Team Forum Stats Members Help
online media link respository0