| View previous topic :: View next topic |
| Author |
Message |
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Sun Mar 04, 2012 9:37 pm Post subject: All mounts use same password? |
|
|
Hi all.
I'm having some issues in setting up different passwords for different mount points.
I have ices-cc connecting to /autodj - This only connects if I put 'aaaa' as the password, not 'cccc' which I expect it to be. /dj1 also only connects using aaaa, not bbbb.
It may be that I've completely set it up wrong, but I have /stream as the live mount, which is a relay of /dj1. This falls back to /autodj when no DJ is connected.
| Code: |
<icecast>
<limits>
<clients>100</clients>
<sources>3</sources>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>
<authentication>
<source-password>aaaa</source-password>
<admin-user>admin</admin-user>
<admin-password>notmypassword</admin-password>
</authentication>
<shoutcast-mount>/stream</shoutcast-mount>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>media.junglised.co.uk</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<relay>
<server>127.0.0.1</server>
<port>8000</port>
<mount>/dj1</mount>
<local-mount>/stream</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
<mount>
<mount-name>/stream</mount-name>
<hidden>0</hidden>
<no-yp>1</no-yp>
<public>1</public>
</mount>
<mount>
<mount-name>/dj1</mount-name>
<password>bbbb</password>
<max-listeners>100</max-listeners>
<dump-file>/archive/%d_%m_%Y-%H%M_%S.mp3</dump-file>
<fallback-mount>/autodj</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>0</fallback-when-full>
<hidden>1</hidden>
<no-yp>1</no-yp>
</mount>
<mount>
<mount-name>/audodj</mount-name>
<password>cccc</password>
<hidden>1</hidden>
<no-yp>1</no-yp>
<public>0</public>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/share/icecast</basedir>
<logdir>/var/log/icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>/access.log</accesslog>
<errorlog>/error.log</errorlog>
<loglevel>1</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast> |
|
|
| Back to top |
|
 |
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Sun Mar 04, 2012 9:59 pm Post subject: |
|
|
| It's as if it's ignoring half of my config file. I have /autodj set as hidden, yet it still shows on the front page before logging in as admin. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Mar 04, 2012 10:32 pm Post subject: |
|
|
if the xml is valid (looks ok here) then try increasing the log level to 4 and see what occurs when you connect up. make sure the connecting mountpoint matches the mount-name.
karl. |
|
| Back to top |
|
 |
|