Skip to content

Commit

Permalink
chore: bump version to 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
anderson-oki committed May 26, 2024
1 parent 62e64f2 commit 73d05f0
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 14 deletions.
8 changes: 8 additions & 0 deletions libs/bin/pysubs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/Users/andy/Projects/bazarr/venv/bin/python3.11
# -*- coding: utf-8 -*-
import re
import sys
from pysubs2.cli import __main__
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(__main__())
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pysubs2
Version: 1.7.1
Version: 1.7.2
Summary: A library for editing subtitle files
Home-page: https://github.com/tkarabela/pysubs2
Author: Tomas Karabela
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
../../bin/pysubs2,sha256=qbyZPJ0JMXc2Ii34KZgXKNvu1v8En-GFSWQFwhstugg,249
pysubs2-1.7.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
pysubs2-1.7.1.dist-info/LICENSE.txt,sha256=WYgskvBrUBBDxuKH9JSV1u22g-UBTwHjeuJLlPp6lWU,1063
pysubs2-1.7.1.dist-info/METADATA,sha256=JrRMxw_YmL-TZUxh4FwYtkl28GPDmex-0-KWsJGFMZI,3183
pysubs2-1.7.1.dist-info/RECORD,,
pysubs2-1.7.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
pysubs2-1.7.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
pysubs2-1.7.1.dist-info/entry_points.txt,sha256=mznmeaia9Ec19KsaIM8D4tt6V0HnOUlPhSg5nXiAfAE,49
pysubs2-1.7.1.dist-info/top_level.txt,sha256=i_V6JX-AWjMX15-Dzyc0RlrInU7Zun9PYfdB9brM95E,8
pysubs2-1.7.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
pysubs2-1.7.2.dist-info/LICENSE.txt,sha256=WYgskvBrUBBDxuKH9JSV1u22g-UBTwHjeuJLlPp6lWU,1063
pysubs2-1.7.2.dist-info/METADATA,sha256=2Fm6UaI7kElE-smr83cNBIfWRXt0vfso1Kyx5sChjB0,3183
pysubs2-1.7.2.dist-info/RECORD,,
pysubs2-1.7.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
pysubs2-1.7.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
pysubs2-1.7.2.dist-info/entry_points.txt,sha256=mznmeaia9Ec19KsaIM8D4tt6V0HnOUlPhSg5nXiAfAE,49
pysubs2-1.7.2.dist-info/top_level.txt,sha256=i_V6JX-AWjMX15-Dzyc0RlrInU7Zun9PYfdB9brM95E,8
pysubs2/__init__.py,sha256=L71MMMS6zcAiGWdddhnc4COZmKLYX__igP0Tr5q-y3Q,783
pysubs2/__main__.py,sha256=3iAK73rLxjLJqFMYD-jn3PDJvHZ8rIOW_NgsmBkRGhA,134
pysubs2/__pycache__/__init__.cpython-311.pyc,,
Expand All @@ -19,7 +19,7 @@ pysubs2/__pycache__/ssafile.cpython-311.pyc,,
pysubs2/__pycache__/ssastyle.cpython-311.pyc,,
pysubs2/__pycache__/time.cpython-311.pyc,,
pysubs2/cli.py,sha256=lFVZsLChtnnaRov2lNEHlecTJaoNNvTLMQmZe0-4oGE,11916
pysubs2/common.py,sha256=ZAjpiFJ_0yKi35PxXHZbzDizI6FEdTMqrxmQvihZGfc,1503
pysubs2/common.py,sha256=33XyqTSPqUNMedlnVkx-7GWFwvX0Fpce1G_ZHHtwQuI,1503
pysubs2/exceptions.py,sha256=5XMoOvloP4QPPkEPour6YalxomcK-RkJA9eb_ecIbH0,2318
pysubs2/formats/__init__.py,sha256=KZy9IibVmK-WwCHAYYplJELmYEnQu9BBRz5HEvyZ5U4,2515
pysubs2/formats/__pycache__/__init__.cpython-311.pyc,,
Expand All @@ -33,7 +33,7 @@ pysubs2/formats/__pycache__/tmp.cpython-311.pyc,,
pysubs2/formats/__pycache__/webvtt.cpython-311.pyc,,
pysubs2/formats/__pycache__/whisper.cpython-311.pyc,,
pysubs2/formats/base.py,sha256=zzt4L3KIC6VrUNfzwjDHSF5HV7swrdo65dop90vfy70,2959
pysubs2/formats/jsonformat.py,sha256=mb07d1i7duUvLLEUvNPdSBs3gHGRJ6tZYPqhgKa1tsE,2101
pysubs2/formats/jsonformat.py,sha256=TWk_qOI0-GaV_Jzs2S5JOe7uWu7t1jllO9NYOnZgRcE,2101
pysubs2/formats/microdvd.py,sha256=hfshagBIMMPz3WgqpttYGugtAj_6CheAiTkvTTrn3NE,5970
pysubs2/formats/mpl2.py,sha256=vpyL5j7gxxkGvWvI8JXwFlHaEyCBHYTn_mtgk4zqNFw,1970
pysubs2/formats/subrip.py,sha256=VsEhj6aX_NZdUbecxjKk-5Ri7GcUdGh8dfzZVTsAZSM,7484
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/pysubs2/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def to_ssa_alignment(self) -> int:


#: Version of the pysubs2 library.
VERSION = "1.7.1"
VERSION = "1.7.2"


IntOrFloat = Union[int, float]
2 changes: 1 addition & 1 deletion libs/pysubs2/formats/jsonformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class JSONFormat(FormatBase):
@classmethod
def guess_format(cls, text: str) -> Optional[str]:
"""See :meth:`pysubs2.formats.FormatBase.guess_format()`"""
if text.startswith("{\"") and "\"info:\"" in text:
if text.startswith("{\"") and "\"info\":" in text:
return "json"
else:
return None
Expand Down
2 changes: 1 addition & 1 deletion libs/version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ knowit==0.5.2
Mako==1.3.2
pycountry==23.12.11
pyrsistent==0.20.0
pysubs2==1.6.1
pysubs2==1.7.2
python-engineio==4.9.0
python-socketio==5.11.1
pytz==2024.1
Expand Down

0 comments on commit 73d05f0

Please sign in to comment.