GithubHelp home page GithubHelp logo

cmende / scmpc Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 5.0 601 KB

a client for MPD which submits your tracks to Last.fm

Home Page: http://cmende.github.com/scmpc

License: GNU General Public License v2.0

Shell 0.14% C 97.75% Makefile 1.06% M4 1.06%

scmpc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

scmpc's Issues

error when compiling

ive been trying to compile this under cygwin but keep hitting this error:
mpc.exe scmpc-audiscrobber.o scmpc-mpd.o scmpc-msc.o scmpc-preferences.o scmpc-queue.o scmpc-scmpc.o -lglib-2.0 -lintl /usr/local -lcurl -lmpdclient
/usr/local: file not recognized: Is a directory
collect2: error: ld returned 1 exit status

when i look in the makefile, it seems to be this line giving the problem:
confuse_LIBS = /usr/local

any help is greatly appreciated

"Could not parse Audioscrobbler submit response" on <ignoredMessage />

Sometimes (probably when my Internet connection misbehaves), I see something like this in debug log:

2013-03-11 12:11:21  querystring = api_key=3ec5638071c41a864bf0c8d451566476&method=track.scrobble&sk=b1ac47ae2992d1357228215fd4cb8070&album[0]=Gassenhauer&artist[0]=BerlinskiBeat&duration[0]=217&timestamp[0]=1362986544&track[0]=Miezen&trackNumber[0]=8&album[1]=Gassenhauer&artist[1]=BerlinskiBeat&duration[1]=288&timestamp[1]=1362986761&track[1]=Champagner%20f%C3%BCr%20alle&trackNumber[1]=9&album[2]=Gassenhauer&artist[2]=BerlinskiBeat&duration[2]=350&timestamp[2]=1362987050&track[2]=Feuerwehrmarsch&trackNumber[2]=10&album[3]=Gassenhauer&artist[3]=BerlinskiBeat&duration[3]=207&timestamp[3]=1362987400&track[3]=BerlinskiBeat%20%28sex%20drugs%20rmx%20by%20Robert%20Soko%29&trackNumber[3]=11&album[4]=Macs%C3%B3%20h%C3%ADmz%C3%A9s&artist[4]=Besh%20o%20droM&duration[4]=336&timestamp[4]=1362988804&track[4]=Puszt%C3%ADt%C3%B3&trackNumber[4]=1&album[5]=Macs%C3%B3%20h%C3%ADmz%C3%A9s&artist[5]=Besh%20o%20droM&duration[5]=340&timestamp[5]=1362989140&track[5]=Space%20Maudi&trackNumber[5]=2&api_sig=8ff9ce0e3bcc5417ec8f6013fdccc579
2013-03-11 12:11:21  Could not parse Audioscrobbler submit response.
2013-03-11 12:11:21  Could not parse Audioscrobbler submit response.
2013-03-11 12:11:21  Response was: edMessage code="0"></ignoredMessage>
</scrobble>
        <scrobble>
    <track corrected="0">BerlinskiBeat (sex drugs rmx by Robert Soko)</track>
    <artist corrected="0">BerlinskiBeat</artist>
    <album corrected="0">Gassenhauer</album>
    <albumArtist corrected="0"></albumArtist>
    <timestamp>1362987400</timestamp>
    <ignoredMessage code="0"></ignoredMessage>
</scrobble>
        <scrobble>
    <track corrected="0">Pusztító</track>
    <artist corrected="0">Besh o droM</artist>
    <album corrected="0">Macsó hímzés</album>
    <albumArtist corrected="0"></albumArtist>
    <timestamp>1362988804</timestamp>
    <ignoredMessage code="0"></ignoredMessage>
</scrobble>
        <scrobble>
    <track corrected="0">Space Maudi</track>
    <artist corrected="0">Besh o droM</artist>
    <album corrected="0">Macsó hímzés</album>
    <albumArtist corrected="0"></albumArtist>
    <timestamp>1362989140</timestamp>
    <ignoredMessage code="0"></ignoredMessage>
</scrobble>
</scrobbles></lfm>

...and Last.fm reports duplicated (or even triplicated) scrobbled entries. Looks like server tries to tell scmpc something after entry has been scrobbled, but scmpc can't understand this response and re-submits it. Or something like that.

Segfault after "Song Added to Queue"

I just removed and reinstalled scmpc, and got rid of my old ~/.scmpc.

http://sprunge.us/gBfM is my ~/.scmpc/scmpc.conf

http://sprunge.us/DhWJ is output to terminal (with commandline given)

I've got a coredump as well, but I'm not sure where to put it. I've got no idea how to use it personally, I've never figured out the whole gdb thing.

After song is added to queue, it segfaults on the next song (before it can log a "querystring = " or "Sent now playing request")

scmpc does not work when anonymous users have no permissions

You have to add at least "read" to anonymous users otherwise scmpc fails with this message:

Failed to connect to MPD: you don't have permission for "status"

Its the only client that needs that kind of permission. Either its not logging in at all or it just uses the anonymous user anyway.

Fails to make method signature

http://sprunge.us/iSWR

Artist: Clams Casino
Title: 13
Album: Instrumentals
Track Number: D4

I think this is related to the track tags, since it is happening to other songs on this album. I'll see if changing the track tag helps.

scmpc v0.2.2 not working anymore

I use scmpc 0.2.2 with my openwrt kamikaze router, but it's not working anymore. I know there are newer version of scmpc but for my openwrt version kamikaze I need 0.2.2! I think the problem is the the audioscrobbler protocol 1.1 isn't supported anymore. I checked with protocol 1.2, this is working with small changes in the code. but because I'm not familiar with coding C I kindly ask you if you can change to code of scmpc 0.2.2 so it would work with protocol 1.2!
thanks a lot
j

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.