aboutsummaryrefslogtreecommitdiff
path: root/build/jelly
diff options
context:
space:
mode:
authorbt <bt@btxx.org>2024-06-08 13:22:19 -0400
committerbt <bt@btxx.org>2024-06-08 13:22:19 -0400
commitdcfb172704f3afb68a30425029ec834be2883274 (patch)
tree02ac480745db802d7af03f3213a0c568322170e3 /build/jelly
parente146f8a64c793c337999ce316b16ebe5fe6f2dab (diff)
More content porting, on-going markdown changes for lowdown support
Diffstat (limited to 'build/jelly')
-rw-r--r--build/jelly/index.html56
1 files changed, 38 insertions, 18 deletions
diff --git a/build/jelly/index.html b/build/jelly/index.html
index cb4b93f..903d848 100644
--- a/build/jelly/index.html
+++ b/build/jelly/index.html
@@ -1,56 +1,76 @@
<!doctype html>
-<html lang="en" id="top">
+<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:,">
<title>Transferring Media from macOS to a Jellyfin Server (Raspberry Pi 4)</title>
- <link href="https://bt.ht/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
- <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style>
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
+<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
</head>
<nav>
- <a href="#menu">Menu &darr;</a>
+ <a href="#menu">Menu &darr;</a>
</nav>
<main>
-<h1>Transferring Media from macOS to a Jellyfin Server (Raspberry Pi 4)</h1>
+<h1 id="transferring-media-from-macos-to-a-jellyfin-server-raspberry-pi-4">Transferring Media from macOS to a Jellyfin Server (Raspberry Pi 4)</h1>
+
<p>2022-03-12</p>
-<p>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.</p>
+
+<p>I run a personal media server using Jellyfin on a Raspberry Pi 4 in my home. It&#8217;s pretty great and works well across most devices - Google TV, iOS and Android devices, Chromebooks, etc.</p>
+
<p>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.</p>
-<p>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.</p>
-<h2>SSH/SCP to the Rescue</h2>
+
+<p>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&#8217; pass on that system.</p>
+
+<h2 id="sshscp-to-the-rescue">SSH&#47;SCP to the Rescue</h2>
+
<p><em>Important</em>: before we begin, I should mention that this article assumes the following:</p>
+
<ul>
<li>The files you plan to transfer from are on a macOS device</li>
<li>You have setup Jellyfin on your Raspberry Pi device</li>
<li>SSH is enabled and accessible on the Pi (across your local network)</li>
-<li>The Jellyfin server's hard drive is mounted in the root directory via something like <code>/mnt</code></li>
+<li>The Jellyfin server&#8217;s hard drive is mounted in the root directory via something like <code>&#47;mnt</code></li>
</ul>
-<p>Good? Moving on then...</p>
+
+<p>Good? Moving on then&#8230;</p>
+
<p>Open your terminal of choice and use the following command:</p>
-<pre><code>scp movie.mp4 pi_user_name@PI_IP_ADDRESS:/mnt/movies/movie.mp4
+
+<pre><code>scp movie.mp4 pi_user_name@PI_IP_ADDRESS:&#47;mnt&#47;movies&#47;movie.mp4
</code></pre>
+
<ol>
<li><code>movie.mp4</code> is the file in the current macOS directory we plan to copy over</li>
<li><code>pi_user_name</code> is the username you setup on your Raspberry Pi</li>
-<li><code>PI_IP_ADDRESS</code> is, of course, your Pi's IP address</li>
-<li>The appended <code>:/mnt/movies/movie.mp4</code> is the directory your Jellyfin server uses to pull-in media</li>
+<li><code>PI_IP_ADDRESS</code> is, of course, your Pi&#8217;s IP address</li>
+<li>The appended <code>:&#47;mnt&#47;movies&#47;movie.mp4</code> is the directory your Jellyfin server uses to pull-in media</li>
</ol>
-<p>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:</p>
-<h2>Converting Media Files with Ease</h2>
-<p>This is where your new best friend <code>FFmpeg</code> comes into your life (if they weren't there already).</p>
+
+<p>You&#8217;ll be prompted for the user password. Once entered the file will begin copying over to your remote Jellyfin server. That&#8217;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:</p>
+
+<h2 id="converting-media-files-with-ease">Converting Media Files with Ease</h2>
+
+<p>This is where your new best friend <code>FFmpeg</code> comes into your life (if they weren&#8217;t there already).</p>
+
<ul>
-<li>Download and install <code>FFmpeg</code> --&gt; <a href="https://www.ffmpeg.org/download.html">ffmpeg.org/download.html</a></li>
+<li>Download and install <code>FFmpeg</code> &#8211;&#62; <a href="https://www.ffmpeg.org/download.html">ffmpeg.org&#47;download.html</a></li>
</ul>
+
<p>Now navigate to the directory containing the media file you wish to convert via your Terminal and run the following command:</p>
+
<pre><code>ffmpeg -i input.mp4 output.mkv
</code></pre>
+
<ol>
<li><code>input.mp4</code> is the initial file we wish to convert</li>
<li><code>output.mkv</code> will be the name and file type of our converted media</li>
</ol>
-<p>Now you can circle back and run the previous <code>scp</code> command once you have converted your files to the desired format. Hopefully Jellyfin doesn't complain about the formatting!</p>
+
+<p>Now you can circle back and run the previous <code>scp</code> command once you have converted your files to the desired format. Hopefully Jellyfin doesn&#8217;t complain about the formatting!</p>
<footer role="contentinfo">
<h2>Menu Navigation</h2>
<ul id="menu">