[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-bugs-dist
Subject: [Bug 146020] amarok last.fm this item is not available for streaming
From: Seb Ruiz <me () sebruiz ! net>
Date: 2007-05-31 8:14:42
Message-ID: 20070531081442.21197.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=146020
------- Additional Comments From me sebruiz net 2007-05-31 10:14 -------
SVN commit 670067 by seb:
Forward port r670063 to trunk
CCBUG: 146020
M +4 -5 lastfm.cpp
M +2 -2 playlistwindow.cpp
--- trunk/extragear/multimedia/amarok/src/lastfm.cpp #670066:670067
@ -235,10 +235,9 @
QString token;
CustomStationDialog dialog( 0 );
- if( dialog.exec() == QDialog::Accepted ) {
- const QStringList artists = dialog.text().split( ',' );
- for( int i = 0; i < artists.count(); i++ )
- token += ( i > 0 ? "," : "" ) + artists[i].simplified();
+ if( dialog.exec() == QDialog::Accepted )
+ {
+ token = dialog.text();
}
return token;
@ -1102,7 +1101,7 @
setMainWidget( vbox );
- new QLabel( i18n( "Enter the name of a band or artist you like:\n(You can enter multiple artists \
separated by commas)" ), mainWidget() ); + new QLabel( i18n( "Enter the name of a band or artist you \
like:" ), mainWidget() );
m_edit = new KLineEdit( mainWidget() );
m_edit->setFocus();
--- trunk/extragear/multimedia/amarok/src/playlistwindow.cpp #670066:670067
@ -809,7 +809,7 @
const QString token = LastFm::Controller::createCustomStation();
if( token.isEmpty() ) return;
- const KUrl url( "lastfm://artistnames/" + token );
+ const KURL url( "lastfm://artist/" + token + "/similarartists" );
Playlist::instance()->insertMedia( url, Playlist::Append|Playlist::DirectPlay );
}
@ -819,7 +819,7 @
const QString token = LastFm::Controller::createCustomStation();
if( token.isEmpty() ) return;
- const KUrl url( "lastfm://artistnames/" + token );
+ const KURL url( "lastfm://artist/" + token + "/similarartists" );
Playlist::instance()->insertMedia( url, Playlist::Append|Playlist::DirectPlay );
}
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic