Commit 36c23367 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Switch from freedb.org to gnudb.org

BUGS: 418421
parent 02c8b8b1
......@@ -64,7 +64,7 @@
<string>Name of CDDB server which will be used to look up CD information.</string>
</property>
<property name="text">
<string>freedb.freedb.org</string>
<string>gnudb.gnudb.org</string>
</property>
</widget>
</item>
......
......@@ -264,8 +264,8 @@ additional information you provide may be added to the existing entry.</para>
categories are installed in <filename class="directory">$HOME/.cddb</filename>. You can create as
many category subfolders as you like. However, when uploading, only the
official <acronym>CDDB</acronym> categories are displayed. The default upload
address is <email>freedb-submit@freedb.org</email>. For more information about
<abbrev>freedb</abbrev> visit the <abbrev>freedb</abbrev> homepage.</para>
address is <email>gnudb-submit@gnudb.org</email>. For more information about
<abbrev>gnudb</abbrev> visit the <abbrev>gnudb</abbrev> homepage.</para>
<para>The local <acronym>CDDB</acronym> entry for a particular &CD; is stored in
the file <filename><replaceable>category name</replaceable>/<replaceable>disc
......
......@@ -7,7 +7,7 @@
<kcfgfile name="kcmcddbrc"/>
<group name="Lookup">
<entry name="hostname" type="String">
<default>freedb.freedb.org</default>
<default>gnudb.gnudb.org</default>
</entry>
<entry name="port" type="Int">
<default>80</default>
......@@ -43,7 +43,7 @@
<entry name="emailAddress" type="String">
</entry>
<entry name="httpSubmitServer" type="String">
<default>freedb.freedb.org</default>
<default>gnudb.gnudb.org</default>
</entry>
<entry name="httpSubmitPort" type="Int">
<default>80</default>
......@@ -61,7 +61,7 @@
<entry name="smtpHostname" type="String">
</entry>
<entry name="submitAddress" type="String">
<default>freedb-submit@freedb.org</default>
<default>gnudb-submit@gnudb.org</default>
</entry>
</group>
</kcfg>
......@@ -38,7 +38,7 @@ namespace KCDDB
{
QUrl url;
url.setScheme( QLatin1String( "http" ) );
url.setHost( QLatin1String( "freedb.freedb.org" ) );
url.setHost( QLatin1String( "gnudb.gnudb.org" ) );
url.setPort( 80 );
url.setPath( QLatin1String( "/~cddb/cddb.cgi" ) );
......
......@@ -27,7 +27,7 @@ void AsyncCDDBLookupTest::testLookup()
using namespace KCDDB;
client_ = new Client;
client_->config().setHostname(QString::fromUtf8("freedb.freedb.org"));
client_->config().setHostname(QString::fromUtf8("gnudb.gnudb.org"));
client_->config().setPort(8880);
client_->config().setCacheLookupEnabled(false);
client_->config().setFreedbLookupEnabled(true);
......@@ -62,8 +62,8 @@ void AsyncCDDBLookupTest::testLookup()
QVERIFY(m_result == Success);
// If revision doesn't match, test probably needs to be updated
// See: http://www.freedb.org/freedb/jazz/a1107d0a for updated data
QCOMPARE(m_info.get(QString::fromUtf8("revision")).toInt(), 8);
// See: http://www.gnudb.org/gnudb/jazz/a1107d0a for updated data
QCOMPARE(m_info.get(QString::fromUtf8("revision")).toInt(), 7);
QCOMPARE(m_info.get(Artist).toString(),QString::fromUtf8("Kruder & Dorfmeister"));
QCOMPARE(m_info.get(Title).toString(),QString::fromUtf8("The K&D Sessions (Part One)"));
......
......@@ -28,7 +28,7 @@ void AsyncHTTPLookupTest::testLookup()
using namespace KCDDB;
client_ = new Client;
client_->config().setHostname(QString::fromUtf8("freedb.freedb.org"));
client_->config().setHostname(QString::fromUtf8("gnudb.gnudb.org"));
client_->config().setPort(80);
client_->config().setCacheLookupEnabled(false);
client_->config().setFreedbLookupEnabled(true);
......@@ -63,8 +63,8 @@ void AsyncHTTPLookupTest::testLookup()
QVERIFY(m_result == Success);
// If revision doesn't match, test probably needs to be updated
// See: http://www.freedb.org/freedb/jazz/a1107d0a for updated data
QCOMPARE(m_info.get(QString::fromUtf8("revision")).toInt(), 8);
// See: http://www.gnudb.org/gnudb/jazz/a1107d0a for updated data
QCOMPARE(m_info.get(QString::fromUtf8("revision")).toInt(), 7);
QCOMPARE(m_info.get(Artist).toString(),QString::fromUtf8("Kruder & Dorfmeister"));
QCOMPARE(m_info.get(Title).toString(),QString::fromUtf8("The K&D Sessions (Part One)"));
......
......@@ -30,7 +30,7 @@ AsyncSMTPSubmitTest::AsyncSMTPSubmitTest(QCoreApplication& app)
client_ = new Client;
client_->config().setFreedbSubmitTransport(Submit::SMTP);
client_->config().setSubmitAddress(QString::fromUtf8("test-submit@freedb.org"));
client_->config().setSubmitAddress(QString::fromUtf8("test-submit@gnudb.org"));
client_->setBlockingMode( false );
TrackOffsetList list;
......
......@@ -28,7 +28,7 @@ void SyncCDDBLookupTest::testLookup()
using namespace KCDDB;
Client c;
c.config().setHostname(QString::fromUtf8("freedb.freedb.org"));
c.config().setHostname(QString::fromUtf8("gnudb.gnudb.org"));
c.config().setPort(8880);
c.config().setCacheLookupEnabled(false);
c.config().setFreedbLookupEnabled(true);
......@@ -62,7 +62,7 @@ void SyncCDDBLookupTest::testLookup()
if (i.get(QString::fromUtf8("discid")) == QString::fromUtf8("3e0c3a05") && i.get(Category) == QString::fromUtf8("misc"))
{
// If revision doesn't match, test probably needs to be updated
// See: http://www.freedb.org/freedb/misc/3e0c3a05 for updated data
// See: http://www.gnudb.org/gnudb/misc/3e0c3a05 for updated data
QCOMPARE(i.get(QString::fromUtf8("revision")).toInt(), 17);
QCOMPARE(i.get(Artist).toString(),QString::fromUtf8("Pink Floyd"));
......
......@@ -28,7 +28,7 @@ void SyncHTTPLookupTest::testLookup()
using namespace KCDDB;
Client c;
c.config().setHostname(QString::fromUtf8("freedb.freedb.org"));
c.config().setHostname(QString::fromUtf8("gnudb.gnudb.org"));
c.config().setPort(80);
c.config().setCacheLookupEnabled(false);
c.config().setFreedbLookupEnabled(true);
......@@ -62,7 +62,7 @@ void SyncHTTPLookupTest::testLookup()
if (i.get(QString::fromUtf8("discid")) == QString::fromUtf8("3e0c3a05") && i.get(Category) == QString::fromUtf8("misc"))
{
// If revision doesn't match, test probably needs to be updated
// See: http://www.freedb.org/freedb/misc/3e0c3a05 for updated data
// See: http://www.gnudb.org/gnudb/misc/3e0c3a05 for updated data
QCOMPARE(i.get(QString::fromUtf8("revision")).toInt(), 17);
QCOMPARE(i.get(Artist).toString(),QString::fromUtf8("Pink Floyd"));
......
......@@ -61,7 +61,7 @@ main(int argc, char ** argv)
Client c;
c.config().setFreedbSubmitTransport(Submit::SMTP);
c.config().setSubmitAddress(QString::fromUtf8("test-submit@freedb.org"));
c.config().setSubmitAddress(QString::fromUtf8("test-submit@gnudb.org"));
c.setBlockingMode( true );
......
......@@ -28,7 +28,7 @@ void Utf8Test::testLookup()
using namespace KCDDB;
Client c;
c.config().setHostname(QString::fromUtf8("freedb.freedb.org"));
c.config().setHostname(QString::fromUtf8("gnudb.gnudb.org"));
c.config().setPort(80);
c.config().setCacheLookupEnabled(false);
c.config().setFreedbLookupEnabled(true);
......@@ -57,7 +57,7 @@ void Utf8Test::testLookup()
if (i.get(QString::fromUtf8("discid")) == QString::fromUtf8("13093f02") && i.get(Category) == QString::fromUtf8("blues"))
{
// If revision doesn't match, test probably needs to be updated
// See: http://www.freedb.org/freedb/blues/13093f02 for updated data
// See: http://www.gnudb.org/gnudb/blues/13093f02 for updated data
QCOMPARE(i.get(QString::fromUtf8("revision")).toInt(), 3);
QString artist = QString::fromUtf8("神城麻郁(浪川大輔)/宮藤深衣奈(中原麻衣)/小野寺樺恋(清水愛)/織部椿(根谷美智子)/島崎康生(鈴村健一)/風見みずほ(井上喜久子)/森野苺(田村ゆかり)/四道跨(三浦祥朗)/四道晴子(新谷良子)/佐川秋那(浅野真澄)/真下双葉(佐久間紅美)/菊池浩美(進藤尚美)/草薙桂(保志総一郎)/縁川小石(川澄綾子)/間雲漂介(岩田光央)/水澄楓(大原さやか)/まりえ(金田朋子)/山田政臣(杉田智和)神城麻郁(浪川大輔)/宮藤深衣奈(中原麻衣)/小野寺樺恋(清水愛)/織部椿(根谷美智子)/島崎康生(鈴村健一)/風見みずほ(井上喜久子)/森野苺(田村ゆかり)/四道跨(三Y祥朗)/四道晴子(新谷良子)/佐川秋那(浅野真澄)/真下双葉(佐久間紅美)/菊池浩美(進藤尚美)/草薙桂(保志総一郎)/縁川小石(川澄綾子)/間雲漂介(岩田光央)/水澄楓(大原さやか)/まりえ(金田朋子)/山田政臣(杉田智和)");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment