diff options
Diffstat (limited to 'arch_cover.patch')
-rw-r--r-- | arch_cover.patch | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/arch_cover.patch b/arch_cover.patch index 590e2e71c54a..4675fba5bd60 100644 --- a/arch_cover.patch +++ b/arch_cover.patch @@ -1,8 +1,28 @@ -*** covermodes_orig.py 2017-03-08 21:02:31.348718017 +0100 ---- pulseaudio_dlna/covermodes.py 2017-03-08 20:59:27.636324915 +0100 +*** covermodes_orig.py 2017-03-08 22:56:08.019483965 +0100 +--- pulseaudio_dlna/covermodes.py 2017-03-08 22:54:30.813287898 +0100 +*************** +*** 92,99 **** + + @property + def thumb(self): +! dist_name, dist_ver, dist_arch = platform.linux_distribution() + logger.debug(dist_name) + if dist_name == 'Ubuntu': + dist_icon = 'ubuntu' + elif dist_name == 'debian': +--- 92,100 ---- + + @property + def thumb(self): +! dist_name, dist_ver, dist_arch = platform.linux_distribution(supported_dists=platform._supported_dists + ('arch',)) + logger.debug(dist_name) ++ print('THE PLATFORM IS:' + dist_name) + if dist_name == 'Ubuntu': + dist_icon = 'ubuntu' + elif dist_name == 'debian': *************** *** 106,111 **** ---- 106,113 ---- +--- 107,114 ---- dist_icon = 'opensuse' elif dist_name == 'gentoo': dist_icon = 'gentoo' |