set segment delete at 168h
This commit is contained in:
parent
5c19cac8fe
commit
44cb8eeb2d
2 changed files with 7 additions and 3 deletions
|
@ -312,8 +312,8 @@ pathDefaults:
|
||||||
recordSegmentDuration: 12h
|
recordSegmentDuration: 12h
|
||||||
# Delete segments after this timespan.
|
# Delete segments after this timespan.
|
||||||
# Set to 0s to disable automatic deletion.
|
# Set to 0s to disable automatic deletion.
|
||||||
#recordDeleteAfter: 24h
|
# recordDeleteAfter: 24h
|
||||||
recordDeleteAfter: 0s
|
recordDeleteAfter: 168h
|
||||||
|
|
||||||
|
|
||||||
###############################################
|
###############################################
|
||||||
|
|
|
@ -30,6 +30,10 @@ jt = {
|
||||||
"head": "https://stream.deflax.net/memfs/6e5b4949-910d-4ec9-8ed8-1a3d8bb5138e.m3u8"
|
"head": "https://stream.deflax.net/memfs/6e5b4949-910d-4ec9-8ed8-1a3d8bb5138e.m3u8"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
obs = {
|
||||||
|
"head": "https://stream.deflax.net/memfs/9502315a-bb95-4e3e-8c24-8661d6dd2fe8.m3u8"
|
||||||
|
}
|
||||||
|
|
||||||
# Datarhei Core API integration
|
# Datarhei Core API integration
|
||||||
SYNC_PERIOD = 30
|
SYNC_PERIOD = 30
|
||||||
try:
|
try:
|
||||||
|
@ -106,7 +110,7 @@ manager.register_task(name="read_database", job=analyze_db).period(35).start()
|
||||||
|
|
||||||
@app.route('/', methods=['GET'])
|
@app.route('/', methods=['GET'])
|
||||||
def root_query():
|
def root_query():
|
||||||
playhead = iway
|
playhead = obs
|
||||||
return jsonify(playhead)
|
return jsonify(playhead)
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
|
|
Loading…
Reference in a new issue