Fix typo of icecast metadata

Applying title to fields
This commit is contained in:
Yann Weber 2016-05-29 15:12:21 +02:00
commit 49f4bba38a

View file

@ -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