Added AMV video details
This commit is contained in:
18
patches/delete-amv-tags/delete-amv-tags.go
Normal file
18
patches/delete-amv-tags/delete-amv-tags.go
Normal file
@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/fatih/color"
|
||||
)
|
||||
|
||||
func main() {
|
||||
color.Yellow("Deleting all AMV tags")
|
||||
|
||||
defer color.Green("Finished.")
|
||||
defer arn.Node.Close()
|
||||
|
||||
for amv := range arn.StreamAMVs() {
|
||||
amv.Tags = []string{}
|
||||
amv.Save()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user