-
Notifications
You must be signed in to change notification settings - Fork 0
Description
/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"])