blob: 41857d72296468330d9ab2b9afb52f41dd2525b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
*** covermodes_orig.py 2017-03-08 22:56:08.019483965 +0100
--- pulseaudio_dlna/covermodes.py 2017-03-08 23:04:37.207030563 +0100
***************
*** 92,98 ****
@property
def thumb(self):
! dist_name, dist_ver, dist_arch = platform.linux_distribution()
logger.debug(dist_name)
if dist_name == 'Ubuntu':
dist_icon = 'ubuntu'
--- 92,98 ----
@property
def thumb(self):
! dist_name, dist_ver, dist_arch = platform.linux_distribution(supported_dists=platform._supported_dists + ('arch',))
logger.debug(dist_name)
if dist_name == 'Ubuntu':
dist_icon = 'ubuntu'
***************
*** 106,111 ****
--- 106,113 ----
dist_icon = 'opensuse'
elif dist_name == 'gentoo':
dist_icon = 'gentoo'
+ elif dist_name == 'arch':
+ dist_icon = 'arch'
else:
dist_icon = 'unknown'
try:
|