OTVA_daemon.gambas is a shell application (no GUI) you have to start at boot time just after the "./start-melted-server" script. He checks the melted server status to extract what clips are in playback list and search for expired ones (until now, exipred are those clips that are from a DAY different from the current). Remove from playback playlist clips that are expired (if the selected, expired, clip is displayed it would be removed when the clip was no more on video). Remove all the clips that are NOT expired but are NOT present in the "today" scheduling (he checks date part of the path of the media of selected channel). After the playback playlist was "purged" from not (more) valid clips, it will upload to melted server those from the schedule (the folder of the channel of the current day). Now it's time to set the loop ON on the melted server and then start the playback if it's not already started (paused, stopped or unknown). You have to but this commands in the "boot" script of you machine: cd otva_demon_location ./OTVA_daemon.gambas melted-server-ip melted-server-port UNIT channel_name loop_or_not melted_root_without_final_slash mysql_db_server_ip mysql_db_server_port db_user db_pass otva_db_name for example i use this script: cd /home/allegfede/OTVA app/otva lite/OTVA_daemon ./OTVA_daemon.gambas localhost 5250 u0 il_Mercatino true /mnt/Qnap2OTVA 192.168.1.116 3306 otva otva otva PS: melted_root_without_final_slash is the path you put after the line "set root=" in the melted.conf file you get in the etc folder of you melted build. PPS: pay attention to spaces in the channel names. Until now it's not safe to use spaces in paths. Pay attention also in path majors or minuors ... paths are case sensitives.
OpenTvArchitecture Files
open source platform to manage a TV-like multy channel broadcasting
Status: Planning
Brought to you by:
allegfede