-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from luigi311/dev
Dev
- Loading branch information
Showing
14 changed files
with
1,285 additions
and
690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.env | ||
*.prof | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "main.py", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
} | ||
] | ||
} | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: Main", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "main.py", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,35 @@ | ||
FROM python:3-slim | ||
|
||
ENV DRYRUN 'True' | ||
ENV DEBUG 'True' | ||
ENV DEBUG_LEVEL 'INFO' | ||
ENV SLEEP_DURATION '3600' | ||
ENV LOGFILE 'log.log' | ||
|
||
ENV USER_MAPPING '{ "User Test": "User Test2" }' | ||
ENV LIBRARY_MAPPING '{ "Shows Test": "TV Shows Test" }' | ||
|
||
ENV PLEX_BASEURL 'http://localhost:32400' | ||
ENV PLEX_TOKEN '' | ||
ENV PLEX_USERNAME '' | ||
ENV PLEX_PASSWORD '' | ||
ENV PLEX_SERVERNAME '' | ||
|
||
ENV JELLYFIN_BASEURL 'http://localhost:8096' | ||
ENV JELLYFIN_TOKEN '' | ||
|
||
ENV BLACKLIST_LIBRARY '' | ||
ENV WHITELIST_LIBRARY '' | ||
ENV BLACKLIST_LIBRARY_TYPE '' | ||
ENV WHITELIST_LIBRARY_TYPE '' | ||
ENV BLACKLIST_USERS '' | ||
ENV WHITELIST_USERS '' | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["python", "-u", "main.py"] | ||
CMD ["python", "-u", "main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.