Looking to Fully Automate downloads From Seedbox to Plex

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.

Appoxo,
@Appoxo@lemmy.dbzer0.com avatar

resilio or syncthing.

GeorgeZip,
@GeorgeZip@lemmy.dbzer0.com avatar

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

Appoxo,
@Appoxo@lemmy.dbzer0.com avatar

My seedbox provider uses resilio but I also preferred syncthing.

Both are pretty neat.

Bldck,

I agree with using rsync.

Open a screen then use something like this command:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">rsync -arvzip --progress {$remote}:/path/to/remote/files /path/to/local/files
</span>

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

beemee,

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.

Samstone,

Add a cron entry on your Ubuntu server.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">0 4 * * * rsync -r user@seedbox:folder/ /my/plexfolder
</span>

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.

axzxc1236,

I setup syncthing from seedbox to my NAS.

richdotward,

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.

liliumstar,

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.

DrakeRichards,

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

Toribor, (edited )
@Toribor@corndog.uk avatar

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.

SLIME, (edited )

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines