-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added multiprocessing feature deleted redundant lines of code still editing * corrected some deep source noticed errors * more deepsource error correction * deep source * corrected imports * updated imports * correcting errors shown by deep source * deep source errors * deep source errors * correcting deepsource errors * Update spotify_dl.py * Update youtube.py * Update youtube.py * Update youtube.py * Update scaffold.py * Update youtube.py * Update youtube.py * Update youtube.py * Update scaffold.py * Update youtube.py * Update scaffold.py * Update youtube.py * Update youtube.py * Update youtube.py * Update spotify_dl.py * Update youtube.py * Update youtube.py * Update youtube.py * Update youtube.py * Update spotify_dl.py * updated readme * Update README.md * fixed comma delimiter confusion [csv] making local repo up to date with remote repo * corrected some errors in the tag editing code * changed tests.. still editing though * Remove unused imports * Remove commented out code * all tests now pass.. made some changes to tests manually fixed merge conflict * corrected get_tokens import * added yt search to requirements.txt * update tests.yml added youtube search to dependencies * removed youtube search, added backlash to special chars * Update youtube.py * readme update to include multiprocessing * Update README.md * Delete tags.txt * Delete setup_creds.sh * Delete All Songs For This Download.txt * Update youtube.py * Delete .cache * Update scaffold.py * Update scaffold.py * Update youtube.py * Update spotify_dl.py validated number of cpu cores requested * Update spotify_dl.py * Update spotify_dl.py * Update spotify_dl.py * Update youtube.py removed un used variable * Update spotify.py * Update youtube.py * Delete .cache * Update .gitignore * Update README.md Co-authored-by: Sathyajith Bhat <sathya@sathyasays.com> * edits on file names * updated black formatter configs * Update tests.yml * Delete setup_creds.sh * Delete .cache * corrected deepsource errors * corrected deepsource errors * Update youtube.py * Update youtube.py * all tests now pass * Update youtube.py * Update youtube.py * Update youtube.py * Update spotify_dl.py removed the else bit from local config parser * Update utils.py * Update utils.py * Update utils.py * Update GETTING_STARTED.md fixed windows cmd tokens config instruction * fixed verbose mode * Update spotify.py Co-authored-by: kithstack <kithstack@pop-os.localdomain> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: Sathyajith Bhat <sathya@sathyasays.com>
- Loading branch information
1 parent
956501c
commit a0650f2
Showing
15 changed files
with
1,081 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bkup/ | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import signal | ||
import sys | ||
|
||
|
||
def signal_handler(sig, frame): | ||
# Signal handler to handle SIGINT, usually when Ctrl+C is pressed.. or if SIGINT is sent. | ||
# Thanks to https://stackoverflow.com/a/1112350/92837 | ||
print('\nCaught interrupt(did you press Ctrl+C?), stopping spotify_dl') | ||
print("\nCaught interrupt(did you press Ctrl+C?), stopping spotify_dl") | ||
sys.exit(0) | ||
|
||
|
||
signal.signal(signal.SIGINT, signal_handler) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.