mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
The last.fm API returns "ok" on the status attribute of the reply if the authentication succeeded and "failed" otherwise [1]. So this patch verifies if the status returned is "ok" to proceed with the authentication. This patch also improves the message displayed in the log when an authentication error occurs. Now the error message returned by the server is printed out even when the QNetworkReply::error() != NoError (the message retuned by the server is a lot more informative). [1] - http://www.lastfm.it/api/show/auth.getMobileSession
Tomahawk
Compiling and running Tomahawk
Compile:
$ mkdir build && cd build
$ cmake ..
$ make
Start the application on Linux:
$ ./tomahawk
Start the application on OS X:
$ open tomahawk.app
Detailed building instructions for Ubuntu
See: http://wiki.tomahawk-player.org/index.php/Building_Ubuntu_Binary_on_Precise_(12.04)
Detailed building instructions for OS X
See: http://wiki.tomahawk-player.org/index.php/Building_OS_X_Application_Bundle_on_Snow_Leopard_(10.6)and_Lion(10.7)
Doxygen Documentation
See: http://dev.tomahawk-player.org/api/classes.html
Dependencies
Required dependencies:
- CMake 2.8.6 - http://www.cmake.org/
- Qt 4.7.0 - http://qt.nokia.com/
- Phonon 4.6.0 - http://phonon.kde.org/
- QJson 0.7.1 - http://qjson.sourceforge.net/
- SQLite 3.6.22 - http://www.sqlite.org/
- TagLib 1.6.2 - http://developer.kde.org/~wheeler/taglib.html
- Boost 1.3 - http://www.boost.org/
- CLucene 0.9.23 (0.9.21 will fail) - http://clucene.sourceforge.net/download.shtml
- libechonest 2.0.0 - http://projects.kde.org/projects/playground/libs/libechonest/
- Attica 0.4.0 - ftp://ftp.kde.org/pub/kde/stable/attica/
- QuaZip 0.4.3 - http://quazip.sourceforge.net/
- liblastfm 1.0.1 - http://github.com/lastfm/liblastfm/
The following dependencies are optional, but recommended:
- Jreen 1.0.5 - http://qutim.org/jreen / https://github.com/euroelessar/jreen
- QTweetLib 0.5.0 - https://github.com/minimoog/QTweetLib
Third party libraries that we ship with our source:
- MiniUPnP 1.6 - http://miniupnp.free.fr/
- Breakpad - http://code.google.com/p/google-breakpad/
Enjoy!
Description
Languages
C++
93.4%
JavaScript
1.8%
CMake
1.2%
C
0.6%
Objective-C++
0.5%
Other
2.2%