Page MenuHomeSolus

Update python-pysrt to 1.1.2
ClosedPublic

Authored by algent on Sep 12 2020, 4:49 PM.
Tags
None
Referenced Files
F11047667: D9637.diff
Thu, Aug 10, 3:43 PM
F10981743: D9637.id.diff
Sun, Jul 23, 7:59 AM
F10847876: D9637.id23215.diff
Jun 11 2023, 12:23 PM
F10843224: D9637.id23289.diff
Jun 10 2023, 5:15 PM
F10834978: D9637.diff
Jun 7 2023, 6:34 PM
F10784577: D9637.id23215.diff
May 26 2023, 1:23 AM
F10753883: D9637.diff
May 16 2023, 7:15 PM
F10752127: D9637.id23289.diff
May 16 2023, 2:14 PM
Subscribers

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
Lint Not Applicable
Unit
Tests Not Applicable