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:  1  2  3  4  next 
Avatar
kingmob #1
Member since 01/2004 · 11 posts · Location: Vienna, Austria
Group memberships: Members
Show profile · Link to this post
it would be nice to have a "now playing"-button/shortcut in jabber, that parses some file or the output of a programm and prints it into the chat window. it would also be nice if the place where it takes it's input from could be customized... many programs that feature "now playing" rely on a specific program, like xmms or noatun or or or....
I have no .sig and I must scream.
ciruZ #2
Member since 11/2003 · 190 posts
Group memberships: Members
Show profile · Link to this post
Well, I think that's something for a plugin - so you should wait for plugins with that. I'm sure a XMMS Plugin will come. Ready files isn't a good way - what is if you closed the player? Then the file still exists.
Btw, what types of plugins would be possible? Only C or C++ Plugins or Perl and so on? I prefer C/C++ Plugins :-p
Avatar
Kev (Administrator) #3
User title: Project Lead
Member since 11/2002 · 2998 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Plugins are of the C++ variety.
I'm very tempted to write a scripting plugin though, so small python scripts could be written
Psi Project Leader.
Homepage, including development blog
Avatar
MrPingouin #4
Member since 11/2003 · 104 posts · Location: Paris
Group memberships: Members
Show profile · Link to this post
It's not the same idea, but it's speaking of sound too.
As i'm an esd user, I've amplified the psi defaults sounds cauze I thought it wasn't loud enough when playing a music at the same time.
I've noted that when I make the volume vary from 0 to 100, the psi sounds was still at the same volume, so what about a possibility to set psi volume :) (i haven't found anything in esdplay man)

Ok ok, psi is not a multimedia player, do you think it's something hardcore to implement ?
Due to financial crisis the light at the end of the tunnel is switched off
Avatar
Kev (Administrator) #5
User title: Project Lead
Member since 11/2002 · 2998 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
I think psi uses 'play' to play sounds, I guess you should change this to something appropriate for your sound system, and then set the volume of that?
Psi Project Leader.
Homepage, including development blog
Avatar
halr9000 (Administrator) #6
User title: I work here
Member since 11/2002 · 2253 posts · Location: Atlanta
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by kingmob on 03-13-2004, 11:34:
it would be nice to have a "now playing"-button/shortcut in jabber, that parses some file or the output of a programm and prints it into the chat window.
FWIW, by the time Psi has a plugin API, JEP-0118: User Tunes might be ready for implementation.  The way this would work with Psi is that someone would write a plugin to grab music metadata from XMMS, and second plugin for Winamp, a third for parsing files, etc.  Each of these plugins would then tell Psi to send something like this to the server:
<iq type='set'
    from='stpeter@jabber.org/work'
    to='pubsub.jabber.org'
    id='tunes123'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <publish node='generic/tunes/stpeter@jabber.org'>
      <item id='current'>
        <tune xmlns='http://jabber.org/protocol/tune'>
          <artist>Yes</artist>
          <title>Heart of the Sunrise</title>
          <source>Yessongs</source>
          <track>3</track>
          <length>PT11M26S</length>
        </tune>
      </item>
    </publish>
  </pubsub>
</iq>

And that information is then sent to all who subscribe to this pubsub node.  The destination client would determine how this information is displayed.  For example Psi might support displaying User Tunes as a popup notification:
halr9000 is now listening to
"100 Years" by Five for Fighting

And it might also display in the user status information.

 And the plugin might have other features, like copying data to clipboard, writing to a file, inserting text into HTML and ftp'ing to your website, send XML using Blogger API to your blog, etc, etc, etc.
Hal Rottenberg
Webmaster, Evangelist, Co-conspirator to the Revolution
dfisek #7
Member since 10/2004 · 8 posts
Group memberships: Members
Show profile · Link to this post
Did someone implement this feature?
Avatar
spike (Administrator) #8
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by dfisek:
Did someone implement this feature?
Not in a usable way, no. It will be implemented when the SPPS spec is finished and implemented in Psi.
- Remko
Mastah #9
Member since 11/2005 · 41 posts
Group memberships: Members
Show profile · Link to this post
I was already looking into that JEP and busy with trying to write a patch for it, but because of being a bit busy it hasn't come from the ground yet and maybe it is better to wait for a full implementation when the plug-in system is ready.
Avatar
spike (Administrator) #10
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by Mastah:
I was already looking into that JEP and busy with trying to write a patch for it, but because of being a bit busy it hasn't come from the ground yet and maybe it is better to wait for a full implementation when the plug-in system is ready.
Sounds like a good idea ;-)
For what it's worth: the code for listening to XMMS, iTunes and WinAmp is ready, and i will be releasing it soon, so there's no need to write that either. Implementing the SPPS spec is something we plan to do ourselves, and as a test case, we will be using the User Tune JEP (because it's simple). So i guess there's no need for input on this one.
- Remko
This post was edited on 01-30-2006, 06:45 by spike.
Mastah #11
Member since 11/2005 · 41 posts
Group memberships: Members
Show profile · Link to this post
Quote by spike:
For what it's worth: the code for listening to XMMS, iTunes and WinAmp is ready.

ooh, so I wrote that for nothing :'(
I will be crying in a corner for the next couple of hours... ;)
Avatar
spike (Administrator) #12
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by Mastah:
I will be crying in a corner for the next couple of hours... ;)
Look at it on the bright side, you probably learned something ;)
- Remko
Mastah #13
Member since 11/2005 · 41 posts
Group memberships: Members
Show profile · Link to this post
Quote by spike:
Look at it on the bright side, you probably learned something ;)

hehe, that was actually the first intention. It was something to learn a bit more of c++ and using it in Qt (and applying it in psi)
Avatar
spike (Administrator) #14
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by Mastah:
hehe, that was actually the first intention. It was something to learn a bit more of c++ and using it in Qt (and applying it in psi)
If you're interested, you can read about it here.
- Remko
GreatBunzinni #15
Member since 01/2005 · 65 posts · Location: Almada, Portugal
Group memberships: Members
Show profile · Link to this post
Quote by spike:
For what it's worth: the code for listening to XMMS, iTunes and WinAmp is ready

Amarok! Please let's not forget poor little Amarok!
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:  1  2  3  4  next 
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-17-2008, 11:36:49 (UTC -04:00)