Merge pull request #4656 from sobkas/master

Produce a proper url for date parse error
This commit is contained in:
John Maguire 2014-12-16 13:28:39 +01:00
commit cae4aff17d
1 changed files with 2 additions and 3 deletions

View File

@ -215,9 +215,8 @@ void PodcastParser::ParseItem(QXmlStreamReader* reader, Podcast* ret) const {
if (!episode.publication_date().isValid()) {
qLog(Error) << "Unable to parse date:" << date
<< "Please submit it to "
<< QUrl::toPercentEncoding(QString("https://github.com/clementine-player/Clementine/"
"issues/new?title=[podcast]"
" Unable to parse date: %1").arg(date));
<< "https://github.com/clementine-player/Clementine/issues/new?title="
+ QUrl::toPercentEncoding(QString("[podcast] Unable to parse date: %1").arg(date));
}
} else if (name == "duration" && lower_namespace == kItunesNamespace) {
// http://www.apple.com/itunes/podcasts/specs.html