Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlist files, failsafe cleanup, multiple user actions, fixes #436

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
4f36636
Add SoundCloudSoftException so that already downloaded tracks are not…
resmh Sep 7, 2022
c557cc6
Employ SoundCloudSoftException within download_track so that already …
resmh Sep 7, 2022
1ed74bf
download_url: Permit multiple actions on user profile
resmh Sep 8, 2022
aae5e33
Adjust arguments to allow multiple actions on user accounts
resmh Sep 8, 2022
3233747
Add --playlist-file, --playlist-file-retain, --playlist-file-name, --…
resmh Sep 7, 2022
6891508
Add kwdefget as argument getter with default values
resmh Sep 8, 2022
06a1afa
download_track: Implement playlist_buffer
resmh Sep 7, 2022
02ca05c
download_playlist: Skip on empty playlist
resmh Sep 7, 2022
b7623d3
download_playlist: Implement playlist file generation and playlist me…
resmh Sep 7, 2022
a3eecc1
download_url: Implement playlist generation for user likes
resmh Sep 7, 2022
c981e0c
download_url: Implement playlist generation for commented tracks
resmh Sep 7, 2022
e572a0c
download_url: Implement playlist generation for posted tracks
resmh Sep 7, 2022
3fc38e6
download_url: Implement playlist generation for joined posts and repo…
resmh Sep 7, 2022
d0b2bef
download_url: Implement playlist generation for playlists
resmh Sep 7, 2022
ae4ef26
download_url: Implement playlist generation for reposts
resmh Sep 7, 2022
412baac
download_hls: Use temporary file so interruptions will not cause inco…
resmh Sep 7, 2022
2325211
download_url: Implement limit (-n) for user likes
resmh Sep 8, 2022
4d2bddd
Add playlist_process to export m3u playlists as well as to retain cor…
resmh Sep 7, 2022
c9d2451
Add playlist_export function to generate m3u playlist files
resmh Sep 7, 2022
f3d4fad
Add playlist_import function to import m3u playlists
resmh Sep 8, 2022
296b3b4
Add playlist_map_write function to store internal playlist informatio…
resmh Sep 7, 2022
51a4c3f
Add playlist_map_read to read internal playlist information
resmh Sep 7, 2022
c01b410
Add check_item function to check item remote state
resmh Sep 8, 2022
4bb43be
main: Adjust arguments to remove_files call to also consider playlist…
resmh Sep 8, 2022
3839798
remove_files: Implement additional check against playlist files and s…
resmh Sep 8, 2022
0471b70
Update README.md
resmh Sep 8, 2022
f0ef418
set_metadata: Add error handling to fallback artwork download
resmh Sep 8, 2022
eba1eea
download_track: Add BaseException handler
resmh Sep 8, 2022
b26911c
download_playlist: Add BaseException handler
resmh Sep 9, 2022
457819e
Update scdl.cfg for consistent track names
resmh Sep 9, 2022
e25080d
remove_files: Consider all playlists within the folder
resmh Sep 14, 2022
b2ee107
Add --playlist-file-cache parameter to skip updates and metadata retr…
resmh Sep 14, 2022
787b207
playlist_process: Also generate map if playlist-file-cache set
resmh Sep 14, 2022
5220be6
download_track_cached: Lookup item path by item id and check file pre…
resmh Sep 14, 2022
ba44667
download_url: Call download_track_cached for user likes
resmh Sep 14, 2022
5842903
download_url: Call download_track_cached for user commented tracks
resmh Sep 14, 2022
b52d8db
download_url: Call download_track_cached for user tracks
resmh Sep 14, 2022
69485af
download_url: Call download_track_cached for user stream
resmh Sep 14, 2022
bfc8d8d
download_url: Call download_track_cached for user reposts
resmh Sep 14, 2022
e9b7460
download_url: Call download_track_cached for playlists
resmh Sep 14, 2022
c1fa44e
Update README.md
resmh Sep 14, 2022
d9797de
playlist_import: Adjust filter for extended m3u attributes
resmh Sep 14, 2022
6ebf3ce
download_track_cached: Adjust signature and logic
resmh Sep 14, 2022
f8ec835
download_playlist: Adjust playlist generator indentation
resmh Sep 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ scdl -l https://soundcloud.com/pandadub/sets/the-lost-ship --sync archive.txt

# Download your likes (with authentification token)
scdl me -f

# Download your likes and tracks, generate playlist files and use the cache for speedup
scdl me -f -t --playlist-file --playlist-file-cache
```

## Options:
Expand Down Expand Up @@ -87,6 +90,11 @@ scdl me -f
--auth-token [token] Specify the auth token to use
--overwrite Overwrite file if it already exists
--strict-playlist Abort playlist downloading if one track fails to download
--playlist-file Generate m3u playlist files (and additionally check them when used with --remove)
--playlist-file-retain Retain corrupted items
--playlist-file-name Specify playlist file name without extension
--playlist-file-extension Specify extension to playlist file
--playlist-file-cache Skip updates for present files
```


Expand Down
4 changes: 2 additions & 2 deletions scdl/scdl.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ client_id = a3e059563d7fd3372b49b37f00a00bcf
auth_token =
path = .
name_format = {title}
playlist_name_format = {playlist[title]}_{title}
playlist_name_format = {title}

# example name_format values:
# {timestamp}_{user[username]}_{title}
Expand All @@ -13,4 +13,4 @@ playlist_name_format = {playlist[title]}_{title}

# playlist_name_format playlist attributes:
# playlist[author] - username of playlist author
# playlist[title] - name of playlist
# playlist[title] - name of playlist
Loading