equal
deleted
inserted
replaced
38 else: |
38 else: |
39 info = FFmpeg('ffprobe').info(file) |
39 info = FFmpeg('ffprobe').info(file) |
40 if info: |
40 if info: |
41 self.__metadata__ = info |
41 self.__metadata__ = info |
42 else: |
42 else: |
43 self.__metadata__ = [] |
43 self.__metadata__ = {} |
44 else: |
44 else: |
45 self.__metadata__ = metadata |
45 self.__metadata__ = metadata |
46 |
46 |
47 def get_stream_info(self, codec_type=None): |
47 def get_stream_info(self, codec_type=None): |
48 """Get metadata info for given stream""" |
48 """Get metadata info for given stream""" |