Justin Emter
|
753c800854
|
Merge branch 'develop' of github.com:justinemter/pseudo-channel into develop
|
2017-08-09 17:41:41 -07:00 |
|
Justin Emter
|
13a4ee5030
|
Updated daily generate bash script.
|
2017-08-09 17:39:16 -07:00 |
|
Justin
|
ff237841dd
|
Update README.md
|
2017-08-09 17:19:16 -07:00 |
|
Justin
|
0d9b97bb46
|
Update README.md
|
2017-08-09 17:18:22 -07:00 |
|
Justin
|
a933023efa
|
Update README.md
|
2017-08-09 13:40:12 -07:00 |
|
Justin Emter
|
091acc4057
|
Added 'generate_daily_sched.sh' that should be used as a crontab only when using the 'startstop.sh' script exclusively.'
|
2017-08-09 11:55:53 -07:00 |
|
Justin Emter
|
d2512b0069
|
Altered SQL for removing daily_schedule data before adding newly generated data.
|
2017-08-09 11:09:29 -07:00 |
|
Justin Emter
|
f2b6b87b56
|
Added startstop.sh file to easily start / stop PseudoChannel.py in the background. Also loggin support in ./pseudo-channel.log
|
2017-08-09 00:30:02 -07:00 |
|
Justin Emter
|
7ff9b6e548
|
Merge branch 'develop' of github.com:justinemter/pseudo-channel into develop
|
2017-08-08 22:20:32 -07:00 |
|
Justin Emter
|
a82af271f7
|
Added some more strength to the trigger conditions.
|
2017-08-08 22:20:18 -07:00 |
|
Justin Emter
|
5b8123485d
|
Outputting offset when playing media for debugging.
|
2017-08-08 21:25:20 -07:00 |
|
Justin Emter
|
eefa6e68c5
|
Added the sleep timer again for raspi fix?
|
2017-08-08 21:20:20 -07:00 |
|
Justin Emter
|
a7e2e6cc53
|
Fix 2
|
2017-08-08 21:08:18 -07:00 |
|
Justin Emter
|
e72893db96
|
Ahh think I fixed that issue where it starts it from the beginning if it is more than half way through an episode.
|
2017-08-08 21:04:54 -07:00 |
|
Justin Emter
|
b7aec2bc70
|
Removed the annoying delay before triggering current media play().
|
2017-08-08 21:01:41 -07:00 |
|
Justin Emter
|
21a5f7c28a
|
Another potential fix for play-nearest-media-right-away functionality.
|
2017-08-08 20:53:20 -07:00 |
|
Justin Emter
|
724750f795
|
Potential fix for the 'sometimes not playing when starting app' bug.
|
2017-08-08 20:34:43 -07:00 |
|
Justin Emter
|
345bf4e565
|
Added a function to trigger the media that is supposed to be playing now / seek to the right position upon start. Needs testing
|
2017-08-08 18:02:10 -07:00 |
|
Justin Emter
|
54923504bb
|
Added schedule lib to requirements.
|
2017-08-07 13:51:26 -07:00 |
|
Justin Emter
|
a010acf531
|
Potentially fixed the bug where the following days media was interrupted by the previous day start-times.
|
2017-08-07 12:40:26 -07:00 |
|
Justin Emter
|
a836ce2eeb
|
Added error supressing / encoding to terminal output
|
2017-08-06 18:45:11 -07:00 |
|
Justin Emter
|
f096018a19
|
Ascii fix for illegal chars.
|
2017-08-06 15:30:47 -07:00 |
|
Justin Emter
|
9a25db5080
|
Added conditions for not rendering a web server if the serverurl field in config is empty.
|
2017-08-06 15:13:42 -07:00 |
|
Justin Emter
|
4f0af16414
|
Logging stuff
|
2017-08-06 13:32:22 -07:00 |
|
Justin Emter
|
d1f0d2ad49
|
Edited output / cleaned output for easier debugging.
|
2017-08-05 17:42:56 -07:00 |
|
Justin Emter
|
67a0b1b376
|
Fixed support for generating daily schedule at midnight with new schedule implementation.
|
2017-08-05 16:04:25 -07:00 |
|
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 |
|