Guest User

Untitled

a guest
Feb 25th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. $ mpc search title "when I was your man"
  2. Bruno Mars/Unorthodox Jukebox/06 Bruno Mars - When I Was Your Man.mp3
  3.  
  4. $ mpc search title "when I was your man" | mpc play
  5.  
  6. play <position>
  7. Starts playing the song-number specified. If none is specified, plays number 1.
  8.  
  9. mpc clear; mpc search title "when I was your man" | mpc add; mpc play
  10.  
  11. title="your song title here"
  12. mpc search title $title | mpc add
  13. mpc playlist -f '%position% %title%' | grep -i $title | head -n1 | cut - -d " " -f 1 | xargs mpc play
  14.  
  15. mpc clear
  16. mpc search title "when I was your man" | mpc add
  17. mpc play
  18.  
  19. mpc search title "when I was your man" | mpc insert
  20. mpc next
  21.  
  22. mpc search title "when I was your man" | mpc add
  23. mpc play $(mpc playlist | wc -l)
  24.  
  25. mpc searchplay filename "$(mpc search title 'when I was your man')"
Add Comment
Please, Sign In to add comment