Hello community,

here is the log from the commit of package orion for openSUSE:Factory checked 
in at 2020-01-10 17:49:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orion (Old)
 and      /work/SRC/openSUSE:Factory/.orion.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "orion"

Fri Jan 10 17:49:56 2020 rev:23 rq:762634 version:1.6.6+git~20191230

Changes:
--------
--- /work/SRC/openSUSE:Factory/orion/orion.changes      2019-07-22 
12:21:20.667649347 +0200
+++ /work/SRC/openSUSE:Factory/.orion.new.6675/orion.changes    2020-01-10 
17:50:05.906129056 +0100
@@ -1,0 +2,6 @@
+Fri Jan 03 09:04:04 UTC 2020 - [email protected]
+
+- Update to version 1.6.6+git~20191230:
+  * access through twitch api key (#287)
+
+-------------------------------------------------------------------

Old:
----
  orion-1.6.6+git~20190714.tar.xz

New:
----
  orion-1.6.6+git~20191230.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ orion.spec ++++++
--- /var/tmp/diff_new_pack.JTgHbf/_old  2020-01-10 17:50:07.366128796 +0100
+++ /var/tmp/diff_new_pack.JTgHbf/_new  2020-01-10 17:50:07.366128796 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package orion
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:           orion
-Version:        1.6.6+git~20190714
+Version:        1.6.6+git~20191230
 Release:        0
 Summary:        Twitch stream client using Qt
 License:        GPL-3.0-only
 Group:          Productivity/Multimedia/Video/Players
-Url:            http://alamminsalo.github.io/orion/
+URL:            http://alamminsalo.github.io/orion/
 Source:         %{name}-%{version}.tar.xz
 
 BuildRequires:  gcc

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.JTgHbf/_old  2020-01-10 17:50:07.410128788 +0100
+++ /var/tmp/diff_new_pack.JTgHbf/_new  2020-01-10 17:50:07.410128788 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/alamminsalo/orion.git</param>
-              <param 
name="changesrevision">c2390ade0354af56c563266d4892a3e2f1d9eaee</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">f8a2b575cc7ef84c86f8192d88a104e1ac42d802</param></service></servicedata>
\ No newline at end of file

++++++ orion-1.6.6+git~20190714.tar.xz -> orion-1.6.6+git~20191230.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/orion-1.6.6+git~20190714/src/network/networkmanager.cpp 
new/orion-1.6.6+git~20191230/src/network/networkmanager.cpp
--- old/orion-1.6.6+git~20190714/src/network/networkmanager.cpp 2019-07-14 
15:01:01.000000000 +0200
+++ new/orion-1.6.6+git~20191230/src/network/networkmanager.cpp 2019-12-30 
12:35:09.000000000 +0100
@@ -304,7 +304,7 @@
             + QString("/channels/%1").arg(channelName)
             + QString("/access_token");
     QNetworkRequest request;
-    request.setRawHeader("Client-ID", getClientId().toUtf8());
+    request.setRawHeader("Client-ID", getPrivateClientId().toUtf8());
     request.setUrl(QUrl(url));
 
     request.setAttribute(QNetworkRequest::User, LIVE);
@@ -343,7 +343,7 @@
             + QString("/vods/%1").arg(vod)
             + QString("/access_token");
     QNetworkRequest request;
-    request.setRawHeader("Client-ID", getClientId().toUtf8());
+    request.setRawHeader("Client-ID", getPrivateClientId().toUtf8());
     request.setUrl(QUrl(url));
 
     request.setAttribute(QNetworkRequest::User, VOD);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/orion-1.6.6+git~20190714/src/network/networkmanager.h 
new/orion-1.6.6+git~20191230/src/network/networkmanager.h
--- old/orion-1.6.6+git~20190714/src/network/networkmanager.h   2019-07-14 
15:01:01.000000000 +0200
+++ new/orion-1.6.6+git~20191230/src/network/networkmanager.h   2019-12-30 
12:35:09.000000000 +0100
@@ -109,6 +109,7 @@
 
     //TODO: move to new class if more operations need to be added
     Q_INVOKABLE QString getClientId() const { return QString(CLIENT_ID); }
+    Q_INVOKABLE QString getPrivateClientId() const { return 
QString(CLIENT_ID_PRIVATE); }
     Q_INVOKABLE bool networkAccess();
 
 signals:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orion-1.6.6+git~20190714/src/network/urls.h 
new/orion-1.6.6+git~20191230/src/network/urls.h
--- old/orion-1.6.6+git~20190714/src/network/urls.h     2019-07-14 
15:01:01.000000000 +0200
+++ new/orion-1.6.6+git~20191230/src/network/urls.h     2019-12-30 
12:35:09.000000000 +0100
@@ -22,5 +22,6 @@
 #define BTTV_API "https://api.betterttv.net/2";
 #define TWITCH_API_V5 "https://api.twitch.tv/v5";
 #define CLIENT_ID "0dpzlnp1w2bjlim3ldp0u96o4dq2gm"
+#define CLIENT_ID_PRIVATE "kimne78kx3ncx6brgo4mv6wki5h1ko"
 
 #endif // URLS_H


Reply via email to