Commit Graph
76 Commits
Author SHA1 Message Date
PatatjeMC 40134e02e8 Better anti NSFW post
Instead of looking at the screen to look if it's nsfw it checks it earlier so it doesn't have to create all the mp3's and open the browser to do it. Also it fixes some errors because of it cause playwright was being buggy with it for some reason.
2022-06-09 16:00:10 +02:00
PatatjeMC c028c73ace fixed a name thingy that gave errors
get_hottest_undone did not exist anywhere in the code and so I think you accidentally typed the wrong thing
2022-06-09 15:23:04 +02:00
Jason 23835fa625 Merge branch 'master' into master 2022-06-08 17:17:43 -04:00
Jason 2eac16f29d fixed import errors 2022-06-08 17:15:08 -04:00
PatatjeMC 1a8a668069 Fixed requirements.txt
pytube was removed of it idk when but it's still being used so here it is back even tho it's half broken and it should probably be replaced soon. also typing did not work with the version for some reason
2022-06-08 20:53:08 +02:00
PatatjeMC 3be00d00d7 Changed to tts chunk combiner to sox
This helps performance and improves audio quality as movie.py adds a lot of audio glitches also there where a few small mistakes in the old version that I fixed and seem to work.
2022-06-08 20:48:50 +02:00
PatatjeMC ddd16d25c7 Merge branch 'JasonLovesDoggo:master' into master 2022-06-08 20:32:21 +02:00
PatatjeMC 73907026a7 Revert "Use sox for combining audio in TTS chunk combiner"
This reverts commit 9d2c2cd88f.
2022-06-08 20:31:25 +02:00
PatatjeMC 9d2c2cd88f Use sox for combining audio in TTS chunk combiner
I did this because moviepy has a lot of glitches in the audio.
2022-06-08 20:30:17 +02:00
Jason a923b2c9e7 left char 2022-06-08 11:27:30 -04:00
Jason 0954906e79 improved the submission "getting" system
fixes #65
2022-06-08 11:20:20 -04:00
Jason 7e3084e886 reformatted 2022-06-07 18:38:40 -04:00
Jason 174df19be7 fix: improved TTS requests
fixes #64
2022-06-07 18:38:14 -04:00
Jason bff0881b80 forgot to add int() to Greater than or equal to ops 2022-06-07 18:12:06 -04:00
Jason dbf68477a6 fixed #60
and reformatted project with the black formatter
2022-06-07 18:09:58 -04:00
PatatjeMC b6dc308003 Merge branch 'JasonLovesDoggo:master' into master 2022-06-07 20:56:14 +02:00
PatatjeMC 78036c5ab2 Revert "Block stickied comments from being used"
This reverts commit f3d8af5a3a.
2022-06-07 20:55:56 +02:00
PatatjeMC f3d8af5a3a Block stickied comments from being used
this blocks stickied comments from being used because this is mostly used for bot messages and not about the actual thread.
2022-06-07 20:50:32 +02:00
Jason 9ba4500c27 added stats 2022-06-07 10:57:49 -04:00
Jason ad2a043aad added giant banner
modified version of https://github.com/elebumm/RedditVideoMakerBot/pull/354/commits/c24234aa5362f129382e38adbd1a50f591ef1d56
2022-06-07 10:34:28 -04:00
Jason d1f27337c1 Create videos.json
gitignore fix
2022-06-07 10:29:21 -04:00
Jason 2b1f7183d4 closes #61
fix: perm removed praw async error
2022-06-07 10:28:40 -04:00
Jason ec4729bd06 removed videos.json from git updatin 2022-06-07 10:06:25 -04:00
Jason 45956c409a tried to implement smth 2022-06-07 09:45:26 -04:00
Jason 4d4cfdcd98 stickied comments will never be used again
see
https://github.com/elebumm/RedditVideoMakerBot/pull/290
2022-06-06 18:19:55 -04:00
Jason b555b9ce4e improved voice.py uri remover 2022-06-06 18:16:39 -04:00
Jason cb3f825014 updated voice.py with uri removal too 2022-06-06 18:11:52 -04:00
Jason 45531df823 sanitize text.
closes #59
2022-06-06 18:09:45 -04:00
Jason e678d3e5ca adds voice config
closes #28
2022-06-06 18:03:54 -04:00
Jason c6df98abeb added image transparency
closes #39
2022-06-06 17:48:43 -04:00
Jason b32e39f17d last commit also fixed
fixes #52
fixes #27
2022-06-06 17:33:00 -04:00
Jason 917b20603e removed useless line 2022-06-06 17:31:02 -04:00
Jason 293b34666a feat: added TFA auth
chore: overhauled the video download system.
feat: added progress bar and speed for video download
fix: fixed the evil file not found error!
feat: added a variable that allows you to make MULTIPLE videos not just one
feat: added a standardized viewport size for the screenshot downloader
notes: removed askreddit.py as it was not needed after subreddit.py redesign.
closes #26
fixes #38
fixes #32
fixes #31
fixes #30
fixes #22
fixes #21
fixes #17
fixes #14
2022-06-06 17:30:34 -04:00
Jason 25c198dff3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.env.template
#	reddit/subreddit.py
#	video_creation/TTSwrapper.py
#	video_creation/background.py
2022-06-06 16:04:13 -04:00
Jason 0a028358b2 Merge pull request #58 from PatatjeMC/master
Unlimited comment length
2022-06-06 10:55:05 -04:00
PatatjeMC 97d3bebfae Merge branch 'JasonLovesDoggo:master' into master 2022-06-06 16:23:15 +02:00
PatatjeMC fdc055bcd4 Unlimited comment length
I added unlimited comment length by splitting the tts is parts in a way that doesn't make it sound weird. It works great for me but if someone experiences and issues just contact me.
2022-06-06 16:14:38 +02:00
Jason f583ea9608 Merge pull request #51 from PatatjeMC/master
Fixed errors and glitchy ending
2022-06-05 16:50:07 -04:00
PatatjeMC d095391d35 Error fix
Moved the character limit checker cause it was being buggy and making it so some longer comments went thru but not others and it looks like that's fixed now also deleted another character limit check cause it wasn't needed anymore. and for some reason the text replace thingy was in an if statement even tho I don't think it should have been in there.
2022-06-05 22:36:55 +02:00
PatatjeMC 14d3025407 Reset videos.json
Oops forgot to reset it after testing 1 last time.
2022-06-05 16:48:57 +02:00
PatatjeMC f67aefabfd Fixed some bugs and upped background resolution
Fixed the 2 most common errors that I encountered:
 - The "SoX error" (That's what it's called in JasonLovesDoggo's repo)
 - AttributeError: 'dict' object has no attribute 'title'

Fixed the ending being glitchy and freezing

Upped the resolution of the background cause it looked bad
2022-06-05 16:47:29 +02:00
Jason f491479fb7 backup 2022-06-04 12:48:35 -04:00
Jason 3c9bc3d0ca removed unnecessary askreddit.py 2022-06-03 18:34:19 -04:00
Jason 519e5247e9 updated the environment file template 2022-06-03 18:34:02 -04:00
Jason 2c2a597443 updated requirements.txt 2022-06-03 18:33:38 -04:00
Jason 3ecfd14edb fixed postID message timing 2022-06-03 18:32:11 -04:00
Jason 43e29af04a added TFA 2022-06-03 17:39:08 -04:00
Jason 1ec5f1c87f Merge remote-tracking branch 'origin/master' 2022-06-03 17:28:29 -04:00
Jason d962990419 Merge pull request #36 from JasonLovesDoggo/add-license-1
Create LICENSE
2022-06-03 17:27:07 -04:00
Jason 4ee94fe92e Create LICENSE 2022-06-03 17:26:59 -04:00