Add command line options --mood and --playlist.
[paraslash.git] / server.ggo
index 2c3ff1d0970258d1ddce7471ce4222f87cf6d508..f0e5bb0410ea09b32b4efb5e0462333162954521 100644 (file)
@@ -132,10 +132,49 @@ option "selector" S
        string typestr="name"
        optional
 
+#############################
+section "audio file selector"
+#############################
 
+option "afs_database_dir" D
+#~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-section "mysql selector:"
-#~~~~~~~~~~~~~~~~~~~~~~~~
+"Directory containing the osl database of the
+audio file selector.
+(default='~/.paraslash/afs_database'"
+
+       string typestr="path"
+       optional
+
+
+option "afs_socket" s
+#~~~~~~~~~~~~~~~~~~~~
+
+"Command socket for the audio file selector"
+
+       string typestr="path"
+       default="/var/paraslash/afs_command_socket"
+       optional
+
+option "mood" m
+#~~~~~~~~~~~~~~
+
+"Mood to load on startup."
+
+       string typestr="mood_name"
+       optional
+
+option "playlist" P
+#~~~~~~~~~~~~~~
+
+"Playlist to load on startup. Ignored if
+--mood is given as well."
+
+       string typestr="playlist_name"
+       optional
+
+section "mysql selector"
+#~~~~~~~~~~~~~~~~~~~~~~~
 
 
 option "mysql_host" -