Difference between revisions of "Iron Curtain"

From SlugWiki
Jump to: navigation, search
(XMMS Plugin)
Line 26: Line 26:
  
 
Each named pipe should have only one user. The current named pipes are given below. Contact Lyric if you want one.
 
Each named pipe should have only one user. The current named pipes are given below. Contact Lyric if you want one.
<pre>
 
  
 
{| border="1"
 
{| border="1"
Line 42: Line 41:
 
| natech
 
| natech
 
|}
 
|}
</pre>
 
 
 
[[Category: Projects]]
 
[[Category: Projects]]

Revision as of 01:00, 3 March 2008

Overview

An LED display built out of LED boards from some dead guy at TEP.

XMMS Plugin

Use the functions in xmms-1.2.11/libxmms/xmmsctrl.h to get data other than frequency and PCM data. Useful functions include:

gint xmms_remote_get_output_time(gint session);
gint xmms_remote_get_playlist_length(gint session);
gchar *xmms_remote_get_playlist_file(gint session, gint pos);
gchar *xmms_remote_get_playlist_title(gint session, gint pos);
gint xmms_remote_get_output_time(gint session);
gboolean xmms_remote_is_playing(gint session);
gboolean xmms_remote_is_paused(gint session);
gboolean xmms_remote_is_shuffle(gint session);
gboolean xmms_remote_is_repeat(gint session);
int xmms_remote_get_main_volume(gint session);
int xmms_remote_get_balance(gint session);
int xmms_remote_get_playlist_pos(gint session);

Data format streamed from the XMMS Plugin to user programs via named_pipes


Each named pipe should have only one user. The current named pipes are given below. Contact Lyric if you want one.

Pipe Name User
magical_trevor lyric
corn_cob arwest
hash_pipe natech