Shell Script Beep Media Player Display Currently Playing MP3 File

in Categories Script last updated December 30, 2008
#!/bin/bash
# Shell Script To Display MP3 file name currently playing using
# beep media player 
# -------------------------------------------------------------------------
# Copyright (c) 2008 nixCraft project <http://www.cyberciti.biz/fb/>
# This script is licensed under GNU GPL version 2.0 or above
# -------------------------------------------------------------------------
# This script is part of nixCraft shell script collection (NSSC)
# Visit http://bash.cyberciti.biz/ for more information.
# ----------------------------------------------------------------------
lsof -F -p $(ps aux | grep "[b]eep-media-player" | awk '{ print $2}') | grep -i  mp3

Share this on: