studionow / pybrightcove

Python Implementation of the Brightcove Backend Integration API
http://help.brightcove.com/developer/docs/mediaapi/media-API.cfm
MIT License
29 stars 28 forks source link

reference_id not handled when uploading new video #32

Open madlag opened 14 years ago

madlag commented 14 years ago

Video init ignore reference_id when uploading a new video using the API. The last line in this code snippet is missing in the original code:

      if ((renditions and len(renditions) > 0) or filename) and name and short_description:
            if filename is not None:
                self._filename = filename
            if renditions is not None:
                self.renditions = renditions
            self.name = name
            self.short_description = short_description
            self.reference_id = reference_id