Changeset View
Changeset View
Standalone View
Standalone View
src/services/lastfm/meta/LastFmMultiPlayableCapability.cpp
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | |||||
90 | 90 | | |||
91 | void | 91 | void | ||
92 | LastFmMultiPlayableCapability::error( lastfm::ws::Error e ) | 92 | LastFmMultiPlayableCapability::error( lastfm::ws::Error e ) | ||
93 | { | 93 | { | ||
94 | // last.fm is returning an AuthenticationFailed message when the user is not | 94 | // last.fm is returning an AuthenticationFailed message when the user is not | ||
95 | // a subscriber, even if the credentials are OK | 95 | // a subscriber, even if the credentials are OK | ||
96 | if( e == lastfm::ws::SubscribersOnly || e == lastfm::ws::AuthenticationFailed ) | 96 | if( e == lastfm::ws::SubscribersOnly || e == lastfm::ws::AuthenticationFailed ) | ||
97 | { | 97 | { | ||
98 | Amarok::Components::logger()->longMessage( i18n( "To listen to Last.fm streams " | 98 | Amarok::Logger::longMessage( i18n( "To listen to Last.fm streams " | ||
99 | "and radio you need to be a paying Last.fm subscriber and you need to " | 99 | "and radio you need to be a paying Last.fm subscriber and you need to " | ||
100 | "stream from a <a href='http://www.last.fm/announcements/radio2013'>supported " | 100 | "stream from a <a href='http://www.last.fm/announcements/radio2013'>supported " | ||
101 | "country</a>. All other Last.fm features work fine." ) ); | 101 | "country</a>. All other Last.fm features work fine." ) ); | ||
102 | } | 102 | } | ||
103 | else | 103 | else | ||
104 | { | 104 | { | ||
105 | Amarok::Components::logger()->longMessage( | 105 | Amarok::Logger::longMessage( | ||
106 | i18n( "Error starting track from Last.fm radio" ) ); | 106 | i18n( "Error starting track from Last.fm radio" ) ); | ||
107 | } | 107 | } | ||
108 | } | 108 | } |