Parent: [10d6d5] (diff)

Download this file

common.py    12 lines (10 with data), 359 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# -*- coding: utf-8 -*-
APPVERSION="0.14"
# user-agent
try:
import platform
USER_AGENT = "%s/%s (%s %s; %s/%s (%s))" % ("Upmpdcli", APPVERSION, platform.system(), platform.machine(),
platform.linux_distribution()[0], platform.linux_distribution()[1],
platform.linux_distribution()[2])
except:
USER_AGENT = "Upmpdcli/" + APPVERSION