Sonos - The Beginning

Posted on
Sat Mar 17, 2012 5:48 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Once I am able to have two ZonePlayers running, I will figure out how to handle two units with the same name. SonosPy asks for the ZonePlayer name, not any other identifier, so that will be tricky. I'm going to re-work the Line-In action so it lists all available Line-In sources instead of prompting for a ZonePlayer. Think that is more intuitive.

Posted on
Sat Mar 17, 2012 12:42 pm
terrydew offline
Posts: 258
Joined: Jun 10, 2011

Re: Sonos - The Beginning

Loaded new one. With polling on debug on and polling interval set to 1
Code: Select all
Reloading plugin "Sonos 0.2.8"
  Stopping plugin "Sonos 0.2.8" (pid 307)
  Sonos Debug                     Method: stopConcurrentThread
  Sonos Debug                     Method: stopConcurrentThread
  Sonos Debug                     Stopping device: new device 1
  Sonos Debug                     Stopping device: Sonos Guest Room
  Sonos Debug                     Stopping device: Sonos Library
  Sonos Debug                     Stopping device: Sonos Master Bedroom
  Sonos Debug                     Stopping device: Sonos Office
  Sonos Debug                     Stopping device: Sonos Portable
  Sonos Debug                     Stopping device: Sonos Shop
  Sonos Debug                     Stopping device: Sonos Sitting Room
  Sonos Debug                     Method: shutdown
  Plugin "Sonos" disconnected
  Starting plugin "Sonos 0.2.8" (pid 321)
  Plugin "Sonos" connected
  Plugin "Sonos 0.2.8" started
  Sonos Error                     Error communicating with SonosPy: Guest%20Room
  Sonos Error                     Error communicating with SonosPy: Guest%20Room
  Sonos Error                     Error communicating with SonosPy: Guest%20Room
  Sonos Error                     Error communicating with SonosPy: Guest%20Room
  Sonos Error                     Error communicating with SonosPy: Library
  Sonos Error                     Error communicating with SonosPy: Library
  Sonos Error                     Error communicating with SonosPy: Master%20Bedroom
  Sonos Error                     Error communicating with SonosPy: Master%20Bedroom
  Sonos Error                     Error communicating with SonosPy: Office
  Sonos Error                     Error communicating with SonosPy: Office
  Sonos Error                     Error communicating with SonosPy: Portable
  Sonos Error                     Error communicating with SonosPy: Portable
  Sonos Error                     Error communicating with SonosPy: Shop
  Sonos Error                     Error communicating with SonosPy: Shop
  Sonos Error                     Error communicating with SonosPy: Sitting%20Room
  Sonos Error                     Error communicating with SonosPy: Sitting%20Room
  Sonos Debug                     Getting Plugin Configuration Settings
  Sonos Debug                         Connection Type: Socket
  Sonos Debug                         Socket IP:            192.168.1.202
  Sonos Debug                         Socket Port:          50101
  Sonos Debug                         Reference ZonePlayer: Portable
  Sonos Debug                         Poll ZonePlayers:     True
  Sonos Debug                         Polling Interval:     1
  Sonos                           Saved Plugin Configuration
  Sonos                           Loading ZonePlayers...
  Sonos Debug                     Message: http://192.168.1.202:50101/data/deviceData
  Sonos Debug                     http://192.168.1.202:50101/data/deviceData
  Sonos Debug                     R::DIRECTV Mediashare Renderer_|_R::DIRECTV Mediashare Renderer_|_R::DIRECTV Mediashare Renderer_|_R::DIRECTV Mediashare Renderer_|_R::DIRECTV Mediashare Renderer_|_R::DIRECTV Mediashare Renderer_|_R::Guest Room (ZP)_|_R::Guest Room (ZP)_|_R::Library (ZP)_|_R::Master Bedroom (ZP)_|_R::Office (ZP)_|_R::Portable (ZP)_|_R::Shop (ZP)_|_R::Sitting Room (ZP)_|_S::DIRECTV2PC Media Server_|_S::DIRECTV2PC Media Server_|_S::DIRECTV2PC Media Server_|_S::Guest Room (ZP)_|_S::Guest Room (ZP)_|_S::Library (ZP)_|_S::Master Bedroom (ZP)_|_S::Office (ZP)_|_S::Portable (ZP)_|_S::Shop (ZP)_|_S::Sitting Room (ZP)_|_
  Sonos                              ZonePlayer: Guest Room (ZP)
  Sonos                              ZonePlayer: Guest Room (ZP)
  Sonos                              ZonePlayer: Library (ZP)
  Sonos                              ZonePlayer: Master Bedroom (ZP)
  Sonos                              ZonePlayer: Office (ZP)
  Sonos                              ZonePlayer: Portable (ZP)
  Sonos                              ZonePlayer: Shop (ZP)
  Sonos                              ZonePlayer: Sitting Room (ZP)
  Sonos                           ----------------------------------------
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rootData?data=S::Portable%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rootData?data=S::Portable%20%28ZP%29
  Sonos Debug                     1::R::NONE::AUPEO!_|_2::R::NONE::DAR.fm Record Radio_|_3::R::NONE::Deezer_|_4::R::NONE::Global Search_|_5::R::NONE::iheartradio_|_6::R::NONE::Juke_|_7::R::NONE::Juke_|_8::R::NONE::LineIn_|_9::R::NONE::MOG_|_10::R::NONE::Music Library_|_11::R::NONE::Music Shares_|_12::R::NONE::Napster_|_13::R::NONE::QQ音乐_|_14::R::NONE::RadioTime_|_15::R::NONE::Rdio_|_16::R::NONE::Slacker_|_17::R::NONE::Songl_|_18::R::NONE::Sonora_|_19::R::NONE::Sonos Playlists_|_20::R::NONE::Spotify_|_21::R::NONE::Spotify_|_22::R::NONE::Stitcher SmartRadio_|_23::R::NONE::Twitter_|_24::R::NONE::WiMP_|_25::R::NONE::Wolfgang's Vault_|_26::R::NONE::多米音乐_|_MESSAGE::The item you selected is not currently supported by pycpoint_|_
  Sonos Debug                     Loading Playlists...
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rendererData?data=R::Portable%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rendererData?data=R::Portable%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     19_1::C::ZP_LIST::Acker Bilk::SQ:16::SONOSMUSICSERVER_|_19_2::C::ZP_LIST::AcKer Bilk Terry::SQ:19::SONOSMUSICSERVER_|_19_3::C::ZP_LIST::ben::SQ:25::SONOSMUSICSERVER_|_19_4::C::ZP_LIST::Ben::SQ:13::SONOSMUSICSERVER_|_19_5::C::ZP_LIST::Christmas::SQ:10::SONOSMUSICSERVER_|_19_6::C::ZP_LIST::Claironet +  Memory::SQ:20::SONOSMUSICSERVER_|_19_7::C::ZP_LIST::Classical::SQ:26::SONOSMUSICSERVER_|_19_8::C::ZP_LIST::Country List::SQ:22::SONOSMUSICSERVER_|_19_9::C::ZP_LIST::Easy Listening::SQ:12::SONOSMUSICSERVER_|_19_10::C::ZP_LIST::Il Divo & Enya::SQ:23::SONOSMUSICSERVER_|_19_11::C::ZP_LIST::Pictures::SQ:21::SONOSMUSICSERVER_|_19_12::C::ZP_LIST::POP::SQ:15::SONOSMUSICSERVER_|_19_13::C::ZP_LIST::Reading::SQ:6::SONOSMUSICSERVER_|_19_14::C::ZP_LIST::Rick Nelson::SQ:14::SONOSMUSICSERVER_|_19_15::C::ZP_LIST::Sharon::SQ:11::SONOSMUSICSERVER_|_19_16::C::ZP_LIST::Terry::SQ:9::SONOSMUSICSERVER_|_19_17::C::ZP_LIST::TOP 50's::SQ:17::SONOSMUSICSERVER_|_19_18::C::ZP_LIST::Walk::SQ:8::SONOSMUSICSERVER_|_19_19::C::ZP_LIST::Xxxxx::SQ:24::SONOSMUSICSERVER_|_RETURN::19:19_|_
  Sonos Debug                        Playlist: SQ:16, Acker Bilk
  Sonos Debug                        Playlist: SQ:19, AcKer Bilk Terry
  Sonos Debug                        Playlist: SQ:25, ben
  Sonos Debug                        Playlist: SQ:13, Ben
  Sonos Debug                        Playlist: SQ:10, Christmas
  Sonos Debug                        Playlist: SQ:20, Claironet +  Memory
  Sonos Debug                        Playlist: SQ:26, Classical
  Sonos Debug                        Playlist: SQ:22, Country List
  Sonos Debug                        Playlist: SQ:12, Easy Listening
  Sonos Debug                        Playlist: SQ:23, Il Divo & Enya
  Sonos Debug                        Playlist: SQ:21, Pictures
  Sonos Debug                        Playlist: SQ:15, POP
  Sonos Debug                        Playlist: SQ:6, Reading
  Sonos Debug                        Playlist: SQ:14, Rick Nelson
  Sonos Debug                        Playlist: SQ:11, Sharon
  Sonos Debug                        Playlist: SQ:9, Terry
  Sonos Debug                        Playlist: SQ:17, TOP 50's
  Sonos Debug                        Playlist: SQ:8, Walk
  Sonos Debug                        Playlist: SQ:24, Xxxxx
  Sonos Debug                     ----------------------------------------
  Sonos Debug                     Loading RadioTime file
  Sonos Debug                     Radio_Continents: Africa
  Sonos Debug                     Radio_Continents: Asia
  Sonos Debug                     Radio_Continents: Australasia
  Sonos Debug                     Radio_Continents: Central America
  Sonos Debug                     Radio_Continents: Europe
  Sonos Debug                     Radio_Continents: North America
  Sonos Debug                     Radio_Continents: South America
  Sonos Debug                     ----------------------------------------
  Sonos Debug                     Resetting States for zone: Guest%20Room
  Sonos Debug                         Updating Device: new device 1, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_AIName, Value:
  Sonos Debug                         Updating Device: new device 1, State: ZP_AIPath, Value:
  Sonos Debug                     Loading LineIn...
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rootData?data=S::Guest%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rootData?data=S::Guest%20Room%20%28ZP%29
  Sonos Error                     Error getting ZonePlayer data: Guest%20Room
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rendererData?data=R::Guest%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rendererData?data=R::Guest%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     ----------------------------------------
  Sonos Debug                     Resetting States for zone: Guest%20Room
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_AIName, Value:
  Sonos Debug                         Updating Device: Sonos Guest Room, State: ZP_AIPath, Value:
  Sonos Debug                     Loading LineIn...
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rootData?data=S::Guest%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rootData?data=S::Guest%20Room%20%28ZP%29
  Sonos Error                     Error getting ZonePlayer data: Guest%20Room
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rendererData?data=R::Guest%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rendererData?data=R::Guest%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     ----------------------------------------
  Sonos Debug                     Resetting States for zone: Library
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_AIName, Value:
  Error                           device state key ZP_AIName not defined (ignoring update request)
  Sonos Debug                         Updating Device: Sonos Library, State: ZP_AIPath, Value:
  Error                           device state key ZP_AIPath not defined (ignoring update request)
  Sonos Debug                     Loading LineIn...
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rootData?data=S::Library%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rootData?data=S::Library%20%28ZP%29
  Sonos Debug                     1::R::NONE::AUPEO!_|_2::R::NONE::DAR.fm Record Radio_|_3::R::NONE::Deezer_|_4::R::NONE::Global Search_|_5::R::NONE::iheartradio_|_6::R::NONE::Juke_|_7::R::NONE::Juke_|_8::R::NONE::Line-In_|_9::R::NONE::MOG_|_10::R::NONE::Music Library_|_11::R::NONE::Music Shares_|_12::R::NONE::Napster_|_13::R::NONE::QQ音乐_|_14::R::NONE::RadioTime_|_15::R::NONE::Rdio_|_16::R::NONE::Slacker_|_17::R::NONE::Songl_|_18::R::NONE::Sonora_|_19::R::NONE::Sonos Playlists_|_20::R::NONE::Spotify_|_21::R::NONE::Spotify_|_22::R::NONE::Stitcher SmartRadio_|_23::R::NONE::Twitter_|_24::R::NONE::WiMP_|_25::R::NONE::Wolfgang's Vault_|_26::R::NONE::多米音乐_|_MESSAGE::_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/rendererData?data=R::Library%20%28ZP%29
  Sonos Debug                     http://192.168.1.202:50101/data/rendererData?data=R::Library%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=2::R::NONE::DAR%2Efm%20Record%20Radio::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=2::R::NONE::DAR%2Efm%20Record%20Radio::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=3::R::NONE::Deezer::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=3::R::NONE::Deezer::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=4::R::NONE::Global%20Search::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=4::R::NONE::Global%20Search::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=5::R::NONE::iheartradio::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=5::R::NONE::iheartradio::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=6::R::NONE::Juke::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=6::R::NONE::Juke::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=7::R::NONE::Juke::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=7::R::NONE::Juke::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=8::R::NONE::Line-In::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=8::R::NONE::Line-In::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=9::R::NONE::MOG::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=9::R::NONE::MOG::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=10::R::NONE::Music%20Library::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=10::R::NONE::Music%20Library::1,0,100
  Sonos Debug                     10_1::C::NONE::Search Library::LSS::SONOSLIBRARY_|_10_2::C::ZP_LIBRARY_PLAY::Artists::A:ALBUMARTIST::SONOSLIBRARY_|_10_3::C::ZP_LIBRARY_PLAY::Albums::A:ALBUM::SONOSLIBRARY_|_10_4::C::ZP_LIBRARY_PLAY::Genres::A:GENRE::SONOSLIBRARY_|_10_5::C::ZP_LIBRARY_PLAY::Composers::A:COMPOSER::SONOSLIBRARY_|_10_6::C::ZP_LIBRARY_PLAY::Tracks::A:TRACKS::SONOSLIBRARY_|_10_7::C::ZP_LIBRARY_PLAY::Playlists::A:PLAYLISTS::SONOSLIBRARY_|_RETURN::7:7_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=11::R::NONE::Music%20Shares::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=11::R::NONE::Music%20Shares::1,0,100
  Sonos Debug                     11_1::C::ZP_MS_PLAY:://MACMINI-57C36D/Music::S://MACMINI-57C36D/Music::SONOSMUSICSERVER_|_RETURN::1:1_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=12::R::NONE::Napster::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=12::R::NONE::Napster::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=13::R::NONE::QQ音乐::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=13::R::NONE::QQ音乐::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=14::R::NONE::RadioTime::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=14::R::NONE::RadioTime::1,0,100
  Sonos Debug                     14_1::C::NONE::Music::y1::RADIOTIME_|_14_2::C::NONE::News::c57922::RADIOTIME_|_14_3::C::NONE::Sports::g2723::RADIOTIME_|_14_4::C::NONE::Talk::y2::RADIOTIME_|_14_5::C::NONE::Location::r0::RADIOTIME_|_RETURN::5:5_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=15::R::NONE::Rdio::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=15::R::NONE::Rdio::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=16::R::NONE::Slacker::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=16::R::NONE::Slacker::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=17::R::NONE::Songl::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=17::R::NONE::Songl::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=18::R::NONE::Sonora::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=18::R::NONE::Sonora::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     19_1::C::ZP_LIST::Acker Bilk::SQ:16::SONOSMUSICSERVER_|_19_2::C::ZP_LIST::AcKer Bilk Terry::SQ:19::SONOSMUSICSERVER_|_19_3::C::ZP_LIST::ben::SQ:25::SONOSMUSICSERVER_|_19_4::C::ZP_LIST::Ben::SQ:13::SONOSMUSICSERVER_|_19_5::C::ZP_LIST::Christmas::SQ:10::SONOSMUSICSERVER_|_19_6::C::ZP_LIST::Claironet +  Memory::SQ:20::SONOSMUSICSERVER_|_19_7::C::ZP_LIST::Classical::SQ:26::SONOSMUSICSERVER_|_19_8::C::ZP_LIST::Country List::SQ:22::SONOSMUSICSERVER_|_19_9::C::ZP_LIST::Easy Listening::SQ:12::SONOSMUSICSERVER_|_19_10::C::ZP_LIST::Il Divo & Enya::SQ:23::SONOSMUSICSERVER_|_19_11::C::ZP_LIST::Pictures::SQ:21::SONOSMUSICSERVER_|_19_12::C::ZP_LIST::POP::SQ:15::SONOSMUSICSERVER_|_19_13::C::ZP_LIST::Reading::SQ:6::SONOSMUSICSERVER_|_19_14::C::ZP_LIST::Rick Nelson::SQ:14::SONOSMUSICSERVER_|_19_15::C::ZP_LIST::Sharon::SQ:11::SONOSMUSICSERVER_|_19_16::C::ZP_LIST::Terry::SQ:9::SONOSMUSICSERVER_|_19_17::C::ZP_LIST::TOP 50's::SQ:17::SONOSMUSICSERVER_|_19_18::C::ZP_LIST::Walk::SQ:8::SONOSMUSICSERVER_|_19_19::C::ZP_LIST::Xxxxx::SQ:24::SONOSMUSICSERVER_|_RETURN::19:19_|_
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=20::R::NONE::Spotify::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=20::R::NONE::Spotify::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=21::R::NONE::Spotify::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=21::R::NONE::Spotify::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=22::R::NONE::Stitcher%20SmartRadio::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=22::R::NONE::Stitcher%20SmartRadio::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=23::R::NONE::Twitter::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=23::R::NONE::Twitter::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=24::R::NONE::WiMP::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=24::R::NONE::WiMP::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=25::R::NONE::Wolfgang%27s%20Vault::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=25::R::NONE::Wolfgang%27s%20Vault::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Debug                     Message: http://192.168.1.202:50101/data/getData?data=26::R::NONE::多米音乐::1,0,100
  Sonos Debug                     http://192.168.1.202:50101/data/getData?data=26::R::NONE::多米音乐::1,0,100
  Sonos Error                     Error getting ZonePlayer data: Library
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 80, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 503, in getLineIn
<type 'exceptions.IndexError'>: list index out of range

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds

