docs: phase 2 of the prose style across docs and docstrings

This commit is contained in:
imSp4rky
2026-08-19 20:59:09 -06:00
parent 66971230c3
commit 8b10b793e2
29 changed files with 122 additions and 117 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class Episode(Title):
return str(self.air_date)
def folder_season(self) -> str:
"""Season folder label: air year for dated content, else SxxExx-style season."""
"""Season folder label: air year when the air date parsed to a date, else SxxExx-style season."""
if isinstance(self.air_date, date):
return f"{self.air_date.year:04}"
return f"S{self.season:02}"
+1 -1
View File
@@ -146,7 +146,7 @@ class Song(Title):
A song shares the episode key space, its disc reading as the season and its track
as the episode, so ``-w 1-5`` takes tracks 1 to 5 and ``-w 2x3`` takes disc 2
track 3. A song has no parts and no air date, so it answers to one key only.
track 3. A song has no parts and no air date, so it answers to its disc-and-track key only.
"""
return f"{self.disc}x{self.track}" in wanted
+1 -1
View File
@@ -217,7 +217,7 @@ class Title:
@abstractmethod
def get_filename(self, media_info: MediaInfo, folder: bool = False, show_service: bool = True) -> str:
"""
Get a Filename for this Title with the provided Media Info.
Get a Filename for this Title with the provided MediaInfo.
All filenames should be sanitized with the sanitize_filename() utility function.
Parameters: