allow historical import of tautulli

This commit is contained in:
Nicholas St. Germain 2019-04-29 14:27:57 -05:00
parent 1db99a46ed
commit 640989e495
3 changed files with 204 additions and 13 deletions

View file

@ -273,8 +273,8 @@ class TautulliStream(NamedTuple):
audience_rating_image: str = None
audio_bitrate: str = None
audio_bitrate_mode: str = None
audio_channels: str = None
audio_channel_layout: str = None
audio_channels: str = None
audio_codec: str = None
audio_decision: str = None
audio_language: str = None
@ -292,6 +292,8 @@ class TautulliStream(NamedTuple):
collections: list = None
container: str = None
content_rating: str = None
current_session: str = None
date: str = None
deleted_user: int = None
device: str = None
directors: list = None
@ -307,6 +309,8 @@ class TautulliStream(NamedTuple):
grandparent_rating_key: str = None
grandparent_thumb: str = None
grandparent_title: str = None
group_count: int = None
group_ids: str = None
guid: str = None
height: str = None
id: str = None
@ -331,16 +335,19 @@ class TautulliStream(NamedTuple):
optimized_version: int = None
optimized_version_profile: str = None
optimized_version_title: str = None
originally_available_at: str = None
original_title: str = None
originally_available_at: str = None
parent_media_index: str = None
parent_rating_key: str = None
parent_thumb: str = None
parent_title: str = None
paused_counter: int = None
percent_complete: int = None
platform: str = None
platform_name: str = None
platform_version: str = None
player: str = None
pre_tautulli: str = None
product: str = None
product_version: str = None
profile: str = None
@ -349,20 +356,25 @@ class TautulliStream(NamedTuple):
rating: str = None
rating_image: str = None
rating_key: str = None
reference_id: int = None
relay: int = None
relayed: int = None
section_id: str = None
secure: str = None
selected: int = None
session_id: str = None
session_key: str = None
shared_libraries: list = None
sort_title: str = None
started: int = None
state: str = None
stopped: int = None
stream_aspect_ratio: str = None
stream_audio_bitrate: str = None
stream_audio_bitrate_mode: str = None
stream_audio_channels: str = None
stream_audio_channel_layout: str = None
stream_audio_channel_layout_: str = None
stream_audio_channels: str = None
stream_audio_codec: str = None
stream_audio_decision: str = None
stream_audio_language: str = None
@ -380,8 +392,8 @@ class TautulliStream(NamedTuple):
stream_subtitle_language: str = None
stream_subtitle_language_code: str = None
stream_subtitle_location: str = None
stream_video_bitrate: str = None
stream_video_bit_depth: str = None
stream_video_bitrate: str = None
stream_video_codec: str = None
stream_video_codec_level: str = None
stream_video_decision: str = None
@ -393,7 +405,7 @@ class TautulliStream(NamedTuple):
stream_video_resolution: str = None
stream_video_width: str = None
studio: str = None
subtitles: int = None
sub_type: str = None
subtitle_codec: str = None
subtitle_container: str = None
subtitle_decision: str = None
@ -402,7 +414,7 @@ class TautulliStream(NamedTuple):
subtitle_language: str = None
subtitle_language_code: str = None
subtitle_location: str = None
sub_type: str = None
subtitles: int = None
summary: str = None
synced_version: int = None
synced_version_profile: str = None
@ -433,17 +445,17 @@ class TautulliStream(NamedTuple):
type: str = None
updated_at: str = None
user: str = None
username: str = None
user_id: int = None
user_rating: str = None
user_thumb: str = None
video_bitrate: str = None
username: str = None
video_bit_depth: str = None
video_bitrate: str = None
video_codec: str = None
video_codec_level: str = None
video_decision: str = None
video_framerate: str = None
video_frame_rate: str = None
video_framerate: str = None
video_height: str = None
video_language: str = None
video_language_code: str = None
@ -452,11 +464,10 @@ class TautulliStream(NamedTuple):
video_resolution: str = None
video_width: str = None
view_offset: str = None
watched_status: int = None
width: str = None
writers: list = None
year: str = None
secure: str = None
relayed: int = None
# Lidarr