From 6c35a435f08a77593f0fb4ee6ba2aa4ba69a3fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Lindstr=C3=B6m?= Date: Mon, 24 Oct 2011 13:09:19 +0200 Subject: [PATCH] Correct api url --- .../infosystem/infoplugins/generic/spotifyPlugin.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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() ) );