CLI-tool to automate download and organisation of One Pace episodes for Jellyfin!
✨ Torrent downloads
✨ Placement after Jellyfin standards
✨ Matched to metadata shamelessly stolen from SpykerNZ/one-pace-for-plex
I've taken the time to finally update! Notable new features/bugfixes:
- Seeder-mode
- Quality filters
- Search-result caching
- Further concurrency issue fixes
- A bug where 'sync' would spam missing metadata shamelessly
- Download progress bars would sometimes swap places mid-download, making the CLI look glitchy
And more! Don't hesitate to post issues as you find them.
- 'sort' command - To target a directory containing files, and renaming/sorting them into your metadata directory.
-
Example command:
./opfor list -t wano
-
Downloading episodes:
./opfor download 1 3
-
Finished download shows file placement:
-
Keep track of what you have:
./opfor info
-
And much more!
You can choose to either use one of the released versions or build from source yourself.
For this program to work, you need to have 'git' installed.
MacOS / Linux:
-
Download the file for your system.
-
Run
chmod +x opforto make the file runnable. -
Run with
./opfor --helpto get started.
Windows:
-
Download the .exe file.
-
Run the file in Powershell or Windows Terminal with
.\opfor.exe --helpto get started.
A terminal that supports unicode-characters is heavily recommended for best experience.
-
Install Go (version ≥ 1.23)
-
Clone repo:
git clone https://github.com/tissla/opforjellyfin.git cd opforjellyfin -
Build binary:
go build -o opfor
-
Set your download directory before doing anything else. All your metadata will be stored here, and downloads will be matched to their proper folders.
./opfor setDir "/media/One Piece/One Pace" -
Find all available episodes with 'list', or use the -t flag to specify a title, or -r flag to specify a chapter-range.
./opfor list ./opfor list -t Wano ./opfor list -r 15-20
-
Download a torrent by using the downloadkey, displayed in front of the title. You can download one or multiple at the same time.
./opfor download 15 16 17
I hope to continually update metadata here!
The 'sync' command allows the user to stay up to date with new additions to the metadata-repo.
-
Create a library with no metadata-fetchers active just for One Pace. Disable all of them!
-
Make sure the show is unlocked for changes.
-
Run
./opfor syncagain if Jellyfin messed up your .nfo files before this. -
Rescan library with unlocked metadata and no fetchers active.
All pull requests are welcome. All criticisms are welcome. I'm here to build and to learn and to get better.
- SpykerNZ for his metadata
- Anacrolix awesome torrent lib
- Charm team for cool stuff that I should use more
- One Pace team for their amazing work!
This tool is provided as-is with no guarantees or warranties.
Use it at your own risk.
While care has been taken to avoid destructive behavior, this tool manipulates files and downloads torrents – always review the source code and test cautiously.
The author is not responsible for any damage to your system, loss of data, or violation of terms of service related to the use of this software.
Also note:
This project is not affiliated with One Pace, Jellyfin, or any content providers. Please respect local laws and copyright regulations.




