commit 27a06bcde36e235c2d0340bd495ae3504ede3480 sin <sin@2f30.org> 2014-12-28 15:51:00 +0000 Just return the old entry if it already exists
library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library.c b/library.c index ab18912..e200b89 100644 --- a/library.c +++ b/library.c @@ -21,7 +21,7 @@ addlibrary(const char *path) s = findsong(path); if (s) - return NULL; + return s; d = matchdecoder(path); if (!d)