Commit Graph

110 Commits

Author SHA1 Message Date
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
e83361857c Fixed out-of-range bug when generating daily schedule. 2017-07-25 14:32:17 -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
Justin Emter
e7169b7338 Merge branch 'develop' of github.com:justinemter/pseudo-channel into develop 2017-07-25 08:48:57 -07:00
Justin Emter
8049ac7be8 Fixed the auto daily sched generate bug. v0.1.1.2 2017-07-25 08:47:50 -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
d716176210 Added a flag in the config that uses google calendar to update / regenerate the daily schedule at midnight. Also incorporated random movies in calendar scheduling: 'Movie, Random, true' 2017-07-24 17:26:38 -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
1641602ed8 Indents. 2017-07-22 20:51:58 -07:00
Justin Emter
b90c05754c Added help for cli args. 2017-07-22 20:49:57 -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
Justin Emter
ca588f09e6 Reworked the daily_schedule logic to properly wrap around the clock where needed. Seems to work but needs testing. If using time-shift the first episode of the day needs to be strict-time so time-shift has something to anchor to. 2017-07-22 15:11:20 -07:00
Justin Emter
c5c8c3d2a3 Added logic to remap the main plex libraries in config. Also added logic to get plex token from a file in the parent dir called plex_token.py 2017-07-22 14:26:48 -07:00
Justin Emter
54f7f6535f Fixed the daily_schedule loop bug & added support for 24h time entries. 2017-07-22 12:54:37 -07:00
Justin Emter
8a59aa2c40 Added filtering for day of the week when generating daily schedule. 2017-07-22 01:16:51 -07:00
Justin Emter
27dadd3108 Added support for 24h time input. 2017-07-21 23:43:47 -07:00
Justin Emter
09ea9812a9 Added support for 24 hour time entires in xml. 2017-07-21 23:27:54 -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
2d757ffceb Merge branch 'master' of github.com:justinemter/pseudo-channel 2017-07-21 09:03:45 -07:00
Justin Emter
fbdd21c392 Fixed BG Image bug. 2017-07-21 09:01:40 -07:00
Justin
bba756bcfa Update README.md 2017-07-20 21:13:52 -07:00
Justin
c128d08a88 Update README.md 2017-07-20 21:04:33 -07:00
Justin
4fbbc09f1d Create pseudo_config.py 2017-07-20 20:48:41 -07:00
Justin Emter
480894fb9c Merge branch 'master' of github.com:justinemter/pseudo-channel 2017-07-20 20:47:06 -07:00
Justin Emter
e4250315cf Added cli for beta testing. 2017-07-20 20:46:26 -07:00
Justin
9f9ac609a1 Update README.md 2017-07-20 19:35:24 -07:00
Justin
58eeb8fc54 Update README.md 2017-07-20 19:34:19 -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
4147495152 Cleaing up the rep part II. 2017-07-20 10:31:34 -07:00
Justin Emter
48f4094b5c Cleaing up the rep. 2017-07-20 10: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
Justin Emter
005d6fdea2 Porting over to oop. 2017-07-18 09:57:44 -07:00