Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scmpc - (Another) Audioscrobbler client for MPD
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Jul 03, 2006 10:13 pm    Post subject: Reply with quote

Hmm, that's very odd. It works fine with gcc 4.1 here (although I'm on amd64). To me, it looks like something strange is happening with your linker - pthread_testcancel is part of glibc, which should be available when using -lpthread (which the command you posted is using). The curl_* functions are part of libcurl, which should also be installed as a dependency of scmpc.

I have no idea what's causing this. Can you post your emerge --info, please?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
zedek
n00b
n00b


Joined: 24 Mar 2006
Posts: 10
Location: Reims, France

PostPosted: Mon Jul 03, 2006 10:48 pm    Post subject: Reply with quote

Portage 2.1.1_pre2-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-suspend2-r9 i686)
=================================================================
System uname: 2.6.16-suspend2-r9 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer -ffast-math -ftree-vectorize -fno-ident -fforce-addr -ftracer -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /usr/X11R6/bin/startx"
CXXFLAGS="-O2 -mtune=i686 -pipe -fomit-frame-pointer -ffast-math -ftree-vectorize -fno-ident -fforce-addr -ftracer -falign-functions=64 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://85.25.128.62 http://ftp.heanet.ie/pub/gentoo/ ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/ http://194.117.143.71 http://194.117.143.69"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s"
LINGUAS="fr en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm audiofile avahi avahu avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr chm cli clisp crypt cups dbus directfb dlloader dri dts dvd dvdr dvdread eds emacs emboss encode esd fbcon firefox flac foomaticdb fortran gdbm gif gnome gnutls gpg2-experimental gpm gstreamer gtk gtk2 hal i8x0 imlib ipv6 isdnlog jpeg lcms libcaca libg++ libwww mad mikmod minimal mmx mmxext mono motif mp3 mpeg ncurses nls nptl nptonly ogg ole opengl oss pam pcre pdf pdflib perl png postgres pppd python readline real reflection rtc samba sasl sbcl sdl session spell spl sse sse2 ssl sysfs tcpd theora truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis win32codecs wmf x264 xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_synaptics input_devices_mouse input_devices_evdev input_devices_ps2mouse kernel_linux linguas_fr linguas_en userland_GNU video_cards_i810 video_cards_vesa"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Jul 04, 2006 7:49 am    Post subject: Reply with quote

Hmm. Can you try it without the --as-needed LDFLAG?

Edit: Alternatively, you can use the scmpc-0.2.1-r1 ebuild and patch which are now in the original post which should fix this for --as-needed. :)
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
DocterD
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2004
Posts: 129

PostPosted: Fri Aug 25, 2006 2:56 pm    Post subject: Reply with quote

I don't get it: Sometimes it works sometimes not.

Quote:
2006-08-25 16:53:01 Your user details were not accepted by Audioscrobbler. Please correct them and restart this program.


Just restarting scmpc fixes it but than it isn't working again...
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Dec 02, 2006 9:23 pm    Post subject: Reply with quote

I've just released 0.2.2 which adds a password_hash configuration option, so you don't have to keep your password in cleartext in the config. I can't think of anything I want it to do that it doesn't already now and it's lost my interest really, so there may not be any releases after this.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
olofmogren
n00b
n00b


Joined: 30 Sep 2004
Posts: 2
Location: Gothenburg, Sweden

PostPosted: Mon Mar 26, 2007 12:14 pm    Post subject: "Your user details were not accepted by Audioscrobbler. Reply with quote

Hi. I also get this error every now and then. I let crond restart scmpc each night, and thanks to scmpc's nice caching this actually works, but it is an ugly solution.

The error is:
Code:
Your user details were not accepted by Audioscrobbler. Please correct them and restart this program.


Wouldn't it be a good behaviour for scmpc to try to reconnect when this happens? Or if this is an error within scmpc (maybe misinterpreting the reply from audioscrobbler?), then this of course should be looked into.

Thanks for a really good effort!

Is there something i can do to help out with this?

Regards, Olof Mogren
Back to top
View user's profile Send private message
azarro
n00b
n00b


Joined: 19 Mar 2006
Posts: 51
Location: Prague, CZ

PostPosted: Mon Jun 25, 2007 2:06 pm    Post subject: Reply with quote

Hi,

a few days ago has my audioscrobbler stopped working and the .log file is full of

Code:

2007-06-25 16:04:04  Could not connect to the Audioscrobbler server: couldn't connect to server
2007-06-25 16:04:19  Could not connect to the Audioscrobbler server: couldn't connect to server


I guess it has been happenning since last.fm got sold..

