Skip to content

Trace back error when downloading #1

Description

@Emek-Cennet

/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"])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions