OnlineVideos - playlists for Video (ABC iView)

Discussion in 'OnlineVideos' started by dcapslock, September 5, 2015.

  1. dcapslock

    dcapslock Portal Member

    Joined:
    September 1, 2015
    Messages:
    20
    Likes Received:
    10
    Gender:
    Male
    Location:
    Sydney
    Ratings:
    +12 / 0
    Home Country:
    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 (Text):
    1.  
    2. {
    3.   "seriesTitle": "New Tricks",
    4.   "title": "Series 10 Ep 10 Wild Justice",
    5.   "href": "programs\/new-tricks\/ZX9629A010S00",
    6.   "channel": "abc1",
    7.   "pubDate": "2015-09-05 21:30:00",
    8.   "thumbnail": "http:\/\/cdn.iview.abc.net.au\/thumbs\/i\/ZX9629A010S0053db2e4e9e09b8.86477790_1280.jpg",
    9.   "episodeHouseNumber": "ZX9629A010S00",
    10.   "duration": "3525",
    11.   "rating": "PG",
    12.   "label": "59 mins",
    13.   "expireDate": "2015-09-19 21:30:00",
    14.   "seriesHouseNumber": "ZX9629A",
    15.   "categories": [
    16.     {
    17.       "title": "DRAMA",
    18.       "href": "category\/drama"
    19.     }
    20.   ],
    21.   "description": "Miller faces a dilemma following the investigation into a corrupt senior officer. CAST: Sasha Miller, Sandra Pullman",
    22.   "related": "related\/ZX9629A010S00",
    23.   "buy": {
    24.     "apple": "http:\/\/itunes.apple.com\/WebObjects\/MZStore.woa\/wa\/viewTVSeason?uo=5&i=759379565&id=741790078&at=11l758",
    25.     "google": "https:\/\/play.google.com\/store\/tv\/show?id=Iosq4uZXq2U&cdid=tvseason-R1jNfvHUbRCqRDpAS4Errg&gdid=tvepisode-vYJX_w1y41Q",
    26.     "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"
    27.   },
    28.   "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",
    29.   "streams": {
    30.     "hls-high": [
    31.       "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
    32.       "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8"
    33.     ],
    34.     "hls-base": [
    35.       "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
    36.       "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8"
    37.     ],
    38.     "hls-low": [
    39.       "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
    40.       "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,495000,205000,40761,.mp4.csmil\/master.m3u8"
    41.     ],
    42.     "hds-metered": [
    43.       "http:\/\/iviewmetered-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
    44.       "http:\/\/iviewmetered-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
    45.     ],
    46.     "hds-unmetered": [
    47.       "http:\/\/iviewum-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
    48.       "http:\/\/iviewum-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
    49.     ]
    50.   },
    51.   "playlist": [
    52.     {
    53.       "type": "rating",
    54.       "hls-high": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
    55.       "hls-base": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
    56.       "hls-low": "http:\/\/iviewhls-i.akamaihd.net\/i\/SMIL\/classification\/PG.smil\/master.m3u8",
    57.       "hds-metered": "http:\/\/iviewmetered-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m",
    58.       "hds-unmetered": "http:\/\/iviewum-vh.akamaihd.net\/z\/SMIL\/classification\/PG.smil\/manifest.f4m"
    59.     },
    60.     {
    61.       "type": "program",
    62.       "captions": {
    63.         "src-vtt": "http:\/\/iview.abc.net.au\/cc\/newtricks_10_10_v2.vtt",
    64.         "src-xml": "http:\/\/iview.abc.net.au\/cc\/newtricks_10_10_v2.xml",
    65.         "live": "0"
    66.       },
    67.       "hls-high": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8",
    68.       "hls-base": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/master.m3u8",
    69.       "hls-low": "http:\/\/iviewhls-i.akamaihd.net\/i\/playback\/_definst_\/_video\/newtricks_10_10_,495000,205000,40761,.mp4.csmil\/master.m3u8",
    70.       "hds-metered": "http:\/\/iviewmetered-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m",
    71.       "hds-unmetered": "http:\/\/iviewum-vh.akamaihd.net\/z\/playback\/_definst_\/_video\/newtricks_10_10_,650000,495000,205000,40761,.mp4.csmil\/manifest.f4m"
    72.     }
    73.   ],
    74.   "transmitDate": "2015-09-05 20:30:00",
    75.   "transmitChannel": "ABC1",
    76.   "captions": "http:\/\/iview.abc.net.au\/cc\/legacy\/newtricks_10_10_v2.vtt",
    77.   "share": "http:\/\/iview.abc.net.au\/programs\/new-tricks\/ZX9629A010S00"
    78. }
    79.  
    [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.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. dcapslock

    dcapslock Portal Member

    Joined:
    September 1, 2015
    Messages:
    20
    Likes Received:
    10
    Gender:
    Male
    Location:
    Sydney
    Ratings:
    +12 / 0
    Home Country:
    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.
     
  4. Skywizard
    • Premium Supporter

    Skywizard MP Donator

    Joined:
    June 14, 2015
    Messages:
    113
    Likes Received:
    17
    Location:
    Canberra
    Ratings:
    +24 / 0
    Home Country:
    Australia Australia
    Show System Specs
    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...
     
  5. dcapslock

    dcapslock Portal Member

    Joined:
    September 1, 2015
    Messages:
    20
    Likes Received:
    10
    Gender:
    Male
    Location:
    Sydney
    Ratings:
    +12 / 0
    Home Country:
    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.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!