diff options
author | 2011-03-23 21:21:45 +0100 | |
---|---|---|
committer | 2011-03-23 21:21:45 +0100 | |
commit | 11e63b53b8c91da89592c373bb32fc2b656c6024 (patch) | |
tree | 28c869d99bb8337a3b3415f4c4ec18ffc71d956b /playlist.c | |
parent | 4a0f3f780b88e3db50acc1fb4750657a79342eb7 (diff) |
don't auto-fill track title with filename
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)); |