Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osdlyrics for openSUSE:Factory 
checked in at 2023-07-18 22:08:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osdlyrics (Old)
 and      /work/SRC/openSUSE:Factory/.osdlyrics.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osdlyrics"

Tue Jul 18 22:08:20 2023 rev:11 rq:1099197 version:0.5.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/osdlyrics/osdlyrics.changes      2023-02-16 
16:56:07.410765766 +0100
+++ /work/SRC/openSUSE:Factory/.osdlyrics.new.3193/osdlyrics.changes    
2023-07-18 22:08:41.687180333 +0200
@@ -1,0 +2,8 @@
+Tue Jul 18 07:56:46 UTC 2023 - Hillwood Yang <[email protected]>
+
+- Update version to 0.5.14
+  * Fix Chinese encodings
+  * Fix proxy-password config
+  * Fix sources in the default search
+
+-------------------------------------------------------------------

Old:
----
  osdlyrics-0.5.13.tar.gz

New:
----
  osdlyrics-0.5.14.tar.gz

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

Other differences:
------------------
++++++ osdlyrics.spec ++++++
--- /var/tmp/diff_new_pack.o5g9A6/_old  2023-07-18 22:08:44.307194980 +0200
+++ /var/tmp/diff_new_pack.o5g9A6/_new  2023-07-18 22:08:44.347195203 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           osdlyrics
-Version:        0.5.13
+Version:        0.5.14
 Release:        0
 Summary:        A third-party lyrics display program
 License:        GPL-3.0-or-later

++++++ osdlyrics-0.5.13.tar.gz -> osdlyrics-0.5.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osdlyrics-0.5.13/daemon/lyrics.py 
new/osdlyrics-0.5.14/daemon/lyrics.py
--- old/osdlyrics-0.5.13/daemon/lyrics.py       2023-01-27 14:58:42.000000000 
+0100
+++ new/osdlyrics-0.5.14/daemon/lyrics.py       2023-06-06 22:30:50.000000000 
+0200
@@ -118,12 +118,18 @@
         logging.warning('Failed to detect encoding, use utf-8 as fallback')
         encoding = 'utf-8'
 
+    encoding = encoding.lower()
     # When we take half of the content to determine the encoding, chardet may
     # think it be encoded with ascii, however the full content is probably
     # encoded with utf-8. As ascii is an subset of utf-8, decoding an ascii
     # string with utf-8 will always be right.
     if encoding == 'ascii':
         encoding = 'utf-8'
+    # Upgrade the Chinese encodings to their extended sets.
+    elif encoding in ('gb2312', 'gbk'):
+        encoding = 'gb18030'
+    elif encoding == 'big5':
+        encoding = 'big5hkscs'
     return content.decode(encoding, 'replace')
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osdlyrics-0.5.13/python/utils.py 
new/osdlyrics-0.5.14/python/utils.py
--- old/osdlyrics-0.5.13/python/utils.py        2023-01-27 14:58:42.000000000 
+0100
+++ new/osdlyrics-0.5.14/python/utils.py        2023-06-06 22:30:50.000000000 
+0200
@@ -133,7 +133,7 @@
         host = config.get_string('Download/proxy-host')
         port = config.get_int('Download/proxy-port')
         username = config.get_string('Download/proxy-username')
-        passwd = config.get_string('Download/proxy-passwd')
+        passwd = config.get_string('Download/proxy-password')
         return ProxySettings(protocol=protocol, host=host, port=port,
                              username=username, password=passwd)
     if proxy_type == 'system':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osdlyrics-0.5.13/src/ol_lyric_source.c 
new/osdlyrics-0.5.14/src/ol_lyric_source.c
--- old/osdlyrics-0.5.13/src/ol_lyric_source.c  2023-01-27 14:58:42.000000000 
+0100
+++ new/osdlyrics-0.5.14/src/ol_lyric_source.c  2023-06-06 22:30:50.000000000 
+0200
@@ -542,8 +542,11 @@
   for (; sources; sources = g_list_delete_link (sources, sources))
   {
     OlLyricSourceInfo *info = sources->data;
-    source_ids = g_list_prepend (source_ids,
-                                 g_strdup (ol_lyric_source_info_get_id 
(info)));
+    if (ol_lyric_source_info_get_enabled (info))
+    {
+      source_ids = g_list_prepend (source_ids,
+                                   g_strdup (ol_lyric_source_info_get_id 
(info)));
+    }
     ol_lyric_source_info_free (info);
   }
   source_ids = g_list_reverse (source_ids);

++++++ osdlyrics.appdata.xml ++++++
--- /var/tmp/diff_new_pack.o5g9A6/_old  2023-07-18 22:08:44.851198021 +0200
+++ /var/tmp/diff_new_pack.o5g9A6/_new  2023-07-18 22:08:44.851198021 +0200
@@ -35,11 +35,12 @@
   <url type="homepage">https://github.com/osdlyrics/osdlyrics</url>
   <url type="bugtracker">https://github.com/osdlyrics/osdlyrics/issues</url>
   <releases>
-    <release version="0.5.7" date="2021-05-25">
+    <release version="0.5.14" date="2023-06-07">
       <description>
         <p>
-          Netease: Show more results
-          Add Megalobiz
+          fix Chinese encodings
+          fix proxy-password config
+          fix sources in the default search
         </p>
       </description>
     </release>

Reply via email to