Skip to content

Commit

Permalink
v1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Jan 24, 2022
1 parent b712671 commit a6acae9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ Similarly, rather than using `--emote_fill` to fill the background of all emotes
* [fontforge](https://fontforge.org)
* [ImageMagick](https://imagemagick.org)
* [potrace](http://potrace.sourceforge.net/) (not required on windows)
* **on debian:** `apt install potrace python3-fontforge`

note: on windows, cmd must be reopened after installing dependencies

Expand Down
10 changes: 5 additions & 5 deletions softchat/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

about = {
"name": "softchat",
"version": "1.3",
"date": "2021-09-02",
"version": "1.4",
"date": "2022-01-24",
"description": "convert twitch/youtube chat into softsubs",
"author": "ed",
"license": "MIT",
Expand Down Expand Up @@ -421,7 +421,7 @@ def main():
customs.append(x)
else:
stocks.append(x)

# only keep/convert the custom emotes
m["emotes"] = customs

Expand All @@ -431,11 +431,11 @@ def main():
uchar = emote["id"]
if len(uchar) > 8:
continue

txt = m["message"]
for sc in emote["shortcuts"]:
txt = txt.replace(sc, uchar)

m["message"] = txt

if at is None and "message" in m:
Expand Down

0 comments on commit a6acae9

Please sign in to comment.