🏡 index : ~doyle/sonos.rs.git

author Jordan Doyle <jordan@doyle.wf> 2017-12-09 23:56:24.0 +00:00:00
committer Jordan Doyle <jordan@doyle.wf> 2017-12-09 23:56:24.0 +00:00:00
commit
b2b97e356a5a0358a03c9391f6777bb797d1f452 [patch]
tree
4b6ee04499eb64ed2fceaf06b9c1e2d3c9901624
parent
16461b4813274467c86ff8374e88b0a5024b2a4a
download
b2b97e356a5a0358a03c9391f6777bb797d1f452.tar.gz

Remove NO_MEDIA_PRESENT state



Diff

 src/device.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/device.rs b/src/device.rs
index a779489..cff5fff 100644
--- a/src/device.rs
+++ a/src/device.rs
@@ -40,7 +40,6 @@
    PausedPlayback,
    PausedRecording,
    Recording,
    NoMediaPresent,
    Transitioning,
}

@@ -526,7 +525,6 @@
                "PAUSED_PLAYBACK" => TransportState::PausedPlayback,
                "PAUSED_RECORDING" => TransportState::PausedRecording,
                "RECORDING" => TransportState::Recording,
                "NO_MEDIA_PRESENT" => TransportState::NoMediaPresent,
                "TRANSITIONING" => TransportState::Transitioning,
                _ => TransportState::Stopped,
            },