File: README.ap-control

package info (click to toggle)
alsaplayer 0.99.82-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,892 kB
  • sloc: ansic: 40,741; cpp: 14,400; makefile: 983; sh: 796; lex: 751; asm: 45; python: 29; sed: 16
file content (32 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (2)
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
adapt the include and library paths in Makefile.ap-control, then
build the binary with:

make -f Makefile.ap-control


Attention:
Non-obvious feature (not a bug) of alsaplayer:

Even if the last title already finished playing, a "title" request
still returns information about that title.
Therefore one should use "query" first to obtain the playing status.


TODO:
implement point-resume, like:

"player off":
if playing
	ap-control time > /tmp/playlist-position
	ap-control save /tmp/playlist-lsm.m3u
else
	rm /tmp/playlist-position
	ap-control save /tmp/playlist-lsm.m3u

"player on":
ap-control playlist /tmp/playlist-lsm.m3u
ap-control seek < /tmp/playlist-position
ap-control play

Frank Baumgart