this post was submitted on 18 Jul 2023
26 points (93.3% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54716 readers
220 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Hello All,

Currently I'm running SFTP from my Seedbox to my Plex server (Ubuntu) via a Windows 10 machine with SMB. It's fine, though a little slow. The speed I can deal with, but I was hoping to automate this process. Are there any decent, free FTP clients out there that can periodically search my seedbox for new files and automatically upload them to my Plex server? Is there a better way than using SFTP?

This is my first run at this and I'm looking for any insight you folks may have to offer. The goal here is to be able to make a request in Ombi and have it appear in my Plex without any interaction when the transfers complete.

Side note: I'm so happy to have found this community. I've gained so many insights already.

top 14 comments
sorted by: hot top controversial new old
[–] liliumstar@lemmy.dbzer0.com 5 points 1 year ago

Setup an rsync systemd job & timer on your plex server. I think that's be the most efficient method. Can also use a cron job if you're more comfortable with that. Either way, the rsync would be a one liner unless you have to map different source and destination directiories.

[–] axzxc1236@lemmy.world 5 points 1 year ago

I setup syncthing from seedbox to my NAS.

[–] Samstone@lemmy.world 3 points 1 year ago

Add a cron entry on your Ubuntu server.

0 4 * * * rsync -r user@seedbox:folder/ /my/plexfolder

This would sync the folder on seedbox to the /my/plexfolder every night at 4am.

Ensure that you have set up password less authentication with ssh keys.

[–] DrakeRichards@lemmy.world 2 points 1 year ago

That should be easy enough to do with a cron job. What OS is your seedbox running?

[–] SLIME@lemmy.fmhy.ml 2 points 1 year ago* (last edited 1 year ago)

You can leverage scheduled tasks to execute a command that would sync your SFTP. I don't know what that is on PC, but there must be something like Cron for Windows. I'm on my phone right now, but feel free to dm me for help. Maybe we can trade plex invites.

[–] Appoxo@lemmy.dbzer0.com 2 points 1 year ago (1 children)
[–] GeorgeZip@lemmy.dbzer0.com 2 points 1 year ago (1 children)

Thanks. I ended up going with Syncthing and it works beautifully.

[–] Appoxo@lemmy.dbzer0.com 1 points 1 year ago

My seedbox provider uses resilio but I also preferred syncthing.

Both are pretty neat.

[–] macgyver@federation.red 1 points 1 year ago

If you are regularly syncing things you should set up sonarr/radarr. If you use these to organize your library and perform your downloads (using prowlarr/jackett/rss as an indexer). The *arr apps would be hosted locally and you’d connect your seed box download client to them. More information can be found in the docs for each, but the *arr apps would perform a file copy/move after the download completes. Then Plex would just pick that stuff up automatically along the way

[–] rar@programming.dev 1 points 1 year ago

WebDAV + Rclone

[–] richdotward@lemmy.ca 1 points 1 year ago

I use bitsync to transfer files from my seedbox to my home network. The app itself is years old, closed source but just works.

Theres versions for arm, windows and Linux.

Use it via windows 10, Ubuntu 20lts currently but did also use the arm version on my wd mycloud and multiple arm based boards like raspberry pi 2, pi 4, orange pi pc and cubietruck.

[–] beemee@beehaw.org 1 points 1 year ago

Have a look into rsync. Can't remember exactly how I set it all up now, but it runs every night and syncs from my seedbox to my NAS.

[–] Bldck@beehaw.org 1 points 1 year ago

I agree with using rsync.

Open a screen then use something like this command:

rsync -arvzip --progress {$remote}:/path/to/remote/files /path/to/local/files

If you are using a different port for SSH, you’ll need to pass an option like -e 'ssh -p 12345'

[–] Toribor@corndog.uk 1 points 1 year ago* (last edited 1 year ago)

I take it your seedbox is hosted externally and your Plex server is hosted internally on your home network?

You could set up a cron job on your Ubuntu server to run periodically and pull files from your completed downloads folder ~~using scp. You'll want to set up an ssh key for authentication to do this.~~

Edit: I changed my mind about recommending scp for this But yeah you should just do sftp from the terminal on your Ubuntu server using a cron job. Both of these should be fairly manageable with a bit of trial and error.

Stopping the torrent and removing it from your list will depend on what torrent client you're using.

load more comments
view more: next ›