This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe('when you send debug=timeout', () => { | |
| let fakeTimer; | |
| beforeEach(() => { | |
| lambdaParameter.queryStringParameters.debug = 'timeout'; | |
| }); | |
| beforeEach(() => { | |
| fakeTimer = sinon.useFakeTimers({ | |
| now: Date.now(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "players": [ | |
| { | |
| "roomName": "Bathroom", | |
| "volume": 11 | |
| }, | |
| { | |
| "roomName": "Kitchen", | |
| "volume": 13 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "players": [ | |
| { | |
| "roomName": "TV Room", | |
| "volume": 40 | |
| } | |
| ], | |
| "uri": "x-rincon-stream:RINCON_000XXXXXXXX01400", | |
| "pauseOthers": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "players": [ | |
| { | |
| "roomName": "Bathroom", | |
| "volume": 11 | |
| }, | |
| { | |
| "roomName": "Kitchen", | |
| "volume": 15 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am jishi on github. | |
| * I am jishi (https://keybase.io/jishi) on keybase. | |
| * I have a public key whose fingerprint is DB64 000D ECDA C525 D9C7 384B 0D2D 372D 31B9 93BF | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Invoke-WebRequest -Uri http://192.168.1.157:1400/MediaRenderer/AVTransport/Control -Method Post -Headers @{ SOAPACTION = '"urn:schemas-upnp-org:service:AVTransport:1#Play"' } -Body '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>' -OutFile '$null' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST -H 'SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"' -d '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>' http://192.168.1.157:1400/MediaRenderer/AVTransport/Control |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NOTIFY / HTTP/1.1 | |
| HOST: 192.168.1.116:3500 | |
| CONNECTION: close | |
| CONTENT-TYPE: text/xml | |
| CONTENT-LENGTH: 1146 | |
| NT: upnp:event | |
| NTS: upnp:propchange | |
| SID: uuid:RINCON_000xxxxxxxx01400_sub0000003246 | |
| SEQ: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SUBSCRIBE /MediaRenderer/GroupRenderingControl/Event HTTP/1.1 | |
| TIMEOUT: Second-600 | |
| CALLBACK: <http://192.168.1.116:3500/> | |
| NT: upnp:event | |
| Host: 192.168.1.154:1400 | |
| Connection: close | |
| Content-Length: 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST /MediaRenderer/AVTransport/Control | |
| host: 192.168.1.151 | |
| CONTENT-TYPE: text/xml; charset="utf-8" | |
| SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#AddURIToQueue" | |
| CONTENT-LENGTH: xxx | |
| <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> | |
| <s:Body> | |
| <u:AddURIToQueue xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><EnqueuedURI>{uri}</EnqueuedURI><EnqueuedURIMetaData>{metadata}</EnqueuedURIMetaData><DesiredFirstTrackNumberEnqueued>{desiredFirstTrackNumberEnqueued}</DesiredFirstTrackNumberEnqueued><EnqueueAsNext>{enqueueAsNext}</EnqueueAsNext></u:AddURIToQueue> | |
| </s:Body> |
NewerOlder