diff --git a/src/libtomahawk/infosystem/infoplugins/generic/spotifyPlugin.cpp b/src/libtomahawk/infosystem/infoplugins/generic/spotifyPlugin.cpp index f6c77eef0..b3f25d836 100644 --- a/src/libtomahawk/infosystem/infoplugins/generic/spotifyPlugin.cpp +++ b/src/libtomahawk/infosystem/infoplugins/generic/spotifyPlugin.cpp @@ -1,7 +1,6 @@ /* === This file is part of Tomahawk Player - === * * Copyright 2010-2011, Hugo Lindström - * Copyright 2011, Leo Franchi * * Tomahawk is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +33,7 @@ #include "utils/logger.h" #include "chartsplugin_data_p.h" -#define CHART_URL "http://localhost:5112/" +#define SPOTIFY_API_URL "http://spotikea.tomahawk-player.org:10380/" #include #include @@ -69,7 +68,7 @@ SpotifyPlugin::namChangedSlot( QNetworkAccessManager *nam ) /// We need to fetch possible types before they are asked for tDebug() << "SpotifyPlugin: InfoChart fetching possible resources"; - QUrl url = QUrl( QString( CHART_URL "toplist/charts" ) ); + QUrl url = QUrl( QString( SPOTIFY_API_URL "toplist/charts" ) ); QNetworkReply* reply = m_nam.data()->get( QNetworkRequest( url ) ); tDebug() << Q_FUNC_INFO << "fetching:" << url; connect( reply, SIGNAL( finished() ), SLOT( chartTypes() ) );