mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Filter out background theme music sessions
This commit is contained in:
parent
e014bfa63e
commit
55ffd54e5b
1 changed files with 3 additions and 0 deletions
|
@ -1570,6 +1570,9 @@ class PmsConnect(object):
|
|||
if a.getElementsByTagName('Track'):
|
||||
session_data = a.getElementsByTagName('Track')
|
||||
for session_ in session_data:
|
||||
# Filter out background theme music sessions
|
||||
if helpers.get_xml_attr(session_, 'guid').startswith('library://'):
|
||||
continue
|
||||
session_output = self.get_session_each(session_, skip_cache=skip_cache)
|
||||
session_list.append(session_output)
|
||||
if a.getElementsByTagName('Video'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue