Retrieve upload URL

This commit is contained in:
Carl Pearson
2025-05-02 05:39:15 -06:00
parent ccfaefbf46
commit 9abe867c31
2 changed files with 39 additions and 13 deletions

View File

@@ -2,6 +2,7 @@ package originals
import (
"sync"
"time"
"ytdlp-site/database"
"ytdlp-site/transcodes"
@@ -23,15 +24,16 @@ const (
type Original struct {
gorm.Model
UserID uint
URL string
Title string
Artist string
Status Status
Audio bool // video download requested
Video bool // audio download requested
Watched bool
Timestamp float64
UserID uint
URL string
Title string
Artist string
UploadDate time.Time
Status Status
Audio bool // video download requested
Video bool // audio download requested
Watched bool
Timestamp float64
Playlist bool // part of a playlist
PlaylistID uint // Playlist.ID (if part of a playlist)