From 6b742c459266b18e2b375b35205ce8a6c02f0452 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Thu, 6 Jun 2024 08:05:12 -0400 Subject: Initial commit --- build/jelly/index.html | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 build/jelly/index.html (limited to 'build/jelly/index.html') diff --git a/build/jelly/index.html b/build/jelly/index.html new file mode 100644 index 0000000..cb4b93f --- /dev/null +++ b/build/jelly/index.html @@ -0,0 +1,74 @@ + + + + + + + Transferring Media from macOS to a Jellyfin Server (Raspberry Pi 4) + + + + + + +
+

Transferring Media from macOS to a Jellyfin Server (Raspberry Pi 4)

+

2022-03-12

+

I run a personal media server using Jellyfin on a Raspberry Pi 4 in my home. It's pretty great and works well across most devices - Google TV, iOS and Android devices, Chromebooks, etc.

+

The only small headache is adding content (ie. audio, videos) to the existing hard drive that Jellyfin reads from. The last thing you want to do is connect a keyboard and monitor to your Pi to add a few files. Especially if your Pi is setup like mine and buried at the back of a hidden cabinet.

+

More annoying would be the need to remove the hard drive itself, connect it to your device that has the new files you wish to transfer and then port them over. Big ol' pass on that system.

+

SSH/SCP to the Rescue

+

Important: before we begin, I should mention that this article assumes the following:

+ +

Good? Moving on then...

+

Open your terminal of choice and use the following command:

+
scp movie.mp4 pi_user_name@PI_IP_ADDRESS:/mnt/movies/movie.mp4
+
+
    +
  1. movie.mp4 is the file in the current macOS directory we plan to copy over
  2. +
  3. pi_user_name is the username you setup on your Raspberry Pi
  4. +
  5. PI_IP_ADDRESS is, of course, your Pi's IP address
  6. +
  7. The appended :/mnt/movies/movie.mp4 is the directory your Jellyfin server uses to pull-in media
  8. +
+

You'll be prompted for the user password. Once entered the file will begin copying over to your remote Jellyfin server. That's it! Although, I should mention a little bonus feature that you should always have in your back pocket, since Jellyfin can sometimes be picky with media file formats:

+

Converting Media Files with Ease

+

This is where your new best friend FFmpeg comes into your life (if they weren't there already).

+ +

Now navigate to the directory containing the media file you wish to convert via your Terminal and run the following command:

+
ffmpeg -i input.mp4 output.mkv
+
+
    +
  1. input.mp4 is the initial file we wish to convert
  2. +
  3. output.mkv will be the name and file type of our converted media
  4. +
+

Now you can circle back and run the previous scp command once you have converted your files to the desired format. Hopefully Jellyfin doesn't complain about the formatting!

+ \ No newline at end of file -- cgit v1.2.3-54-g00ecf