mirror of
https://github.com/vale981/clay
synced 2025-03-05 09:31:40 -05:00
Fixed versioning.
This commit is contained in:
parent
145ae101fb
commit
b48b147542
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,9 @@ except ImportError:
|
|||
APP_NAME = 'Clay Player'
|
||||
VERSION = '0.5.5'
|
||||
if codename is not None:
|
||||
VERSION += '-' + codename(separator='-', id=VERSION)
|
||||
VERSION_WITH_CODENAME = VERSION + '-' + codename(separator='-', id=VERSION)
|
||||
else:
|
||||
VERSION_WITH_CODENAME = VERSION
|
||||
USER_AGENT = ' '.join([
|
||||
'Mozilla/5.0 (X11; Linux x86_64)'
|
||||
'AppleWebKit/537.36 (KHTML, like Gecko)'
|
||||
|
|
|
@ -129,7 +129,7 @@ class PlayBar(urwid.Pile):
|
|||
if track is None:
|
||||
return u'{} {}'.format(
|
||||
meta.APP_NAME,
|
||||
meta.VERSION
|
||||
meta.VERSION_WITH_CODENAME
|
||||
)
|
||||
progress = player.get_play_progress_seconds()
|
||||
total = player.get_length_seconds()
|
||||
|
|
Loading…
Add table
Reference in a new issue