DSP-GET-PROFILE(1)
π DSP-GET-PROFILE β the grab-your-profile girly π
okay so bestie, welcome to dsp-get-profile(1) from the HiFiBerry DSP Tools lineup β¨ this is the little icon that goes and fetches your DSP profile off a HiFiBerry DSP device. think of it as a lil errand runner for your config, except the errand runner is a command and the config is XML π
πΈ NAME πΈ
dsp-get-profile β retrieve DSP profile from HiFiBerry DSP using REST API
like, that's literally the whole job. go get the profile. bring it back. slay.
β¨ SYNOPSIS β¨
dsp-get-profile [OPTIONS] [output_file]
π¦ DESCRIPTION π¦
so dsp-get-profile pulls the current DSP profile off a HiFiBerry DSP device using the REST API, no cap. the profile comes back in XML format and you can either save it to a file or just let it spill onto stdout like a main character monologue π
it's giving... backup tool. it's giving... inspector of vibes. fr fr, this is what you reach for when you wanna back up your current DSP configurations or just peek at whatever profile is currently active.
here's the tea on how it works: the tool connects to the DSP through the REST API server (sigmatcpserver) and retrieves the currently active DSP profile. and that profile? oh she's rich, she contains all the DSP configuration data β filters, parameters, and metadata. the whole package π
π ARGUMENTS π
output_fileβ optional file path where the retrieved profile should get saved. if you don't specify one, the profile just goes straight to stdout instead. and whichever way you go, the output file will contain the complete XML profile data. complete. all of it. no crumbs left behind π
π OPTIONS π
-h,--hostHOSTβ tell it the DSP server hostname or IP address. default:localhost-p,--portPORTβ pick the DSP server port number. default:13141-t,--timeoutSECONDSβ set the connection timeout, in seconds. default:30-v,--verbose* β turn on verbose output so you get all the detailed operation info. she's chatty and we love her for it.-q,--quiet* β suppress all non-error output. only error messages will show up. silent but deadly, periodt.--helpβ display the help message and exit. the classic.--versionβ display version information and exit.
π EXIT STATUS π
the program dips out with one of these status codes, so pay attention bestie:
0β Success β¨ profile retrieved successfully1β General error β unexpected failure π2β Invalid arguments β go check your command line parameters3β File I/O error β cannot write to output file4β Connection error β cannot connect to DSP API server5β API error β server error or no profile found
lowkey memorize these, because when something goes wrong the exit code is the only one who will tell you the truth π
π₯ EXAMPLES π₯
get the current profile and save it to current-profile.xml:
dsp-get-profile current-profile.xml
grab a profile from a remote DSP at IP 192.168.1.100 and save it to backup.xml:
dsp-get-profile -h 192.168.1.100 backup.xml
just get the current profile and show it on stdout:
dsp-get-profile
quietly get the profile and save it to profile-backup.xml with minimal output:
dsp-get-profile -q profile-backup.xml
get the profile with verbose output and filter for metadata lines:
dsp-get-profile -v | grep metadata
π§ DEPENDENCIES π§
this tool requires:
curlβ used for HTTP communication with the REST API serversigmatcpserverβ the HiFiBerry DSP REST API server must be running and accessible
π FILES π
the tool retrieves profiles from the DSP via the REST API. the profile data is typically stored at:
/var/lib/hifiberry/dspprogram.xmlβ default location for the active DSP profile (server-side)
π TROUBLESHOOTING π
Connection refused make sure sigmatcpserver is running:
sudo systemctl status sigmatcpserver
No profile found (exit code 5) the DSP may not have a profile loaded, or the profile file may be missing. check the server logs:
journalctl -u sigmatcpserver
Permission denied writing file make sure you have write permissions to the output directory. bestie, the directory said no. respect the boundary π
π SEE ALSO π
dsp-install-profile(1), dsp-program-info(1), sigmatcpserver(1)
π AUTHOR π
Written by the HiFiBerry team.
π«Ά REPORTING BUGS π«Ά
Report bugs to the HiFiBerry support team or GitHub issues.
β COPYRIGHT β
This is free software; see the source for copying conditions.
and that's the whole page, bestie!! this was HiFiBerry DSP 1.3.2, dated September 2025 β go forth and retrieve those profiles, you absolute legend πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- ubuntu resolute: hifiberry-dsp 1.3.6-1 Β· MIT
- ubuntu stonking: hifiberry-dsp 1.3.13-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms