Giter VIP home page Giter VIP logo

Comments (3)

NotQuiteApex avatar NotQuiteApex commented on August 22, 2024

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.

NotQuiteApex avatar NotQuiteApex commented on August 22, 2024

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.

NotQuiteApex avatar NotQuiteApex commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.