Changeset 42573 for titan/mediathek


Ignore:
Timestamp:
Jul 28, 2018, 9:18:49 PM (15 months ago)
Author:
obi
Message:

fix watchbox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_free/watchbox.sh

    r42464 r42573  
    360360        ID=`cat $TMP/cache.$PARSER.$INPUT.1 | grep 'videoId' | sed 's/,/\n/g' | grep videoId | cut -d ':' -f2`
    361361                $curlbin "http://api.watchbox.de/devapi/id/$ID?apikey=hbbtv&format=json" -o $TMP/cache.$PARSER.$INPUT.2
    362                 cat $TMP/cache.$PARSER.$INPUT.2 | sed 's/^.*"media_videourl":"//;s/".*$//;s/\\\//\//g' >$TMP/cache.$PARSER.$INPUT.3
    363                 cat $TMP/cache.$PARSER.$INPUT.3 > $TMP/$PARSER.play.list
     362                cat $TMP/cache.$PARSER.$INPUT.2 | sed 's/^.*"media_videourl":"//;s/".*$//;s/\\\//\//g' >$TMP/$PARSER.play.list
    364363                echo >> $TMP/$PARSER.play.list
    365                 rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1
    366 
    367                 cat "$TMP/$PARSER.play.list"
     364                cat $TMP/cache.$PARSER.$INPUT.2 | sed 's/^.*"media_videourl_wv":"//;s/".*$//;s/\\\//\//g' >>$TMP/$PARSER.play.list
     365                echo >> $TMP/$PARSER.play.list
     366                cat $TMP/cache.$PARSER.$INPUT.2 | sed 's/^.*"media_videourl_hls":"//;s/".*$//;s/\\\//\//g' >>$TMP/$PARSER.play.list
     367                echo >> $TMP/$PARSER.play.list
     368
     369#{"command":"id","items":[{"vid":"422766","title":"JOHN CARPENTERS VAMPIRES: LOS MUERTOS","title_short":"john-carpenters-vampires-los-muertos","media_length":"5383","descr":"Mexiko. Eine einsame, verfallene Festung im Nirgendwo. Hier haben die Vampire, angeführt von der scheinbar unbesiegbaren Meisterin Una ihren Unterschlupf. Im weiten Umkreis erzittert das Land unter ihren Bluttaten. Gerade erst haben die untoten Killer ein ganzes Kloster ausgelöscht. Derek Bliss, Vampirjäger im Auftrag des Vatikans, und sein unerschrockenes Team stellen sich zwischen die Armee des Bösen und ihre Gier, Tag und Nacht gleichermaßen beherrschen zu wollen!","display_ascpect_ratio":"16:9","media_videourl_hls":"https:\/\/vodwbusohls.secure.footprint.net\/proxy\/manifest-wb-drm\/at-ch-de\/422766-1.ism\/fairplay.m3u8","media_videourl_wv":"https:\/\/vodwbusodash-a.akamaihd.net\/proxy\/manifest-wb-drm\/at-ch-de\/422766-1.ism\/.mpd","media_videourl":"","drm":true,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1MjQwNjAwNzYsImlzcyI6Imh0dHBzOlwvXC9hcGkudHZub3cuZGVcL3dhdGNoYm94XC93ZWIiLCJhdWQiOiJvM2kydWhyb3doaWVmaXNlZmh1c2xpZWpmaGxrc2RoZmtqc2RmIiwidWlkIjo0MzU4NjE2OCwicm9sZXMiOlsidXNlciJdLCJwYWNrYWdlcyI6W10sImhhc0FjcXVpcmVkUGFja2FnZXMiOmZhbHNlLCJyaCI6IjczMzdlMDQzY2FiY2UyZmVmOGYyZDc2YTkyNjY2NjFjIiwiY2siOiI3NjVmZGE3YzViYzFhODg2NGQ5ZDZlYWI5MzdjNzViMyIsImNsaWVudElkIjoiYzY0YmQ1OTA3ODEzYTlmMzY2NmIxNGY0MGNhNzA1ODE2MGY1ODg0ZmUzNTk0YmU1NTE5NGIxM2MwNWU0YWZjNCIsInN1YnNjcmlwdGlvblN0YXRlIjozLCJyZXNpZGVuY2UiOm51bGwsInN1YnNjcmlwdGlvbiI6bnVsbH0.Th3X0vmQob_h0IUQfnQrXQZppAdDToYQyn-huXLxTbw","fsk":"16","poster":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/format\/15895_dvdcover\/john-carpenters-vampires-los-muertos.jpg","media_thumbnail":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/movie\/422766\/154x87\/image.jpg","media_content_thumbnail_large":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/movie\/422766\/john-carpenters-vampires-los-muertos.jpg","media_image_blur":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/movie\/422766\/20-k8\/3442\/john-carpenters-vampires-los-muertos.jpg","media_content_thumbnail_path":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/movie\/422766\/","special":{"id":"15895","title":"John Carpenters Vampires: Los Muertos","title_short":"John Carpenters Vampires: Los Muertos"},"special_ivw_tag":"watchbox_aio_hbbtv\/filme\/horror","videoplaza_share":"rtl_watchbox\/filme_action","videoplaza_cutlist":"900,1800,2700,3600","movie":{"vid":"422766","fsk":"16","rel_year":2002,"creationPlace":"USA","cast":"Arly Jover, Darius McCrary, Jon Bon Jovi, Natasha Gregson Wagner, Diego Luna, Cristián de la Fuente, Javier Grajeda","headline_movie":"JOHN CARPENTERS VAMPIRES: LOS MUERTOS","genre":[{"id":"32","genre":"Horror","image":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/cms\/cd1ded6546aca6c8a74241456947fdf7\/horror.jpg","head_genre":"32"},{"id":"4","genre":"Action","image":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/format\/15895\/john-carpenters-vampires-los-muertos.jpg","head_genre":"32"},{"id":"82","genre":"Trash","image":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/format\/15895\/john-carpenters-vampires-los-muertos.jpg","head_genre":"32"}],"image_url":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/movie\/422766\/john-carpenters-vampires-los-muertos.jpg","image_path":"http:\/\/aiswatchbox-a.akamaihd.net\/watchbox\/movie\/422766\/"},"agof_code":"dbrscaf_ten_wbfilmhorror","video_ivw_tag":"watchbox_aio_hbbtv\/videoabrufe\/filme\/horror","content_form":"long_form","geo_countries":"DE, AT, CH","geoblocking":"whitelist","link":"http:\/\/www.watchbox.de\/filme\/john-carpenters-vampires-los-muertos-15895.html","category":"film","currentTime":"21:04:56"}],"openSearch_totalResults":0,"openSearch_startIndex":1,"openSearch_itemsPerPage":10}
     370#               rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1
     371
     372#               cat "$TMP/$PARSER.play.list"
     373                echo "$TMP/$PARSER.play.list"
    368374
    369375}
Note: See TracChangeset for help on using the changeset viewer.