[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-bugs-dist
Subject: [amarok] [Bug 397035] New: Amarok 2.x syncronization target is always offline
From: Anderson Medeiros Gomes <bugzilla_noreply () kde ! org>
Date: 2018-08-01 1:33:29
Message-ID: bug-397035-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=397035
Bug ID: 397035
Summary: Amarok 2.x syncronization target is always offline
Product: amarok
Version: 2.9.0
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Tools/Statistics Synchronization
Assignee: amarok-bugs-dist@kde.org
Reporter: amg1127@gmail.com
CC: matej@laitl.cz
Target Milestone: kf5
Dear Amarok developers,
I am currently unable to configure synchronization of ratings and play count
information embedded in my MP3 files with an external MariaDB database. I tried
to execute the following steps:
* From the main window, I navigated to "Settings => Configure Amarok =>
Metadata => Statistics Synchronization";
* I clicked at the "Add" button and added a new synchronization target of type
"Amarok 2.x" and database type "external";
* I clicked at the "Synchronize" button, selected the collections I wanted to
synchronize, selected all information fields and clicked "Next";
On the "Synchronize Statistics" window, I can see a list of tracks from the
local collection, however I am not able to see a list of tracks from my
external database. In addition, on the "Configure" window, I see the message
"This collection is currently offline" when I hover the mouse over the
synchronization target I created.
When launching Amarok from a console window by using the command line "amarok
--debug --nofork", I am able to see the following messages:
-----------------
amarok: END__: void Amarok2ConfigDialog::updateButtons() [Took: 0s]
QSqlDatabase: MYSQL driver not loaded
QSqlDatabase: available drivers: QIBASE QSQLITE QMYSQL3 QMYSQL QPSQL7 QPSQL
amarok: BEGIN: void Amarok2ConfigDialog::updateButtons()
-----------------
Additional troubleshooting of my issue has made me believe that in the source
file src/importers/amarok/AmarokProvider.cpp:38 [1], the argument "MYSQL" is
expected to be "QMYSQL", instead. That is because the
ImporterSqlConnection:ImporterSqlConnection constructor, which is declared in
src/importers/ImporterSqlConnection.cpp:32 [2], seems to pass the "MYSQL"
string unmodified to QSqlDatabase::addDatabase [3] constructor.
Please, could you verify if my diagnostic makes sense?
-----------------
[1]
https://github.com/KDE/amarok/blob/453aa79e03fc512abcca5b2109a2aecce6dab314/src/importers/amarok/AmarokProvider.cpp#L38
[2]
https://github.com/KDE/amarok/blob/453aa79e03fc512abcca5b2109a2aecce6dab314/src/importers/ImporterSqlConnection.cpp#L32
[3] http://doc.qt.io/archives/qt-4.8/qsqldatabase.html#addDatabase-2
--
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic