Fixed off-by-one error in track numbering

Discovered an off-by-one error.  Enumerate starts at zero; normal people
expect their tracks to start with 1.
This commit is contained in:
Elf M. Sternberg 2016-05-28 12:52:25 -07:00
parent 415119e2d8
commit 08fb63fd02
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@
(try
(let [[tag (.Tag eyeD3)]]
(tag.link filename)
(, pos (str (.getArtist tag)) (str (.getAlbum tag))
(, (+ pos 1) (str (.getArtist tag)) (str (.getAlbum tag))
(str (.getGenre tag)) (str (.getTitle tag)) filename))
(catch [err Exception]
(, filename "" "" "" "" 1))))