~ubuntu-branches/ubuntu/vivid/gpodder/vivid-proposed

« back to all changes in this revision

Viewing changes to share/gpodder/extensions/ted_subtitles.py

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-04-12 22:07:02 UTC
  • mfrom: (5.2.27 sid)
  • Revision ID: package-import@ubuntu.com-20130412220702-mux8v9r8zt2jin0x
Tags: 3.5.1-1
* New upstream release.
* d/control: declare versioned dependency on python-gtk2 (>= 2.16)

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
 
89
89
        intro = episode_data.split('introDuration%22%3A')[1] \
90
90
                            .split('%2C')[0] or 15
91
 
        intro = intro*1000
 
91
        intro = int(intro)*1000
92
92
        current_filename = episode.local_filename(create=False)
93
93
        srt_filename = self.get_srt_filename(current_filename)
94
94
        sub = self.ted_to_srt(sub_data, int(intro))