summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/playlist.c b/playlist.c
index f5319021..2f53c368 100644
--- a/playlist.c
+++ b/playlist.c
@@ -1905,6 +1905,9 @@ pl_add_meta (playItem_t *it, const char *key, const char *value) {
// add
char str[256];
if (!value || !*value) {
+ UNLOCK;
+ return;
+#if 0
if (!strcasecmp (key, "title")) {
// cut filename without path and extension
const char *pext = pl_find_meta (it, ":URI") + strlen (pl_find_meta (it, ":URI")) - 1;
@@ -1926,6 +1929,7 @@ pl_add_meta (playItem_t *it, const char *key, const char *value) {
UNLOCK;
return;
}
+#endif
}
m = malloc (sizeof (DB_metaInfo_t));
memset (m, 0, sizeof (DB_metaInfo_t));