Posted on
Sat Mar 17, 2012 6:15 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Thanks for the debug Terry. I found a looping error with the Line-In discovery code that should help with the errors when searching the Library ZonePlayer. I'm a little confused - thought you had three devices with Line-In: Master Bedroom, Shop, and Portable? If that changed, let me know. I do see that I can't browse the root of the Guest Room ZonePlayer - this is the one that is grouped. Wondering if SonosPy has an issue - there are two physical devices with the same name. I'm going to go through some of that code now and see what can be discovered.

Posted on
Sat Mar 17, 2012 6:18 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

I posted new code on the wiki site.

Posted on
Sat Mar 17, 2012 6:55 pm
terrydew offline
Posts: 258
Joined: Jun 10, 2011

Re: Sonos - The Beginning

I had some line in setups that I wasn't really using so I unplugged them. I now only have two. Shop and portable. I will test the new code in the am.

Posted on
Sun Mar 18, 2012 2:04 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Mat - could you pm me or post the code for this AppleScript function? I'd like to try to replicate it - and save the queue position at the same time. Thanks!

One more thing to add that I think would be useful at this stage is "switch to queue". I have this working through AppleScript still. When you have line in selected, you can switch a zone back to the previous queue.

Unfortunately my AppleScript only restarts the current queue from the beginning again. I guess that leads onto another function - "annouce" which would save queue position or current playing, switch to line in for announcement, then switch back to current position. Just something to add to the list, for another day

