JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix typo
[cmus-lan-control.git] / README
1 This is a web interface for cmus, so you can let people on your LAN can do the
2 basics (pause, play, next, previous) and add songs to the queue.
3
4 It is very basic. For example it doesn't show metadata about the tracks (just
5 their paths) and you have to run a script manually every time you want the
6 library listing (on the web page) updated.
7
8 The code is released under GNU GPL v2+. See COPYING for details.
9
10 INSTALL
11
12         1) Put these files somewhere in your home directory
13
14         2) Update HIDE_PREFIX on line 3 of make_page.sh if your music is not in
15         ~/music
16
17         3) Copy do.php to a web-accessible directory. In that directory, also put
18         the output of make_page.sh (probably as index.html). Also make a fifo in
19         that directory named fifo: mkfifo fifo
20
21         4) make a symlink to the fifo file in this directory
22
23         5) cd to this directory (as your normal user, not the web server user) and
24         run cmusd: ./run.sh
25
26         6) make sure cmus is running, then go to the web interface and see if it
27         works.
28
29         6) If you get selinux errors, then hopefully you can fix them with
30         local.te file to fix. Something like this:
31                 checkmodule -M -m -o local.mod local.te
32                 semodule_package -o local.pp -m local.mod
33                 semodule -i local.pp