Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

「投稿祭ピックアップ」の実装 #111

Open
komatti365 opened this issue Nov 6, 2023 · 0 comments
Open

「投稿祭ピックアップ」の実装 #111

komatti365 opened this issue Nov 6, 2023 · 0 comments

Comments

@komatti365
Copy link
Contributor

komatti365 commented Nov 6, 2023

#40 に関連しているのですがCloseされたようなので。
「投稿祭ピックアップ」を実装するのはいかがでしょうか。
動作としては次の想定になります

事前設定
DB内に動的に「ピックアップモード」を変更できる設定変数と、投稿祭専用タグ/紹介動画id設定、投稿祭のピックアップ終了日の変数を実装。

起動時に想定される動作
毎回の放送枠開始時に、ピックアップモードが有効なのか確認

ピックアップモードが有効であれば、終了日を過ぎていないか確認。過ぎていればピックアップモードを無効にし、各変数を初期化し通常通り運用開始

終了日を過ぎていなければ、投稿数が一定数(数値は固定の編集ファイルかDBから動的に呼び出す)を超えているか確認。超えていなければ通常通り運用開始。(変数の初期化は行わない)

投稿数が一定数を超えていれば、運営コメントで「ピックアップモード」が有効であることを通知。紹介動画の引用を開始

紹介動画の引用終了後、ピックアップモードで運用開始

ピックアップモード中で想定される動作
通常より高頻度に投稿祭専用タグの動画を紹介する。(ただし、一貫性の都合上、通常の対象の動画に投稿祭専用タグが含まれるものに限る)
投稿祭専用タグの動画を引用するときに、運営コメントで投稿祭参加動画であることを通知。紹介動画も運営コメントで通知。

@sitting-cat sitting-cat added this to the v5.2.0 milestone Nov 7, 2023
@sitting-cat sitting-cat removed this from the p3 fix for v6 milestone Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants