Coder Social home page Coder Social logo

libechonest's People

Contributors

bcooksley avatar cfeck avatar dschmidt avatar gamaral avatar heduenas avatar horrendus avatar jefferai avatar lfranchi avatar rdieter avatar sengels avatar theonering avatar vkrause avatar xhochy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

libechonest's Issues

Non-ASCII characters do not work in queries

Example of queries sent from Tomahawk for station with artists similar to "Turmion Kätilöt"
http://paste.ee/p/vGOcC

2:04 PM <•lfranchi> in which context?
2:05 PM <theli_ua> because of your "convert spaces to plus signs" (which actually is not relevant anymore, echonest works just fine with spaces) ... you convert part of query to percent encoding, then you pass that to addurlqueryparam, later qUrl does percent encoding again
2:06 PM <theli_ua> so, non ascii things gets percent encoded, later QUrl percent encodes that again, percent encoding percent signs

Fails to build with Qt4: `error: ISO C++17 does not allow dynamic exception specifications`

Fails with Qt4:

In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Track.h:21,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Song.h:22,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.h:26,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.cpp:17:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/AudioSummary.h:139:56: error: ISO C++17 does not allow dynamic exception specifications
  139 |         void parseFullAnalysis( QNetworkReply* reply ) throw( ParseError );
      |                                                        ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Track.h:216:47: error: ISO C++17 does not allow dynamic exception specifications
  216 |   static Track parseProfile( QNetworkReply* ) throw( ParseError );
      |                                               ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Song.h:229:58: error: ISO C++17 does not allow dynamic exception specifications
  229 |   static QVector< Song > parseIdentify( QNetworkReply* ) throw( ParseError );
      |                                                          ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Song.h:236:49: error: ISO C++17 does not allow dynamic exception specifications
  236 |   void parseInformation( QNetworkReply* reply ) throw( ParseError );
      |                                                 ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Song.h:241:60: error: ISO C++17 does not allow dynamic exception specifications
  241 |   static QVector<Song> parseSearch( QNetworkReply* reply ) throw( ParseError );
      |                                                            ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.h:303:44: error: ISO C++17 does not allow dynamic exception specifications
  303 |         int parseProfile( QNetworkReply* ) throw( ParseError );
      |                                            ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.h:371:55: error: ISO C++17 does not allow dynamic exception specifications
  371 |         static Artists parseSimilar( QNetworkReply* ) throw( ParseError );
      |                                                       ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.h:376:54: error: ISO C++17 does not allow dynamic exception specifications
  376 |         static Artists parseSearch( QNetworkReply* ) throw( ParseError );
      |                                                      ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.h:381:56: error: ISO C++17 does not allow dynamic exception specifications
  381 |         static Artists parseTopHottt( QNetworkReply* ) throw( ParseError );
      |                                                        ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_libechonest/libechonest/work/libechonest-2.3.1/src/Artist.h:386:57: error: ISO C++17 does not allow dynamic exception specifications
  386 |         static TermList parseTopTerms( QNetworkReply* ) throw( ParseError );
      |                                                         ^~~~~
. . .

Linking library problems

I'm not sure if this is within the scope of a repo issue (is it?) but I'm having problems linking the QtCore and QtNetwork libraries when I compile. Specifically:

alexcannon$ gcc -g -Wall -o geoEchoNest geoEchoNest.c -lechonest -lQtCore -lQtNetwork
In file included from geoEchoNest.c:6:
In file included from /usr/local/include/echonest/Artist.h:22:
In file included from /usr/local/include/echonest/ArtistTypes.h:21:
/usr/local/include/echonest/Util.h:22:10: fatal error: 'QDebug' file not found
#include <QDebug>
         ^
1 error generated.

I even tried adding -L/usr/local/lib/QtCore.framework/ in case QtCore wasn't in the "standard path" (whatever that means):

alexcannon$ gcc -g -Wall -o geoEchoNest geoEchoNest.c -lechonest -L/usr/local/lib/QtCore.framework/ -lQtCore -lQtNetwork

...with the same results. What am I doing wrong here? I installed Qt in /usr/local/ as well as QJSON before installing libechonest via the instructions in the README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.