Commit Graph

63 Commits

Author SHA1 Message Date
DrChicken 46e49797cc pass --force to streamlink 2021-11-12 07:37:21 -05:00
DrChicken a535591c96 clear downloadingStatus on metadata failure 2021-11-11 21:33:33 -05:00
DrChicken 71e431800c fix twitch streams randomly being unable to upload
streamlink can seemingly fail to grab stream metadata, resulting in a filename
stream-archiver isn't expecting. to fix this, simply pass the expected filename
to the downloaders.
2021-11-11 21:22:49 -05:00
DrChicken 49694dd3a9 pass arguments to format string 2021-11-11 21:02:55 -05:00
DrChicken 3bb979e3f4 use cookies for metadata fetching too 2021-10-19 14:57:44 -04:00
DrChicken 080a945d41 add cookie support for membership streams - doesn't crash but don't have any memberships to test 2021-10-15 23:12:56 -04:00
DrChicken 0136bee3e7 don't needlessly store time information 2021-10-15 22:44:39 -04:00
DrChicken 60b9f77cd2 add streamlink to list of dependencies 2021-10-15 21:55:29 -04:00
DrChicken 568ec31c2b fix compile error 2021-10-15 21:55:16 -04:00
DrChicken 586afd6ca0 update thumbnail file name 2021-10-07 21:39:56 -04:00
DrChicken 5619efa1df match youtube output format to twitch, collect api metadata, output path template data 2021-10-07 21:19:36 -04:00
DrChicken 015f4320be fix using wrong format string in streamlink command 2021-10-07 12:19:30 -04:00
DrChicken 85f7c46abd remove doubled percent signs in format string 2021-10-07 12:15:50 -04:00
DrChicken 00c3d498a9 don't needlessly format string 2021-10-07 12:11:12 -04:00
DrChicken 097acdfe5b attempt to fix date format not being detected by streamlink 2021-10-07 12:06:43 -04:00
DrChicken b704d99f7e leverage streamlink for twitch downloads, pass 1 2021-10-07 11:54:47 -04:00
DrChicken 52ddd2569d add stream url to hook data 2021-10-01 21:43:56 -04:00
DrChicken 03888f629e Merge remote-tracking branch 'origin/master' 2021-09-30 20:18:54 -04:00
DrChicken e6ca54e717 add documentation - example usage, hook information, requirements 2021-09-30 20:18:14 -04:00
drchicken 3e8d5c49bb Add 'LICENSE.txt' 2021-09-30 16:26:46 +00:00
DrChicken f01e08908d update example config, using the date data 2021-09-30 11:17:42 -04:00
DrChicken c76673a9c3 update README 2021-09-30 11:17:27 -04:00
DrChicken 9482b05426 hook revamp, pass 3 (minor fixes) 2021-09-30 11:10:36 -04:00
DrChicken 47cf8099a7 go fmt 2021-09-30 10:40:40 -04:00
DrChicken e4b4199e4f hook revamp, pass 2 2021-09-30 10:40:29 -04:00
DrChicken 4fde18be33 hook revamp, pass 1 2021-09-30 10:06:47 -04:00
DrChicken 90b49aafdf add stream hiccup detection - entirely untested this time! yee haw 2021-09-29 22:36:02 -04:00
DrChicken b8d4b86a9f minor fixes 2021-09-19 14:44:14 -04:00
DrChicken 350ec67228 add platform to hook variables 2021-09-18 20:08:17 -04:00
DrChicken 3e283291d2 don't panic 2021-09-18 20:07:38 -04:00
DrChicken a9ae14ac5d remove extra period from thumbnail file name 2021-09-18 15:09:50 -04:00
DrChicken cd6ece7acf add title to hook variables 2021-09-18 15:04:36 -04:00
DrChicken 8c3319ffcf go fmt 2021-09-18 14:20:15 -04:00
DrChicken bc7e2aa17e hook system - yeah, it's probably broken as all hell 2021-09-18 14:19:36 -04:00
DrChicken 2d44f43953 go fmt 2021-09-18 13:26:02 -04:00
DrChicken 95e62d92d7 add metadata collection to save thumbnail
the addition of metadata collection means that yt-dlp will tell us the anticipated
output filename, so this should also lay the groundwork for the hook system.
of course, as I add more things to this code it gets even messier, and it's
nearing a point where I should probably consider doing a sanity check across
the codebase before I keep recklessly adding features.
2021-09-18 13:25:51 -04:00
DrChicken a9e6936d65 go fmt 2021-09-18 12:36:26 -04:00
DrChicken 0ca047315f pass date to output folder template 2021-09-18 12:36:08 -04:00
DrChicken 43cad04bfe go fmt, return parsing errors 2021-09-18 12:35:34 -04:00
DrChicken a072ebd9ba show channel count on startup 2021-09-17 17:52:09 -04:00
DrChicken 00e201a047 use "interval" from config file
this could probably use some better documentation, honestly. the value is
ultimately passed to time.ParseDuration(), but I'm not sure if it would be
reasonable to mention it's also handled by "cron"
2021-09-17 12:46:10 -04:00
DrChicken 76450ec41f load retry count and delay from config 2021-09-17 12:39:22 -04:00
DrChicken 5a3d035387 update README 2021-09-17 12:19:20 -04:00
DrChicken fac19bdc1f update example config
hopefully I'll get these options implemented soon
2021-09-17 12:18:57 -04:00
DrChicken 6445394db9 go fmt 2021-09-17 12:04:16 -04:00
DrChicken 6e66c32de1 refactor downloader, consolidating it into one function 2021-09-17 12:03:43 -04:00
DrChicken a300312cf7 validate twitch app access token on startup 2021-09-17 11:47:37 -04:00
DrChicken 41ae2ab603 add videos/ to gitignore 2021-09-17 11:47:19 -04:00
DrChicken 71393dc08f update download commands to save video metadata 2021-09-17 11:35:06 -04:00
DrChicken 026db30fc0 rework monitor()
it's shorter, but what has it done to readability?
2021-09-17 11:11:22 -04:00