File: README

package info (click to toggle)
xmms2 0.8%2Bdfsg-28
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,216 kB
  • sloc: ansic: 63,803; python: 15,537; cpp: 5,718; xml: 1,479; perl: 338; ruby: 243; makefile: 79; sh: 59; asm: 7
file content (37 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
XMMS2 C client tutorials

This directory contains sample C programs to help you learn about what's
involved in writing an XMMS2 client. The C files provided are fully commented
to explain the steps involved.

=== Building ===
To build a tutorial, run 'make tutX' where 'X' is a tutorial number.
Alternatively, run 'make all' to build all the tutorials.


=== Tutorial Descriptions ===

tut1: 
Will show how to connect to the xmms2d and send a basic command 
without reply

tut2:
How to do simple value retrieval. In this case the current playing id.

tut3:
How to retrieve data from the medialib, and dealing with dicts. This example
involves fetching the artist, title and bitrate of the currently playing
song in XMMS2.

tut4:
How to retrieve the current playlist from the server and use the knowlegde
gained in tut3 to print it out.

tut5:
On the topic of propdicts and dicts and foreaching dicts.

''' Here the async clients start '''

tut6:
Connect a async client to the GMainloop and recive a signal.