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 Tue 25 Nov 2014, 20:26
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 Posts_count  
Author Message
Pentium44


Joined: 01 Dec 2013
Posts: 7

PostPosted: Sun 01 Dec 2013, 17:03    Post_subject:  MPD Client (GTKDialog3 Program)
Sub_title: 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_website 
trapster


Joined: 28 Nov 2005
Posts: 2027
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_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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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