mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 21:33:18 -07:00
Fix no started parameter for recently added notifications
* Fixes #1940
This commit is contained in:
parent
6181aa178d
commit
b0ba73cf46
1 changed files with 2 additions and 2 deletions
|
@ -985,8 +985,8 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
||||||
'product': notify_params['product'],
|
'product': notify_params['product'],
|
||||||
'player': notify_params['player'],
|
'player': notify_params['player'],
|
||||||
'ip_address': notify_params.get('ip_address', 'N/A'),
|
'ip_address': notify_params.get('ip_address', 'N/A'),
|
||||||
'started_datestamp': arrow.get(notify_params['started']).format(date_format),
|
'started_datestamp': arrow.get(notify_params['started']).format(date_format) if notify_params['started'] else '',
|
||||||
'started_timestamp': arrow.get(notify_params['started']).format(time_format),
|
'started_timestamp': arrow.get(notify_params['started']).format(time_format) if notify_params['started'] else '',
|
||||||
'started_unixtime': notify_params['started'],
|
'started_unixtime': notify_params['started'],
|
||||||
'stopped_datestamp': arrow.get(notify_params['stopped']).format(date_format) if notify_params['stopped'] else '',
|
'stopped_datestamp': arrow.get(notify_params['stopped']).format(date_format) if notify_params['stopped'] else '',
|
||||||
'stopped_timestamp': arrow.get(notify_params['stopped']).format(time_format) if notify_params['stopped'] else '',
|
'stopped_timestamp': arrow.get(notify_params['stopped']).format(time_format) if notify_params['stopped'] else '',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue