-
Version 8 is now available
09/20/2026 at 20:12 • 0 comments# Mini-Pi Media Server v8.0
Version 8.0 gives the whole web interface a new look, fixes the Easy Connect Wi-Fi QR code, and tidies up the code and installer.
## New look
**Orange-glow theme** across the landing page, the media browser and the Remote Play page: glass buttons with orange edges, consistent line icons, and a teal focus ring for remote and keyboard navigation.
**Smooth page transitions.** The landing page fades in with a focus-pull. Choosing a main button (or Home in the media browser) fades to black and unfocuses.
**Lighter effects for Fire TV / Silk**, so the TV stays smooth.## Fixes
**Easy Connect Wi-Fi QR code** now uses the hotspot's real password. Before, it always encoded "password". Scan it with a phone and it joins the hotspot in one tap.
Status polling no longer looks up the Wi-Fi password every few seconds.
## Under the hood
The media browser's CSS and JavaScript are now separate files (`style.css` and `app.js`) instead of being inside `index.php`, which makes them much easier to maintain.
## Installer
Installs a small root-owned helper and a one-line sudo rule so the web server can read the hotspot password safely. The helper only answers when the Pi is acting as an access point.
Upgrades no longer delete `optical_status.php` if disc ripping is installed.
Apache restarts after the permission changes, so uploads work before the reboot.## Upgrading
Run the installer again:
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
If you are upgrading, select ´No´ to previously setup areas like Samba and configure wifi access point etc to keep your existing settings.
-
version 7.61 small update
09/13/2026 at 20:42 • 0 commentsv7.61 — Remote Play Reliability Fixes
A quick follow-up to yesterday's Remote Play release, tightening up a few rough edges found through testing on real devices over the last day.
- Cast announcements no longer wait in line. Right after the dashboard loads, a handful of startup status popups (network, disk, services) queue up one after another. A cast landing during that window used to get stuck waiting behind them — it now jumps straight to the front and shows/beeps immediately, since starting a movie is more time-sensitive than routine housekeeping notices.
- Devices no longer flicker on and off the Remote Play list. Browsers throttle timers heavily in background (non-visible) tabs to save power, which could delay a heartbeat just enough to make a still-open device look briefly offline. The online-device window is now far more forgiving of that, so a backgrounded tab stays listed reliably instead of vanishing and reappearing.
- Closing a tab is still detected quickly. Loosening that window on its own would've meant a genuinely closed tab took just as long to disappear as a merely backgrounded one. Closing now sends an explicit one-shot signal the instant the tab actually closes, so that case stays fast while backgrounding gets the extra patience.
- Switching back is faster too. Returning to a backgrounded tab now fires an immediate heartbeat instead of waiting on its next (possibly delayed) timer tick.
Files touched:
index.html,remote_heartbeat.php,remote_command.php,remote_devices.php.You can download / upgrade the mini-pi media server by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
-
Version 7.6 is up for grabs
09/12/2026 at 09:00 • 0 commentsNew Feature: Remote Play — Beam a Movie From Your Phone to Any Screen
The newest release adds Remote Play: pick a movie on your phone (or another client), pick which screen should play it, and it just starts — no typing on a TV remote, no walking over to the device itself.
If you've got Mini-Pi Media Server web page open on more than one screen — a Fire Stick in the living room, a PC in the office, a tablet in the kitchen — each of those screens can now "see" the others and cast to them. Here it is in action, casting from a laptop to an Amazon Fire HD TV:
No setup required beyond the obvious: open the dashboard page (web page) on whatever you want to be able to cast to, and optionally give it a friendlier name than the auto-detected default (📱 Settings (PI icon bottom right) → ✏️ Rename This Device).
How it works
Under the hood this is deliberately low-tech — no WebSockets, no persistent connections, just plain HTTP polling between a handful of small PHP endpoints. That keeps it dependency-free and trivial to reason about, at the cost of a few seconds of latency, which is a completely fair trade for a home LAN feature like this.
![]()
Discovery. Every device with the dashboard open (main page) sends a tiny heartbeat every 10 seconds — just an ID (a random UUID stashed in
localStorage) and a display name, guessed from the User-Agent ("Fire Stick (Silk)", "iPhone", "Windows PC", etc.) but re-nameable. The Pi keeps these in a small JSON file, and anything that hasn't checked in for 30 seconds (missed a couple of beats) quietly drops off the list. There's no persistent "registered devices" list to manage — a device is "online" for exactly as long as it says so, and nothing more.Casting. The Remote Play page polls that device list every 5 seconds and lists your video library alongside it, grouped by folder and naturally sorted (so Movie 2 sorts before Movie 10, not after). Pick up to 4 devices and a file, hit play, and each selected device gets a one-shot "play this" command waiting for it — picked up on its next 4-second poll cycle.
Playback. The receiving device gets redirected straight into the existing player with the right file already loaded, reusing all of the player's usual logic — cross-device resume, the audio EQ, subtitle handling, all of it. If there's saved progress on that file, it resumes automatically rather than sitting on a Resume/Start-Over prompt waiting for someone to navigate it with a D-pad. On casts specifically, the player also goes properly full screen and returns to the dashboard automatically once playback ends (with a small watchdog backing up the
endedevent, since it's not perfectly reliable on every TV browser's video stack).Guardrails, because two people will always cast at once. A device drops off the available list the instant it starts playing something — not after the usual 30-second timeout — so it can't get selected again mid-film. If two casts somehow land on the same device close together anyway, the second one is rejected outright with a clear reason ("PC1 is already set to play X") instead of silently overwriting the first and telling both senders it worked.
Staying out of the way on TVs. The device initiating a cast is never the TV — a TV is always the destination, never the remote control. So the Remote Play button itself is hidden on anything that identifies as TV-platform software (Fire TV/Silk, Android TV, Google TV, Samsung Tizen, LG webOS, and the generic
SmartTV/HbbTVmarkers most other sets embed), while it still fully participates as a cast target underneath.Total overhead for all of this, even with several screens sitting idle: a few kilobytes a minute per device — background noise next to the video stream itself.
A limit of remote playing to 4 devices is added if all devices are remote playing over the raspberry pi 2.4Ghz wifi access point as this is close to the network bandwidth saturation point.
You can download / upgrade the mini-pi media server by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
-
Mini-Pi vs the higher-spec alternatives
09/08/2026 at 13:10 • 0 commentsMini-Pi vs the higher-spec alternatives
A few people have asked how Mini-Pi compares to the "big three" media server options, so I dug into current requirements for each and put together a straight comparison. Short version: they're solving a similar problem with very different assumptions about the hardware you're starting from.
**The core difference**
Plex and Jellyfin were both designed assuming you'll throw real hardware at them — their own documentation steers people toward multi-gigabyte RAM budgets and a proper CPU (or GPU) for transcoding. Kodi isn't really a server at all in the same sense — it's a media player first, with a UPnP sharing option bolted on, and most guides recommend pairing it with a Jellyfin or Plex backend rather than using it standalone across multiple devices.
Mini-Pi's starting assumption is the opposite: minimum viable hardware (a £15 Pi Zero 2 W), no transcoding budget to spare, and a target of running everything — sharing, streaming, torrent handling, disc ripping, transcoding — in about 154MB of RAM.
**Mini-Pi vs Plex**
* Minimum hardware: Mini-Pi runs on a Pi Zero 2 W. Plex's own guidance calls for an Intel i3-class CPU and 2-4GB+ RAM for a comfortable experience.
* Transcoding: Mini-Pi does **not** do on-the-fly/live transcoding — the Pi Zero 2 W simply isn't fast enough for that. Instead it transcodes in the background ahead of playback: one file processed at a time via a locked queue, with hardware acceleration (h264_v4l2m2m) and automatic software fallback, plus power-loss protection (partial files are cleaned up and re-processed on next boot). By the time you go to watch something, it's already been converted — you're always getting direct play, never a live transcode. Plex and Jellyfin instead transcode live, on demand, per stream — which needs a proper CPU/GPU behind it and is exactly the workload their own hardware guidance says weak devices like the Pi struggle with.
* Torrents / disc ripping / archive downloads: built into Mini-Pi. None of these are part of Plex.
* Remote access: Plex now requires a paid Plex Pass / Remote Watch Pass to stream over the internet from outside your home network (since April 2025). Mini-Pi doesn't do true internet-anywhere remote access at all — it's designed to be reached over your home network or its own Wi-Fi access point (car, camping, etc.), not from anywhere in the world. No paid tier either way, but worth being clear these solve different problems: Plex charges for something Mini-Pi doesn't attempt.
* Cloud sync across multiple boxes: built into Mini-Pi (Google Drive / OneDrive / MEGA). Plex has no equivalent multi-node sync feature.
* Best fit for Plex: larger libraries, multiple simultaneous transcodes, polished client apps, users happy to pay for remote access.**Mini-Pi vs Jellyfin**
* Minimum hardware: Jellyfin's own hardware selection docs say most SBCs — including the Pi 5 — are "too slow to provide an acceptable Jellyfin experience" once you need transcoding. Mini-Pi is built specifically around the constraints of the smallest Pi available.
* Transcoding: same distinction as with Plex — Jellyfin transcodes live, on demand, which is the exact workload its own docs say SBCs aren't suited for. Mini-Pi sidesteps this by never transcoding live at all; everything is converted ahead of time in the background, one file at a time, so what you stream is always already a direct-play file.
* Idle footprint: both are lightweight at idle, but Jellyfin's own docs push toward Pi 5 + NVMe for anything beyond casual direct play, whereas Mini-Pi's entire stack (Samba, Cockpit, Apache, MiniDLNA, Transmission) targets ~154MB total on a Pi Zero 2 W.
* Torrents / disc ripping / archive downloads / cloud sync: built into Mini-Pi, none of these are part of Jellyfin.
* Cost: both free and open source.
* Best fit for Jellyfin: users wanting a full self-hosted Plex alternative on proper hardware — a mini PC, NAS, or RK3588-class SBC.**Mini-Pi vs Kodi**
* Kodi is primarily a media player, not a multi-client server — it has a UPnP sharing option, but most setups pair it with a Jellyfin or Plex backend rather than using it standalone as "the server."
* No built-in torrent handling, disc ripping, transcoding pipeline, or cloud sync — Kodi plays what you give it.
* Best fit for Kodi: a slick front-end player, usually sat on top of a Jellyfin or Plex server rather than replacing one.**The honest take**
This isn't really an apples-to-apples comparison, and it's not meant to declare a winner. Plex and Jellyfin are aimed at people with a NAS or mini PC and a big library who want polished apps and heavy transcoding on tap. If that's your setup, they're the right tool, and Mini-Pi isn't trying to out-feature them there.
Mini-Pi exists for the case those projects explicitly say they're not built for: something that runs on the cheapest, lowest-power hardware available, with zero accounts, zero setup friction, and enough self-contained functionality (ripping, downloading, converting, syncing) that it doesn't need a bigger machine behind it. It's less "Plex but smaller" and more "what's the most a £15 computer can reasonably do on its own."
You can download / upgrade the mini-pi media server by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
-
Version 7.5 is available to download
07/31/2026 at 16:15 • 0 commentsv7.5 Release Notes
Version 7.5 brings legal public-domain movie downloading directly into the Mini-Pi Media Server. Browse over 20,000 classic films from the Internet Archive, Wikimedia Commons and Public Domain Torrents, then download them directly into your media library with a simple menu interface.
Fixed: Full screen keyboard controls losing focus Seek and pause via keyboard were solid in windowed mode but would lose focus in full screen, meaning key presses stopped registering until you clicked back into the player. Both modes now handle keyboard seek and pause reliably, windowed and full screen alike.
New: Archive Movie Downloader Added a new menu option, surfaced to the user at the end of setup, for pulling legal public-domain feature films straight into the media library. It searches Internet Archive, Wikimedia Commons, and Public Domain Torrents together from a single dialog UI — search by title/keyword/actor, browse by decade, or browse by genre. Internet Archive and Wikimedia results download immediately with a live progress gauge (percent, speed, size); Public Domain Torrents results get handed off to Transmission and queued in the background since those can take a while depending on seeders. Results are ranked and sorted by file size regardless of source, so the biggest (usually best quality) versions surface first.
to run the archive movie downloader, ssh into the pi or use cockpit and open the terminal view.
Then cd ./pi-setup
then ./archive-movie-downloader.sh
You can download / upgrade the mini-pi media server by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
![]()
![]()
![]()
![]()
-
Version 7.4 is now available
07/25/2026 at 09:39 • 0 commentsBug Fix Release
Installer
- Fixed a bug in the
mini-pi-setupinstaller that crashed on first run on a clean system (upgrades were unaffected) - A second run would complete previously — this is now fixed on the first attempt
Media Encoding
- Reworked the media encoding structure to encode fastest media files first, deferring H265 10-bit files to last, as these take the longest to encode (the Raspberry Pi only supports software encoding for H265 10-bit media into mp4)
Server Sync
- Fixed a mounting bug in rotating server sync that would not mount on first creation until a reboot had been performed
- Fixed a bug in the
configure-server-syncscript that would sometimes error while rsyncing from a server, skipping some media files
Disc Handler
- Fixed a locking bug in
disc-handlerthat removed the lock on startup even when there was a valid reason for it to be present (e.g. an active DVD or CD rip) - This now guards against a second instance attempting to rip the same media simultaneously
Overall this release should be very stable
You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
- Fixed a bug in the
-
Version 7.3 is out
06/28/2026 at 07:22 • 0 commentsMini-Pi Media Server 7.3
This release focuses on system optimisation and stability improvements across the core media stack, with reduced memory usage and several bug fixes in the installer and subtitle configuration system.
Performance & Optimisation
- Reduced idle RAM usage from ~220 MB → ~154 MB on Raspberry Pi Zero 2 W
- Optimised Apache configuration for lower baseline memory footprint
- Tuned Samba configuration to reduce background resource usage
Bug Fixes
- Fixed issue when entering OpenSubtitles credentials (API key, username, password)
- Resolved minor installer setup bug affecting initial configuration flow
Notes
This release maintains all existing features while improving system efficiency and overall stability.
You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
-
Version 7.2 is now available
06/21/2026 at 08:54 • 0 commentsVersion 7.2 adds CD and DVD Ripping.
CD & DVD Ripping Support
The Mini Pi Media Server can now rip physical discs directly, triggered automatically when a CD or DVD is inserted into the drive. The new
disc-handler.shscript is invoked on disc insertion and handles detection, ripping, and handoff to the rest of the pipeline — no manual steps required.The user is asked if they want to enable this feature during install / upgrade time, then the extra software is installed and the disc-handler.sh is installed along with support for a popup status in the main web page when ripping a CD or a DVD.
![]()
Note: this feature requires a Pi 4B or above. Disc ripping (especially DVD/vobcopy) is CPU and I/O intensive, and isn't supported on Pi Zero 2W or earlier boards.
How it works
Disc detection — On insertion, the script probes the drive's filesystem type to determine whether it's an audio CD or a DVD, and routes to the appropriate ripping path.
Audio CDs are ripped using
abcde, with CDDB lookups (via gnudb) used to identify artist/album/track metadata automatically. If a disc can't be identified, it's saved into a uniquely timestamped "Unknown Album" folder rather than overwriting any previous unidentified rip.DVDs are ripped using
vobcopy. The script mounts the disc, copies the raw VIDEO_TS structure, identifies the main feature (the title set with the most VOB parts — i.e. not menus or extras), and joins those VOB parts into a single.vobfile usingcat(not ffmpeg — VOB parts are designed to be concatenated at the byte level per the DVD spec). The disc is ejected as soon as vobcopy finishes, freeing the drive before the (potentially lengthy) VOB join takes place.Movie title lookup — As a best-effort step, the script tries to identify the actual movie title rather than relying on the disc's volume label. It pulls the main feature's runtime via
lsdvd, searches Wikipedia for candidate titles based on a cleaned-up version of the disc label, and matches against each candidate's infobox runtime. If a match is found within an 8-minute tolerance, that title is used; otherwise, the original disc-label-derived name is kept. This lookup never blocks or fails the rip itself — worst case, it just falls back silently.Handoff to the conversion pipeline
Once a DVD's VOB file lands in the video library, it's picked up automatically by the existing
mkv-watcher.shservice, which converts it into a browser-friendly MP4 just like any other inbound MKV file.Known limitations
CDDB/Wikipedia-based identification is convenience-only, not guaranteed — it's quite weak in practice. For audio CDs, this means track and album metadata may come back incomplete or simply unmatched. For DVDs, if the disc isn't labelled close to the actual movie title, the Wikipedia runtime-matching may not find a confident match either. In both cases, manual renaming of the resulting media file after conversion may be needed to get clean naming/metadata in the library.
NOTE: the pi will not provide enough power to power a USB CD / DVD drive, you WILL need a powered USB hub that then connects to a Raspberry pi in order to use.
So what hardware works ?
I ordered these from Amazon and it does work
USB CD / DVD drive
https://www.amazon.co.uk/dp/B0GLNTCD7T?
Powered USB hub
https://www.amazon.co.uk/dp/B00TPMEOYM?th=1
Some countries have legal issues about backing up your own CD / DVD collection so please check your countries laws first. I accept no legal issues, I just provide the tool.
You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
-
Version 7.1 is now available
06/14/2026 at 06:37 • 0 commentsPer-film playback progress bars
The film browser now shows a progress bar on each video card, giving you an at-a-glance view of how far through each film you've watched. On page load, the UI makes a single bulk request to the new get_progress_bulk.php helper (self-installed automatically by index.php, consistent with the project's zero-dependency philosophy) which returns percentage-watched data for all video files in the current directory in one go. The bars are rendered as a thin overlay along the bottom of each card. If the request fails for any reason, it degrades silently — the bars are cosmetic and won't break anything.
![]()
Amazon Silk / Fire TV browser optimisations
Silk is detected via its user-agent string at page load, and a CSS class (is-silk) is added to the document body, enabling a tailored performance mode. Optimisations include: stripping GPU-heavy CSS effects (backdrop blur, transitions, gradients) from the file list and preview panel; flattening the progress bar to a solid colour instead of a CSS gradient; forcing a grid reflow on initial paint to fix a Silk bug where the container width is miscalculated, causing a brief two-column flash; and enlarging touch targets for the audio scrubber thumb. The Fire TV D-pad navigation already present in previous versions continues to work unchanged.
![]()
Desktop and mobile versions of this web page still have the full effects (backdrop blur, transitions, gradients).
USB sync permissions fix Resolved a minor permissions issue affecting USB media syncing.
H.265 / HEVC conversion support
The MKV conversion pipeline (mkv-convert.sh) now processes H.265 content rather than skipping it. Plain 8-bit H.265 (yuv420p) was already handled silently; this update adds support for 10-bit and 12-bit H.265 (yuv420p10le / yuv420p12le), which are increasingly common in modern media files. High bit-depth content is automatically routed to a software encode with pixel format downconversion to 8-bit H.264, ensuring the output is playable in all web browsers and DLNA clients. A warning is logged when this path is taken, as software encoding of high bit-depth content is slow on low-power hardware — on a Pi Zero 2W a feature-length film may take several hours. Pi 4B and Pi 5 users will see more reasonable times. If browsers ever add native H.265 support in future, the pipeline can be switched to a near-instant remux instead.
Conversion pipeline logging improvements
Pipeline log output (encode progress, completion, errors) was previously lost regardless of how the pipeline was triggered. Whether kicked off by the boot-time sweep, the periodic sweep, or an inotify file arrival event, output was either silently dropped for background calls or appeared only under the generic bash service identifier with no useful context. All pipeline output is now routed through logger, which writes to the systemd journal line by line under the identifier mkv-pipeline. This means live encode progress, per-file probe results, completion summaries (including encode speed and output file size), metadata scrape results, and any errors are all visible in real time via:
journalctl -t mkv-pipeline -f
journalctl -u mkv-watcher.service -f
All of these logs can be viewed from the systemd service named mkv-watcher under services in cockpit
You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
-
Version 7.0 is now available
06/07/2026 at 11:28 • 0 commentsMini Pi Media Server v7.0.0 Release Notes
🚀 TL;DR: What's New at a Glance
- Cross-Device Watch Resume: Watch positions are now saved server-side on your Pi, allowing seamless switching between your phone, laptop, and TV.
- Ground-Up Subtitle Engine Rewrite: Replaced dead dependencies with direct OpenSubtitles REST API integration, complete with smart backlog queueing to respect daily free quotas. NOTE: You will need an account for subtitles to download for Opensubtitles.org.
- Modular Pipeline Refactor: Split the monolithic mkv-2-mp4.sh script into 4 highly focused, specialised scripts managed by a central orchestrator.
- Bulletproof Concurrency: Upgraded to atomic mkdir locking to entirely eliminate race conditions when multiple files finish processing at once.
- Advanced Filename Robustness: Transitioned to null-delimited processing and proper array handling to natively support spaces and special characters.
- Deep Systemd Logging: Exposed comprehensive processing metrics—including codecs, bitrates, hardware encoders, and full ffmpeg outputs—directly to the systemd journal.
📺 Watch Resume Across Devices via the web browser
Your watch position is now saved back to the server as you stream, rather than being stored locally in the browser.
- Start watching on your phone, continue from the same point on your TV or laptop.
- Works across any device on your home network without any setup.
- Falls back to local browser storage automatically if the server is unreachable.
- No accounts, no cloud — everything stays local on your Pi.
🎬 Media Scraper — Subtitle Engine Rewrite
subliminal-based approach was found to be silently failing across all providers.
- Podnapisi was confirmed dead (DNS no longer resolves globally).
- OpenSubtitles v1 XML-RPC API was shut down in 2023.
- subliminal has been removed as a dependency entirely.
Subtitles now use the OpenSubtitles REST API directly, which is more reliable, faster, and requires no third-party library. Search is completely free and requires no account.
Note on Subtitle Downloads: Downloads require a free OpenSubtitles account (20 downloads/day, resets at midnight UTC). The installer now walks you through setting up your credentials if you want subtitles, or you can skip it entirely — everything else works without an account.
- Smart Authentication: Login happens once per script run and the session token is reused, so a library of 100 films only authenticates once.
- Quota Preservation: Films that already have a .srt file (including those bundled with torrent downloads) are skipped automatically — no wasted quota.
- Progressive Backlog Clearing: For large existing libraries, subtitles download progressively at 20 per day until the backlog is cleared. Since the media scraper runs every day at 5am, this will cleanly handle large libraries over a few days.
- Wikipedia Canonical Checking: A sanity check now validates Wikipedia canonical titles before using them for subtitle searches, preventing wrong matches like "2010" searching as "1984 in film".
- Ambiguous Resolution: Ambiguous film titles (e.g. 2010 (1984).mp4) are now correctly resolved to their full canonical title (2010: The Year We Make Contact) using the Wikipedia page title.
- Quiet Warnings: If no credentials are configured, a single warning is logged at the start of the media scraper run and subtitles are silently skipped for all subsequent films — no per-film error spam.
Developer Note on v7.0.0 Testing: While the core pipeline has been heavily tested for a week, the strict 20-download API limit means intensive multi-day backlog testing hasn't been simulated at scale. The scraper logs beautifully, but if you notice any edge-case bugs over the next few days, please open a GitHub issue!
Media Scraper — IMDB Rating Removed
IMDB bot detection now aggressively blocks automated scraping, so the IMDB rating has been removed. The Rotten Tomatoes score scraped from Wikipedia remains unaffected.
⚙️ MKV and SRT Conversion Pipeline Refactor
mkv-2-mp4.sh script has been split into four focused scripts with a thin orchestrator coordinating them:
- mkv-promote.sh — moves completed downloads out of Transmission folders into the media library and cleans up empty folders.
- mkv-convert.sh — handles MKV to MP4 conversion with hardware acceleration, adaptive bitrate, and automatic software fallback.
- mkv-subtitles.sh — converts standalone SRT subtitle files to VTT format when the matching MP4 is present.
- mkv-scrape.sh — fetches metadata for any MP4s that were promoted directly without needing conversion.
- mkv-common.sh — shared configuration and helper functions used by all scripts.
Race condition fix for encoding
touch plus a file existence check — two separate operations with a gap between them that could allow two conversion instances to start simultaneously under the right timing. The lock is now acquired with mkdir, which is a single atomic operation. Only one pipeline instance can run at a time.
Filename robustness
Files with spaces or special characters in their names could previously cause the conversion pipeline to crash or behave unexpectedly. All file handling now uses null-delimited output throughout and ffmpeg arguments are passed as proper arrays, so unusual filenames are handled safely.
Improved systemd logging
Every stage of the pipeline now logs structured output visible in the systemd journal. For each file processed you will see:
- Detected video/audio codecs, pixel format, and original bitrate.
- Whether the file is being remuxed or re-encoded, and which encoder is being used.
- Conversion speed, final output size, subtitle processing results, and full ffmpeg output for errors.
📥 How to Install / Upgrade
You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
diddy