Posted on
Sun Mar 18, 2012 4:02 am
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Sonos - The Beginning

I think this was my first apple script so I am sure it can be improved. It's using curl calls and reading in the queue. should be fairly straight forward to understand.

Code: Select all
--set the renderer to the tv room

do shell script "curl http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29"

--set volume
do shell script "curl http://192.168.0.16:50101/data/rendererAction?data=VOLUME::20"


--get queue
do shell script "curl http://192.168.0.16:50101/data/getData?data=QQ::R::ZP_QUEUE::Current%20Queue::1,0,1 >" & " users/matthewcarpenter/sonospy/currentplaylist.txt"

using terms from application "IndigoServer"
   --insert extract track name and parse to variable to create next
   --http call (all to do)
   set myplaylist to "users/matthewcarpenter/sonospy/currentplaylist.txt"
   open for access myplaylist as string
   set filecontent to (read myplaylist)
   close access myplaylist
   
   -- trim rubbish from queue to get first song
   set junk to (text 16 thru 50 of filecontent) as string
   set trimname to text 1 thru ((offset of ":" in junk) - 1) of junk
   
   tell application "IndigoServer"
      set value of variable "currenttrack" to trimname
   end tell
   
   --encode illegal chars
   --there must be a command to convert illegal chars to http coding
   --this needs work but is a quick hack
   --remove spaces and replace with %20
   set AppleScript's text item delimiters to " "
   set thetextitems to text items of trimname
   set AppleScript's text item delimiters to "%20"
   set trimname to thetextitems as string
   
   --remove ? and replace with %3F
   set AppleScript's text item delimiters to "?"
   set thetextitems to text items of trimname
   set AppleScript's text item delimiters to "%3F"
   set trimname to thetextitems as string
   
   --remove [ and replace with %5b
   set AppleScript's text item delimiters to "["
   set thetextitems to text items of trimname
   set AppleScript's text item delimiters to "%5B"
   set trimname to thetextitems as string
   
   --remove ] and replace with %5d
   set AppleScript's text item delimiters to "]"
   set thetextitems to text items of trimname
   set AppleScript's text item delimiters to "%5D"
   set trimname to thetextitems as string
   set AppleScript's text item delimiters to {""}
   
   --remove ' and replace with %27
   set AppleScript's text item delimiters to "'"
   set thetextitems to text items of trimname
   set AppleScript's text item delimiters to "%27"
   set trimname to thetextitems as string
   set AppleScript's text item delimiters to {""}
   
   --Play track
   set sonoscall to "http://192.168.0.16:50101/data/playData?data=QQ_1::T::NONE::" & trimname & ":::PNDQ"
   
   
   do shell script "curl " & sonoscall
   
   tell application "IndigoServer"
      set value of variable "sonossorce" to "music"
   end tell
