put tracking titles back in tag tracker
git-svn-id: https://svn.musicpd.org/mpd/trunk@2654 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
67c7cc8e20
commit
450f2decdd
@ -24,7 +24,7 @@ typedef struct tagTrackerItem {
|
||||
char * getTagItemString(int type, char * string) {
|
||||
ListNode * node;
|
||||
|
||||
if(type == TAG_ITEM_TITLE) return strdup(string);
|
||||
/*if(type == TAG_ITEM_TITLE) return strdup(string);*/
|
||||
|
||||
if(tagLists[type] == NULL) {
|
||||
tagLists[type] = makeList(free, 1);
|
||||
@ -48,16 +48,16 @@ void removeTagItemString(int type, char * string) {
|
||||
|
||||
assert(string);
|
||||
|
||||
/*assert(tagLists[type]);*/
|
||||
assert(tagLists[type]);
|
||||
if(tagLists[type] == NULL) return;
|
||||
|
||||
node = findNodeInList(tagLists[type], string);
|
||||
/*assert(node);*/
|
||||
assert(node);
|
||||
|
||||
if(!node) {
|
||||
/*if(!node) {
|
||||
free(string);
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
|
||||
if(node) {
|
||||
TagTrackerItem * item = node->data;
|
||||
|
Loading…
Reference in New Issue
Block a user