more fuckingfixes
This commit is contained in:
parent
9eb09c421a
commit
ab8279f814
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user