Add like count to videos

Same pattern as view_count: model column, yt-dlp extraction, SQL select,
VideoDetail field, startup migration, and display in Watch meta row.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Mattias Tall
2026-05-26 11:25:44 +02:00
parent ffd46b5e08
commit 3f225e7647
5 changed files with 6 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ class Video(Base):
category = Column(String)
chapters = Column(Text) # JSON array of {start_time, end_time, title}
view_count = Column(Integer)
like_count = Column(Integer)
class UserVideo(Base):