cmende / scmpc Goto Github PK
View Code? Open in Web Editor NEWa client for MPD which submits your tracks to Last.fm
Home Page: http://cmende.github.com/scmpc
License: GNU General Public License v2.0
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
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
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×tamp[0]=1362986544&track[0]=Miezen&trackNumber[0]=8&album[1]=Gassenhauer&artist[1]=BerlinskiBeat&duration[1]=288×tamp[1]=1362986761&track[1]=Champagner%20f%C3%BCr%20alle&trackNumber[1]=9&album[2]=Gassenhauer&artist[2]=BerlinskiBeat&duration[2]=350×tamp[2]=1362987050&track[2]=Feuerwehrmarsch&trackNumber[2]=10&album[3]=Gassenhauer&artist[3]=BerlinskiBeat&duration[3]=207×tamp[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×tamp[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×tamp[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.
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")
It says the value must be positive. I tried disabling it until I can figure out what's causing segfaults when adding songs to queue.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.