mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-03-10 08:29:00 +00:00
Fix
This commit is contained in:
@@ -107,7 +107,6 @@ class Episode(Title):
|
|||||||
return ""
|
return ""
|
||||||
width = getattr(track, "width", track.height)
|
width = getattr(track, "width", track.height)
|
||||||
resolution = min(width, track.height)
|
resolution = min(width, track.height)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
dar = getattr(track, "other_display_aspect_ratio", None) or []
|
dar = getattr(track, "other_display_aspect_ratio", None) or []
|
||||||
if dar and dar[0]:
|
if dar and dar[0]:
|
||||||
@@ -156,6 +155,9 @@ class Episode(Title):
|
|||||||
name=self.name if self.name and config.insert_episodename_into_filenames else "",
|
name=self.name if self.name and config.insert_episodename_into_filenames else "",
|
||||||
).strip()
|
).strip()
|
||||||
|
|
||||||
|
if getattr(config, "repack", False):
|
||||||
|
name += " REPACK"
|
||||||
|
|
||||||
if primary_video_track:
|
if primary_video_track:
|
||||||
resolution_token = _get_resolution_token(primary_video_track)
|
resolution_token = _get_resolution_token(primary_video_track)
|
||||||
if resolution_token:
|
if resolution_token:
|
||||||
|
|||||||
Reference in New Issue
Block a user