end using terms from


I've got to go into the office for a few hours (nice on a Sunday morning) but will see if I can do a test on the latest update this afternoon.

Trust all is well with you.

Mat

Late 2018 mini 10.14

Posted on
Sun Mar 18, 2012 4:45 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Thanks Mat! Will take a look at it in a bit.

I've been spending some time on the threading issue and think I've found the problem - unfortunately it is in the brisa library used by SonosPy that was modified to work with SonosPy. I've downloaded a new version that deals with dummy thread problems. now I need to diff each file with Mark's version and see if I can replicate all the appropriate changes.

Posted on
Sun Mar 18, 2012 4:52 am
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Sonos - The Beginning

Managed to test before going to work. Running version 0.2.9, latest unstable sonospy as of 2 days ago.

Polling off appears to have stopped the thread count increasing. I'll leave it running and keep an eye on it.

line-in is crashing the plugin. Debug is on, and I'm getting the following log report from indigo.

Code: Select all
 Action Group                    sonos TV Room line in
  Sonos Debug                     Method: runConcurrentThread
  Sonos Debug                     Running Concurrent Thread
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Sonos Debug                     Method: runConcurrentThread
  Sonos Debug                     Running Concurrent Thread
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds

Late 2018 mini 10.14

Posted on
Sun Mar 18, 2012 6:07 am
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Sonos - The Beginning

Not sure if this helps, but I have rewritten my applescript for line in following marks update:

Code: Select all
do shell script "curl http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29"

--these may need to be called to work after reboot
--get line in zone settings
do shell script "curl http://192.168.0.16:50101/data/rootData?data=S::TV%20Room%20%28ZP%29"
do shell script "curl http://192.168.0.16:50101/data/getData?data=2::R::NONE::cinema::1,0,10"

do shell script "curl http://192.168.0.16:50101/data/playData?data=2_1::T::MS_PLAY::cinema:::PNDQ"

--set volume
do shell script "curl http://192.168.0.16:50101/data/rendererAction?data=VOLUME::45"

tell application "IndigoServer"
   set value of variable "currenttrack" to "Line-in Cinema"
end tell

tell application "IndigoServer"
   set value of variable "sonossorce" to "line"
end tell

Late 2018 mini 10.14

Posted on
Sun Mar 18, 2012 6:36 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

mat - with Polling off, can you send the entire debug after starting up the plugin. I need to see exactly what is missing. The fix should be easy. And also to be sure, did you re-create your Sonos devices in Indigo at any point? I added a couple of states for the Line-In handling.

Posted on
Sun Mar 18, 2012 6:56 am
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Sonos - The Beginning

Doh! recreated devices....I wondered why things were so unstable! my fault.

