Add settingtypes.txt and move Pause between Songs to Advanced Settings

This commit is contained in:
orwell96 2018-01-29 22:46:05 +01:00
parent 5f34cd0ac7
commit 63c1c28386
2 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,8 @@
mpd={}
--config
mpd.pause_between_songs=30
mpd.pause_between_songs=minetest.settings:get("mpd.pause_between_songs") or 30
--end config

3
settingtypes.txt Normal file
View File

@ -0,0 +1,3 @@
# How many seconds MPD waits before starting the next song
mpd_pause_between_songs (Pause between songs) int 30 0 3600