Hello community,
here is the log from the commit of package python-PyChromecast for
openSUSE:Factory checked in at 2020-02-14 16:38:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyChromecast (Old)
and /work/SRC/openSUSE:Factory/.python-PyChromecast.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyChromecast"
Fri Feb 14 16:38:50 2020 rev:8 rq:774201 version:4.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyChromecast/python-PyChromecast.changes
2020-01-15 16:46:18.233216873 +0100
+++
/work/SRC/openSUSE:Factory/.python-PyChromecast.new.26092/python-PyChromecast.changes
2020-02-14 16:39:04.783642761 +0100
@@ -1,0 +2,8 @@
+Thu Feb 13 15:38:57 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Update to 4.1.1
+ * Update "add support to your favorite app" in the README
+ * Get ipaddress the same way as code examples in zeroconf
+ * Correct METADATA_TYPE in media.py
+
+-------------------------------------------------------------------
Old:
----
PyChromecast-4.1.0.tar.gz
New:
----
PyChromecast-4.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyChromecast.spec ++++++
--- /var/tmp/diff_new_pack.HBFKA6/_old 2020-02-14 16:39:05.787643321 +0100
+++ /var/tmp/diff_new_pack.HBFKA6/_new 2020-02-14 16:39:05.791643323 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-PyChromecast
-Version: 4.1.0
+Version: 4.1.1
Release: 0
Summary: Python module to talk to Google Chromecast
License: MIT
++++++ PyChromecast-4.1.0.tar.gz -> PyChromecast-4.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyChromecast-4.1.0/PKG-INFO
new/PyChromecast-4.1.1/PKG-INFO
--- old/PyChromecast-4.1.0/PKG-INFO 2019-10-17 06:49:28.000000000 +0200
+++ new/PyChromecast-4.1.1/PKG-INFO 2020-01-23 18:33:15.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: PyChromecast
-Version: 4.1.0
+Version: 4.1.1
Summary: Python module to talk to Google Chromecast.
Home-page: https://github.com/balloob/pychromecast
Author: Paulus Schoutsen
@@ -104,12 +104,13 @@
The following instructions require the use of the `Google Chrome
browser`_ and the `Google Cast plugin`_.
- * In Chrome, go to `chrome://net-internals/#capture`
- * Enable the checkbox 'Include the actual bytes sent/received.'
+ * In Chrome, go to `chrome://net-export/`
+ * Select 'Include raw bytes (will include cookies and credentials)'
+ * Click 'Start Logging to Disk'
* Open a new tab, browse to your favorite application on the web that
has Chromecast support and start casting.
* Go back to the tab that is capturing events and click on stop.
- * From the dropdown click on events. This will show you a table with
events that happened while you were recording.
- * In the filter box enter the text `Tr@n$p0rt`. This should give one
SOCKET connection as result: the connection with your Chromecast.
+ * Open https://netlog-viewer.appspot.com/ and select your event log
file.
+ * Browse to https://netlog-viewer.appspot.com/#events&q=type:SOCKET,
and find the socket that has familiar JSON data. (For me, it's usually the
second or third from the top.)
* Go through the results and collect the JSON that is exchanged.
* Now write a controller that is able to mimic this behavior :-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyChromecast-4.1.0/PyChromecast.egg-info/PKG-INFO
new/PyChromecast-4.1.1/PyChromecast.egg-info/PKG-INFO
--- old/PyChromecast-4.1.0/PyChromecast.egg-info/PKG-INFO 2019-10-17
06:49:28.000000000 +0200
+++ new/PyChromecast-4.1.1/PyChromecast.egg-info/PKG-INFO 2020-01-23
18:33:15.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: PyChromecast
-Version: 4.1.0
+Version: 4.1.1
Summary: Python module to talk to Google Chromecast.
Home-page: https://github.com/balloob/pychromecast
Author: Paulus Schoutsen
@@ -104,12 +104,13 @@
The following instructions require the use of the `Google Chrome
browser`_ and the `Google Cast plugin`_.
- * In Chrome, go to `chrome://net-internals/#capture`
- * Enable the checkbox 'Include the actual bytes sent/received.'
+ * In Chrome, go to `chrome://net-export/`
+ * Select 'Include raw bytes (will include cookies and credentials)'
+ * Click 'Start Logging to Disk'
* Open a new tab, browse to your favorite application on the web that
has Chromecast support and start casting.
* Go back to the tab that is capturing events and click on stop.
- * From the dropdown click on events. This will show you a table with
events that happened while you were recording.
- * In the filter box enter the text `Tr@n$p0rt`. This should give one
SOCKET connection as result: the connection with your Chromecast.
+ * Open https://netlog-viewer.appspot.com/ and select your event log
file.
+ * Browse to https://netlog-viewer.appspot.com/#events&q=type:SOCKET,
and find the socket that has familiar JSON data. (For me, it's usually the
second or third from the top.)
* Go through the results and collect the JSON that is exchanged.
* Now write a controller that is able to mimic this behavior :-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyChromecast-4.1.0/README.rst
new/PyChromecast-4.1.1/README.rst
--- old/PyChromecast-4.1.0/README.rst 2019-09-10 02:11:15.000000000 +0200
+++ new/PyChromecast-4.1.1/README.rst 2020-01-23 18:32:32.000000000 +0100
@@ -96,12 +96,13 @@
The following instructions require the use of the `Google Chrome browser`_ and
the `Google Cast plugin`_.
- * In Chrome, go to `chrome://net-internals/#capture`
- * Enable the checkbox 'Include the actual bytes sent/received.'
+ * In Chrome, go to `chrome://net-export/`
+ * Select 'Include raw bytes (will include cookies and credentials)'
+ * Click 'Start Logging to Disk'
* Open a new tab, browse to your favorite application on the web that has
Chromecast support and start casting.
* Go back to the tab that is capturing events and click on stop.
- * From the dropdown click on events. This will show you a table with events
that happened while you were recording.
- * In the filter box enter the text `Tr@n$p0rt`. This should give one SOCKET
connection as result: the connection with your Chromecast.
+ * Open https://netlog-viewer.appspot.com/ and select your event log file.
+ * Browse to https://netlog-viewer.appspot.com/#events&q=type:SOCKET, and find
the socket that has familiar JSON data. (For me, it's usually the second or
third from the top.)
* Go through the results and collect the JSON that is exchanged.
* Now write a controller that is able to mimic this behavior :-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyChromecast-4.1.0/pychromecast/controllers/media.py
new/PyChromecast-4.1.1/pychromecast/controllers/media.py
--- old/PyChromecast-4.1.0/pychromecast/controllers/media.py 2019-09-10
02:04:44.000000000 +0200
+++ new/PyChromecast-4.1.1/pychromecast/controllers/media.py 2020-01-23
18:32:32.000000000 +0100
@@ -35,8 +35,8 @@
TYPE_STOP = "STOP"
METADATA_TYPE_GENERIC = 0
-METADATA_TYPE_TVSHOW = 1
-METADATA_TYPE_MOVIE = 2
+METADATA_TYPE_MOVIE = 1
+METADATA_TYPE_TVSHOW = 2
METADATA_TYPE_MUSICTRACK = 3
METADATA_TYPE_PHOTO = 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyChromecast-4.1.0/pychromecast/discovery.py
new/PyChromecast-4.1.1/pychromecast/discovery.py
--- old/PyChromecast-4.1.0/pychromecast/discovery.py 2019-09-10
02:04:44.000000000 +0200
+++ new/PyChromecast-4.1.1/pychromecast/discovery.py 2020-01-23
18:32:32.000000000 +0100
@@ -67,8 +67,8 @@
return value
return value.decode("utf-8")
- ips = zconf.cache.entries_with_name(service.server.lower())
- host = repr(ips[0]) if ips else service.server
+ addresses = service.parsed_addresses()
+ host = addresses[0] if addresses else service.server
model_name = get_value("md")
uuid = get_value("id")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyChromecast-4.1.0/setup.py
new/PyChromecast-4.1.1/setup.py
--- old/PyChromecast-4.1.0/setup.py 2019-10-17 06:49:17.000000000 +0200
+++ new/PyChromecast-4.1.1/setup.py 2020-01-23 18:32:39.000000000 +0100
@@ -5,7 +5,7 @@
setup(
name="PyChromecast",
- version="4.1.0",
+ version="4.1.1",
license="MIT",
url="https://github.com/balloob/pychromecast",
author="Paulus Schoutsen",