Commit b7af68d3c9
Unsigned
Layout: unified · split
cmd/curd/main.go +3
| @@ -187,6 +187,9 @@ func main() { | ||
| 187 | 187 | |
| 188 | 188 | // Main loop |
| 189 | 189 | for { |
| 190 | ||
| 191 | internal.Log(anime, logFile) | |
| 192 | ||
| 190 | 193 | // Create a channel to signal when to exit the skip loop |
| 191 | 194 | var wg sync.WaitGroup |
| 192 | 195 | skipLoopDone := make(chan struct{}) |
internal/curd.go +5 −4
| @@ -748,10 +748,11 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni | ||
| 748 | 748 | } |
| 749 | 749 | } else { |
| 750 | 750 | // if anime found in database, use it |
| 751 | anime.AllanimeId = animePointer.AllanimeId | |
| 752 | anime.Ep.Player.PlaybackTime = animePointer.Ep.Player.PlaybackTime | |
| 753 | anime.Ep.Resume = true | |
| 754 | anime.Ep.Number = animePointer.Ep.Number | |
| 751 | anime.AllanimeId = animePointer.AllanimeId | |
| 752 | anime.Ep.Player.PlaybackTime = animePointer.Ep.Player.PlaybackTime | |
| 753 | if anime.Ep.Number == animePointer.Ep.Number { | |
| 754 | anime.Ep.Resume = true | |
| 755 | } | |
| 755 | 756 | } |
| 756 | 757 | |
| 757 | 758 | if selectedAllanimeAnime.Key == "-1" { |