OnlineVideos - playlists for Video (ABC iView) (1 Viewer)

dcapslock

Portal Member
September 1, 2015
20
12
Sydney
Australia Australia
Hi All,

I am working on polishing the ABC iView Site for OnlineVideos. I have now got to the point where I get a JSON for a program with some playlists. See the code below. What I am best to do to 1: Give a default VideoURL from the F4M and/or M3U8 files AND/OR 2: Provide multiple playlists for different.

Please help

Thanks

Code:
{
  "seriesTitle": "New Tricks",
  "title": "Series 10 Ep 10 Wild Justice",
  "href": "programs\/new-tricks\/ZX9629A010S00",
  "channel": "abc1",
  "pubDate": "2015-09-05 21:30:00",
  "thumbnail": "http:\/\/cdn.iview.abc.net.au\/thumbs\/i\/ZX9629A010S0053db2e4e9e09b8.86477790_1280.jpg",
  "episodeHouseNumber": "ZX9629A010S00",
  "duration": "3525",
  "rating": "PG",
  "label": "59 mins",
  "expireDate": "2015-09-19 21:30:00",
  "seriesHouseNumber": "ZX9629A",
  "categories": [
    {
      "title": "DRAMA",
      "href": "category\/drama"
    }
  ],
  "description": "Miller faces a dilemma following the investigation into a corrupt senior officer. CAST: Sasha Miller, Sandra Pullman",
  "related": "related\/ZX9629A010S00",
  "buy": {
    "apple": "http:\/\/itunes.apple.com\/WebObjects\/MZStore.woa\/wa\/viewTVSeason?uo=5&i=759379565&id=741790078&at=11l758",
    "google": "https:\/\/play.google.com\/store\/tv\/show?id=Iosq4uZXq2U&cdid=tvseason-R1jNfvHUbRCqRDpAS4Errg&gdid=tvepisode-vYJX_w1y41Q",
    "shop": "https:\/\/shop.abc.net.au\/products\/new-tricks-3dvd-sr-10?WT.ac=Commercial_Shop-ShopOnline%7Cabcshop%7Ciview-dto-new-tricks-series-10-ep-10-wild-justice"
  },
  "availability": "Broadcast 8:30pm Saturday 5 September 2015. Published 47 minutes ago, available until 9:30pm on 19 September 2015. File size approx. 294 MB",
  "streams": {
    "hls-high": [
      "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
      "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8"
    ],
    "hls-base": [
      "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
      "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8"
    ],
    "hls-low": [
      "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
      "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,495000,205000,40761,.mp4.csmil\/master.m3u8"
    ],
    "hds-metered": [
      "http:\/\/iviewmetered-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
      "http:\/\/iviewmetered-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
    ],
    "hds-unmetered": [
      "http:\/\/iviewum-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
      "http:\/\/iviewum-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
    ]
  },
  "playlist": [
    {
      "type": "rating",
      "hls-high": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
      "hls-base": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
      "hls-low": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
      "hds-metered": "http:\/\/iviewmetered-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
      "hds-unmetered": "http:\/\/iviewum-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m"
    },
    {
      "type": "program",
      "captions": {
        "src-vtt": "http:\/\/iview.abc.net.au\/cc\/newtricks_10_10_v2.vtt",
        "src-xml": "http:\/\/iview.abc.net.au\/cc\/newtricks_10_10_v2.xml",
        "live": "0"
      },
      "hls-high": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8",
      "hls-base": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8",
      "hls-low": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,495000,205000,40761,.mp4.csmil\/master.m3u8",
      "hds-metered": "http:\/\/iviewmetered-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m",
      "hds-unmetered": "http:\/\/iviewum-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
    }
  ],
  "transmitDate": "2015-09-05 20:30:00",
  "transmitChannel": "ABC1",
  "captions": "http:\/\/iview.abc.net.au\/cc\/legacy\/newtricks_10_10_v2.vtt",
  "share": "http:\/\/iview.abc.net.au\/programs\/new-tricks\/ZX9629A010S00"
}
[DOUBLEPOST=1441458573][/DOUBLEPOST]Forgot to mention, all the URLs will are not tested yet and likely to need to be retrieved using the ABC iView Auth method.
 

dcapslock

Portal Member
September 1, 2015
20
12
Sydney
Australia Australia
Ok. Using the hdtoken you can get the manifest file. However it is a manifest with bootstrap data for HDS streaming so nothing to gain unless MP can do F4M and auth. Looking at the steaming chunks, it looks like a new auth cookie is returned and you are expected to send it back with the next request. So even if F4M could work in MP it would need to handle this auth mechanism.

Anyhow, for the record, below is how I could retrieve the manifest.

<url>?hdcore=true&hdnea=<hdtoken>&hdcore=2.11.0

Where URL is the URL from the JSON data as posted and hdtoken is as from the iView auth response file.
 

Skywizard

MP Donator
  • Premium Supporter
  • June 14, 2015
    113
    25
    Canberra
    Australia Australia
    thanks Dcaps lock. I have tried this plugin for ABC iView (I would like to use it) and see that I can get the manifest (the list of all the programs?). I can see the genre and make a selection. When I go to play the selected title i get "Unable to play video. No URL" this happens not just for ABC iView but also NASA TV so It it looks like it is not just iView...
     

    dcapslock

    Portal Member
    September 1, 2015
    20
    12
    Sydney
    Australia Australia
    Skywizard. There is a general fix in OnlineVideos that needs to be released. offByOneBB needs to get some time to release an updated version.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 6
    bta489 [solved] System goes to Standby during Amazon Prime Playback OnlineVideos 2
    J Debug OnlineVideos, How To? OnlineVideos 1
    Predpray OnlineVideo 2 Probleme Allgemeines Support- und Diskussionsforum 12
    HTPCSourcer MP2 OnlineVideos Overhaul MediaPortal 2 46
    HTPCSourcer OnlineVideos is not remembering my sites MediaPortal 2 25
    P MP2 - V2.1 Bug - Onlinevideos U.S. Amazon Prime Fails to Connect Older releases 5
    E OnlineVideo Plugins - eigene Videostreams hinzufügen Plugins & Erweiterungen 0
    A Abschalten von Playlist Allgemeines Support- und Diskussionsforum 21
    G [fixed] [MP2-786] Party Music Player can only play playlists with less than 1000 items 2.2 Archive 7
    N [Approved] [MP2-198-200] Playlist handling patches Submit: Code Patches 4
    N [fixed] [MP2-786] Cannot play audio playlist with >=1000 entries 2.2 Archive 36
    E M3U Playlist and EPG Support/Configuration Installation, configuration support 1
    W Automatisches erstellen einer Playlist deaktivieren Allgemeines Support- und Diskussionsforum 0
    A [solved] How to Play All Videos in a List watch/edit Videos 3
    O 1.25.0 Codecs and Video Format for PlayStation 2 Codecs, External Players 0
    g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
    I Video Playback Stuttering General Support 45
    B some videos jerky Television (MyTV frontend and TV-Server) 0
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2
    T Kurze Tonaussetzter bei Videos und TV Allgemeines Supportforum 1
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    ajs [Proposal] Video embedded cover MediaPortal 1 1
    G [solved] Black Screen on all videos after upgrading to either 1.23 or 1.24 from 1.22 General Support 4
    H random black screen live tv and videos (amended) General Support 0
    Similar threads

























    Top Bottom