365 Commits
Author SHA1 Message Date
Josh Holly 838333160d Update final_video.py
Fixed opacity so comments will have transparency if the user sets the "opacity" option below 1.
2023-05-08 07:12:27 -05:00
Simon 93b64805e3 Merge pull request #1615 from xyba1337/reddit-credentials-check
Reddit credentials validation in screenshot_downloader.py
2023-05-05 09:04:28 +02:00
liamb d19dfac8a3 adds elevenlabs 2023-05-05 11:21:06 +10:00
xyba eb7d1e9440 Reddit credentials validation in screenshot_downloader.py
# Description

The Playwright locator timed out in line 175 without letting the user know why. The browser failed to log me in to Reddit using the incorrect credentials, which prevented it from accessing the desired post. This fix should be a much more user-friendly approach.

# Issue Fixes

https://github.com/elebumm/RedditVideoMakerBot/issues/1596

None

# Checklist:

- [❌] I am pushing changes to the **develop** branch
- [❌] I am using the recommended development environment
- [✅] I have performed a self-review of my own code
- [✅] I have commented my code, particularly in hard-to-understand areas
- [❌] I have formatted and linted my code using python-black and pylint
- [✅] I have cleaned up unnecessary files
- [✅] My changes generate no new warnings
- [✅] My changes follow the existing code-style
- [✅] My changes are relevant to the project

# Any other information (e.g how to test the changes)

Without my changes, you can set headless to false and run the program. You will notice a timeout exception comfing from playwright without any indications to the user as to why it happened.
With my changes however, it performs a check to see if the reddit login is returning an error message, if it does it let's the user know to fix his credentials inside of config.toml.
2023-05-03 22:56:28 +02:00
Lucas d8347e08b9 Fixed issues and improvements related by Jason 2023-04-24 23:55:18 -03:00
Lucas 778d9c0c37 changing allow_only_tts to enable_extra_audio 2023-04-24 16:35:08 -03:00
Lucas 0258026ebd fixed audio post processing audio download bug 2023-04-23 18:30:54 -03:00
Lucas d9ff36b034 Merge with develop branch and no pytube required 2023-04-23 18:10:10 -03:00
Lucas 1f48c53a74 new toml config and added background audio feature 2023-04-23 11:07:17 -03:00
Lucas de Almeida 15a4f80f99 2 samples with backgroundMusic and without it 2023-04-21 23:05:48 -03:00
Lucas 1abfc4b321 2 samples with backgroundMusic and without it 2023-04-21 23:01:26 -03:00
Lucas 5a103e76cd rendering video and audio 2023-04-21 22:09:53 -03:00
Lucas 405b1f89eb Volume down done 2023-04-21 21:28:56 -03:00
Lucas a21c17ef55 composing the video but with no audio 2023-04-21 19:17:05 -03:00
Lucas ba5e8b8987 adaptations in filePath and toml for audio option 2023-04-21 14:31:13 -03:00
liamb 637e4c66f2 adds zoom function 2023-04-15 17:20:52 +10:00
Simon 8668f2d8a5 Fix too long path 2023-04-13 16:35:15 +02:00
Simon d6c9dafd6f Fix os import 2023-04-12 20:50:03 +02:00
Simon 4b4e268547 Little changes 2023-04-12 19:56:00 +02:00
Simon 88120c6870 Remove unnecessary import 2023-04-12 19:26:35 +02:00
Simon b0a8d0db44 Add FFmpeg installer 2023-04-11 19:40:26 +02:00
Simon 8b103437af Reformat 2023-04-10 21:49:39 +02:00
Simon 792afa7772 Optimize readability 2023-04-10 11:45:12 +02:00
Simon 39bf746b5c Close interest popup from Reddit 2023-04-10 11:07:09 +02:00
Simon 0cc48519b8 Fix login 2023-04-08 22:14:47 +02:00
Simon fcb55e0426 Merge pull request #1409 from Xpl0itU/develop
final_video.py: ffmpeg-python port
2023-04-08 21:46:40 +02:00
Simon 16dfda63dd Fix watermark and add transparent mode 2023-04-08 21:44:04 +02:00
Simon 3016ae8e73 Added a lot of code, needs to be optimized. Watermark almost done! 2023-02-25 09:13:09 +01:00
Simon c582b0454f Added comment 2023-02-13 17:04:16 +01:00
Simon 9ce6a38684 Update screenshot_downloader.py 2023-02-13 17:01:11 +01:00
Simon b137bb6155 Update video_creation/screenshot_downloader.py 2023-02-13 17:00:17 +01:00
Simon 6bcfd204b1 Merge pull request #1479 from electro199/newtest
Better error handling and type hinting
2023-02-03 20:47:59 +01:00
electro199 905c506ff0 reformated the propmt 2023-02-03 22:53:52 +05:00
Simon 4eeacc9754 Merge branch 'develop' into develop 2023-02-03 13:55:56 +01:00
Simon 4d1619340f Updated FFMPEG code 2023-02-02 18:10:19 +01:00
Simon 25ce2af350 Fix backgrounds bug 2023-02-02 15:51:43 +01:00
Simon 28744b6480 Merge branch 'develop' into newtest 2023-02-02 15:40:26 +01:00
Simon 0a383ff93b Improved error-handeling 2023-02-02 15:38:38 +01:00
Simon bb06afa56d Fix for NSFW 2023-02-02 15:22:30 +01:00
electro199 c0916c13bb Add nsfw flag & improved error handling 2023-02-02 17:03:51 +05:00
electro199 1f8ebf5eeb Fixed Timeout error and improved return hinting 2023-02-02 15:56:59 +05:00
Simon 6fe9caaece Version 3.0 is finally here! 2023-01-03 12:10:15 +01:00
Simon 8e5b7a935d Fix for path at background.py and added TikTok error message just in case 2023-01-02 21:01:28 +01:00
Xpl0itU 7c2c6db1c4 Improve speed and audio quality 2022-12-28 15:43:59 +01:00
Xpl0itU 40e8cf4bdb Cleanup 2022-12-28 15:27:29 +01:00
Xpl0itU e7dba5b5fa Bump bitrate to 8M 2022-12-28 15:25:24 +01:00
Xpl0itU 6f48e63ddd Improve bitrate 2022-12-28 15:19:47 +01:00
Xpl0itU 3f2138f8cb Fix resolution on story mode 2022-12-28 15:14:53 +01:00
Xpl0itU 6024ae7e4f final_video.py: ffmpeg-python port 2022-12-27 16:22:10 +01:00
Simon 6041cce53e Fix for calling story mode definition while it's off 2022-12-26 14:16:26 +01:00