diff --git a/Dockerfile b/Dockerfile index 40664a6..d2c989f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,16 @@ COPY plex/*.go plex/ COPY spotify/*.go spotify/ COPY types/*.go types/ COPY utils/*.go utils/ -COPY web/*.go web/ -COPY web/*.html web/ -COPY web/static/* web/static/ + +COPY web/movies/*.go web/movies/ +COPY web/movies/*.html web/movies/ +COPY web/music/*.go web/music/ +COPY web/music/*.html web/music/ +COPY web/tv/*.go web/tv/ +COPY web/tv/*.html web/tv/ +COPY web/settings/*.go web/settings/ +COPY web/settings/*.html web/settings/ +COPY web/server.go web/index.html web/static/ /web/ # Build RUN CGO_ENABLED=0 GOOS=linux go build -o /plex-lookup diff --git a/types/types.go b/types/types.go index 6e59e53..69fa540 100644 --- a/types/types.go +++ b/types/types.go @@ -15,6 +15,7 @@ const ( PlexResolution1080 = "1080" PlexResolution4K = "4k" ConcurrencyLimit = 10 + StringTrue = "true" ) type SearchResults struct { @@ -39,6 +40,11 @@ type Configuration struct { SpotifyClientSecret string } +type FilteringOptions struct { + AudioLanguage string + NewerVersion bool +} + // ============================================================================================================== type PlexMovie struct { Title string diff --git a/web/index.html b/web/index.html index e17f89b..cd10fe6 100644 --- a/web/index.html +++ b/web/index.html @@ -14,7 +14,7 @@