changeset 7 | eb6d89bf1fbf |
parent 5 | cba039bd6f13 |
child 8 | fc9060b9b7cc |
6:90dceae3ed1f | 7:eb6d89bf1fbf |
---|---|
174 -- update status |
174 -- update status |
175 end |
175 end |
176 end |
176 end |
177 end |
177 end |
178 |
178 |
179 main.add_command ( 'mpd', |
179 main.command ( 'mpd', |
180 function ( args ) |
180 function ( args ) |
181 local enable = yesno ( args ) |
181 local enable = yesno ( args ) |
182 if enable == nil then |
182 if enable == nil then |
183 if mpd_enabled then |
183 if mpd_enabled then |
184 print ( "MPD status string is enabled" ) |
184 print ( "MPD status string is enabled" ) |