Skip to content

Commit

Permalink
Fix playlist_info for original downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Jul 30, 2024
1 parent 643aab8 commit 091596c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scdl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Python Soundcloud Music Downloader."""

__version__ = "v2.11.3"
__version__ = "v2.11.4"
3 changes: 2 additions & 1 deletion scdl/scdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@ def download_original_file(
not encoding_to_flac, # copy the stream only if we aren't re-encoding to flac
filename,
kwargs,
playlist_info=playlist_info,
skip_re_encoding=not encoding_to_flac,
)

Expand Down Expand Up @@ -1381,7 +1382,7 @@ def re_encode_to_out(
should_copy: bool,
filename: str,
kwargs: SCDLArgs,
playlist_info: Optional[PlaylistInfo] = None,
playlist_info: Optional[PlaylistInfo],
skip_re_encoding: bool = False,
) -> None:
to_stdout = is_downloading_to_stdout(kwargs)
Expand Down

0 comments on commit 091596c

Please sign in to comment.