-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsoap_req.cfg.dist
executable file
·66 lines (57 loc) · 3.21 KB
/
soap_req.cfg.dist
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
// READ BELOW FOR HOW TO CONFIGURE LIQUIDSOAP REQUESTER:
// DO NOT TOUCH THE FOLLOWING LINE *PERIOD*
$isSetup = false;
// DID YOU LEAVE THAT LINE ALONE? OK, IF YOU DID, THAT'S *VERY* GOOD... ;)
// ...NOW, KEEP ON READING...
/*
This is the (tentative) configuration file for the public release of Quinn
Ebert's Liquidsoap Requester PHP Web-based Application. Despite
the file extension, it is a PHP code-style file. If you know what
this means, it means you can treat it as a PHP file (you can do *really*
fancy stuff with it, if you know what you're doing)!
--------------------------------------------------
If you're unfamiliar with PHP, or very short on time, just follow these
comments to setup your LSR installation...
*/
// Decide if you have a directory where your MP3s are kept, or if you
// want to use an m3u file to list your available media files from:
// POSSIBLE SETTINGS:
// + "flatpath": A directory containing MP3 files will be sourced
// (RECURSION NOT YET SUPPORTED)
// + "playlist": A playlist containing media will be sourced
// (*CAN* GET FILES FROM MULTIPLE DIRECTORIES ALREADY!)
$mSource = 'playlist';
// Provide the path to search ('flatpath') or the M3U to read ('playlist'):
$mReadIn = '/home/quinn/Liquidsoap/quinnliq.m3u';
// You can set this to your Streaming Output's Source ID (the optional "id' parameter in
// Liquidsoap) if you wish to support on-demand track-skipping:
$skipVia = 'ToVorbis';
// This setting allows you to set LSR into a mode where it only provides track-skipping features
// AVAILABLE VALUES:
// false : Liquidsoap Requester runs in the "full" mode
// true : Liquidsoap Requester runs in the "skip" mode
// THIS IS A BOOLEAN VALUE: DO NOT USE QUOTES IN YOUR SETTING!
$microMe = false;
// This setting allows you to disable GetID3 metadata library support. If you
// have thousands of files and don't care about metadata, disable this, it can
// dramatically slow down large library rendering (especially if your setup is
// unable to use the metadata caching feature...)
// AVAILABLE VALUES:
// false : support displaying and searching of files' metadata
// true : disable displaying and searching of files' metadata
$useMeta = true;
// Set the telnet port your script uses:
$ctlPort = 1234;
// Set this to any *one* IP address, hostname, or beginning of either of those
// (prefix) *and* remove the leading "//" if you want to control access by IP
// or hostname (and/or prefix) -- this only supports *one* prefix right now:
//$myUsers = '192.168.1.';
// Once you're done setting up the config, remove the "//" from the next line:
//$isSetup = true;
// DO **NOT** TOUCH ANYTHING BELOW HERE IN THIS FILE, UNLESS YOU KNOW *EXACTLY*
// WHAT YOU'RE DOING!!!
if (!$isSetup)
die("<strong>Fatal Error:</strong><br /><br />It seems you have not yet fully set up your Liquidsoap Requester configuration, please check your installation's "soap_req.cfg" file to see what you've done wrong!");
// AGAIN, DO NOT TOUCH ANYTHING, EVEN THIS LAST LINE:
$bryanMode = false;