diff options
author | knedlyk | 2015-06-23 23:29:41 +0200 |
---|---|---|
committer | knedlyk | 2015-06-23 23:29:41 +0200 |
commit | 2f831acf6be71bbc3fd553f587670a50718f692f (patch) | |
tree | e29439e0a3931990ab2fb7f3d3479cc11c9449aa /encoding.patch | |
download | aur-2f831acf6be71bbc3fd553f587670a50718f692f.tar.gz |
Initial import
Diffstat (limited to 'encoding.patch')
-rw-r--r-- | encoding.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/encoding.patch b/encoding.patch new file mode 100644 index 000000000000..9fa588b0b065 --- /dev/null +++ b/encoding.patch @@ -0,0 +1,17 @@ +diff -Naur radiotray-0.7.3/build/lib/radiotray/Context.py radiotray-0.7.3-new/build/lib/radiotray/Context.py +--- radiotray-0.7.3/build/lib/radiotray/Context.py 2012-04-02 23:54:38.000000000 +0200 ++++ radiotray-0.7.3-new/build/lib/radiotray/Context.py 2013-09-07 12:14:32.000000000 +0200 +@@ -40,9 +40,9 @@ + if(self.title and len(self.title) > 0 and self.artist and len(self.artist) > 0): + return self.artist + " - " + self.title + elif(self.title and len(self.title) > 0): +- return self.title ++ return self.title.encode('latin-1').decode('cp1251').encode('utf8') + elif(self.artist and len(self.artist) > 0): +- return self.artist ++ return self.artist.encode('latin-1').decode('cp1251').encode('utf8') + else: + return 'Playing' +- +\ No newline at end of file ++ |