Title:
{{ session.media_title }}
User:
{{ session.user_name }}
Client:
{{ session.client }}
Device:
{{ session.device_name }}
Server:
{{ session.server_name }}
State:
{{ session.state }}
{% if session.server_type == 'audiobookshelf' %}
{% if session.audio_codec %}
Audio Codec:
{{ session.audio_codec }}
{% endif %}
{% if session.bitrate_kbps %}
Bitrate:
{{ session.bitrate_kbps }} kbps
{% endif %}
{% if session.audio_format %}
Format:
{{ session.audio_format }}
{% endif %}
{% if session.file_size_mb %}
File Size:
{{ session.file_size_mb }} MB
{% endif %}
{% if session.audio_file_count and session.audio_file_count > 1 %}
Files:
{{ session.current_file_index + 1 }} of {{ session.audio_file_count }}
{% endif %}
{% if session.current_file and session.audio_file_count > 1 %}
Current File:
{{ session.current_file }}
{% endif %}
{% else %}
Video Codec:
{{ session.transcoding_info.video_codec or '-' }}
Audio Codec:
{{ session.transcoding_info.audio_codec or '-' }}
Resolution:
{{ session.transcoding_info.video_resolution or '-' }}
Container:
{{ session.transcoding_info.container or '-' }}
Stream Type:
{% if is_transcoding %}
Transcoding
{% elif direct_play %}
Direct Play
{% else %}
Direct Stream
{% endif %}
{% if session.transcoding_info.is_transcoding and session.transcoding_info.transcoding_speed %}
Transcoding Speed:
{{ "%.1f"|format(session.transcoding_info.transcoding_speed) }}x
{% endif %}
{% endif %}
Session ID:
{{ session.session_id }}
{% if position and duration %}
Progress:
{{ progress_percent }}%
Position:
{{ (position // 60000) }}:
{% if ((position // 1000) % 60) < 10 %}0{% endif %}
{{ (position // 1000) % 60 }}
Duration:
{{ (duration // 60000) }}:
{% if ((duration // 1000) % 60) < 10 %}0{% endif %}
{{ (duration // 1000) % 60 }}
{% endif %}