wez / couchshare
Share your media to your couch + xbox 360, where you share your beer and snacks with good company. This is an implementation of a UPnP server in PHP, inspired by the ushare UPnP server. I wrote this in 2007 and it's been running for a couple of years in my basement.
| commit 9: | 15e10462b4d9 |
| parent 8: | 11b09b1165a7 |
| branch: | default |
update docs a bit
Changed (Δ693 bytes):
raw changeset »
README (10 lines added, 1 lines removed)
couchshare.ini.example (9 lines added, 0 lines removed)
| … | … | @@ -11,9 +11,18 @@ control/ handles control messages |
11 |
11 |
|
12 |
12 |
Installation: |
13 |
13 |
|
14 |
- You need PHP 5.2 |
|
14 |
- You need PHP 5.2 or higher, and you need to have build tools |
|
15 |
available for it (the php-devel package on fedora). |
|
15 |
16 |
That PHP install must have XML, PDO and PDO SQLite support. |
16 |
17 |
- Install the pecl fileinfo extension |
18 |
- Set up an alias or otherwise arrange for the "www" dir to be |
|
19 |
handled by your system web server |
|
20 |
- restart web server to pick up your config changes |
|
21 |
- edit couchshare.ini and set the "http" directive to that location. |
|
22 |
For example, if you have apache set to serve www up as |
|
23 |
http://192.168.0.1:80/couchshare, then you would put: |
|
24 |
http = 192.168.0.1:80/couchshare |
|
25 |
in the [network] section of couchshare.ini |
|
17 |
26 |
- make && make install # to install multicast udp for php |
18 |
27 |
- populate content with media or symlinks |
19 |
28 |
- php control/re-index.php # to populate db for the first time |
5 |
5 |
;; the first interface with a private network address on your |
6 |
6 |
;; system, otherwise it picks the first interface. |
7 |
7 |
; listen = 192.168.0.1 |
8 |
||
9 |
; edit this so that it matches the URL you configured to serve |
|
10 |
; up the www dir |
|
11 |
http = 192.168.0.1:80/couchshare |
|
12 |
||
13 |
[system] |
|
14 |
;; if re-index complains about a magic file, set this next line |
|
15 |
;; to the correct path |
|
16 |
; magicfile = /path/to/magic |
