21
24
QUrl AalUtility::unescape(const QMediaContent &media)
26
29
if (media.canonicalUrl().isLocalFile()) {
27
31
qDebug() << "Local file URI: " << QUrl::fromPercentEncoding(media.canonicalUrl().toString().toUtf8());
28
33
return QUrl::fromPercentEncoding(media.canonicalUrl().toString().toUtf8());
31
37
qDebug() << "Remote stream URI: " << QUrl::fromEncoded(media.canonicalUrl().toString().toUtf8());
32
39
return QUrl::fromEncoded(media.canonicalUrl().toString().toUtf8());