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

Trace back error when downloading #1

Open
Emek-Cennet opened this issue May 4, 2023 · 1 comment
Open

Trace back error when downloading #1

Emek-Cennet opened this issue May 4, 2023 · 1 comment

Comments

@Emek-Cennet
Copy link

/usr/local/lib/python3.9/dist-packages/spotdl/console/entry_point.py:124 in console_entry_point │
│ │
│ 121 │ try: │
│ 122 │ │ # Pick the operation to perform │
│ 123 │ │ # based on the name and run it! │
│ ❱ 124 │ │ OPERATIONS[arguments.operation]( │
│ 125 │ │ │ query=arguments.query, │
│ 126 │ │ │ downloader=downloader, │
│ 127 │ │ ) │
│ │
│ /usr/local/lib/python3.9/dist-packages/spotdl/console/download.py:28 in download │
│ │
│ 25 │ songs = get_simple_songs(query, use_ytm_data=downloader.settings["ytm_data"]) │
│ 26 │ │
│ 27 │ # Download the songs │
│ ❱ 28 │ downloader.download_multiple_songs(songs) │
│ 29 │
│ │
│ /usr/local/lib/python3.9/dist-packages/spotdl/download/downloader.py:292 in download_multiple_songs │
│ │
│ 289 │ │ │
│ 290 │ │ # Save results to a file │
│ 291 │ │ if self.settings["save_file"]: │
│ ❱ 292 │ │ │ with open(self.settings["save_file"], "w", encoding="utf-8") as save_file: │
│ 293 │ │ │ │ json.dump([song.json for song, _ in results], save_file, indent=4) │
│ 294 │ │ │ │
│ 295 │ │ │ logger.info("Saved results to %s", self.settings["save_file"])

@Emek-Cennet
Copy link
Author

I changed the config to: "save_file": "/home/Ker/Music.spotdl",
And it seems to have stopped working as a result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant