diff --git a/Dockerfile b/Dockerfile index 699b8c2..c858b3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN mkdir "/beetseeker" WORKDIR ["/beetseeker"] # Clone the GitHub repository -RUN git clone https://github.com/andrewjmetzger/slskd-betanin-connector.git . +RUN git clone https://github.com/andrewjmetzger/beetseeker.git . # Install project dependencies RUN pip install --no-cache-dir -r requirements.txt diff --git a/README.md b/README.md index 4034707..0df510c 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,16 @@ username = "betanin" password = "betanin" [clients] -api_key = "" +api_key = "" [server] num_parallel_jobs = 1 + +[notifications.services] + +[notifications.strings] +body = "@ $time. view/use the console at http://127.0.0.1:9393/$console_path" +title = "[betanin] torrent `$name` $status" ``` ## How does BeetSeeker work?? diff --git a/docker-compose.yml b/docker-compose.yml index 7bf9572..5f4230a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,10 @@ version: '3.8' services: - slskd-betanin-connector: - image: andrewjmetzger/slskd-betanin-connector:latest - container_name: slskd-betanin-connector + beetseeker: + image: ghcr.io/andrewjmetzger/beetseeker:latest + container_name: beetseeker volumes: - - /path/to/config.py:/app/config.py + - /path/to/config.py:/beetseeker/config.py ports: - - "8080:8080" + - "8347:8347" restart: unless-stopped diff --git a/example_config.py b/example_config.py index 860daf6..9a7ebbf 100644 --- a/example_config.py +++ b/example_config.py @@ -2,13 +2,15 @@ # You must customize this file and rename it to config.py -# Path to the 'completed downloads' directory for slskd -DOWNLOADS_DIRECTORY = "/path/to/slskd/completed/downloads" +# The slskd "completed" directory +SLSKD_DOWNLOADS_DIRECTORY = "/data/ddl/music/complete" +# The path BeetSeeker should watch +BETANIN_IMPORT_DIRECTORY = "/downloads" # URL and API key for slskd -SLSKD_URL = "http://localhost:5000" -SLSKD_API_KEY = "your_slskd_api_key" +SLSKD_URL = "http://localhost:5030" +SLSKD_API_KEY = "" # URL and API key for betanin -BETANIN_URL = "http://localhost:8000" -BETANIN_API_KEY = "your_betanin_api_key" +BETANIN_URL = "http://localhost:9393" +BETANIN_API_KEY = ""