Code: Select all
  Plugin "Sonos" connected
  Plugin "Sonos 0.2.9" started
  Sonos Error                     Error communicating with SonosPy: Bedroom
  Sonos Error                     Error communicating with SonosPy: Bedroom
  Sonos Error                     Error communicating with SonosPy: Dining%20Room
  Sonos Error                     Error communicating with SonosPy: Dining%20Room
  Sonos Error                     Error communicating with SonosPy: TV%20Room
  Sonos Error                     Error communicating with SonosPy: TV%20Room
  Sonos Debug                     Getting Plugin Configuration Settings
  Sonos Debug                         Connection Type: Socket
  Sonos Debug                         Socket IP:            192.168.0.16
  Sonos Debug                         Socket Port:          50101
  Sonos Debug                         Reference ZonePlayer: TV Room
  Sonos Debug                         Poll ZonePlayers:     False
  Sonos Debug                         Polling Interval:     
  Sonos                           Saved Plugin Configuration
  Sonos                           Loading ZonePlayers...
  Sonos Debug                     Message: http://192.168.0.16:50101/data/deviceData
  Sonos Debug                     http://192.168.0.16:50101/data/deviceData
  Sonos Debug                     R::Bedroom (ZP)_|_R::Dining Room (ZP)_|_R::TV Room (ZP)_|_S::Bedroom (ZP)_|_S::Dining Room (ZP)_|_S::EyeConnect (Mats-Mac-mini)_|_S::TV Room (ZP)_|_
  Sonos                              ZonePlayer: Bedroom (ZP)
  Sonos                              ZonePlayer: Dining Room (ZP)
  Sonos                              ZonePlayer: TV Room (ZP)
  Sonos                           ---------------------------------------------
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rootData?data=S::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rootData?data=S::TV%20Room%20%28ZP%29
  Sonos Debug                     1::R::NONE::AUPEO!_|_2::R::NONE::cinema_|_3::R::NONE::DAR.fm Record Radio_|_4::R::NONE::Deezer_|_5::R::NONE::Global Search_|_6::R::NONE::iheartradio_|_7::R::NONE::Juke_|_8::R::NONE::Juke_|_9::R::NONE::MOG_|_10::R::NONE::Music Library_|_11::R::NONE::Music Shares_|_12::R::NONE::Napster_|_13::R::NONE::QQ音乐_|_14::R::NONE::RadioTime_|_15::R::NONE::Rdio_|_16::R::NONE::Slacker_|_17::R::NONE::Songl_|_18::R::NONE::Sonora_|_19::R::NONE::Sonos Playlists_|_20::R::NONE::Spotify_|_21::R::NONE::Spotify_|_22::R::NONE::Stitcher SmartRadio_|_23::R::NONE::Twitter_|_24::R::NONE::WiMP_|_25::R::NONE::Wolfgang's Vault_|_26::R::NONE::多米音乐_|_MESSAGE::The item you selected is not currently supported by pycpoint_|_
  Sonos Debug                     Loading Playlists...
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     19_1::C::ZP_LIST::best::SQ:1::SONOSMUSICSERVER_|_19_2::C::ZP_LIST::Cool funky 60's::SQ:10::SONOSMUSICSERVER_|_19_3::C::ZP_LIST::Hippie::SQ:2::SONOSMUSICSERVER_|_19_4::C::ZP_LIST::Now 1980 - 1989::SQ:4::SONOSMUSICSERVER_|_19_5::C::ZP_LIST::Party Playlist::SQ:8::SONOSMUSICSERVER_|_19_6::C::ZP_LIST::rachel's random nite::SQ:3::SONOSMUSICSERVER_|_19_7::C::ZP_LIST::serve chilled 2008::SQ:5::SONOSMUSICSERVER_|_19_8::C::ZP_LIST::skin::SQ:9::SONOSMUSICSERVER_|_19_9::C::ZP_LIST::Stu's mix::SQ:7::SONOSMUSICSERVER_|_19_10::C::ZP_LIST::The Joshua Tree::SQ:6::SONOSMUSICSERVER_|_RETURN::10:10_|_
  Sonos Debug                        Playlist: SQ:1, best
  Sonos Debug                        Playlist: SQ:10, Cool funky 60's
  Sonos Debug                        Playlist: SQ:2, Hippie
  Sonos Debug                        Playlist: SQ:4, Now 1980 - 1989
  Sonos Debug                        Playlist: SQ:8, Party Playlist
  Sonos Debug                        Playlist: SQ:3, rachel's random nite
  Sonos Debug                        Playlist: SQ:5, serve chilled 2008
  Sonos Debug                        Playlist: SQ:9, skin
  Sonos Debug                        Playlist: SQ:7, Stu's mix
  Sonos Debug                        Playlist: SQ:6, The Joshua Tree
  Sonos Debug                     ---------------------------------------------
  Sonos Debug                     Loading RadioTime file
  Sonos Debug                     Radio_Continents: Africa
  Sonos Debug                     Radio_Continents: Asia
  Sonos Debug                     Radio_Continents: Australasia
  Sonos Debug                     Radio_Continents: Central America
  Sonos Debug                     Radio_Continents: Europe
  Sonos Debug                     Radio_Continents: North America
  Sonos Debug                     Radio_Continents: South America
  Sonos Debug                     ---------------------------------------------
  Sonos Debug                     Resetting States for zone: Bedroom
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: Sonos Bedroom, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                     Loading LineIn...
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rootData?data=S::Bedroom%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rootData?data=S::Bedroom%20%28ZP%29
  Sonos Debug                     1::R::NONE::AUPEO!_|_2::R::NONE::DAR.fm Record Radio_|_3::R::NONE::Deezer_|_4::R::NONE::Global Search_|_5::R::NONE::iheartradio_|_6::R::NONE::Juke_|_7::R::NONE::Juke_|_8::R::NONE::Line-In_|_9::R::NONE::MOG_|_10::R::NONE::Music Library_|_11::R::NONE::Music Shares_|_12::R::NONE::Napster_|_13::R::NONE::QQ音乐_|_14::R::NONE::RadioTime_|_15::R::NONE::Rdio_|_16::R::NONE::Slacker_|_17::R::NONE::Songl_|_18::R::NONE::Sonora_|_19::R::NONE::Sonos Playlists_|_20::R::NONE::Spotify_|_21::R::NONE::Spotify_|_22::R::NONE::Stitcher SmartRadio_|_23::R::NONE::Twitter_|_24::R::NONE::WiMP_|_25::R::NONE::Wolfgang's Vault_|_26::R::NONE::多米音乐_|_MESSAGE::The item you selected is not currently supported by pycpoint_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererData?data=R::Bedroom%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererData?data=R::Bedroom%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=2::R::NONE::DAR%2Efm%20Record%20Radio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=2::R::NONE::DAR%2Efm%20Record%20Radio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=3::R::NONE::Deezer::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=3::R::NONE::Deezer::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=4::R::NONE::Global%20Search::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=4::R::NONE::Global%20Search::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=5::R::NONE::iheartradio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=5::R::NONE::iheartradio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=6::R::NONE::Juke::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=6::R::NONE::Juke::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=7::R::NONE::Juke::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=7::R::NONE::Juke::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=8::R::NONE::Line-In::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=8::R::NONE::Line-In::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=9::R::NONE::MOG::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=9::R::NONE::MOG::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=10::R::NONE::Music%20Library::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=10::R::NONE::Music%20Library::1,0,100
  Sonos Debug                     10_1::C::NONE::Search Library::LSS::SONOSLIBRARY_|_10_2::C::ZP_LIBRARY_PLAY::Artists::A:ALBUMARTIST::SONOSLIBRARY_|_10_3::C::ZP_LIBRARY_PLAY::Albums::A:ALBUM::SONOSLIBRARY_|_10_4::C::ZP_LIBRARY_PLAY::Genres::A:GENRE::SONOSLIBRARY_|_10_5::C::ZP_LIBRARY_PLAY::Composers::A:COMPOSER::SONOSLIBRARY_|_10_6::C::ZP_LIBRARY_PLAY::Tracks::A:TRACKS::SONOSLIBRARY_|_10_7::C::ZP_LIBRARY_PLAY::Playlists::A:PLAYLISTS::SONOSLIBRARY_|_RETURN::7:7_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=11::R::NONE::Music%20Shares::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=11::R::NONE::Music%20Shares::1,0,100
  Sonos Debug                     11_1::C::ZP_MS_PLAY:://192.168.0.202/multimedia::S://192.168.0.202/multimedia::SONOSMUSICSERVER_|_RETURN::1:1_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=12::R::NONE::Napster::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=12::R::NONE::Napster::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=13::R::NONE::QQ音乐::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=13::R::NONE::QQ音乐::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=14::R::NONE::RadioTime::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=14::R::NONE::RadioTime::1,0,100
  Sonos Debug                     14_1::C::NONE::Music::y1::RADIOTIME_|_14_2::C::NONE::News::c57922::RADIOTIME_|_14_3::C::NONE::Sports::g2723::RADIOTIME_|_14_4::C::NONE::Talk::y2::RADIOTIME_|_14_5::C::NONE::Location::r0::RADIOTIME_|_RETURN::5:5_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=15::R::NONE::Rdio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=15::R::NONE::Rdio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=16::R::NONE::Slacker::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=16::R::NONE::Slacker::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=17::R::NONE::Songl::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=17::R::NONE::Songl::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=18::R::NONE::Sonora::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=18::R::NONE::Sonora::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     19_1::C::ZP_LIST::best::SQ:1::SONOSMUSICSERVER_|_19_2::C::ZP_LIST::Cool funky 60's::SQ:10::SONOSMUSICSERVER_|_19_3::C::ZP_LIST::Hippie::SQ:2::SONOSMUSICSERVER_|_19_4::C::ZP_LIST::Now 1980 - 1989::SQ:4::SONOSMUSICSERVER_|_19_5::C::ZP_LIST::Party Playlist::SQ:8::SONOSMUSICSERVER_|_19_6::C::ZP_LIST::rachel's random nite::SQ:3::SONOSMUSICSERVER_|_19_7::C::ZP_LIST::serve chilled 2008::SQ:5::SONOSMUSICSERVER_|_19_8::C::ZP_LIST::skin::SQ:9::SONOSMUSICSERVER_|_19_9::C::ZP_LIST::Stu's mix::SQ:7::SONOSMUSICSERVER_|_19_10::C::ZP_LIST::The Joshua Tree::SQ:6::SONOSMUSICSERVER_|_RETURN::10:10_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=20::R::NONE::Spotify::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=20::R::NONE::Spotify::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=21::R::NONE::Spotify::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=21::R::NONE::Spotify::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=22::R::NONE::Stitcher%20SmartRadio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=22::R::NONE::Stitcher%20SmartRadio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=23::R::NONE::Twitter::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=23::R::NONE::Twitter::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=24::R::NONE::WiMP::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=24::R::NONE::WiMP::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=25::R::NONE::Wolfgang%27s%20Vault::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=25::R::NONE::Wolfgang%27s%20Vault::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=26::R::NONE::多米音乐::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=26::R::NONE::多米音乐::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Bedroom
  Sonos Debug                     Resetting States for zone: Dining%20Room
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: Sonos Dining Room, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                     Loading LineIn...
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rootData?data=S::Dining%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rootData?data=S::Dining%20Room%20%28ZP%29
  Sonos Debug                     1::R::NONE::AUPEO!_|_2::R::NONE::DAR.fm Record Radio_|_3::R::NONE::Deezer_|_4::R::NONE::Denon_|_5::R::NONE::Global Search_|_6::R::NONE::iheartradio_|_7::R::NONE::Juke_|_8::R::NONE::Juke_|_9::R::NONE::MOG_|_10::R::NONE::Music Library_|_11::R::NONE::Music Shares_|_12::R::NONE::Napster_|_13::R::NONE::QQ音乐_|_14::R::NONE::RadioTime_|_15::R::NONE::Rdio_|_16::R::NONE::Slacker_|_17::R::NONE::Songl_|_18::R::NONE::Sonora_|_19::R::NONE::Sonos Playlists_|_20::R::NONE::Spotify_|_21::R::NONE::Spotify_|_22::R::NONE::Stitcher SmartRadio_|_23::R::NONE::Twitter_|_24::R::NONE::WiMP_|_25::R::NONE::Wolfgang's Vault_|_26::R::NONE::多米音乐_|_MESSAGE::The item you selected is not currently supported by pycpoint_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererData?data=R::Dining%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererData?data=R::Dining%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=2::R::NONE::DAR%2Efm%20Record%20Radio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=2::R::NONE::DAR%2Efm%20Record%20Radio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=3::R::NONE::Deezer::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=3::R::NONE::Deezer::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=4::R::NONE::Denon::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=4::R::NONE::Denon::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=5::R::NONE::Global%20Search::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=5::R::NONE::Global%20Search::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=6::R::NONE::iheartradio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=6::R::NONE::iheartradio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=7::R::NONE::Juke::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=7::R::NONE::Juke::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=8::R::NONE::Juke::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=8::R::NONE::Juke::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=9::R::NONE::MOG::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=9::R::NONE::MOG::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=10::R::NONE::Music%20Library::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=10::R::NONE::Music%20Library::1,0,100
  Sonos Debug                     10_1::C::NONE::Search Library::LSS::SONOSLIBRARY_|_10_2::C::ZP_LIBRARY_PLAY::Artists::A:ALBUMARTIST::SONOSLIBRARY_|_10_3::C::ZP_LIBRARY_PLAY::Albums::A:ALBUM::SONOSLIBRARY_|_10_4::C::ZP_LIBRARY_PLAY::Genres::A:GENRE::SONOSLIBRARY_|_10_5::C::ZP_LIBRARY_PLAY::Composers::A:COMPOSER::SONOSLIBRARY_|_10_6::C::ZP_LIBRARY_PLAY::Tracks::A:TRACKS::SONOSLIBRARY_|_10_7::C::ZP_LIBRARY_PLAY::Playlists::A:PLAYLISTS::SONOSLIBRARY_|_RETURN::7:7_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=11::R::NONE::Music%20Shares::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=11::R::NONE::Music%20Shares::1,0,100
  Sonos Debug                     11_1::C::ZP_MS_PLAY:://192.168.0.202/multimedia::S://192.168.0.202/multimedia::SONOSMUSICSERVER_|_RETURN::1:1_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=12::R::NONE::Napster::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=12::R::NONE::Napster::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=13::R::NONE::QQ音乐::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=13::R::NONE::QQ音乐::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=14::R::NONE::RadioTime::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=14::R::NONE::RadioTime::1,0,100
  Sonos Debug                     14_1::C::NONE::Music::y1::RADIOTIME_|_14_2::C::NONE::News::c57922::RADIOTIME_|_14_3::C::NONE::Sports::g2723::RADIOTIME_|_14_4::C::NONE::Talk::y2::RADIOTIME_|_14_5::C::NONE::Location::r0::RADIOTIME_|_RETURN::5:5_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=15::R::NONE::Rdio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=15::R::NONE::Rdio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=16::R::NONE::Slacker::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=16::R::NONE::Slacker::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=17::R::NONE::Songl::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=17::R::NONE::Songl::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=18::R::NONE::Sonora::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=18::R::NONE::Sonora::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=19::R::NONE::Sonos%20Playlists::1,0,100
  Sonos Debug                     19_1::C::ZP_LIST::best::SQ:1::SONOSMUSICSERVER_|_19_2::C::ZP_LIST::Cool funky 60's::SQ:10::SONOSMUSICSERVER_|_19_3::C::ZP_LIST::Hippie::SQ:2::SONOSMUSICSERVER_|_19_4::C::ZP_LIST::Now 1980 - 1989::SQ:4::SONOSMUSICSERVER_|_19_5::C::ZP_LIST::Party Playlist::SQ:8::SONOSMUSICSERVER_|_19_6::C::ZP_LIST::rachel's random nite::SQ:3::SONOSMUSICSERVER_|_19_7::C::ZP_LIST::serve chilled 2008::SQ:5::SONOSMUSICSERVER_|_19_8::C::ZP_LIST::skin::SQ:9::SONOSMUSICSERVER_|_19_9::C::ZP_LIST::Stu's mix::SQ:7::SONOSMUSICSERVER_|_19_10::C::ZP_LIST::The Joshua Tree::SQ:6::SONOSMUSICSERVER_|_RETURN::10:10_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=20::R::NONE::Spotify::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=20::R::NONE::Spotify::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=21::R::NONE::Spotify::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=21::R::NONE::Spotify::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=22::R::NONE::Stitcher%20SmartRadio::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=22::R::NONE::Stitcher%20SmartRadio::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=23::R::NONE::Twitter::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=23::R::NONE::Twitter::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=24::R::NONE::WiMP::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=24::R::NONE::WiMP::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=25::R::NONE::Wolfgang%27s%20Vault::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=25::R::NONE::Wolfgang%27s%20Vault::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=26::R::NONE::多米音乐::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=26::R::NONE::多米音乐::1,0,100
  Sonos Debug                     There is no ZonePlayer data: Dining%20Room
  Sonos Debug                     Resetting States for zone: TV%20Room
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                     Loading LineIn...
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rootData?data=S::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rootData?data=S::TV%20Room%20%28ZP%29
  Sonos Debug                     1::R::NONE::AUPEO!_|_2::R::NONE::cinema_|_3::R::NONE::DAR.fm Record Radio_|_4::R::NONE::Deezer_|_5::R::NONE::Global Search_|_6::R::NONE::iheartradio_|_7::R::NONE::Juke_|_8::R::NONE::Juke_|_9::R::NONE::MOG_|_10::R::NONE::Music Library_|_11::R::NONE::Music Shares_|_12::R::NONE::Napster_|_13::R::NONE::QQ音乐_|_14::R::NONE::RadioTime_|_15::R::NONE::Rdio_|_16::R::NONE::Slacker_|_17::R::NONE::Songl_|_18::R::NONE::Sonora_|_19::R::NONE::Sonos Playlists_|_20::R::NONE::Spotify_|_21::R::NONE::Spotify_|_22::R::NONE::Stitcher SmartRadio_|_23::R::NONE::Twitter_|_24::R::NONE::WiMP_|_25::R::NONE::Wolfgang's Vault_|_26::R::NONE::多米音乐_|_MESSAGE::The item you selected is not currently supported by pycpoint_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=1::R::NONE::AUPEO%21::1,0,100
  Sonos Debug                     There is no ZonePlayer data: TV%20Room
  Sonos Debug                     Message: http://192.168.0.16:50101/data/getData?data=2::R::NONE::cinema::1,0,100
  Sonos Debug                     http://192.168.0.16:50101/data/getData?data=2::R::NONE::cinema::1,0,100
  Sonos Debug                     2_1::T::MS_PLAY::cinema::AI:0::MUSICSERVER_|_RETURN::1:1_|_
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_AIName, Value: cinema
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_AIPath, Value: 2_1
  Sonos                              LineIn: 2_1, cinema
  Sonos Debug                     ---------------------------------------------
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Action Group                    Sonos TV Room Line in
  Sonos Debug                     Playing LineIn: cinema...
  Sonos Debug                     Sonos Action:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Sonos Action:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/playData?data=2_1::T::MS_PLAY::cinema:::PNDQ
  Sonos Debug                     http://192.168.0.16:50101/data/playData?data=2_1::T::MS_PLAY::cinema:::PNDQ
  Sonos Debug                     
  Sonos Debug                     Parsing:TV%20Room:
  Sonos Debug                     Resetting States for zone: TV%20Room
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ALBUM, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ARTIST, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_CLASS, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_DURATION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_INFO, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_MUTE, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ONNOW, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_PERCENT, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_STATE, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_STATION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_TRACK, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_TYPE, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME_FIXED, Value:
  Sonos Debug                     Sonos Action Poll:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     POSITION::_|_PERCENT::0.0_|_VOLUME::30_|_VOLUME_FIXED::0_|_MUTE::0_|_STATE::PLAYING_|_ART::_|_
  Sonos Debug                     Parsing:TV%20Room:POSITION::_|_PERCENT::0.0_|_VOLUME::30_|_VOLUME_FIXED::0_|_MUTE::0_|_STATE::PLAYING_|_ART::_|_
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_POSITION, Value:
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_PERCENT, Value: 0.0
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME, Value: 30
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME_FIXED, Value: 0
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_MUTE, Value: 0
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_STATE, Value: PLAYING
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ART, Value:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     NOCHANGE::0_|_
  Sonos Debug                     Parsing:TV%20Room:NOCHANGE::0_|_
  Sonos Debug                     ---------------------------------------------
  Sonos Debug                     Method: runConcurrentThread
  Sonos Debug                     Running Concurrent Thread
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Sonos Debug                     Method: runConcurrentThread
  Sonos Debug                     Running Concurrent Thread
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Sonos Debug                     Method: runConcurrentThread
  Sonos Debug                     Running Concurrent Thread
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
  Sonos Debug                     Method: runConcurrentThread
  Sonos Debug                     Running Concurrent Thread
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 46, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 83, in runConcurrentThread
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

  Sonos Error                     plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds

