Commit Graph

176 Commits

Author SHA1 Message Date
Justin Emter
1fc3d1bf7a Added error handling for when a webserver is already running when starting or re-starting the app. 2017-08-17 06:56:35 -07:00
Justin Emter
bea4b4286b Another try at fixing the occasional issue where the previous daily_schedule is not cleared when the new one is generated. 2017-08-17 06:42:03 -07:00
Justin Emter
691e0f4469 Added support for xtra args in the xml to further specify random movie params. There are a few gotchas. The xml attribute should look like this: xtra='actor:tom cruise genre:action contentRating:r' and I the local db must be current. If it fails then it just dismisses all params and grabs random movie. 2017-08-16 16:25:33 -07:00
Justin Emter
4dbf5b4c07 Experienced the duplicate entry error for todays daily_schedule error. Trying something different. 2017-08-15 10:53:54 -07:00
Justin Emter
c903a1c6d7 Updates to scripts. 2017-08-13 11:48:29 -07:00
Justin Emter
8056c4b9ad Started adding test runners. 2017-08-11 14:09:44 -07:00
Justin Emter
7f06384c2f Added flag to only use the new cache update logic if app is being updated with new schedule. 2017-08-10 10:08:27 -07:00
Justin Emter
ee863eb888 Potential fix for the daily schedule update / interruption to currently playing media - issue. 2017-08-10 10:02:07 -07:00
Justin Emter
1e7219cb70 Importing the previously exported json queue seems to be working. Will overwrite all the shows table with the json data. 2017-08-09 19:39:46 -07:00
Justin Emter
f55f90819d Started adding export / export of playhead queue via json for easy transferring / restarting db. 2017-08-09 19:07:55 -07:00
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