From 21fb550444714d193e83f5255956710aca5e13ef Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Thu, 22 Dec 2011 21:09:39 +0100 Subject: [PATCH] Use filename if no title tag exists --- src/PEPThread.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PEPThread.m b/src/PEPThread.m index 80577e1..91976ae 100644 --- a/src/PEPThread.m +++ b/src/PEPThread.m @@ -106,6 +106,12 @@ elementWithName: @"title" namespace: NS_TUNE stringValue: answer]]; + else if ((answer = + [response objectForKey: @"file"])) + [tune addChild: [OFXMLElement + elementWithName: @"title" + namespace: NS_TUNE + stringValue: answer]]; if ((answer = [response objectForKey: @"Track"])) [tune addChild: [OFXMLElement -- 2.39.5