pyobs-gui 2.0.0.dev2__py3-none-any.whl → 2.0.0.dev3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyobs_gui/videowidget.py CHANGED
@@ -173,7 +173,10 @@ class VideoWidget(BaseWidget, Ui_VideoWidget):
173
173
  # connect socket
174
174
  if self.host is not None and self.port is not None and self.path is not None:
175
175
  self.socket.connectToHost(self.host, self.port)
176
- self.socket.write(b"GET %s HTTP/1.1\r\n\r\n" % bytes(self.path, "UTF-8"))
176
+ host_header = self.host if self.port == 80 else f"{self.host}:{self.port}"
177
+ self.socket.write(
178
+ b"GET %s HTTP/1.1\r\nHost: %s\r\n\r\n" % (bytes(self.path, "UTF-8"), bytes(host_header, "UTF-8"))
179
+ )
177
180
 
178
181
  def hideEvent(self, event: QtGui.QHideEvent) -> None:
179
182
  # call base
@@ -248,7 +251,7 @@ class VideoWidget(BaseWidget, Ui_VideoWidget):
248
251
 
249
252
  # expose
250
253
  broadcast = self.checkBroadcast.isChecked()
251
- await self.datadisplay.grab_data(broadcast, image_type)
254
+ await self.datadisplay.grab_data(broadcast)
252
255
 
253
256
  # decrement number of exposures left
254
257
  self.exposures_left -= 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobs-gui
3
- Version: 2.0.0.dev2
3
+ Version: 2.0.0.dev3
4
4
  Summary: A remote GUI for pyobs
5
5
  Author-email: Tim-Oliver Husser <thusser@uni-goettingen.de>
6
6
  License-Expression: MIT
@@ -26,7 +26,7 @@ pyobs_gui/telescopewidget.py,sha256=ARJLFWTW5Lgwp4fwZTMvWi2biWr8KezM854ZWrUzixk,
26
26
  pyobs_gui/temperaturesplotwidget.py,sha256=sq8TRXfJW8dRLuJTUSWTg9qiNR8he3caFDKEvJgflSk,3624
27
27
  pyobs_gui/temperatureswidget.py,sha256=Hz1pYT9w3lODdgqpxDLX8EByWEIqbhfTwbGm5hzdXRI,2319
28
28
  pyobs_gui/utils.py,sha256=WX8xHG0VnCGcajBVgfP0u2xnFtoRfQ53jkgMOUZ5rMw,2389
29
- pyobs_gui/videowidget.py,sha256=ATtdDVn5KaGKZfK40DshBu4ViLnuj57RqUVPnf2dyXo,9637
29
+ pyobs_gui/videowidget.py,sha256=zy0QAJjveH6C8k2Ud-xmwcHBTpVcBxdy5UAz1Q3nhDo,9785
30
30
  pyobs_gui/watchedlabel.py,sha256=nX8FlOJwxehk6VzorA1uFvU255g1a7vt8HrYxowMaZY,554
31
31
  pyobs_gui/weatherwidget.py,sha256=2dTmkMxrlDTVfXMRFMlcFYRd_hTb7O2mPEdgzPFs9Ic,5345
32
32
  pyobs_gui/qt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -91,7 +91,7 @@ pyobs_gui/qt/resources/cloud-sun-solid.svg,sha256=qXGvtPuQYIAHlLc1Cqiy5M6s2-JOPF
91
91
  pyobs_gui/qt/resources/edit-solid.svg,sha256=R2lehJgb5DxyOXMmj5ACJsxOTqi9heXhj6WB9fdLelY,735
92
92
  pyobs_gui/qt/resources/search-solid.svg,sha256=8WR3B4MQyr76HrFvw6f7vQGyCWS7vQXF1WPWCWr3heQ,577
93
93
  pyobs_gui/qt/resources/undo-solid.svg,sha256=6O_Pyjo59fCCynMz5XhWU4wI1egQ3anNpToH9fpmISw,767
94
- pyobs_gui-2.0.0.dev2.dist-info/METADATA,sha256=eszOI5U9IZ4ALUyE4OlHxiOZ8WOhUZ8JCHZYnzGcnYY,575
95
- pyobs_gui-2.0.0.dev2.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
96
- pyobs_gui-2.0.0.dev2.dist-info/licenses/LICENSE,sha256=gC8djBliCENDmuRvzCoejpWbsn8eqKx61Hc8bmDZ2LI,1099
97
- pyobs_gui-2.0.0.dev2.dist-info/RECORD,,
94
+ pyobs_gui-2.0.0.dev3.dist-info/METADATA,sha256=Nt_MQqUZNi_MdZQ9qPESm2HZUg_CZySYjrN8qVVa5Nk,575
95
+ pyobs_gui-2.0.0.dev3.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
96
+ pyobs_gui-2.0.0.dev3.dist-info/licenses/LICENSE,sha256=gC8djBliCENDmuRvzCoejpWbsn8eqKx61Hc8bmDZ2LI,1099
97
+ pyobs_gui-2.0.0.dev3.dist-info/RECORD,,