-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This is simply amazing! Thanks!
I tried similar solutions but this is the best one so far, it let the media play until finishes and not just cut the media at specified end time like the others.
I managed to get it working and im not sure if i did something wrong but the startminute and endminute in the config file arent working.
I did like this:
{
"schedules": {
"morning": {
"comment": "Test Schedule 1",
"priority": 9,
"daysofweek": [0],
"dates": [0],
"months": [0],
"starthour": 14,
"startminute": 0,
"endhour": 14,
"endminute": 30,
"shows": ["D:\\shows\\show 1"],
"ads": ["C:\\ads"],
"bumpers": ["C:\\bumpers"],
"bumper_chance": 0.1,
"ads_min": 1,
"ads_max": 2
},
"test": {
"comment": "Test Schedule 2",
"priority": 8,
"daysofweek": [0],
"dates": [0],
"months": [0],
"starthour": 14,
"startminute": 30,
"endhour": 15,
"endminute": 0,
"shows": ["D:\\shows\\show 2"],
"ads": ["C:\\ads"],
"bumpers": ["C:\\bumpers"],
"bumper_chance": 0.0,
"ads_min": "",
"ads_max": ""
},
"test2": {
"comment": "Test Schedule 3",
"priority": 7,
"daysofweek": [0],
"dates": [0],
"months": [0],
"starthour": 15,
"startminute": 0,
"endhour": 14,
"endminute": 0,
"shows": ["D:\\shows\\show 3"],
"ads": ["C:\\ads"],
"bumpers": ["C:\\bumpers"],
"bumper_chance": 0.0,
"ads_min": "",
"ads_max": ""
}
},
"system": {
"action": "restart",
"hour": 0,
"minute": 0,
"create_debug_file": false,
"webuiport": 8080,
"channel_name": "test",
"peers": [
{
"name": "Test Schedule",
"url": "http://localhost:8080/queued"
}
]
}
}
Using "0" in startminute and endminute and only working with hours, everything shows nice in the Schedule page
Also noted if i use bumper_chance: 0.0 still show bumpers. Is it possible to disable bumpers/ads?
Again, thanks for your efforts!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels