mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	feat(mpd): reset player state when connection drops
This commit is contained in:
		| @@ -234,6 +234,7 @@ void waybar::modules::MPD::checkErrors(mpd_connection* conn) { | ||||
|       mpd_connection_clear_error(conn); | ||||
|       connection_.reset(); | ||||
|       alternate_connection_.reset(); | ||||
|       state_ = MPD_STATE_UNKNOWN; | ||||
|       return; | ||||
|     default: | ||||
|       auto error_message = mpd_connection_get_error_message(conn); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Minijackson
					Minijackson