From 91c22140822861bd112a389a56bfb0c299b4ec36 Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Tue, 20 Nov 2018 13:51:47 -0600 Subject: [PATCH] blah --- pkg/eraser/eraser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/eraser/eraser.go b/pkg/eraser/eraser.go index ba40f0c..56c6f33 100644 --- a/pkg/eraser/eraser.go +++ b/pkg/eraser/eraser.go @@ -50,7 +50,7 @@ func LookupTVFileLocation(config config.Config, ids []int) []string { fileList := make([]string, 0) for _, i := range ids { - plexURL := fmt.Sprintf("%s:%d%s%d%s%s", config.PlexHost, config.PlexPort, "/library/metadata/", i, "/?X-Plex-Token=", config.PlexToken) + plexURL := fmt.Sprintf("%s:%d%s%d%s%s", config.PlexHost, config.PlexPort, "/library/metadata/", i, "/allLeaves/?X-Plex-Token=", config.PlexToken) req, err := http.NewRequest(http.MethodGet, plexURL, nil)