Image 01
profile-image

the7erm

Eugene Miller Cheyenne, United States of America
AmarokPidgin

Amarok 1.x Scripts by keegancsmith 150 comments

def get_currently_playing(self):
"Gets the currently playing song from amarok."
new_status = self.config.get("AmarokPidgin", "status_message")

variables = ("album", "artist", "genre", "title", "track", "rating")
for var in variables:
if not ("$" + var) in new_status:
continue

value = getoutput("dcop amarok player %s 2> /dev/null" % var)
if var == 'rating':
s = '*'
value = s*(int(value) / 2)
new_status = new_status.replace("$" + var, value)

return new_status - Feb 17 2008
Autoplay Videos

Amarok 1.x Scripts by camico 9 comments

Pretty much the same as yours, but I didn't check to see if the track had changed, or set the volume ... Mine stopped the playing track, and then started playing.

Yours was a better approach.

You might want to consider processing the mplayer thread output and look for === paused === then pause amarok ... just an idea.

I'd do it but I don't know ruby, but looking at your script I like the language.

Thread{} looks like a really useful function.
- Jan 28 2008
Autoplay Videos

Amarok 1.x Scripts by camico 9 comments

I just got done working a script that was almost exactly like this, but you had a better way of approaching it. Good job. I took mine down because I know a better product when I see it.

I really should have checked the site before I started working on mine ... - Jan 27 2008
cueIt

Amarok 1.x Scripts by the7erm 8 comments

Thanks for your interest. - Jan 24 2008
cueIt

Amarok 1.x Scripts by the7erm 8 comments

Just put .09 up. Hopefully it'll fix any problems you may have had. - Jan 19 2008
cueIt

Amarok 1.x Scripts by the7erm 8 comments

cueIt.php $filename needs to look like this.

$filename = escapeshellarg($devices["{$song['deviceid']}"]. '/' . $song['url']);

The next version should fix this bug. - Jan 19 2008
cueIt

Amarok 1.x Scripts by the7erm 8 comments

I guess I should mention that the other project is http://sourceforge.net/projects/phpmur

At times it's used xmms, mplayer, and the newest version is flash.

I'm about ready to abandon it.

Over the years I've coded, and recoded it from the ground up I'm sick of it. I can never get it right. I've gotten more feedback from this simple stripped down version in less than a month than 4 years of development on the phpMUR project.

It's a nice concept, but amarok has more of what I need minus the multi-user ratings.

If I learn c++ and qt I plan on adding patching multi user capability to amarok. Maybe I can hassle the developers of amarok into multi-user rating support.

- Dec 28 2007
cueIt

Amarok 1.x Scripts by the7erm 8 comments

I've written various version of this for xmms, and mplayer, and even a flash player.

It's open source, feel free to use the ideas.

I wrote this version for amarok. - Dec 28 2007
Kirocker Music Display

Audio Apps by Sebien 324 comments

This is a really good program.

However ... some suggestions.
Instead of having F1-F5 being the keys you press to rate on full screen you should use 1-5 (I hacked my version to do this).

I have a remote that is a basically a usb keyboard, and being able to press 1 - 5 across the room make more sense.

The other thing I wanted to mention is that the stars on the tool bar are way too small - my sight isn't the greatest. I have to get way to close to the screen to even see them. So much so that it takes less time to just pop open amarok and click the rating. The whole point of having an applet like this is to quickly rate a song.

I can tell you put a lot of work into this, and for that I thank you. Keep up the good work.

Please make the stars bigger for those of us who can't see too well.

- Dec 04 2007