Changeset 2272
- Timestamp:
- 2006-05-13 15:19:48 (3 years ago)
- Files:
-
- annoamp/trunk/annoamp.py (modified) (1 diff)
- annoamp/trunk/anxplayer.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
annoamp/trunk/annoamp.py
r2271 r2272 312 312 history[filename] = [0, 0, 0] 313 313 parent = playlist.append(None, [filename, 0, filename]) 314 player.load_ file_info(filename)314 player.load_tag_info(filename) 315 315 316 316 def open_URL(widget): annoamp/trunk/anxplayer.py
r2271 r2272 138 138 self.on_clip_change(self.current,self.pos) 139 139 140 def load_ file_info(self,filename):140 def load_tag_info(self,filename): 141 141 #create a fake pipeline which we'll play, gathering all the tags and storing this information 142 142 fake = gst.Pipeline () … … 191 191 self.debug("end: " + format_time(tag.props.end_time/gst.SECOND),1) 192 192 tag_info.clip_info.append(tag) #clip info 193 if key == "title":193 elif key == "title": 194 194 tag_info.title = tag 195 else: 196 self.debug("Unhandled tag: "+key+" ("+str(tag)+")") 195 197 196 198 taglist = message.parse_tag()