diff options
| author | Robert Honz <exislow+github@gmail.com> | 2025-01-11 16:07:05 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2025-01-11 16:07:30 +0100 |
| commit | bf7000cab0a4b3807606b659a48981283dd08367 (patch) | |
| tree | 767cad52b976c24aa795a1e8e58c53fafb4f8e0b | |
| parent | 8e66cb325986f800ee31629ff58453068c2816d4 (diff) | |
| download | tidal-dl-ng-bf7000cab0a4b3807606b659a48981283dd08367.tar.gz | |
🛠️ Fix: Playlist was not created if symlink was deactivated. Fixes #322
| -rw-r--r-- | tidal_dl_ng/download.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index 5912531..a91aae0 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -755,6 +755,8 @@ class Download: # If it's a symlink write the relative file path to the actual track into the playlist file if path_track.is_symlink(): media_file_target = path_track.resolve().relative_to(path_track.parent, walk_up=True) + else: + media_file_target = path_track.name f.write(str(media_file_target) + os.linesep) |
