[tv] Centralisation de la configuration du SAP
This commit is contained in:
parent
515f554509
commit
a6742c500b
2 changed files with 19 additions and 5 deletions
12
gestion/config/tv.py
Normal file
12
gestion/config/tv.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SAP_MCAST_GRP = '224.2.127.254' # sap.mcast.net
|
||||
SAP_MCAST_PORT = 9875
|
||||
SAP_FILE_TXT = "/usr/scripts/var/tv/sap.txt"
|
||||
SAP_FILE_PIC = "/usr/scripts/var/tv/sap.pickel"
|
||||
|
||||
BASE_IMAGE_URL = "http://tv.crans.org/images/"
|
||||
IMAGE_SUFFIX = ".jpg"
|
||||
SMALL_IMAGE_SUFFIX = "_petites.jpg"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue