Added the week number parameter.

This commit is contained in:
samip5 2018-04-09 17:20:51 +03:00
parent b144ded87b
commit 0186363753
3 changed files with 10 additions and 2 deletions

View file

@ -26,6 +26,7 @@ import re
from string import Formatter
import threading
import time
from datetime import date
import plexpy
import activity_processor
@ -702,6 +703,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
'tautulli_remote': plexpy.CONFIG.GIT_REMOTE,
'tautulli_branch': plexpy.CONFIG.GIT_BRANCH,
'tautulli_commit': plexpy.CURRENT_VERSION,
'week_number': int(date.today().isocalendar()[1]),
'server_name': plexpy.CONFIG.PMS_NAME,
'server_ip': plexpy.CONFIG.PMS_IP,
'server_port': plexpy.CONFIG.PMS_PORT,