{% if message.payload.data.outcome == 'started' %}Fetching{% elif message.payload.data.outcome == 'failed' %}Failed to fetch{% elif message.payload.data.outcome == 'missing' %}Missing{% else %}Received{% endif %} TMDB TV {{ message.payload.data.kind }} details. Filename: {{ message.payload.context.filename }}, Series ID: {{ message.payload.data.series_id }}{% if message.payload.data.season is not none %}, Season {{ '%02d' | format(message.payload.data.season) }}{% endif %}{% if message.payload.data.episode is not none %}, Episode {{ '%02d' | format(message.payload.data.episode) }}{% endif %}{% if message.payload.data.error %}, Error: {{ message.payload.data.error }}{% endif %}.{% if message.payload.data.outcome == 'missing' %} Importing with placeholder metadata.{% endif %}