Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931065 - media-plugins/audacious-plugins[scrobbler]: Fix XML parsing of Last.fm API responses
Summary: media-plugins/audacious-plugins[scrobbler]: Fix XML parsing of Last.fm API re...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-01 23:38 UTC by Andrew John Hughes
Modified: 2024-05-02 00:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2024-05-01 23:38:21 UTC
There is an issue with the Audacious scrobbler plugin where it won't send data correctly with recent versions of libxml2:

https://github.com/audacious-media-player/audacious-plugins/commit/5103ba0f504f1a98cac7babca3a0e45ca969f7f8

I encountered this issue after upgrading libxml2 and my scrobbles stopped sending. Running audacious from a command-line showed the error 'Parser error: "Extra content at the end of the document"'

Backporting the fix (not yet in a released version) fixed the problem. I'll post a PR with the updated ebuild.

Reproducible: Always

Steps to Reproduce:
1. Update libxml2 to 2.12.5
2. Setup Audacious to send played song information to a server that accepts scrobbles (e.g. last.fm)
3. 
Actual Results:  
Scrobbles are not sent, staying in the queue in $HOME/.config/audacious. 'Parser error: "Extra content at the end of the document"' is printed on the CLI.

Expected Results:  
Scrobbles are sent.

Portage 3.0.61 (python 3.11.4-final-0, default/linux/amd64/17.1/systemd, gcc-13, glibc-2.36-r5, 5.10.52-gentoo.hex x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo.hex-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.36
KiB Mem:    65829608 total,  19187996 free
KiB Swap:  124999672 total, 124999672 free
Timestamp of repository gentoo: Sat, 27 Apr 2024 06:30:00 +0000
Head commit of repository gentoo: 6042d9fb515ff7e2ae89918c8ea1b33f495c382a
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r3::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.14_p1::gentoo, 3.11.4::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.7::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.40-r5::gentoo
sys-devel/binutils-config: 5.3.2::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             11.3.1_p20230427::gentoo, 12.3.1_p20230526::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo