% if data is not None:
% if data['media_type'] == 'episode':

### Stream Info: ${data['grandparent_title']} - ${data['title']} (${user})

% else:

### Stream Info: ${data['title']} (${user})

% endif

#### Stream Details

##### Video

- Stream Type: ${data['transcode_video_dec']}
- Video Resolution: ${data['transcode_height']}p
- Video Codec: ${data['transcode_video_codec']}
- Video Width: ${data['transcode_width']}
- Video Height: ${data['transcode_height']}

##### Audio

- Stream Type: ${data['transcode_audio_dec']}
- Audio Codec: ${data['transcode_audio_codec']}
- Audio Channels: ${data['transcode_audio_channels']}

#### Media Source Details

- Container: ${data['container']}
- Resolution: ${data['height']}p
- Bitrate: ${data['bitrate']} kbps

#### Video Source Details

- Width: ${data['width']}
- Height: ${data['height']}
- Aspect Ratio: ${data['aspect_ratio']}
- Video Frame Rate: ${data['video_framerate']}
- Video Codec: ${data['video_codec']}

#### Audio Source Details

- Audio Codec: ${data['audio_codec']}
- Audio Channels: ${data['audio_channels']}

% endif