SCROBBLER-HELPER(1p)
β¨ SCROBBLER-HELPER π
okay so bestie, this is scrobbler-helper from the User Contributed Perl Documentation, and it's literally the little utility that yeets one (1) single track into AudioScrobbler. welcome to the function, pull up a chair π«Ά
πΈ SYNOPSIS πΈ
scrobbler-helper [-nv] [-e encoding] [-f configfile] -P progname
-V progver title artist album year comment genre length
π DESCRIPTION π
So. The scrobbler-helper utility is out here using the Audio::Scrobbler module to submit a single track's info to Last.fm's AudioScrobbler β yes, that one, http://www.audioscrobbler.com/. π
Here's the vibe check: it needs the program (plug-in) name and version handed to it on the command line, and it also needs all seven track attributes. all seven, bestie, every last one. some of them you can get away with by passing empty strings, but like... you still gotta pass them. no skipping. periodt. π
The following command-line options are recognized:
-e encodingβ says what character encoding the track info is in, but only if it's neither UTF-8 nor whateverdefault_encodingsays in the config file. otherwise, mind your business. β¨-f configfileβ points at a different config file than the usual~/.scrobbler-helper.conf. living your own truth, love that for you. π¦-nβ do NOT actually perform the handshake and submission (this sets theAudio::Scrobblerfakeoption). it's giving dress rehearsal, not the real thing. π-P prognameβ the name of the AudioScrobbler plug-in that's submitting the data. this option is mandatory! not optional, not negotiable, not a suggestion! π€-vβ verbose operation, aka it spills diagnostic messages to standard output (sets theAudio::Scrobblerverboseoption). do it if you're nosy. i'm nosy. π-V progverβ the version of the AudioScrobbler plug-in submitting the data. also mandatory! you can't just skip this one either. π
π§ config file behaviour: a deep dive
Besides the command line, scrobbler-helper also pulls info from a per-user configuration file, usually ~/.scrobbler-helper.conf. it's an INI-style file, and it must contain a section named global. no global section? no service. π
The following variables are recognized, with username and password being mandatory:
default_encodingβ the encoding to assume for the track info if nothing got supplied with the-ecommand-line option. and listen β if-eis not on the command line ANDdefault_encodingisn't in the config file,scrobbler-helperjust assumes UTF-8. it trusts. β¨fix_track_nameβ a boolean flag saying whether to do some trivial fixes on the song name before submitting. right now, "trivial fixes" means it only removes aDD.sequence at the start of the name, whereDis a digit. that's the whole glow-up. π
The values on, true, yes, and 1 are considered to be true. π
passwordβ the password for the AudioScrobbler account. π€«usernameβ the username for the AudioScrobbler account. π
and here's the little example config, verbatim, because it's iconic:
[global]
username=jrandomlistener
password=mylittlesecret
# Optional (the default is UTF-8)
default_encoding=windows-1251
# Optional (the default is "no")
fix_track_name=yes
π TODO π
the devs left a lil to-do list, and honestly same:
- Command-line options, so people don't have to submit everything... π©
- Storing and caching unsuccessful submissions for later retrying. π₯
π SEE ALSO π
Audio::Scrobblerofc π- http://www.last.fm/
- http://www.audioscrobbler.com/
- http://www.audioscrobbler.net/
and the home site of the Audio::Scrobbler module is http://devel.ringlet.net/audio/Audio-Scrobbler/ β that's where it lives, iykyk π¦
πΈ AUTHOR πΈ
Peter Pentchev, <roam@ringlet.net> β the actual main character here π
π COPYRIGHT AND LICENSE π
Copyright (C) 2005, 2006 by Peter Pentchev.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available. slay, that's the license, respect it π«Ά
$Id: scrobbler-helper 88 2006-01-02 09:16:32Z roam $
okay bye bestie, this was perl v5.36.0 on 2023-07-20, and yes it came from the SCROBBLER-HELPER(1p) page. go scrobble something iconic, no cap. βππ
π¦ where this page comes from
- debian trixie: libaudio-scrobbler-perl 0.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libaudio-scrobbler-perl 0.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libaudio-scrobbler-perl 0.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libaudio-scrobbler-perl 0.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms