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

Add dollar sign to clean up list #159

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

jdsampayo
Copy link
Contributor

It ain't much, but it's honest work...

Before:

[download] Downloading playlist: de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics
[youtube:search] query "de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics": Downloading page 1
[youtube:search] playlist de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics: Downloading 0 videos
[download] Finished downloading playlist: de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics
Traceback (most recent call last):
  File "/home/jorge/.local/lib/python3.8/site-packages/mutagen/_util.py", line 251, in _openfile
    fileobj = open(filename, "rb+" if writable else "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/home/jorge/cafe/Café, Libros./de$ mondo, Natalie Major - I Want It That Way - Acoustic.mp3'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/spotify_dl", line 33, in <module>
    sys.exit(load_entry_point('spotify-dl==7.5.0', 'console_scripts', 'spotify_dl')())
  File "/home/jorge/.local/lib/python3.8/site-packages/spotify_dl/spotify_dl.py", line 84, in spotify_dl
    download_songs(songs, save_path, args.format_str, args.skip_mp3)
  File "/home/jorge/.local/lib/python3.8/site-packages/spotify_dl/youtube.py", line 52, in download_songs
    song_file = MP3(path.join(download_directory, f"{song.get('artist')} - {song.get('name')}.mp3"),
  File "/home/jorge/.local/lib/python3.8/site-packages/mutagen/_file.py", line 48, in __init__
    self.load(*args, **kwargs)
  File "/home/jorge/.local/lib/python3.8/site-packages/mutagen/_util.py", line 154, in wrapper
    with _openfile(self, filething, filename, fileobj,
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/jorge/.local/lib/python3.8/site-packages/mutagen/_util.py", line 272, in _openfile
    raise MutagenError(e)
mutagen.MutagenError: [Errno 2] No such file or directory: '/home/jorge/cafe/Café, Libros./de$ mondo, Natalie Major - I Want It That Way - Acoustic.mp3

After:

[download] Downloading playlist: de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics
[youtube:search] query "de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics": Downloading page 1
[youtube:search] playlist de$ mondo, Natalie Major - I Want It That Way - Acoustic Lyrics: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] 1CSYywMR9X0: Downloading webpage
[youtube] Downloading just video 1CSYywMR9X0 because of --no-playlist
[download] Destination: /home/jorge/cafe/Café, Libros./de$ mondo, Natalie Major - I Want It That Way - Acoustic.webm
[download] 100% of 3.78MiB in 00:07
[ffmpeg] Destination: /home/jorge/cafe/Café, Libros./de$ mondo, Natalie Major - I Want It That Way - Acoustic.mp3

@SathyaBhat
Copy link
Owner

Thank you for your contribution!

@SathyaBhat SathyaBhat closed this Apr 9, 2021
@SathyaBhat SathyaBhat reopened this Apr 9, 2021
@SathyaBhat SathyaBhat merged commit fca7ca7 into SathyaBhat:master Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants