Not logged in. · Lost password · Register
Forum: Community Feature Requests RSS
now playing
a what am I listening to-feature

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
Page:  previous  1  2  3  4  next 
gollo #31
Member since 08/2006 · 2 posts · Location: Vienna, Austria
Group memberships: Members
Show profile · Link to this post
Quote by michalj:
BTW: It's Amarok now, not amaroK.

i guess i'm a bit old-fashioned :) i prefer the old the name :P

the funny thing is: i read that kde4 will no longer use dcop, but dbus instead. i wondered a bit about that.
If you never try anything new, you'll miss out on many of life's great disappointments.
Avatar
michalj (Moderator) #32
Member since 04/2004 · 2174 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
OMG: Have I written that Qt-4.2 will support DCOP? I should've written DBUS. Please take a look at What's New in the Qt 4.2 Technical Preview and Introduction to DBUS.

Note to myself: Michał, stop posting while debugging Desktop Controls.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Sterkrig #33
Member since 08/2006 · 31 posts · Location: Rampova, Inkerimaa
Group memberships: Members
Show profile · Link to this post
Hm... Why has nobody recalled foobar2000? \-:E
I hope it would be supported too! (-;E
Avatar
machekku #34
User title: Crazy guy from Poland
Member since 07/2004 · 781 posts · Location: Poland
Group memberships: Developers, Members
Show profile · Link to this post
I wanted to write a plugin, but then new Foobar arrived, requiring new Visual Studio to compile plugins, and I'm not planning to install it in the close future.
Maciek "Machekku" Niedzielski
Psi developer
[Image: http://machekku.uaznia.net/jabber/jobble/map/jmpixel1.png]
Sterkrig #35
Member since 08/2006 · 31 posts · Location: Rampova, Inkerimaa
Group memberships: Members
Show profile · Link to this post
machekku
Hope you won't wait too long for nessessary upgrade (-;E
Avatar
machekku #36
User title: Crazy guy from Poland
Member since 07/2004 · 781 posts · Location: Poland
Group memberships: Developers, Members
Show profile · Link to this post
Funny that you wrote half an hour after I started coding it ;)
Maciek "Machekku" Niedzielski
Psi developer
[Image: http://machekku.uaznia.net/jabber/jobble/map/jmpixel1.png]
Sterkrig #37
Member since 08/2006 · 31 posts · Location: Rampova, Inkerimaa
Group memberships: Members
Show profile · Link to this post
(-8E

That'd be great!
:waiting_patiently:
Albert #38
Member since 04/2005 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: amaron user tune script to set proper now playing messages
This amarok script seems to do the work. It does not set any status message, instead it uses user tune which means your server needs to support PEP. To communicate this information to Psi the file ~/.psi/tune is written to. It is not pretty and textshell might have something fancier but he hasn't published it somewhere. Not packaged up or anything, you have to do that yourself. It is basically the gaim_gajim_now_playing script, without gaim, gajim, setting the status message and using the remote tools. The original contains this copyright blurb. I doubt the changes reaches the threshold of originality.

# Authors: Silian Della Ragione
#          Andres Gomez Garcia <agomez@igalia.com>
#          Antoine <Alan71> Gassot <antoine_dot_gassot_at_gmail_dot_com>
# Version: 0.0.3
# License GNU/GPL
############################################################################
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
############################################################################

Ok, here it is:
#!/bin/bash

change () {
    title=`dcop amarok player title`
    artist=`dcop amarok player artist`
    album=`dcop amarok player album`
    track=`dcop amarok player track`
    time=`dcop amarok player totalTime`

    tune="${title}\n${artist}\n${album}\n${track}\n${time}"
    echo -e ${tune} > ~/.psi/tune
}

stop () {
    rm ~/.psi/tune
}

terminate () {
    stop
    exit 0
}

trap terminate 0 1 2 5 15

while [ 1 ]
do
    read input
    input=$(echo $input | sed -e 's/engineStateChange:\ //')
    case "$input" in
    "playing" | "trackChange" )
        change
        ;;
    "paused" | "empty" | "idle" )
        stop
        ;;
    esac
done
Sterkrig #39
Member since 08/2006 · 31 posts · Location: Rampova, Inkerimaa
Group memberships: Members
Show profile · Link to this post
Thank you, Albert!

Now the only one thing to wait is Gentoo-ebuild for 0.11. I wonder, why there's still no one in official Portage tree \-:E
Albert #40
Member since 04/2005 · 30 posts
Group memberships: Members
Show profile · Link to this post
There is no ebuild for psi because the gentoo KDE team has to make sure qca1 and qca2 works side by side. That bug is blocking psi-0.11.

Though the one in the bugtracker by Davide most likely works good (http://bugs.gentoo.org/131528#c89). You want qca2 by Davide too (http://bugs.gentoo.org/129536#c100 and the following comments) but don't get the cyrus-sasl plugin at this time, the version in the bug tracker is too old.
Sterkrig #41
Member since 08/2006 · 31 posts · Location: Rampova, Inkerimaa
Group memberships: Members
Show profile · Link to this post
Thank you for this little clarifying offtopic (-:E
Monk #42
Member since 04/2006 · 10 posts
Group memberships: Members
Show profile · Link to this post
Hi

what is the state of this topic?

is it possible to automatically set "now playing" in Psi?
Avatar
michalj (Moderator) #43
Member since 04/2004 · 2174 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Please refer to Publish Tune option in Psi 0.11 thread in our Forums.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Steltek #44
Member since 12/2007 · 1 post
Group memberships: Members
Show profile · Link to this post
To use Foobar2000 with PSI's Tune Publishing feature, you can install the foo_winamp_spam plugin:
http://chron.visiondesigns.de/foobar2000/#foo_winamp_spam

It emulates the Winamp API, which PSI will then use to get the data (seems to work for me, at least I see PSI uploading the current song data in the XML Console).
wertigon #45
Member since 08/2006 · 42 posts · Location: Sweden
Group memberships: Members
Show profile · Link to this post
Think that it'd be possible to add RhythmBox and/or *proper* Amarok support for this in v0.12?
This post was edited on 01-13-2008, 04:31 by wertigon.
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Page:  previous  1  2  3  4  next 
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-16-2008, 23:55:46 (UTC -04:00)