MPD Client (GTKDialog3 Program)

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
User avatar
Pentium44
Posts: 7
Joined: Sun 01 Dec 2013, 20:57
Contact:

MPD Client (GTKDialog3 Program)

#1 Post by Pentium44 »

This is a little program I made for all those Puppy Linux users

Code: Select all

#!/bin/sh
### MPC Gui Frontend
# (C) Chris Dorman, 2013
# License : CC-BY-SA 3.0
# Requires MPC, and MPD along with there dependencies

export mpc="
<window title=\"MPC Gui\">
	<vbox>
			<button>
				<label>Prev</label>
				<action>mpc prev</action>
				<action>refresh:NOW_PLAYING</action>
			</button>

			<button>
				<label>Stop</label>
				<action>mpc stop</action>
				<action>refresh:NOW_PLAYING</action>
			</button>

			<button>
				<label>Play</label>
				<action>mpc play</action>
				<action>refresh:NOW_PLAYING</action>
			</button>

			<button>
				<label>Next</label>
				<action>mpc next</action>
				<action>refresh:NOW_PLAYING</action>
			</button>
		<frame>
			<text>
				<label>MPC Gui</label>
			</text>
			<text>
				<input>mpc current</input>
				<variable>NOW_PLAYING</variable>
			</text>
		</frame>
	</vbox>
</window>
"

gtkdialog3 -p mpc
This is the first release of it, and its in working condition
Best regards, Chris[/code]

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

Thanks for this!

I have been using glurp and/or SSH to control MPD that runs on another computer.
Can this control MPD over a network?
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
Pentium44
Posts: 7
Joined: Sun 01 Dec 2013, 20:57
Contact:

#3 Post by Pentium44 »

It cannot do this unless you modify the script, sorry :)

Post Reply