-
Notifications
You must be signed in to change notification settings - Fork 11
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
App crashes if video was not found on YouTube #9
Labels
Milestone
Comments
It's probably a bug. Could you post the full output with the |
|
danguilherme
changed the title
If not found in youtube, quit
App crashes if video was not found on YouTube
Oct 5, 2018
@MuadDib81 What command did you run to get this error? |
the command I used was |
Issue fix landed in Thanks @MuadDib81 for reporting and @lnfnunes for fixing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a video is not found on youtube, I would await to skip this one and go to the next, but it throws an error and quits. I don't know if this is intended or just a bug.
Output:
...
[Downloading track] Maulisé - Une Beat Encore
TypeError: Cannot read property 'snippet' of undefined
at searchVideo.then.results (/usr/lib/node_modules/spotivy/youtube_search.js:60:65)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
[Download failed] Video not found
The text was updated successfully, but these errors were encountered: