radiofrance: Fix crash when there is no author

Triggered by FIP at night.
Also force unicode when merging titles.
This commit is contained in:
Laurent Bachelier 2012-03-14 23:54:39 +01:00
commit 0e0bf2ad37
2 changed files with 3 additions and 1 deletions

View file

@ -161,7 +161,7 @@ class RadioFranceBackend(BaseBackend, ICapRadio, ICapCollection, ICapVideo):
artist = dartist
if dtitle:
if title:
title = "%s [%s]" % (dtitle, title)
title = u"%s [%s]" % (dtitle, title)
else:
title = dtitle
elif radio.id in self._LARGEDIRECTJSON_RADIOS: