Skip to content

Commit

Permalink
Merge pull request #33 from SenZmaKi/v2.1.7
Browse files Browse the repository at this point in the history
v2.1.7
  • Loading branch information
SenZmaKi authored Apr 2, 2024
2 parents c943289 + 95c60a2 commit f2e398c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 12 deletions.
6 changes: 1 addition & 5 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Bug fixes

- senpcli: Fix rejected downloads when start episode is specified but end episode isn't

# New features

- senpcli: Show release notes when about to update
- pahe: Fix issue with alleged episode count exceeding actual number of episodes
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "senpwai"
version = "2.1.6"
version = "2.1.7"
description = "A desktop app for tracking and batch downloading anime"
authors = ["SenZmaKi <[email protected]>"]
license = "GPL v3"
Expand Down
5 changes: 5 additions & 0 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ def main() -> None:
announce.main(
f"Version {bump_version.get_new_version()} is Out!", release_notes
)
log_info(f"Finished release {BRANCH_NAME}")
if "--skip_new_branch" not in ARGS:
new_branch_name = input("Enter new branch name\n> ")
if new_branch_name:
subprocess.run(f"git checkout -b {new_branch_name}").check_returncode()


if __name__ == "__main__":
Expand Down
4 changes: 2 additions & 2 deletions scripts/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Senpwai"
#define MyAppVersion "2.1.6"
#define MyAppVersion "2.1.7"
#define MyAppPublisher "AkatsuKi Inc."
#define MyAppURL "https://github.com/SenZmaKi/Senpwai"
#define MyAppExeName "Senpwai.exe"
Expand All @@ -14,7 +14,7 @@
AppId={{B1AC746D-A6F0-44EF-B812.1.8-0DF4571B51}}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
VersionInfoVersion=2.1.6.0
VersionInfoVersion=2.1.7.0
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
Expand Down
4 changes: 2 additions & 2 deletions scripts/setup_senpcli.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Senpcli"
#define MyAppVersion "2.1.6"
#define MyAppVersion "2.1.7"
#define MyAppPublisher "AkatsuKi Inc."
#define MyAppURL "https://github.com/SenZmaKi/Senpwai"
#define MyAppExeName "Senpcli.exe"
Expand All @@ -14,7 +14,7 @@
AppId={{7D4A0DD5-EACB-45-81FC-2.1.85FCFF05BB6}}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
VersionInfoVersion=2.1.6.0
VersionInfoVersion=2.1.7.0
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_current_branch_name() -> str:


def log_info(msg: str) -> None:
print(f"[+] Info: {msg}")
print(f"[*] Info: {msg}")


def log_warning(msg: str) -> None:
Expand Down
3 changes: 3 additions & 0 deletions senpwai/utils/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ def lacked_episodes(
# Episode count is what is used to generate lacking_episode_numbers, episode count is gotten from anime the page which uses subbed episodes count
# so for an anime where sub episodes are ahead of dub the missing episodes will be outside the range of the episode_page_links
first_eps_number = lacking_episode_numbers[0]
# If the alleged episode count is more than the actual number of episodes the site has e.g., Gintama on animpahe
if len(lacking_episode_numbers) > len(episode_page_links):
lacking_episode_numbers = lacking_episode_numbers[: len(episode_page_links)]
return [
episode_page_links[eps_number - first_eps_number]
for eps_number in lacking_episode_numbers
Expand Down
2 changes: 1 addition & 1 deletion senpwai/utils/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

APP_NAME = "Senpwai"
APP_NAME_LOWER = "senpwai"
VERSION = "2.1.6"
VERSION = "2.1.7"
DESCRIPTION = "A desktop app for tracking and batch downloading anime"

IS_PIP_INSTALL = False
Expand Down

0 comments on commit f2e398c

Please sign in to comment.