Page MenuHomeSolus

Update python-pysrt to 1.1.2
ClosedPublic

Authored by algent on Sat, Sep 12, 4:49 PM.

Details

Summary

Changelog:

  • open(): don't use universal 'U' mode
  • Switched broken pypip.in badges to shields.io
  • __future__ imports must occur at the beginning of the file
  • if file not exist show message
  • Add Python 3 trove classifiers

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan

By using subliminal download a subtitle:

$ subliminal download -l en The.Big.Bang.Theory.S05E18.HDTV.x264-LOL.mp4

Then use python-pysrt commands for "Shifting", "Spliting" and "Rescaling":

$ srt -i shift 2s500ms The.Big.Bang.Theory.S05E18.HDTV.x264-LOL.en.srt
$ srt split 58m26s The.Big.Bang.Theory.S05E18.HDTV.x264-LOL.en.srt
$ srt -i rate 23.9 25 The.Big.Bang.Theory.S05E18.HDTV.x264-LOL.en.srt

Diff Detail

Repository
R2671 python-pysrt
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Sat, Sep 12, 4:49 PM
algent requested review of this revision.Sat, Sep 12, 4:49 PM
JoshStrobl accepted this revision.Tue, Sep 15, 9:33 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Tue, Sep 15, 9:33 AM
This revision was automatically updated to reflect the committed changes.