botoz/conf_to_xml.py
2022-12-27 23:56:03 +01:00

9 lines
252 B
Python
Executable file

import json
import datetime
import os
utils = __import__('utils')
def config_to_xml(show):
utils.create_folder(show["general"]["name"])
utils.create_channel_file(show, show["general"]["name"] + "/" + show["general"]["name"] + "_channel.xml")