Brightcove Problem

Issue #16 duplicate
Former user created an issue

Hi, Thank you for all your hard work with these scripts. I am getting a problem the the brightcove module used for Channel 9.

For example when trying to obtain recent episode from "Getaway" I get the following issue:

video desc_url http://api.brightcove.com/services/library?token=ogxhPgSphIVa2hhxbi9oqtYwtg032io4B4-ImwddYliFWHqS0UfMEw..&video_id=3209158163001&command=find_video_by_id&video_fields=renditions Traceback (most recent call last): File "/opt/WebDL/grabber.py", line 55, in <module> main() File "/opt/WebDL/grabber.py", line 48, in main if not n.download(): File "/opt/WebDL/brightcove.py", line 42, in download vbase, vpath = best_url.split("&") ValueError: need more than 1 value to unpack

However with older versions it works fine. I have found the demarcation to be between Season 22 and Season 23.

After some digging I found the following:

Working:

{"renditions":[{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway2013A_E06.mp4","encodingRate":1775821,"frameHeight":576,"frameWidth":1024,"id":3033063029001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":571859048,"uploadTimestampMillis":1389303693000,"url":"rtmp:\/\/vod.netshow.ninemsn.com.au\/ondemand\/&mp4:streams\/1622448031001\/2014\/01\/1622448031001_3033063029001_Getaway2013A-E06.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":2566920},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway2013A_E06.mp4","encodingRate":648000,"frameHeight":360,"frameWidth":640,"id":3033082647001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":209584571,"uploadTimestampMillis":1389304132589,"url":"rtmp:\/\/vod.netshow.ninemsn.com.au\/ondemand\/&mp4:streams\/1622448031001\/2014\/01\/1622448031001_3033082647001_Getaway2013A-E06.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":2566920},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway2013A_E06.mp4","encodingRate":1275821,"frameHeight":360,"frameWidth":640,"id":3033077616001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":411364931,"uploadTimestampMillis":1389304099214,"url":"rtmp:\/\/vod.netshow.ninemsn.com.au\/ondemand\/&mp4:streams\/1622448031001\/2014\/01\/1622448031001_3033077616001_Getaway2013A-E06.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":2566920},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway2013A_E06.mp4","encodingRate":2575821,"frameHeight":576,"frameWidth":1024,"id":3033077646001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":828492324,"uploadTimestampMillis":1389304138600,"url":"rtmp:\/\/vod.netshow.ninemsn.com.au\/ondemand\/&mp4:streams\/1622448031001\/2014\/01\/1622448031001_3033077646001_Getaway2013A-E06.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":2566920}]}

Not Working

{"renditions":[{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway_S2014_E03.mp4","encodingRate":262000,"frameHeight":270,"frameWidth":480,"id":3761040927001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":47267981,"uploadTimestampMillis":1409552909158,"url":"http:\/\/vod.netshowhd.ninemsn.com.au\/z\/hds\/1622448031001\/201408\/1590\/1622448031001_3761040927001_Getaway-S2014-E03.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":1421960},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway_S2014_E03.mp4","encodingRate":694000,"frameHeight":360,"frameWidth":640,"id":3761043378001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":123843196,"uploadTimestampMillis":1409552970383,"url":"http:\/\/vod.netshowhd.ninemsn.com.au\/z\/hds\/1622448031001\/201408\/1590\/1622448031001_3761043378001_Getaway-S2014-E03.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":1421960},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway_S2014_E03.mp4","encodingRate":2690000,"frameHeight":576,"frameWidth":1024,"id":3761043423001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":478676316,"uploadTimestampMillis":1409553089588,"url":"http:\/\/vod.netshowhd.ninemsn.com.au\/z\/hds\/1622448031001\/201408\/1590\/1622448031001_3761043423001_Getaway-S2014-E03.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":1421960},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway_S2014_E03.mp4","encodingRate":1325000,"frameHeight":360,"frameWidth":640,"id":3761043375001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":236324888,"uploadTimestampMillis":1409552970225,"url":"http:\/\/vod.netshowhd.ninemsn.com.au\/z\/hds\/1622448031001\/201408\/1590\/1622448031001_3761043375001_Getaway-S2014-E03.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":1421960},{"audioOnly":false,"controllerType":"DEFAULT","displayName":"Getaway_S2014_E03.mp4","encodingRate":1989000,"frameHeight":576,"frameWidth":1024,"id":3761040925001,"referenceId":null,"remoteStreamName":null,"remoteUrl":null,"size":354139877,"uploadTimestampMillis":1409552909065,"url":"http:\/\/vod.netshowhd.ninemsn.com.au\/z\/hds\/1622448031001\/201408\/1590\/1622448031001_3761040925001_Getaway-S2014-E03.mp4","videoCodec":"H264","videoContainer":"MP4","videoDuration":1421960}]}

Any ideas?

Comments (2)

  1. Log in to comment