Commit Graph

86 Commits

Author SHA1 Message Date
mutto233
05065f34e5 Add files via upload 2018-06-19 21:41:23 -04:00
Justin Emter
a759312d6a Fix for the -i (import shows) logic. Updated SQL command to UPDATE and existing rows with only lastEpisodeTitle 2018-04-03 19:43:57 -07:00
Justin Emter
6e159a83d1 Testing some stuff to fix the clearing of the daily_schedule table. 2018-02-23 18:04:30 -08:00
Justin Emter
fa1d604d0d Updated README and a few other things. 2018-01-16 12:41:59 -08:00
Justin Emter
841290429a Added support to export/import Daily Schedule. Automatically happens when running -e/-i and manually done when running -eds/-ids 2018-01-15 10:14:12 -08:00
Justin Emter
2a587ff1a8 Added episode name along with series name in the html schedule. 2017-12-24 09:14:52 -08:00
Justin Emter
f5224f97bf Added Now Playing: to the top of html. 2017-12-23 14:44:49 -08:00
Justin Emter
586dcf7eba Added variable in config to specify the html title. 2017-12-23 10:47:58 -08:00
Justin Emter
0da6cbe8c4 Fixed the final commercial custom library naming issue. 2017-12-20 10:27:49 -08:00
Justin Emter
4659f6bb11 Switched DB columns from integers to text. 2017-12-12 09:00:59 -08:00
Justin Emter
c613c58266 Fixed the html BG image and also fixed function name in controller from 'now_plating' to 'now_playing'. 2017-12-03 10:20:11 -08:00
Justin Emter
29fdf92cfa Applied fix for customSectionName = next_episode[9]
IndexError: tuple index out of range, error.
2017-12-03 09:35:13 -08:00
Justin Emter
91d20a2d5a Fixed play() err, custom-section-names should be working now. 2017-12-02 14:04:51 -08:00
Justin Emter
dc916c6ef0 Added functionality to use custom Library names (i.e. 'Movies' : ['Films']) - Hasn't been thoroughly tested 2017-12-02 12:31:54 -08:00
Justin Emter
1127843486 Error binding param 10 - unsupported type 2017-12-01 09:23:50 -08:00
Justin Emter
0ee6922b39 Added random movie logic but commenting it out for now. 2017-11-30 13:03:39 -08:00
Justin Emter
00ed0eb205 Updated the random movie logic concept. 2017-11-25 18:26:47 -08:00
Justin Emter
4d594ed8a0 Started on random movie logic. 2017-11-25 18:17:15 -08:00
Justin Emter
f626b6e419 Commercial logic + dirty-gap-fix option but defaults to False. 2017-11-13 18:20:24 -08:00
Justin Emter
0a801b2467 Testing commercial logic to better fill up the gap. 2017-11-13 13:39:39 -08:00
Justin Emter
9324091074 Going back to Integer fields in DB. 2017-11-13 08:24:46 -08:00
Justin Emter
3d521c0c0b Added 'useDirtyGapFix' option to pseudo_config in order to fill up empty gaps with commercials and allow the app to cutoff the last commercial. 2017-11-11 11:54:04 -08:00
Justin Emter
7605dd4981 Removed duplicate bootstrap import in generated html. 2017-10-29 16:54:04 -07:00
Justin Emter
395aaa7972 Reverting changes to commercial injection. 2017-10-04 10:12:57 -07:00
Justin Emter
d8da86f126 Trying new commercial logic to try and fill up the gap. 2017-10-03 15:49:44 -07:00
Justin Emter
59a672760e Working on commercial injection logic to better fill up gap between scheduled content. 2017-10-03 10:19:25 -07:00
Justin Emter
e2e406e2f4 Updated conditional to fix the issue where the bgImage/highlighted current item was sometimes working and sometimes not working. 2017-09-23 08:13:47 -07:00
Justin Emter
a97157f57e Added some logic to highlight/update bg image for channel item using the flag... 2017-09-21 11:33:52 -07:00
Justin Emter
263d8799f7 Completely removed Google Cal. Also experimenting with the -g bug where sometimes the prev day is not cleared - very frustrating. 2017-09-19 09:19:13 -07:00
Justin Emter
105648ed4c Added stop functionality for when killing the app via startstop.sh 2017-08-20 01:40:25 -07:00
Justin Emter
daf8ced89b Cleaning up code base, etc. getting ready for release. 2017-08-18 12:50:54 -07:00
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
8056c4b9ad Started adding test runners. 2017-08-11 14:09:44 -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
d2512b0069 Altered SQL for removing daily_schedule data before adding newly generated data. 2017-08-09 11:09:29 -07:00
Justin Emter
a82af271f7 Added some more strength to the trigger conditions. 2017-08-08 22:20:18 -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
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
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
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
704e96f6b6 Fixed the -xml chdir issue (I think). 2017-08-04 20:01:54 -07:00
Justin Emter
d0f428ad34 ajax fixes. 2017-08-04 14:08:25 -07:00