Commit Graph

325 Commits

Author SHA1 Message Date
Justin Emter
f4395a2759 Testing for not-updating bug. 2017-07-31 20:12:11 -07:00
Justin Emter
0e5b65345e Edited time frame to UTC for google calendar. 2017-07-28 18:52:07 -07:00
Justin Emter
86721ab3f9 Merge branch 'master' of github.com:justinemter/pseudo-channel
Grabbing the readme from master.
2017-07-27 14:20:58 -07:00
Justin Emter
3077a1738f Merge branch 'develop'
Merging various bug fixes and enhancements, namely, Commercial Injection, the multiple DB entry issue on update (-u), using 'threading' Timer for the clock ticks versus an endles while loop (for performance / precision), Google Calendar integration, etc.
2017-07-27 14:17:43 -07:00
Justin Emter
6542cfacda Moved baseurl from config to plex_toke.py file so it doesn't get overwritten on updates. 2017-07-27 14:15:56 -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
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
4463b974e0 Update README.md 2017-07-25 11:54:02 -07:00
Justin
dacde6449d Update README.md 2017-07-25 10:54:05 -07:00
Justin
e00330cca2 Update README.md 2017-07-25 10:51:34 -07:00
Justin
f28e6ddec9 Update README.md 2017-07-25 10:47:27 -07:00
Justin
8be2f369c6 Update README.md 2017-07-25 09:45:41 -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
e464a5a7c7 Updated config 2017-07-22 16:43:20 -07:00
Justin Emter
9c412e0cde merge 2017-07-22 16:41:22 -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
ed1a2a0132 Merge branch 'develop' 2017-07-22 09:52:07 -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
Justin
d93d03f640 Update pseudo_config.py 2017-07-21 17:20:31 -07:00
Justin
149f187795 Update README.md 2017-07-21 13:32:43 -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