Hi @evine, there's already a subliminal package under AUR, see:
https://aur.archlinux.org/packages/subliminal
Saw for you opt depend for subtitles can you change it to subliminal instead?
Thanks a lot !
| Git Clone URL: | https://aur.archlinux.org/flexget.git (read-only, click to copy) |
|---|---|
| Package Base: | flexget |
| Description: | A program aimed to automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more. |
| Upstream URL: | https://github.com/Flexget/Flexget |
| Licenses: | MIT |
| Submitter: | jonkristian |
| Maintainer: | evine |
| Last Packager: | evine |
| Votes: | 77 |
| Popularity: | 0.001752 |
| First Submitted: | 2009-09-11 19:38 (UTC) |
| Last Updated: | 2025-12-04 16:17 (UTC) |
Hi @evine, there's already a subliminal package under AUR, see:
https://aur.archlinux.org/packages/subliminal
Saw for you opt depend for subtitles can you change it to subliminal instead?
Thanks a lot !
I installed python-hatchling and python-hatch-requirements-txt to be able to build flexget. I believe both, or one of them is now a build dependency. The hatchling module was missing if I recall correctly, but that was when looking for dependencies, then I suspected of the hatchling requirements as well. At any rate, missing dependencies at build time with 3.13.7.
@cmm11 I added this file /usr/lib/systemd/system/flexget.service with the intention of reducing the running permissions for users who use flexget-webui. Users using the webui can directly run command within the webui. If you have to run these commands from the command line, traditional su cannot do it because the shell of the flexget user is /usr/bin/nologin and login is prohibited.
You can run sudo -u flexget flexget -c /var/lib/flexget/config.yml execute --task task_name
Or You can use the gosu that I just packaged to implement: sudo gosu <user>:<group> <command>, for example: sudo gosu flexget:flexget flexget -c /var/lib/flexget/config.yml execute --task task_name.
If you are using /usr/lib/systemd/system/flexget.service, you can add a alias in your shell rc file: alias flexget="sudo -u flexget /usr/bin/flexget -c /var/lib/flexget/config.yml or alias flexget="sudo gosu flexget:flexget /usr/bin/flexget -c /var/lib/flexget/config.yml".
Update- Thanks for the detailed reply devome and for maintaining the pkgbuild.
If i run flexget using the system service file, how do i interact with the daemon? For example if i wanted to do: flexget execute --tasks task-name
Many thanks @devome !
@je-vv It ’s not moving. flexget-webui is a package that I just added after I take over flexget. Yes, it can be just optdepends, and I have change it.
Why the move of flexget-webui to a hard dependency?
I believe it can remain an opt dependency, just like flexget-webui-v1 is an opt dependency. Why forcing to install a webui? @devome can you reconsider this and if possible move the webui to be opt dependency?
Thanks !
Pinned Comments
evine commented on 2024-10-22 00:36 (UTC) (edited on 2024-10-26 00:26 (UTC) by evine)
@cmm11 I added this file
/usr/lib/systemd/system/flexget.servicewith the intention of reducing the running permissions for users who use flexget-webui. Users using the webui can directly run command within the webui. If you have to run these commands from the command line, traditionalsucannot do it because the shell of theflexgetuser is/usr/bin/nologinand login is prohibited.You can run
sudo -u flexget flexget -c /var/lib/flexget/config.yml execute --task task_nameOr You can use the gosu that I just packaged to implement:
sudo gosu <user>:<group> <command>, for example:sudo gosu flexget:flexget flexget -c /var/lib/flexget/config.yml execute --task task_name.If you are using
/usr/lib/systemd/system/flexget.service, you can add a alias in your shell rc file:alias flexget="sudo -u flexget /usr/bin/flexget -c /var/lib/flexget/config.ymloralias flexget="sudo gosu flexget:flexget /usr/bin/flexget -c /var/lib/flexget/config.yml".evine commented on 2024-10-19 04:50 (UTC) (edited on 2025-04-14 15:19 (UTC) by evine)
After taking over Flexget, I had
flexget-webuiandflexget-webui-v1inoptdepends, you can install and enable webui if you need. When using webui, it is recommended to use/usr/lib/systemd/system/flexget.serviceI have newly added./usr/lib/systemd/system/flexget.serviceto run as a system user, the original methods that run as normal user still exists:/usr/lib/systemd/system/flexget@.serviceand/usr/lib/systemd/user/flexget.service.If upgrade fail, you should remove old
flexgetfirst, and reinstall.