Browse Source

Fix typo of icecast metadata

Applying title to fields
Yann Weber 8 years ago
parent
commit
49f4bba38a
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      fip_current.py

+ 3
- 3
fip_current.py View File

@@ -97,11 +97,11 @@ def icecast_infos():
97 97
     """ Return formated Icecast2 metadatas from FIP current song
98 98
         metadatas """
99 99
     item = get_current()
100
-    infos = item['title']
100
+    infos = item['title'].title()
101 101
     if len(item['authors']) > 0:
102
-        infos += ' - '+item['authors']
102
+        infos += ' - '+item['authors'].title()
103 103
     if len(item['titreAlbum']):
104
-        infos += ' ('+item['titreAlbum']+')'
104
+        infos += ' ('+item['titreAlbum'].title()+')'
105 105
     return infos
106 106
 
107 107
 

Loading…
Cancel
Save