mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Merge pull request #1283 from samip5/week_number-patch
Adding the week number parameter
This commit is contained in:
commit
d316aa34e2
3 changed files with 4 additions and 0 deletions
|
@ -710,6 +710,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
|||
'server_platform': plexpy.CONFIG.PMS_PLATFORM,
|
||||
'server_version': plexpy.CONFIG.PMS_VERSION,
|
||||
'action': notify_action.lstrip('on_'),
|
||||
'week_number': arrow.now().isocalendar()[1],
|
||||
'datestamp': arrow.now().format(date_format),
|
||||
'timestamp': arrow.now().format(time_format),
|
||||
'unixtime': int(time.time()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue