Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Docker Mod] qBittorrent #148

Closed
IntermittentlyRupert opened this issue Feb 13, 2021 · 13 comments
Closed

[New Docker Mod] qBittorrent #148

IntermittentlyRupert opened this issue Feb 13, 2021 · 13 comments

Comments

@IntermittentlyRupert
Copy link

From discussion on #42:

@beloso

Sorry for highjacking this. But do you have a rewrite example for Qbittorrent?

I was able to get the themes to working with Stylus + Middleware for the headers needed to hide.
I'd like to keep it all within the Middleswares

...

I researched a bit on doing a Mod, but I can't seem to find the default index.html for qbittorrent. It might be because I am not that well versed in how this is set up. If someone can point me in the right direction, I'd be happy to try my hand at this.

@IntermittentlyRupert
Copy link
Author

I've searched the container and I can't find the WebUI HTML files from the qBittorrent repo. Based on the installation guide for iFelix18/Dark-qBittorrent-WebUI I'd guess they're compiled into the binary or something. So part of the docker mod would need to be downloading one of the Alternate WebUIs.

@GilbN
Copy link
Collaborator

GilbN commented Feb 13, 2021

Cool, I'll check it out

@GilbN
Copy link
Collaborator

GilbN commented Feb 14, 2021

Looks promising, I can enable everything using the qbitorrent.conf file 👍

@beloso
Copy link

beloso commented Feb 14, 2021

I made this custom WebUI based on organizr-dark. It seems to work.
The hard part for me would be to script this to accept the appropriate ENV Flags.

themePark.zip

PS: Feel free to use this zip file.

@GilbN
Copy link
Collaborator

GilbN commented Feb 18, 2021

I made this custom WebUI based on organizr-dark. It seems to work.
The hard part for me would be to script this to accept the appropriate ENV Flags.

themePark.zip

PS: Feel free to use this zip file.

How do you apply this?
Got it working, looks a bit wierd but works for the most part.

@beloso
Copy link

beloso commented Feb 20, 2021

@GilbN I opened a PR (#149) for this, unsure you want to go over it.

I was unable to test it. But I'm willing to iterate on it to make it better.

@GilbN
Copy link
Collaborator

GilbN commented Feb 28, 2021

@IntermittentlyRupert There is a tag avaialble now. @beloso Your PR looks to be working perfectly, just made som changes to the init file.

tag: gilbn/theme.park:qbittorrentpr

@GilbN
Copy link
Collaborator

GilbN commented Feb 28, 2021

Let me know if it works and I'll merge docker-mods-pr into docker-mods

@beloso
Copy link

beloso commented Feb 28, 2021

Great, glad I could help somewhat. I kinda wish qbittorrent had a better way of doing it though.

@GilbN
Copy link
Collaborator

GilbN commented Feb 28, 2021

Great, glad I could help somewhat. I kinda wish qbittorrent had a better way of doing it though.

Yeah.

I have one more thing I'm going to add before merging. Adding the downloading of the public/private files ect in the dockerfile config

@beloso
Copy link

beloso commented Feb 28, 2021

There is an extra \n in there.

https://github.com/gilbN/theme.park/blob/b8bdda6335edae16326ba6c21e4a6d75b563034f/qbittorrent/root/etc/cont-init.d/98-themepark#L46

@beloso
Copy link

beloso commented Feb 28, 2021

Other than that it is working for me as well. Thanks for the help debugging it.

@GilbN
Copy link
Collaborator

GilbN commented Feb 28, 2021

Merged it to docker-mods. Available on gilbn/theme.park:qbittorrent

Thanks again for the help @beloso 👍

@GilbN GilbN closed this as completed Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants