diff options
Diffstat (limited to 'media-sound/amarok/files/amarok-1.4.4-podcast-fix.patch')
-rw-r--r-- | media-sound/amarok/files/amarok-1.4.4-podcast-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/amarok/files/amarok-1.4.4-podcast-fix.patch b/media-sound/amarok/files/amarok-1.4.4-podcast-fix.patch new file mode 100644 index 000000000000..26a5974b5bc1 --- /dev/null +++ b/media-sound/amarok/files/amarok-1.4.4-podcast-fix.patch @@ -0,0 +1,17 @@ +Index: amarok-1.4.4/amarok/src/playlistbrowseritem.cpp +=================================================================== +--- amarok-1.4.4.orig/amarok/src/playlistbrowseritem.cpp ++++ amarok-1.4.4/amarok/src/playlistbrowseritem.cpp +@@ -2051,10 +2051,10 @@ PodcastChannel::episodeExists( const QDo + } + + QString episodeTitle = xml.namedItem( "title" ).toElement().text(); +- QString episodeURL = xml.namedItem( "enclosure" ).toElement().attribute( "url" ); ++ KURL episodeURL = xml.namedItem( "enclosure" ).toElement().attribute( "url" ); + command = QString("SELECT id FROM podcastepisodes WHERE parent='%1' AND url='%2' AND title='%3';") + .arg( CollectionDB::instance()->escapeString( url().url() ), +- CollectionDB::instance()->escapeString( episodeURL ), ++ CollectionDB::instance()->escapeString( episodeURL.url() ), + CollectionDB::instance()->escapeString( episodeTitle ) ); + QStringList values = CollectionDB::instance()->query( command ); + return !values.isEmpty(); |