Commit Graph

29 Commits

Author SHA1 Message Date
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
4d594ed8a0 Started on random movie logic. 2017-11-25 18:17:15 -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
daf8ced89b Cleaning up code base, etc. getting ready for release. 2017-08-18 12:50:54 -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
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
f096018a19 Ascii fix for illegal chars. 2017-08-06 15:30:47 -07:00
Justin Emter
e75b8a4c6d Fixed the db update queue overwrite issue. 2017-08-03 17:44:53 -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
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
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
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
78f4aeb7cb Cleanup / added cli flags for info gathering / debugging. 2017-07-22 19:38:05 -07:00
Justin Emter
693a9784ff Testing various params / xml <time> values. 2017-07-22 15:57:47 -07:00
Justin Emter
1450c0b94f Alpha 1.0 2017-07-20 18:33:01 -07:00
Justin Emter
5b421574d9 Added random functionality for Movies & TV Shows. 2017-07-20 17:40:16 -07:00
Justin Emter
2c57dc3c8d Updated time-shift logic. 2017-07-20 14:32:28 -07:00
Justin Emter
1b936adc3c Adding in the duration calculation from previous script. 2017-07-20 13:30:38 -07:00
Justin Emter
b58f7e7a2f Alpha 2017-07-20 02:09:47 -07:00
Justin Emter
f1d777a95d Updating project to oop. 2017-07-20 00:05:35 -07:00