Re: Send played status to a different program?
Roy Schestowitz <[email protected]> Wed, 03 May 2006 16:36:37 +0100
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
___/ On Tue 02 May 2006 16:35:00 BST, [ Dirk Jagdmann ] wrote : \___
> Steinar Bang wrote:
>> Is there some way xmms can send back the played song status (ie. how
>> many times a song has been played, and how many seconds have been
>> played the last time a song has been played) to an external program?
>
> Try the "Song Change" Plugin, which you'll find in the "General" Tab=20
> in the preferences.
I thought about it initially, but I suspect it would not offer any help. =
It
only gets involved when a song ends or when the playlist ends. Who knows
what happens in between such 'key events'....
What is needed is an extension of such a plug-in -- one that reacts upon
more key events.
For what it's worth, here's my change song command:
(date +', '%R' '%D; echo -n %s) >>
~/Main/Misc/Media/Audio/Playlist_dump/playlist.log; (date +''%R' '%D; ech=
o
-n %s) > ~/public_html/track.txt;
Title defined as follows: %p, %t,%F, %y
Best wishes,
Roy
--=20
Roy S. Schestowitz
http://Schestowitz.com | Free as in Free Beer =A6 PGP-Key: 0x74572E8E
4:30pm up 5 days 23:27, 13 users, load average: 2.36, 1.59, 1.26
http://iuron.com - semantic engine to gather information