Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
autoradio
Commits
8d588e32
Commit
8d588e32
authored
11 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
disable some icecast options that give compatibility issues
parent
071ff55f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
node/icecast_config.go
+7
-7
7 additions, 7 deletions
node/icecast_config.go
with
13 additions
and
7 deletions
debian/changelog
+
6
−
0
View file @
8d588e32
autoradio (0.2-2) unstable; urgency=low
* Attempt to increase compatibility of the generated icecast configuration.
-- ale <ale@incal.net> Sun, 22 Dec 2013 19:07:30 +0000
autoradio (0.2-1) unstable; urgency=low
autoradio (0.2-1) unstable; urgency=low
* Fixes to packaging scripts.
* Fixes to packaging scripts.
...
...
This diff is collapsed.
Click to expand it.
node/icecast_config.go
+
7
−
7
View file @
8d588e32
...
@@ -21,12 +21,12 @@ var (
...
@@ -21,12 +21,12 @@ var (
type
iceLimitsConfig
struct
{
type
iceLimitsConfig
struct
{
Clients
int
`xml:"clients"`
Clients
int
`xml:"clients"`
Sources
int
`xml:"sources"`
Sources
int
`xml:"sources"`
Threadpool
int
`xml:"threadpool"`
//
Threadpool int `xml:"threadpool"`
QueueSize
int
`xml:"queue-size"`
QueueSize
int
`xml:"queue-size"`
ClientTimeout
int
`xml:"client-timeout"`
ClientTimeout
int
`xml:"client-timeout"`
HeaderTimeout
int
`xml:"header-timeout"`
HeaderTimeout
int
`xml:"header-timeout"`
SourceTimeout
int
`xml:"source-timeout"`
SourceTimeout
int
`xml:"source-timeout"`
BurstOnConnect
int
`xml:"burst-on-connect"`
//
BurstOnConnect int `xml:"burst-on-connect"`
BurstSize
int
`xml:"burst-size"`
BurstSize
int
`xml:"burst-size"`
}
}
...
@@ -79,7 +79,7 @@ type iceMountConfig struct {
...
@@ -79,7 +79,7 @@ type iceMountConfig struct {
FallbackMount
string
`xml:"fallback-mount,omitempty"`
FallbackMount
string
`xml:"fallback-mount,omitempty"`
FallbackOverride
int
`xml:"fallback-override,omitempty"`
FallbackOverride
int
`xml:"fallback-override,omitempty"`
Hidden
int
`xml:"hidden"`
Hidden
int
`xml:"hidden"`
NoYp
int
`xml:"no-yp"`
//
NoYp int `xml:"no-yp"`
OnConnect
string
`xml:"on-connect,omitempty"`
OnConnect
string
`xml:"on-connect,omitempty"`
OnDisconnect
string
`xml:"on-disconnect,omitempty"`
OnDisconnect
string
`xml:"on-disconnect,omitempty"`
}
}
...
@@ -125,12 +125,12 @@ func defaultDebianConfig(publicIp string) *icecastConfig {
...
@@ -125,12 +125,12 @@ func defaultDebianConfig(publicIp string) *icecastConfig {
Limits
:
iceLimitsConfig
{
Limits
:
iceLimitsConfig
{
Clients
:
maxClients
,
Clients
:
maxClients
,
Sources
:
maxClients
/
2
,
Sources
:
maxClients
/
2
,
Threadpool
:
16
,
//
Threadpool: 16,
QueueSize
:
1
<<
20
,
QueueSize
:
1
<<
20
,
ClientTimeout
:
30
,
ClientTimeout
:
30
,
HeaderTimeout
:
15
,
HeaderTimeout
:
15
,
SourceTimeout
:
60
,
SourceTimeout
:
60
,
BurstOnConnect
:
1
,
//
BurstOnConnect: 1,
BurstSize
:
65535
,
BurstSize
:
65535
,
},
},
Auth
:
iceAuthenticationConfig
{
Auth
:
iceAuthenticationConfig
{
...
@@ -200,9 +200,9 @@ func mountToConfig(m *autoradio.Mount) iceMountConfig {
...
@@ -200,9 +200,9 @@ func mountToConfig(m *autoradio.Mount) iceMountConfig {
Name
:
m
.
Name
,
Name
:
m
.
Name
,
Username
:
m
.
Username
,
Username
:
m
.
Username
,
Password
:
m
.
Password
,
Password
:
m
.
Password
,
Hidden
:
0
,
// MaxListeners: 1000,
// MaxListeners: 1000,
Hidden
:
0
,
// NoYp: 1,
NoYp
:
1
,
}
}
if
m
.
Fallback
!=
""
{
if
m
.
Fallback
!=
""
{
mconfig
.
FallbackMount
=
m
.
Fallback
mconfig
.
FallbackMount
=
m
.
Fallback
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment