glyr
glyr copied to clipboard
Need some/more exit codes
trafficstars
My usecase:
% glyrc cover -a "Владимир Высоцкий" -b "Чёрные бушлаты"
- Artist : владимир высоцкий
- Album : чёрные бушлаты
- Language : ru
- Type : cover
---- Triggering: musictree local coverartarchive
---- Triggering: lastfm jamendo musicbrainz
---- Triggering: slothradio lyricswiki discogs
---- Triggering: rhapsody picsearch google
% echo $?
0
I see, I don't get a cover. 'exit 0' looks fine, but not in the case.
I believe this is already fixed in 69d655f469c83e906bec4d0529105416549a2dc4, which should be present in 1.0.6. Do you use an old version?
Your above command yields an exit status of 1 for me.
I'm sorry. I use 1.0.5.
And I mean a bit more. Something like this: 1 - goes wrong in the program/library 2 - no connection to internet 3 - connected, not allowed 4 - connected, not received ... 99 - nobody knows what is happened
And I read 'man curl(1)' ;)
Not a bug — just a feature request. Please, move the thread. Thanks.