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

Failing to download album #47

Closed
UnixNight opened this issue Apr 14, 2020 · 3 comments
Closed

Failing to download album #47

UnixNight opened this issue Apr 14, 2020 · 3 comments

Comments

@UnixNight
Copy link

UnixNight commented Apr 14, 2020

Im getting this when I try to download this album.

https://downloads.khinsider.com/game-soundtracks/album/sonic-the-hedgehog-boom-the-music-from-sonic-cd-and-sonic-

PS F:\Downloads\khinsider-master> .\khinsider.py --format flac sonic-the-hedgehog-boom-the-music-from-sonic-cd-and-sonic-                                       Getting song list...

An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/khinsider/issues.
Attach the following error message:

Traceback (most recent call last):
  File "F:\Downloads\khinsider-master\khinsider.py", line 589, in <module>
    sys.exit(doIt())
  File "F:\Downloads\khinsider-master\khinsider.py", line 533, in doIt
    success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
  File "F:\Downloads\khinsider-master\khinsider.py", line 408, in download
    return Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
  File "F:\Downloads\khinsider-master\khinsider.py", line 323, in download
    files.append(getAppropriateFile(song, formatOrder))
  File "F:\Downloads\khinsider-master\khinsider.py", line 175, in getAppropriateFile
    return song.files[0]
IndexError: list index out of range
PS F:\Downloads\khinsider-master>        

Happens with this as well.

https://downloads.khinsider.com/game-soundtracks/album/sonic-the-hedgehog-caf-selection

An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/khinsider/issues.
Attach the following error message:

Traceback (most recent call last):
  File "F:\Downloads\khinsider-master\khinsider.py", line 589, in <module>
    sys.exit(doIt())
  File "F:\Downloads\khinsider-master\khinsider.py", line 533, in doIt
    success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
  File "F:\Downloads\khinsider-master\khinsider.py", line 408, in download
    return Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
  File "F:\Downloads\khinsider-master\khinsider.py", line 323, in download
    files.append(getAppropriateFile(song, formatOrder))
  File "F:\Downloads\khinsider-master\khinsider.py", line 168, in getAppropriateFile
    return song.files[0]
IndexError: list index out of range
PS F:\Downloads\khinsider-master>                                                                                                                                                                          ```
@obskyr
Copy link
Owner

obskyr commented Apr 14, 2020

Hmm – it doesn't occur for me with the same command.

  • Are you using the latest version of the script?
  • Was it a temporary fault with the KHInsider website? Does it work if you try it now?

If not, what version of Python and what OS are you on?

@UnixNight
Copy link
Author

My apologies, I didn't realize there was a new version of the script. Closing this issue

@obskyr
Copy link
Owner

obskyr commented Apr 15, 2020

Nice; glad you got it solved.

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

2 participants