pipelka / roboTV

Android TV frontend for VDR
Other
73 stars 37 forks source link

xmltv parser option instead of vdr epg.data for description and channel art #51

Closed mattgorski closed 6 years ago

mattgorski commented 6 years ago

This is just a thought and feature request. I am already doing some java includes trying to implement this but I just wanted to get your thoughts @pipelka on if this option is even feasible.

    <string name="postal_code_guidance_title">Enter your ZIP Code.</string>
    <string name="postal_code_guidance_description">Live Channels app will use the ZIP Code to provide a complete program guide for the TV channels.</string>
    <string name="postal_code_action_description">Enter your ZIP Code</string>
    <string name="postal_code_invalid_warning">Invalid ZIP Code</string>

Option in setup to input zip code and or login info for zap2it (free service) and import zap2it webservices framework into robotv-client to pull event info descriptions and also channel art by eventid:

zap2it webservices: https://github.com/pmarshall05/samples/tree/master/zap2it/webservices

example get response:

 {
      "schedule": {
        "programId": "EP017392440116",
        "parentProgramId": "SH017392440000",
        "date": "2018-05-04",
        "time": "8:01 PM CT",
        "endTime": "9:01 PM CT",
        "season": 5,
        "episode": "20",
        "duration": 60,
        "stereo": true,
        "isHD": true,
        "availableInHdtv": false,
        "isNew": true,
        "isLive": false,
        "closedCaption": true,
        "repeat": false,
        "subtitled": false,
        "video": false,
        "showcardLink": "http://tvlistings.zap2it.com/tv/marvels-agents-of-shield/EP01739244?aid=zap2it",
        "title": "Marvel's Agents of S.H.I.E.L.D.",
        "link": "http://tvlistings.zap2it.com/tv/marvels-agents-of-shield-the-one-who-will-save-us-all/EP017392440116?aid=zap2it",
        "episodeTitle": "The One Who Will Save Us All",
        "description": "A newly determined Talbot takes Coulson to meet the enemy and attempts to avert Earth's destruction.",
        "shortDescription": "Talbot takes Coulson to meet the enemy.",
        "tvRating": "TV-14",
        "hasDialogRating": false,
        "hasLanguageRating": true,
        "hasSexRating": false,
        "hasFantasyViolenceRating": false,
        "hasViolenceRating": true,
        "smallImagePath": "http://images.zap2it.com/assets/p10778783_b_h5_aa/marvels-agents-of-shield.jpg",
        "largeImagePath": "http://images.zap2it.com/assets/p10778783_b_h3_aa/marvels-agents-of-shield.jpg",
        "originalAirDate": "2018-05-04",
        "programType": "EP",
        "seriesId": "EP01739244",
        "cast": "Clark Gregg , Ming-Na Wen , Chloe Bennet , Iain De Caestecker , Elizabeth Henstridge , Henry Simmons , Natalia Cordova-Buckley",
        "seolink": "http://mtvl.zap2it.com/tv/marvels-agents-of-shield-the-one-who-will-save-us-all/EP017392440116?schd=32473312367&aid=zap2it",
        "bucketStartTime": "8:00 PM CT",
        "isSponsoredProgram": false
      }
    },
    {