From 96438e1e1573d88bd6b1e2de6368be1639a3a6b7 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 19 Apr 2020 14:06:05 -0700 Subject: [PATCH] Add id parameter to get_stream_data API for backwards compatibility * Fixes Tautulli/Tautulli-Issues#239 --- plexpy/webserve.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index adce6be2..3285fab1 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -1849,6 +1849,10 @@ class WebInterface(object): } ``` """ + # For backwards compatibility + if 'id' in kwargs: + row_id = kwargs['id'] + data_factory = datafactory.DataFactory() stream_data = data_factory.get_stream_details(row_id, session_key)