mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-11-03 23:33:00 +00:00 
			
		
		
		
	Fix: ini file with sections
This commit is contained in:
		@@ -1,17 +1,16 @@
 | 
			
		||||
#myMPD config file
 | 
			
		||||
 | 
			
		||||
#Loglevel
 | 
			
		||||
#0 = quiet
 | 
			
		||||
#1 = default
 | 
			
		||||
#2 = verbose
 | 
			
		||||
#3 = debug
 | 
			
		||||
loglevel = 1
 | 
			
		||||
 | 
			
		||||
[mpd]
 | 
			
		||||
#Connection to mpd
 | 
			
		||||
mpdhost = 127.0.0.1
 | 
			
		||||
mpdport = 6600
 | 
			
		||||
#mpdpass = 
 | 
			
		||||
 | 
			
		||||
#Port for mpd http stream
 | 
			
		||||
streamport = 8000
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[webserver]
 | 
			
		||||
#Webserver options
 | 
			
		||||
webport = 80
 | 
			
		||||
 | 
			
		||||
@@ -21,15 +20,21 @@ sslport = 443
 | 
			
		||||
sslcert = /etc/mympd/ssl/server.pem
 | 
			
		||||
sslkey = /etc/mympd/ssl/server.key
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[mympd]
 | 
			
		||||
#Loglevel
 | 
			
		||||
#0 = quiet
 | 
			
		||||
#1 = default
 | 
			
		||||
#2 = verbose
 | 
			
		||||
#3 = debug
 | 
			
		||||
loglevel = 1
 | 
			
		||||
 | 
			
		||||
#myMPD user
 | 
			
		||||
user = mympd
 | 
			
		||||
 | 
			
		||||
#Enable local player, needs streamport or streamurl setting
 | 
			
		||||
localplayer = true
 | 
			
		||||
 | 
			
		||||
#Port for mpd http stream
 | 
			
		||||
streamport = 8000
 | 
			
		||||
 | 
			
		||||
#Manual streamurl, overwrites streamport
 | 
			
		||||
#streamurl = http://mpdhost:8000
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user