Late 2018 mini 10.14

Posted on
Sun Mar 18, 2012 8:18 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

mat - my guess is that you have no value in the plugin configuration for polling interval. I have some error handling to stick in to the plugin, but the bottom line is that i still require that value to be a positive number even when the polling option is not checked. I'll fix it in the code, but for the meantime, try putting a 1 in there.

thanks.

Posted on
Sun Mar 18, 2012 9:47 am
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Sonos - The Beginning

Yep, that fixed it, all working well.

Just tried radio - its still working from my applescript, but not working from the plugin. Not sure what your looking at, at the moment, but heres the log for when you want it. Applescript version was giving intermittent switching earlier today, so it my be my network?

Code: Select all
18 Mar 2012 15:44:57
  Action Group                    Sonos TV Room radio 1
  Sonos Debug                     Sonos Action:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererData?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     QUEUE::QQ::R::ZP_QUEUE::Current Queue_|_
  Sonos Debug                     Playing RadioTime: BBC Radio 1 England 99.7 (Top 40-Pop)
  Sonos Debug                     Sonos Action:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/playData?data=13_5_6_49_7_5::T::NONE::BBC%20Radio%201%20England%2099%2E7%20(Top%2040-Pop):::PNDQ
  Sonos Debug                     http://192.168.0.16:50101/data/playData?data=13_5_6_49_7_5::T::NONE::BBC%20Radio%201%20England%2099%2E7%20(Top%2040-Pop):::PNDQ
  Sonos Debug                     There is no ZonePlayer data: TV%20Room%20%28ZP%29
  Sonos Debug                     Parsing:TV%20Room:NOCHANGE::0::0::0
  Sonos Debug                     Sonos Action Poll:
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     TRACK::Somebody That I Used To Know_|_DURATION::0:04:05_|_ALBUM::Somebody That I Used To Know_|_ARTIST::Gotye_|_TYPE::Track_|_CLASS::SonosMusicTrack_|_POSITION::0:01:22 / 0:04:05_|_PERCENT::33.0_|_VOLUME::20_|_VOLUME_FIXED::0_|_MUTE::0_|_STATE::PLAYING_|_ART::http://192.168.0.121:1400/getaa?s=1&u=x-sonos-http%3atrack%253a42401781.wma%3fsid%3d0%26flags%3d32_|_
  Sonos Debug                     Parsing:TV%20Room:TRACK::Somebody That I Used To Know_|_DURATION::0:04:05_|_ALBUM::Somebody That I Used To Know_|_ARTIST::Gotye_|_TYPE::Track_|_CLASS::SonosMusicTrack_|_POSITION::0:01:22 / 0:04:05_|_PERCENT::33.0_|_VOLUME::20_|_VOLUME_FIXED::0_|_MUTE::0_|_STATE::PLAYING_|_ART::http://192.168.0.121:1400/getaa?s=1&u=x-sonos-http%3atrack%253a42401781.wma%3fsid%3d0%26flags%3d32_|_
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_TRACK, Value: Somebody That I Used To Know
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_DURATION, Value: 0:04:05
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ALBUM, Value: Somebody That I Used To Know
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ARTIST, Value: Gotye
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_TYPE, Value: Track
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_CLASS, Value: SonosMusicTrack
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_POSITION, Value: 0:01:22 / 0:04:05
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_PERCENT, Value: 33.0
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME, Value: 20
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_VOLUME_FIXED, Value: 0
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_MUTE, Value: 0
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_STATE, Value: PLAYING
  Sonos Debug                         Updating Device: Sonos TV Room, State: ZP_ART, Value: http://192.168.0.121:1400/getaa?s=1&u=x-sonos-http%3atrack%253a42401781.wma%3fsid%3d0%26flags%3d32
  Sonos Debug                     Message: http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     http://192.168.0.16:50101/data/rendererPoll?data=R::TV%20Room%20%28ZP%29
  Sonos Debug                     NOCHANGE::0_|_
  Sonos Debug                     Parsing:TV%20Room:NOCHANGE::0_|_
  Sonos Debug                     ---------------------------------------------

Late 2018 mini 10.14

Posted on
Sun Mar 18, 2012 9:52 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Fopr the radio, you will have to re-import the RadioTime database. The one with the plugin is specific to my system and setup. From the Plugins menu, if you select the Sonos plugin, there should be an option for this. If you leave debugging on, you will see it run through a tremendous number of queries basically building out the database. It will probably take about 10 minutes.

Page 11 of 37 1 ... 8, 9, 10, 11, 12, 13, 14 ... 37

Who is online

Users browsing this forum: No registered users and 4 guests