Justin Emter
|
a1c62c3e4b
|
merged
|
2017-12-01 10:07:36 -08:00 |
|
Justin Emter
|
954af9cf2d
|
Recording last play date of movie in the DB.
|
2017-12-01 09:25:14 -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
|
7285e51a92
|
Committing commented time-shift logic.
|
2017-11-25 17:35:58 -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
|
d8da86f126
|
Trying new commercial logic to try and fill up the gap.
|
2017-10-03 15:49:44 -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
|
7cf1b72659
|
Updated PseudoChannel.py to catch the weird error that occasionally pops up when running -g
|
2017-09-15 12:11:13 -07:00 |
|
Justin Emter
|
9d36aef5de
|
Minor fixes, removing the auto xml/html generation when using the -g flag.
|
2017-09-11 18:50:11 -07:00 |
|
Justin Emter
|
e1a3fe49d6
|
Tinkering with the time logic / more xml tests.
|
2017-08-28 23:07:36 -07:00 |
|
Justin Emter
|
0e5949ec7f
|
Added fix for taking advantage of the daily time blocks in the xml - i.e. <saturdays> or <mondays>
|
2017-08-28 11:16:08 -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
|
2205cf723b
|
Added in support for multiple movie filter values seperated by a comma, i,e, contentRating:G,PG,PG-13
|
2017-08-17 14:53:59 -07:00 |
|
Justin Emter
|
69e92ef68e
|
Added documentation to XML / defaults to strict-time / time-shift. Also removed overlap-max for now until it's fully implemented.
|
2017-08-17 12:12:59 -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
|
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
|
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
|
a82af271f7
|
Added some more strength to the trigger conditions.
|
2017-08-08 22:20:18 -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
|
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
|
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
|
704e96f6b6
|
Fixed the -xml chdir issue (I think).
|
2017-08-04 20:01:54 -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
|
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
|
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
|
e4aab4b004
|
Fixed the not-updating-daily-schedule bug.
|
2017-08-03 15:00:53 -07:00 |
|