Justin Emter
|
65a3e2a1fb
|
Added the missing statement to trigger play() if the media is scheduled to play on the minute.
|
2017-08-05 14:32:58 -07:00 |
|
Justin Emter
|
52e7aeda42
|
Added logic to sleep / wake-up according to the 'schedule' lib memory schedule. TODO: clean up code / test.
|
2017-08-05 14:16:18 -07:00 |
|
Justin Emter
|
f3fee882df
|
Trying out a different timer package @raspi fix.
|
2017-08-05 09:10:09 -07:00 |
|
Justin Emter
|
1bb1711f5f
|
Fixed the currdir check in the controller.
|
2017-08-04 20:22:12 -07:00 |
|
Justin Emter
|
1532a0d342
|
Write path bug on first run.
|
2017-08-04 20:13:23 -07:00 |
|
Justin Emter
|
ced1e116a5
|
Merge branch 'develop' of github.com:justinemter/pseudo-channel into develop
|
2017-08-04 20:02:07 -07:00 |
|
Justin Emter
|
704e96f6b6
|
Fixed the -xml chdir issue (I think).
|
2017-08-04 20:01:54 -07:00 |
|
Justin
|
4b6c2a9011
|
Update README.md
|
2017-08-04 15:11:04 -07:00 |
|
Justin
|
89bcfca07f
|
Update README.md
|
2017-08-04 15:01:33 -07:00 |
|
Justin
|
8301bf43b8
|
Update README.md
|
2017-08-04 14:22:12 -07:00 |
|
Justin Emter
|
d0f428ad34
|
ajax fixes.
|
2017-08-04 14:08:25 -07:00 |
|
Justin
|
488eeef6e8
|
Update README.md
|
2017-08-04 13:46:20 -07:00 |
|
Justin Emter
|
a4708a949d
|
Working on ironing out the instructions / definining how to use various options.
|
2017-08-04 13:43:47 -07:00 |
|
Justin Emter
|
e9b9e1df79
|
Reworking readme instructions.
|
2017-08-04 13:07:45 -07:00 |
|
Justin Emter
|
3a75a20ab9
|
Added a 'requirements.txt' for easily installing required pip packages.
|
2017-08-04 13:04:15 -07:00 |
|
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
|
014cad998b
|
Added functionality to generate xml/html schedules whenever the -g flag runs.
|
2017-08-03 18:18:11 -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
|
70932829fb
|
Updated config
|
2017-08-03 15:01:42 -07:00 |
|
Justin Emter
|
e4aab4b004
|
Fixed the not-updating-daily-schedule bug.
|
2017-08-03 15:00:53 -07:00 |
|
Justin Emter
|
bc980c91a7
|
Hopefully fixed the daily update bug.
|
2017-08-03 07:34:30 -07:00 |
|
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
|
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 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 |
|