Fix typo of icecast metadata
Applying title to fields
This commit is contained in:
parent
361e4952bd
commit
49f4bba38a
1 changed files with 3 additions and 3 deletions
|
|
@ -97,11 +97,11 @@ def icecast_infos():
|
|||
""" Return formated Icecast2 metadatas from FIP current song
|
||||
metadatas """
|
||||
item = get_current()
|
||||
infos = item['title']
|
||||
infos = item['title'].title()
|
||||
if len(item['authors']) > 0:
|
||||
infos += ' - '+item['authors']
|
||||
infos += ' - '+item['authors'].title()
|
||||
if len(item['titreAlbum']):
|
||||
infos += ' ('+item['titreAlbum']+')'
|
||||
infos += ' ('+item['titreAlbum'].title()+')'
|
||||
return infos
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue