Skip to content

Commit 000a14e

Browse files
committed
Return back the youtube title length to 100
1 parent fc3ea8c commit 000a14e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

cmd/streampanel/FyneApp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Website = "https://github.com/xaionaro/streamctl"
55
Name = "streampanel"
66
ID = "center.dx.streampanel"
77
Version = "0.1.0"
8-
Build = 367
8+
Build = 368

pkg/streampanel/llm.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,14 @@ func (p *Panel) generateNewTitle(
2121
2222
Start with a red dot emoji (🔴).
2323
24-
Keep it under 140 characters.
24+
Keep it under 95 characters.
2525
2626
Use a calm, cozy, aesthetic vibe (not loud, not overhyped).
2727
2828
Make it sound viral and inviting but still relaxed.
2929
3030
Always include the word "Stream" or "Live" naturally in the title.
3131
32-
End with 4-6 high-rated fitting hashtags related to the topic.
33-
3432
My keywords: %s`, tagsString))
3533
if err != nil {
3634
p.DisplayError(err)

pkg/streampanel/panel.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ import (
5252
"github.com/xaionaro-go/xsync"
5353
)
5454

55-
const youtubeTitleLength = 140
55+
// https://developers.google.com/youtube/v3/docs/videos
56+
const youtubeTitleLength = 100
5657

5758
type Panel struct {
5859
StreamD api.StreamD

0 commit comments

Comments
 (0)