Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Movies not deleted automatically #47

Open
navilg opened this issue Nov 17, 2024 · 0 comments
Open

[BUG] Movies not deleted automatically #47

navilg opened this issue Nov 17, 2024 · 0 comments

Comments

@navilg
Copy link
Owner

navilg commented Nov 17, 2024

2024/11/17 16:06:25 Initializing...
2024/11/17 16:06:25 Initialization completed.
2024/11/17 16:06:25 Reading configurations
2024/11/17 16:06:25 Reading current state
2024/11/17 16:06:25 Reading current state
2024/11/17 16:06:25 Process running
2024/11/17 16:06:25 Movies ignored [I1 I2 I3]
2024/11/17 16:06:25 {"AddedOn":"2024-11-03T20:23:01Z","Age":"13.8 days","Title":"
M1"}
2024/11/17 16:06:25 {"AddedOn":"2024-10-30T04:29:01Z","Age":"18.5 days","Title":"M2"}
2024/11/17 16:06:25 {"AddedOn":"2024-10-15T00:34:02Z","Age":"33.6 days","Title":"M3"}
panic: runtime error: index out of range [-1]
goroutine 1 [running]:
github.com/navilg/cleanmyarr/internal.GetMovieAge({{0x40003aa4c4, 0xb}, 0x1, {0x6c5b78, 0x0, 0x0}, 0x624, {0x624, 0x1d6, 0x40f3e0db, ...}})
	/build/internal/radarr.go:228 +0x474
github.com/navilg/cleanmyarr/internal.MarkMoviesForDeletion({0x4000360000, 0x40bcf, 0x44000}, {0x4000074b00, 0x3, 0x24?}, {0x24?, 0x40?, 0x0?}, 0x0)
	/build/internal/radarr.go:159 +0xb68
github.com/navilg/cleanmyarr/internal.Job({0x4000016450, 0x13}, 0x0)
	/build/internal/job.go:36 +0x1ac
github.com/navilg/cleanmyarr/cmd.driver()
	/build/cmd/root.go:88 +0x270
github.com/navilg/cleanmyarr/cmd.glob..func1(0x68b080?, {0x3ad464?, 0x0?, 0x0?})
	/build/cmd/root.go:26 +0x1c
github.com/spf13/cobra.(*Command).execute(0x68b080, {0x4000010240, 0x0, 0x0})
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:920 +0x5ac
github.com/spf13/cobra.(*Command).ExecuteC(0x68b080)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:1044 +0x340
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:968
github.com/navilg/cleanmyarr/cmd.Execute()
	/build/cmd/root.go:37 +0x24
main.main()
	/build/main.go:9 +0x1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant