-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index d7447b7..200ec16 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp | |||
@@ -1057,5 +1057,7 @@ void PlayListWidget::openFile() { | |||
1057 | // http://205.188.234.129:8030 | 1057 | // http://205.188.234.129:8030 |
1058 | // http://66.28.68.70:8000 | 1058 | // http://66.28.68.70:8000 |
1059 | qDebug("Selected filename is "+filename); | 1059 | filename.replace(QRegExp("%20")," "); |
1060 | |||
1061 | qDebug("Selected filename is "+filename); | ||
1060 | if(filename.right(3) == "m3u") | 1062 | if(filename.right(3) == "m3u") |
1061 | readm3u( filename); | 1063 | readm3u( filename); |
@@ -1207,4 +1209,5 @@ void PlayListWidget::readm3u(const QString &filename) { | |||
1207 | d->selectedFiles->addToSelection( lnk); | 1209 | d->selectedFiles->addToSelection( lnk); |
1208 | } else { // is url | 1210 | } else { // is url |
1211 | s.replace(QRegExp("%20")," "); | ||
1209 | DocLnk lnk( s); | 1212 | DocLnk lnk( s); |
1210 | QString name = s.right( s.length() - 7); | 1213 | QString name = s.right( s.length() - 7); |
@@ -1243,4 +1246,5 @@ void PlayListWidget::readPls(const QString &filename) { | |||
1243 | if(s.left(4) == "File") { | 1246 | if(s.left(4) == "File") { |
1244 | s=s.right(s.length() - 6); | 1247 | s=s.right(s.length() - 6); |
1248 | s.replace(QRegExp("%20")," "); | ||
1245 | qDebug("adding "+s+" to playlist"); | 1249 | qDebug("adding "+s+" to playlist"); |
1246 | // numberofentries=2 | 1250 | // numberofentries=2 |