this post was submitted on 21 Nov 2023
2 points (75.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

This should be possible, but I'm not finding any discussion on how:

I've got an underpowered old 2-core linux box with a DVD drive and a tiny 4GB of ram in it and a separate 16-core linux machine with 128GB of ram with no DVD drive. For a variety of reasons, moving the DVD drive would be a real pain, so I'd like to do all the raw ripping of DVDs on the machine with the drive, and all the transcoding on the machine without a DVD drive.

I see that ARM has hooks for custom scripts to run when ripping is complete, so I could write a bash script that would be invoked whenever the machine ripping raw data off discs is finished and transfer the raw data over, but how would I then tell ARM on the transcoding machine "okay, you've got more work to do"?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago (1 children)

Cron script to check X directory every 10 minutes. Wait 5 (in case it's still transferring a file). Handbrake cli hook transcode and move file. Send a notification when stated and done.

[–] [email protected] 2 points 10 months ago (1 children)

Hey are you familiar with inotify? It might be a more efficient and effective solution than running a script every 10 minutes.

I only learned about it on a podcast a few weeks ago and I've been playing with it this week, replacing similar "blind check" scripts like you describe.

[–] [email protected] 1 points 10 months ago

Personally I am not familiar with it. I haven't ripped an ISO of Linux in ages. But it looks like it work for what the OP is looking for.