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:
parent
415119e2d8
commit
08fb63fd02
|
@ -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))))
|
||||
|
|
Loading…
Reference in New Issue