moehmeni / syncedlyrics

Get an LRC format (synchronized) lyrics for your music
MIT License
188 stars 18 forks source link

Exception handling required #37

Closed devvratmiglani closed 1 month ago

devvratmiglani commented 1 month ago

Prompt: syncedlyrics "london money ahuja" ;;Music may not exist but it should give error instead of exception hit ;;It will break integration with some other applications

Some last lines of Exception Hit: raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

moehmeni commented 1 month ago

Thanks for the suggestion. You can clone the repo for latest code changes, and then try again. Feel free to let me know in case of any error.

devvratmiglani commented 1 month ago

Got it! I will be taking it from the source.

moehmeni commented 1 month ago

I released version 0.10.0 so you can also usepip

devvratmiglani commented 1 month ago

Tq