any clue, please?
_________________
Linux gentoo x86_64 kernel-2.6.18-ck1-r2
AMD Athlon64 Processor 3000+
MicroStar K8N Neo4-FI - nForce4 Ultra (s939)
Kingston DIMM 1024MB DDR 400MHz Dual Channel CL2
Asus 7600GT 256MB, PCI-E
Creative Labs Sound Blaster Audigy 4
Back to top
View user's profile Send private message
rktesser
n00b
n00b


Joined: 25 Jun 2007
Posts: 4
Location: Brazil

PostPosted: Mon Jun 25, 2007 4:35 pm    Post subject: Reply with quote

Hi!
Since the last Friday I am having the same problem azarro has!
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Mon Jun 25, 2007 5:11 pm    Post subject: Reply with quote

THIS IS IN THE MPD OVERLAY.

* media-sound/scmpc [1]
Available versions: (~)0.2.2-r1
Homepage: http://scmpc.berlios.de
Description: A multithreaded MPD client for Audioscrobbler

* media-sound/scmpc-live [1]
Available versions: (~)0.1-r1
Homepage: http://scmpc.berlios.de
Description: A multithreaded MPD client for Audioscrobbler

0.2.2-r1 and svn ebuild.
Back to top
View user's profile Send private message
azarro
n00b
n00b


Joined: 19 Mar 2006
Posts: 51
Location: Prague, CZ

PostPosted: Tue Jun 26, 2007 9:21 am    Post subject: Reply with quote

Thanks fo reply.

I've upgraded to the 0.2.2 version. However it still doesn't send anything to the server. I doubt if it isn't a problem od the audioscrobbler server itself :(

Code:

2007-06-26 11:15:56  Connected to mpd.
2007-06-26 11:15:56  Could not get current song: Could not connect to host.
2007-06-26 11:15:57  Could not get current song: Could not connect to host.
2007-06-26 11:16:01  Could not connect to the Audioscrobbler server: a timeout was reached
2007-06-26 11:16:03  Could not get current song: Connection timed out.


connection between mpd and scmpc works and there ara about 100 songs in the cache.
[/code]
Have you managed to get it working?


EDIT: Ok it seems to work now :) The problem was caused by audioscrobbler server..
thanks for help.
_________________
Linux gentoo x86_64 kernel-2.6.18-ck1-r2
AMD Athlon64 Processor 3000+
MicroStar K8N Neo4-FI - nForce4 Ultra (s939)
Kingston DIMM 1024MB DDR 400MHz Dual Channel CL2
Asus 7600GT 256MB, PCI-E
Creative Labs Sound Blaster Audigy 4
Back to top
View user's profile Send private message
wagebo
n00b
n00b


Joined: 20 Jul 2007
Posts: 1

PostPosted: Fri Jul 20, 2007 12:06 pm    Post subject: timstamp wrong Reply with quote

I've noticed that the timestamps on last.fm are wrong... Looks like they're submitted using GMT as timezone. Is there some way fix this. I didn't see anything in either mpd.conf or scmpc.conf that let me set the timezone. The timezone setting on last.fm is set appropriately.
Back to top
View user's profile Send private message
louiswins
n00b
n00b


Joined: 04 Sep 2007
Posts: 1
Location: Madison, WI

PostPosted: Tue Sep 04, 2007 5:38 am    Post subject: Reply with quote

Yeah, there needs to be a timezone option; I don't like seeing "in 4h 50m" on my recent songs list.

But, anyway, this is a very nice program. I never could get mpdscribble to work for me, but scmpc worked the first time I tried it. Now my last.fm account won't go to waste because I switched to mpd from amarok.

Thanks for all the work you put into scmpc, it's very appreciated!
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sat Sep 15, 2007 4:10 pm    Post subject: Reply with quote

It seems the newest curl (7.17.0) doesn't cooperate with scmpc properly. It screws utf chars (eg. polish letters) sending links to last.fm. With curl-7.16.4 it works fine.

Can anyone confirm it?
Back to top
View user's profile Send private message
ufoman
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2006
Posts: 80

PostPosted: Tue Sep 18, 2007 9:36 pm    Post subject: Reply with quote

Yup, confirming the issue, my curl version is 7.17.0_pre20070828.
_________________
Registered Linux User #417638
amd64 no-multilib
desktop: Gigabyte GA-MA770-UD3 v2.0, Athlon II X2 250 @3,6GHz, 4GB DDR2 800, Radeon HD 4850, Seagate Barracuda 7200.11 320GB
Back to top
View user's profile Send private message
draconx
n00b
n00b


Joined: 26 Sep 2007
Posts: 1

PostPosted: Wed Sep 26, 2007 6:16 am    Post subject: Reply with quote

Happens here too, see media-sound/scmpc - garbage submitted to last.fm with net-misc/curl-7.17* and UTF-8.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum