def show_add_library_title_dialog(self, original_title):
"""
Asks the user for an alternative title for the show/movie that
gets exported to the local library
:param original_title: Original title of the show
:type original_title: str
:returns: str - Title to persist
"""
if self.custom_export_name == 'true':
return original_title
dlg = xbmcgui.Dialog()
custom_title = dlg.input(
heading=self.get_local_string(string_id=30031),
defaultt=original_title,
type=xbmcgui.INPUT_ALPHANUM) or original_title
return original_title or custom_title
评论列表
文章目录