Download Organization - and Browser Dl Inhibition
Use Case
Often books can be served via AudiobookShelf or Calibre-Web. In these use cases I believe all that is required is to dump books down to a specific directory and let the server program pick them up. There is no need to deliver books to the browser.
New CLI/Docker Flags
To support this use case I've added 3 flags
-
--no-browser-downloads: Prevents downloads from being served to the browser. -
--organize-downloads: Organizes downloaded books into subdirectories by author and title, e.g./books/Author/Title/Book.ext. -
--replace-space <char>: Replaces spaces in author and title directory names with the specified character. For example,--replace-space _will saveFirstname LastnameasFirstanme_Lastname. Leave empty to preserve spaces. Works with--organize-downloads.
Relates to my Issue: #188
Minor updates
- Added missing CLI flags to the readme (hope thats ok)
- Enhanced logging to printout all config options at startup
- Log absolute download location to disk
Note -> I had to address this SONAR issue that popped up:
Quality Gate passed
Issues
7 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Came here looking for these features. What's needed to get this merged in?
I dont think they want to implement this - however - I do have a Dockerfile out with these changes:
docker pull jeffsui/openbooks
openbooks:
# image: evanbuss/openbooks
image: jeffsui/openbooks
container_name: openbooks
restart: unless-stopped
volumes:
# - ${CONFIG_DIR}/openbooks:/books
- ${IRC}/books:/books
command: --persist --name downloadmonkey --organize-downloads --no-browser-downloads --replace-space "." --dir /
I've been running it wow - for months I guess since I opened the PR :)
@CheapDevotion -> what is your use case. I will use this and then run my Audiobook-Organizer tool against the downloads for even better organization
@jeeftor - thanks for the Dockerfile and the link to your organizer tool. This is exactly what I was looking for.
@evan-buss - any chance of getting this implemented - as there is a least 2 of us. I'm happy to maintain my fork otherwise
I dont think they want to implement this - however - I do have a Dockerfile out with these changes:
docker pull jeffsui/openbooksopenbooks: # image: evanbuss/openbooks image: jeffsui/openbooks container_name: openbooks restart: unless-stopped volumes: # - ${CONFIG_DIR}/openbooks:/books - ${IRC}/books:/books command: --persist --name downloadmonkey --organize-downloads --no-browser-downloads --replace-space "." --dir /I've been running it wow - for months I guess since I opened the PR :)
Thanks men, it's work well ! Juste, the Previous Downloads list is not updated...
Thanks for your job, i'm waiting this from a long time :D