Commit Graph

36 Commits

Author SHA1 Message Date
Justin Emter
e78a0fc2c8 Added configurable port to config. 2017-08-04 12:50:29 -07:00
Justin Emter
873308ea06 Added internal server when the -m flag is run or when a schedule is generated...it starts once and stays running until app closes. Also reconfigured the ajax html updated logic for testing. 2017-08-04 11:36:46 -07:00
Justin Emter
16a00200df Reworked ajax logic for refresh. Should make sense now. 2017-08-03 22:45:29 -07:00
Justin Emter
dfc0290316 Added a new var to config where you can specify the server path to the schedules/ directory. If set it will use ajax to determine when to refresh the page, if it is left empty it will use the usual 30 second refresh functionality. 2017-08-03 22:32:25 -07:00
Justin Emter
e75b8a4c6d Fixed the db update queue overwrite issue. 2017-08-03 17:44:53 -07:00
Justin Emter
de59590d14 Removed the relativedelta extra lib so user doesn't need to pip install more than needed. 2017-08-03 15:58:23 -07:00
Justin Emter
aaa157f2c8 Added commercial padding to config / logic. Difficult to test without just running it as is. Fingers crossed. Am converting the config value from seconds to milli's then adding it to the commercial duration - in theory this will work as a padding if value specified is > than 0. 2017-08-03 15:56:06 -07:00
Justin Emter
88df036cdf Added a try / except for play errors. Script should continue even if it fails to play media. 2017-08-03 15:37:08 -07:00
Justin Emter
0e5b65345e Edited time frame to UTC for google calendar. 2017-07-28 18:52:07 -07:00
Justin Emter
acda7fca9b Added another config flag for debug mode. If set to false then commercials are not included in the html / xml. Will soon effect other input. 2017-07-27 11:34:23 -07:00
Justin Emter
99e4b9838f Fixed the resource hogging issue. Also added custom daily update var to config. 2017-07-27 10:50:03 -07:00
Justin Emter
7d3028e6fa Commercial support seems to work & also the duplicating DB entries seems to be fixed. 2017-07-26 19:53:44 -07:00
Justin Emter
8c4411d5a6 Looping through commercials over 100 times trying to fill up time. 2017-07-26 16:02:30 -07:00
Justin Emter
56fa063260 I think this might have solved the commercial logic. Testing here first. 2017-07-26 15:16:55 -07:00
Justin Emter
17a277a72c Fixed the issue where the daily_sched wasn't generating at midnight. 2017-07-26 00:07:35 -07:00
Justin Emter
920190626a Adjusted logic to calculate start / stop times for commercials. This should solve the commercials getting cut off. I do hoever see some issues, pushing anyway. 2017-07-25 22:00:45 -07:00
Justin Emter
6aa4207660 Trying to work out commercial logic / fixed XML error. 2017-07-25 20:29:59 -07:00
Justin Emter
8b2e69fc3e Added commercial support. Currently seems to be working ok, but needs adjusting / testing. Currently am using it with a time-shift of '5'. 2017-07-25 18:32:22 -07:00
Justin Emter
ab9f69de5f Updated cli. 2017-07-25 14:50:26 -07:00
Justin Emter
bc1dbbde35 Added in XML output alongside HTML. Also should be generating XML/HTML upon the daily generation of the schedule. 2017-07-25 14:14:20 -07:00
Pseudo Channel
f9b7286f76 Need to generate credentials via the google python tut then move the .credentials folder to home folder of controller. 2017-07-24 17:48:57 -07:00
Justin Emter
64e4485718 Added google calendar integration... Create a calendar event with a comma dilineated title like, 'Show, Seinfeld, false' where the third value is for strict-time. 2017-07-24 16:08:38 -07:00
Justin Emter
78f4aeb7cb Cleanup / added cli flags for info gathering / debugging. 2017-07-22 19:38:05 -07:00
Justin Emter
693a9784ff Testing various params / xml <time> values. 2017-07-22 15:57:47 -07:00
Pseudo Channel
376393736b Fixed bg image 2017-07-21 23:16:14 -07:00
Pseudo Channel
eae01ea8f1 Added movies column to html. Need to figure out the bg image issue. 2017-07-21 12:30:50 -07:00
Justin Emter
fbdd21c392 Fixed BG Image bug. 2017-07-21 09:01:40 -07:00
Justin Emter
5049d7669e Movies. 2017-07-20 19:18:41 -07:00
Justin Emter
1450c0b94f Alpha 1.0 2017-07-20 18:33:01 -07:00
Justin Emter
5b421574d9 Added random functionality for Movies & TV Shows. 2017-07-20 17:40:16 -07:00
Justin Emter
a2a3a40c93 Started re-implementing the controller / html generator functionality. 2017-07-20 15:03:22 -07:00
Justin Emter
2c57dc3c8d Updated time-shift logic. 2017-07-20 14:32:28 -07:00
Justin Emter
1b936adc3c Adding in the duration calculation from previous script. 2017-07-20 13:30:38 -07:00
Justin Emter
b58f7e7a2f Alpha 2017-07-20 02:09:47 -07:00
Justin Emter
51d1d6fcc3 Removed pyc files. 2017-07-20 00:08:40 -07:00
Justin Emter
f1d777a95d Updating project to oop. 2017-07-20 00:05:35 -07:00