MPINSERT(1)

πŸ“¦
version 0.26 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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