Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 Aug 2014, 16:21
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
MPD Client (GTKDialog3 Program)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Pentium44


Joined: 01 Dec 2013
Posts: 7

PostPosted: Sun 01 Dec 2013, 17:03    Post subject:  MPD Client (GTKDialog3 Program)
Subject description: A Graphical frontend for the CLI MPD Client MPC
 

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

Code:

#!/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]
Back to top
View user's profile Send private message Visit poster's website 
trapster


Joined: 28 Nov 2005
Posts: 1999
Location: Maine, USA

PostPosted: Wed 04 Dec 2013, 13:13    Post subject:  

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: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
Pentium44


Joined: 01 Dec 2013
Posts: 7

PostPosted: Wed 26 Feb 2014, 23:27    Post subject:  

It cannot do this unless you modify the script, sorry Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0504s ][ Queries: 12 (0.0079s) ][ GZIP on ]