2012-08-06, 15:15
Just found a bug in my patch. The content of the runtime property is not consistently formatted. Some appear to load HH:MM format into it instead of converting first to a count of minutes. I will have to detect this and convert on the fly. I'll get that knocked out tonight.
Code:
{
"id":"1",
"jsonrpc":"2.0",
"result":{
"files":[
{
"fanart":"http://thetvdb.com/banners/fanart/original/72289-1.jpg",
"file":"plugin://plugin.video.free.cable/?url=\"http%3A%2F%2Fabc.go.com%2Fwatch%2F2020%2FSH559026%2FVD55224469%2F2020-83-i-married-twins-and-donor-sexuals\"&mode=\"abc\"&sitemode=\"play\"",
"filetype":"file",
"label":"20/20 8/3: I Married Twins and Donor Sexuals",
"runtime":"38:40",
"thumbnail":"http://cdn.video.abc.com/abcvideo/video_fep/thumbnails/220x124/2020_20120803_IMarriedTwinsDonerSe_episode_1a4881e0-dc64-46ec-916c-2c674133c849_4752487_220x124.jpg",
"title":"20/20 8/3: I Married Twins and Donor Sexuals",
"type":"movie"
}
]
}
}
08/06/2012 09:10:29 AM DEBUG Search:FreeCable Found 110 files and 0 directories in FreeCable/ABC/2020 /Season 27
08/06/2012 09:10:29 AM DEBUG Search:FreeCable Regular recursive match ? true: freecable/abc/2020 /season 27 [starts with] freecable/abc
08/06/2012 09:10:29 AM ERROR Search:FreeCable Error while parsing json: org.json.JSONException: JSONObject["runtime"] is not an int.