Comments (3)
Added webhook tables for various commands. All the webhooks have identical structure (currently), with a toggle, displayed username, custom message (for pinging users), the url for the webhook, and a url for the avatar. Webhooks get activated when completing certain tasks for commands, such as individual video downloads or uploads, and also when a command is completed.
from vodbot.
Moved channels out of the pull section, to dedicate a list of tables to it. Each table has a name (referred to by the program and printed for prettiness), an associated username, and info for thumbnail stuff, which is optional if thumbnail generation is not enabled. This is for #41.
New thumbnail feature (see #42), will generate a thumbnail for use with exports and uploads. Intended to be highly configurable, with plenty of options to make it look how you want. This will be off by default as it requires a new dependency, ImageMagick, to be in the PATH env variable like ffmpeg.
Moved webhooks to a dedicated table. The uppermost enable is a master toggle, and default values are under it. In each subsequent table is an individual toggle and override options, which all default to false or empty strings. Master toggle will always be off by default.
from vodbot.
Here is the current formatting of the config, not including new features like thumbnail generation and webhooks:
{
"channels": [
{
"username": "percy_creates",
"save_vods": true,
"save_chat": true,
"save_clips": true
}
],
"pull": {
"save_chat": true,
"gql_client": "kimne78kx3ncx6brgo4mv6wki5h1ko"
},
"chat": {
"export_format": "YTT",
"message_display_time": 10,
"randomize_uncolored_names": true,
"ytt_align": "left", "ytt_anchor": 6,
"ytt_position_x": 0, "ytt_position_x": 100
},
"stage": {
"timezone": "-0400",
"description_macros": {
"captions": "Want to see stream chat? ► Enable closed captions w/ 'English - Chat'.",
"watch": "Watch streams live ► {links}",
"content": "Watch our content ► https://youtube.friendteam.biz",
"archive": "Watch past streams ► https://archive.friendteam.biz",
"discord": "Join the FTI Discord ► https://discord.friendteam.biz",
"vodbot": "Archived by VodBot ► https://vodbot.friendteam.biz",
"e": "on {date}.\n\n{captions}\n\n{watch}\n{content}\n{archive}\n{discord}\n\n{vodbot}"
}
},
"export": {
"ffmpeg_loglevel": "warning",
"chat_enable": true,
"video_enable": true
},
"upload": {
"client_path": "C:\\Users\\Apex\\.vodbot\\yt-client.json",
"session_path": "C:\\Users\\Apex\\.vodbot\\yt-session.json",
"chat_enable": true
},
"directories": {
"vods": "C:\\Users\\Apex\\.vodbot\\vods",
"clips": "C:\\Users\\Apex\\.vodbot\\clips",
"temp": "C:\\Users\\Apex\\.vodbot\\temp",
"stage": "C:\\Users\\Apex\\.vodbot\\stage"
}
}
from vodbot.
Related Issues (20)
- Chat parsing fails when chat is empty
- Description may not be accepted by youtube for containing specific characters.
- Printing Vod class throws an exception for missing attribute duration, should be length
- Chat export to YouTube does not properly format entity codes.
- Properly store OAuth information outside of pickling HOT 1
- Crash on mkdir when permission is denied.
- Failing to form videos with copyright-related muted segments HOT 6
- Crash on moving files across drives on Windows
- cache file in temp directory HOT 2
- change raw chatlogs to use JSON instead of custom format
- Google has removed out-of-band authentication
- Allowing any user to upload (distributing API credentials) HOT 1
- Attempt to download unmuted segments where possible.
- Separate VODs into finer categories
- Urgent - Integrity Check Failed regarding certain GQL data HOT 2
- Unexpected exception when processing a channel that does not exist
- Error on upload causes a crash instead of being reported and handled safely HOT 1
- VodBot writing files with URL query params
- Twitch disallowing access to public VODs
- Forbidden VOD playlist URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vodbot.