use settings from global options instead of extra file
This commit is contained in:
parent
1b47a89c17
commit
8bea9f88fa
2 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ User=pandora
|
||||||
Group=pandora
|
Group=pandora
|
||||||
Nice=19
|
Nice=19
|
||||||
WorkingDirectory=/srv/pandora/pandora
|
WorkingDirectory=/srv/pandora/pandora
|
||||||
ExecStart=/srv/pandora/pandora/manage.py infinity --config /etc/infinity.json
|
ExecStart=/srv/pandora/pandora/manage.py infinity
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
|
|
@ -717,6 +717,7 @@ def update_m3u(render_prefix, exclude=[]):
|
||||||
shutil.move(front_m3u_f + "_", front_m3u_f)
|
shutil.move(front_m3u_f + "_", front_m3u_f)
|
||||||
|
|
||||||
def render_infinity(options):
|
def render_infinity(options):
|
||||||
|
options = load_defaults(options)
|
||||||
prefix = options['prefix']
|
prefix = options['prefix']
|
||||||
duration = int(options['duration'])
|
duration = int(options['duration'])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue