You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
4.3 KiB
Markdown
67 lines
4.3 KiB
Markdown
# Freedomain-Video-Uploader
|
|
|
|
Video Uploader written for the [Freedomain Philosophy Show](https://freedomain.com/)
|
|
|
|
![Alt text](Assets/Screenshots/Screenshot_Main_Results.png "Screenshot of Main and Results Window")
|
|
|
|
|
|
## Features
|
|
Automated posting to the following media platform using either the Platform's API or Selenium Chrome automation.
|
|
|
|
|**Locals**|**Bitchute**|**Rumble**|**DailyMotion**|**Brighteon**|**Odysee**
|
|
|--|--|--|--|--|--|
|
|
|Selenium|Selenium|Selenium|Selenium|Selenium|LBRY API
|
|
|
|
# Installation
|
|
1. Install .Net Framework 3.5
|
|
- This can be installed directly through Windows by going to Start > Turn Windows Features On or Off > check the checkbox next to “.NET Framework 3.5” > Click OK
|
|
2. Install [SeleniumBasic](https://github.com/florentbr/SeleniumBasic/releases/tag/v2.0.9.0) to control Chrome
|
|
- Make sure to “Run as Administrator” on the file when installing so that it gets installed to `C:\Program Files\SeleniumBasic`. Otherwise it will get installed to `\AppData\` and the Poster will not be able to connect to Selenium and to Chrome.
|
|
3. [Download latest ChromeDriver](https://chromedriver.chromium.org/downloads) for your Chrome version so Selenium can connect to Chrome for automation
|
|
- Open Chrome and type in `about::version` into the URL bar. The very first line will tell you what Chrome version you have
|
|
- After downloading, extract “chromedriver_win32.zip” and move the extracted chromedriver.exe to: `C:\Program Files\SeleniumBasic\chromedriver.exe`
|
|
- NOTE: The chromedriver will need to be re-downloaded whenever Chrome updates to keep up with API changes
|
|
4. Install the [LBRY Desktop Application](https://lbry.com/)
|
|
- Once installed log into your account, and also add your LBRY Channel ID to the settings.ini file
|
|
5. [Download the latest .exe of the Uploader](https://git.zinchuk.xyz/yuriy/Freedomain-Video-Uploader/releases)
|
|
- When run, the Uploader will automatically create the folders and files it requires in the directory it's run from.
|
|
|
|
# Settings
|
|
The Poster reads & saves its settings to a `settings.ini` file located in the same directory as itself. All customization, including custom profile URLs for websites are stored here. The required fields are:
|
|
````
|
|
[General]
|
|
RootDirToStartIn=ParentFolderForAllYourVideoProjects
|
|
ShowTooltipProgress=1
|
|
DiscordWebhookBotURL=
|
|
DiscordVideosWebhookURL=
|
|
DiscordErrorLoggingWebhookBotURL=
|
|
DiscordUsernameID=
|
|
LBRYNewVideoStakeAmount=1.0
|
|
LBRYNetFilepath=C:\Program Files\LBRY\resources\static\daemon\lbrynet.exe
|
|
LBRYChannelID=
|
|
DailyMotionPostPageURL=
|
|
LocalsPostPageURL=
|
|
````
|
|
- [How to create Discord webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
|
|
- [How to get Telegram bot token + chat-id](https://tutorial.cytron.io/2021/09/01/how-to-create-a-telegram-bot-get-the-api-key-and-chat-id/)
|
|
- All other settings will automatically get written to the `settings.ini` file as you check/uncheck the setting boxes while running the Poster.
|
|
|
|
# Using Portable Version of Chrome
|
|
Using a portable version of Chrome will give you full control over chrome and chromedriver updates.
|
|
|
|
The Uploader will check for a portable version of Chrome first, before defaulting to the system wide installation
|
|
|
|
1. To use a portable version of Chrome, download an up to date version of [Chrome-for-Testing](https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone-with-downloads.json), extract the `chrome-win64` folder and move it to the `\Lib\` directory:
|
|
eg: `\Freedomain-Video-Uploader\Lib\chrome-win64\chrome.exe`
|
|
|
|
2. Download the `win64` chromedriver for the same version and move it to `C:\Program Files\SeleniumBasic\chromedriver.exe`
|
|
|
|
|
|
# Uncaught Errors
|
|
I have done my best to catch any possible errors that might pop up and write functionality to handle them. But If an error happens that i haven't written resolves for, it will pop up a message box that looks like this. Please send me a screenshot so I can write a patch for the bug.
|
|
|
|
![Alt text](Assets/Screenshots/Error_Message2.png "Error Message")
|
|
|
|
# Compiling to .exe from Source
|
|
1. [Install Autohotkey v1](https://www.autohotkey.com/download/)
|
|
2. `git clone` the project and then either run the `Compile Uploader to EXE.ahk` autohotkey script to automatically compile, or start up the AHK compiler that comes installed with Autohotkey and select the `Freedomain Video Uploader.ahk` and `\Assets\FreedomainVideo.ico` icon. |