more fuckingfixes
Some checks are pending
CI Pipeline / Run Tests (push) Waiting to run
CI Pipeline / Lint Code (push) Waiting to run
CI Pipeline / Security Scan (push) Waiting to run
CI Pipeline / E2E Tests (push) Blocked by required conditions

This commit is contained in:
Enki 2025-08-28 08:10:52 -07:00
parent 9eb09c421a
commit ab8279f814

View File

@ -1510,7 +1510,12 @@ func (g *Gateway) getMetadata(fileHash string) (*FileMetadata, error) {
metadata.TorrentInfo = memoryMetadata.TorrentInfo
metadata.StreamingInfo = memoryMetadata.StreamingInfo
metadata.HLSPlaylist = memoryMetadata.HLSPlaylist
log.Printf("DEBUG: Found TorrentInfo in memory store for %s", fileHash)
log.Printf("DEBUG: Found TorrentInfo in memory store for %s: %v", fileHash, memoryMetadata.TorrentInfo != nil)
if metadata.TorrentInfo != nil {
log.Printf("DEBUG: TorrentInfo merged successfully, InfoHash: %s", metadata.TorrentInfo.InfoHash)
} else {
log.Printf("DEBUG: TorrentInfo is still null after merge")
}
}
// Check if file has completed transcoding and add streaming info