MPINSERT(1)
π MPINSERT π
okay bestie, so mpinsert is that girl π
she's a lil tool from the mpdtoys crew, and her whole job is inserting a song right after whatever's playing rn. no queue-jumping chaos, no full playlist rewrite, just a polite lil "excuse me, coming through" π
β¨ NAME β¨
mpinsert β insert song after currently playing song
like literally that's it. that's her whole personality. she sneaks a track in directly after the current bop π¦
πΈ SYNOPSIS πΈ
mpinsert [-n] [song ...]
π DESCRIPTION π
so mpinsert inserts a song (or, bestie, songs, plural, we love a multitasker) into the playlist directly after the currently playing song. not the end. not the top. right. after. the. current. one. periodt π
if you don't give her any songs on the command line, she'll just read a list from stdin. no notes, she's flexible like that π«Ά
songs get specified the exact same way you'd hand them to mpc add:
- as paths to files in the music database π
- or urls to stream π
you can also type in the name of a playlist, or part of the name of an album, an artist, or a song β and every matching item gets added to the playlist. lowkey magic, highkey useful β¨
and ooh, fun detail: if the perl String::Approx module is available, she'll use it to handle typos and stuff in the names you enter. so go ahead and misspell, she's got you π
π OPTIONS π
-nβ print the playlist position number that the first song was inserted at. receipts! π§Ύ-pβ play the song after inserting it. main character energy, immediately π₯
π AUTHOR π
Copyright 2007-2009 Joey Hess <joey@kitenet.net>
Licensed under the GNU GPL version 2 or higher.
http://kitenet.net/~joey/code/mpdtoys
and that's the whole vibe check, bestie π this page was brought to you by perl v5.36.0, dated 2023-02-01 β shoutout to the perl girlies, they're iconic and they ate πβ¨π
π¦ where this page comes from
- debian bookworm: mpdtoys 0.26-1 Β· GPL-2.0-or-later
- debian trixie: mpdtoys 0.26-1 Β· GPL-2.0-or-later
- ubuntu noble: mpdtoys 0.26-1 Β· GPL-2.0-or-later
- ubuntu questing: mpdtoys 0.26-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms