esv: substitute hyphens in books with -a

Fixes: https://todo.sr.ht/~jeremy/esv/7
This commit is contained in:
Jeremy Baxter 2024-07-03 11:18:00 +12:00
parent aba8532be4
commit e1cf13c8d7

2
esv.d
View file

@ -137,7 +137,7 @@ key = %s
string tmpf, player; string tmpf, player;
try try
tmpf = esv.getAudioPassage(args[1], args[2]); tmpf = esv.getAudioPassage(parseBook(args[1]), args[2]);
catch (CurlException e) catch (CurlException e)
die(e.msg); die(e.msg);
player = environment.get(cf.playerEnv, cf.mp3Player); player = environment.get(cf.playerEnv, cf.mp3Player);