Warning: session_start(): open(/tmp/sess_e2t4a0584g8jn5k4fd8b3aqfl3, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Console Amarok Controller openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Console Amarok Controller

   2.0  

KDE Other Utility

Score 62%
Console Amarok Controller
zoom


Console Amarok Controller
zoom


Console Amarok Controller
zoom


Link:  http://
Downloads:  471
Submitted:  Jan 30 2007
Updated:  Feb 1 2007

Description:

This script will control Amarok from a command line.

New in V2.0:

You can now search for a song and play it!

I wrote this script because my Desktop PC is hooked up to my Stereo and I work from my laptop. So I SSH onto my Desktop PC and control Amarok via DCOP. I used to type each command by hand but I got tired quick, so I wrote this Script. I know it's simple but it works.

Only basic functions are available at the moment. I don't think I'll add any new features unless I personally need them. If you want anything added you can do it yourself or ask me to do it. I will most likely only add a feature if I think I will use it. Selfish... maybe but at least I am sharing this script with you.




Changelog:

Version 2.0:

You now have the ability to search your collection for a song, by Title, Album, Artist, or all 3.

Version 1.1:

The current track is now refreshed when the track is over or the track changes, and not every 10 seconds like in V1.0




LicenseGPL
Send to a friend
Subscribe
Other  Content  from Yonen
Report inappropriate content



-
.

 Thanks for sharing

 
 by GrotcH on: Jan 30 2007
 
Score 50%

Thank you for sharing. I was dreaming of something like that but never find the courage (and maybe the skill) to do it.


Reply to this

-
.

 Re: Thanks for shari

 
 by Yonen on: Jan 30 2007
 
Score 50%

You are welcome, It really didn't take that long to write. It was all done within an hour. But I know which dcop functions to call.

I'm actually put an update soon, it now only refreshes the track name when the song is over instead of every 10 seconds.


Reply to this

-
.

 well done

 
 by Moni on: Jan 31 2007
 
Score 50%

i really liked ur script..where can i find a good site with dcop tutorials?

p.s. first time i run the script i got:

/bin/bash^M: bad interpreter: No such file or directory

than i converted the file at: http://www.iconv.com/dos2unix.htm


Reply to this

-
.

 Re: well done

 
 by Yonen on: Jan 31 2007
 
Score 50%

I think I know what happened here. When I first committed the script I was using my work laptop (Windows) and I copied it from Putty to Note pad... and that's where the newlines where converted to DOS new lines...

Sorry about that... I should have thought of that.


Reply to this

-

 SSH

 
 by crc294 on: Apr 25 2008
 
Score 50%

I really like this script. It works flawlessly when I use it in a console window. However, if I SSH in and try to use it, I get repeated "ERROR: Couldn't attach to DCOP server!" messages.

Additionally, I get these messages:

"/home/rob/bin/console_amarok.sh: line 32: [: ==: unary operator expected"
after 7) Mute

"/home/rob/bin/console_amarok.sh: line 240: read: CHOICE: invalid timeout specification"
after q) Quit

Any ideas?


Reply to this

-

 Re: SSH

 
 by saul on: Jun 3 2008
 
Score 50%

The problem is with the way dcop handles user sessions. In order to allow the use of the script with a remote ssh session, you can edit the script and define the following variable at the top :

DCOP_COMMAND=" dcop --user `whoami` --all-sessions "


Then replace any occurrence within the script of dcop with $DCOP_COMMAND

By the way, this is a great script. Very useful :-)


Reply to this

-
.

 Re: Re: SSH

 
 by Yonen on: Jun 4 2008
 
Score 50%

Thanks Saul,

Since I moved, I don't have a need for this script now, so I haven't been using it.

I'm glad to see that other people are using it.


Reply to this

-

 Re: Re: SSH

 
 by crc294 on: Jun 27 2008
 
Score 50%

Awesome, that works great. Thanks saul


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team