We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c04f01 + eff86d0 commit 57d5525Copy full SHA for 57d5525
internal/task/task.go
@@ -341,6 +341,8 @@ func (s *Service) StorageMigration() error {
341
342
// Build the update query with the new paths.
343
update := tx.Vod.UpdateOne(video)
344
+ update = update.SetFolderName(folderName)
345
+ update = update.SetFileName(fileName)
346
if video.VideoPath != "" {
347
ext := path.Ext(video.VideoPath)
348
if ext == ".m3u8" {
0 commit comments