Close
0%
0%

Mini-PI Media Server

Mini-PI Media Server for use on home network or as a wifi access point to stream media from

Similar projects worth following
A Swiss Army knife media server on a £15 Raspberry Pi Zero 2 W

A lightweight media appliance designed around the principle that a full home streaming system should not require a NAS or high-power mini PC — just efficient use of low-cost hardware.

DLNA streaming to any device on the network
Cloud sync (Google Drive / MEGA / OneDrive) — upload once, all Mini-Pi servers sync down automatically
Family media distribution network for the cost of a Pi Zero class device
Auto MKV → MP4 conversion with hardware encoding
Torrent downloading with Transmission (seeding-aware)
Client-side EQ and audio effects
Wi-Fi access point mode (fully portable)
Power-loss recovery
Web interface
Optional CD / DVD ripping (Pi 4 and above)
Remote Play from any client on the same network to any other client provided the client pc is at the main web page (index.html). Remote play to one or up to 4 devices at the same time.

Runs on a Raspberry Pi Zero 2 W and scales up to Pi 5 hardware.

Mini-Pi Media Server: Pro-Grade Media on a £15 Computer Mini-Pi Media Server turns a Raspberry Pi Zero 2 W into a low-power, self-hosted media appliance. Designed to run a full media stack on minimal hardware, it provides streaming, syncing, automation, and remote access without the need for a NAS or high-power mini PC. Most media server stacks scale up in hardware requirements. Mini-Pi takes the opposite approach: start with a Raspberry Pi Zero 2 W and optimise everything around efficiency, low RAM usage, and simplicity. It is designed for home networks, portable setups, hotel rooms, or even keeping a car full of passengers entertained — delivering a seamless media experience with zero subscription services required.

  1. Core Media & Download Engine
  • Universal Streaming: Powered by a tuned MiniDLNA setup, streaming music, photos, and video up to 1080p HD to Smart TVs, game consoles, and mobile devices. Designed for smooth playback on low-power hardware rather than high-bitrate 4K streaming. Streaming Via Web browser too.
  • Integrated Downloads: Optional Transmission support allows direct downloads into the media library with seeding-aware handling.
  • Unified Storage: A consistent directory structure keeps DLNA, Samba, and the Web UI fully synchronised with no broken paths or mismatched views.
  • Optional CD/DVD Ripping (PI 4b and above): (Requires USB CD / DVD drive + powered hub)
    • Audio CDs are converted to MP3 and stored in the Music library
    • DVDs are backed up and transcoded to MP4 for the Video library
  1. Cloud Sync & Family Media Network Mini-Pi can be configured with a shared Google Drive, MEGA, or OneDrive account to create a distributed media system:
  • Upload media once from anywhere
  • All Mini-Pi nodes using the same account automatically sync within ~30 minutes
  • Cloud-synced content is preserved exactly as-is (no encoding pipeline interference)
  • Enables pre-configured deployment: set up a Pi, ship it to a family member, and they instantly share the same media library
  1. Automation & Intelligence
  • Smart MKV Watcher: systemd + inotify service automatically detects new MKV or VOB files and triggers encoding immediately
  • Hardware Encoding: H.264 streams are remuxed instantly (no quality loss). HEVC and other formats are transcoded using the Pi Zero 2 W VideoCore GPU, with fallback to software encoding on Pi 5
  • Power-Loss Recovery: incomplete encodes are automatically cleaned up on reboot and resumed safely
  • USB Auto-Sync: plugging in a USB drive with standard media folders automatically syncs content (Movies, Pictures or Music) into the library via rsync
  • Nightly Rotational Sync: optionally pulls only recent media in the past X months (configuravle) from a NAS, keeping storage use low on SD cards
  1. Web Interface & User Experience
  • Customisable backgrounds (including user uploads via Samba), uses the Pictures folder.
  • QR-code onboarding for instant device pairing and WiFi setup
  • Rich media library UI with posters, synopses, IMDb ratings, and Rotten Tomatoes scores via nightly metadata scraping
  • Cross-device resume playback (TV → tablet → phone)
  • Remote Play — cast between devices: browse the library on your phone or PC and start playback on a different screen (a Fire TV/Silk stick, another PC, a tablet) instead of navigating the file list by hand.
    • Zero setup — any screen with the dashboard open is automatically discoverable, no pairing or accounts
    • Cast the same media file to up to 4 devices at once
    • Auto-resumes if that file already has saved progress, and goes fullscreen on the receiving screen
  • Lock-screen music controls for high-fidelity playback
  • Direct uploads from any device into Music, Pictures, or Video folders
  • Client-side EQ and audio effects (zero CPU load on the Pi)
  1. Networking & Deployment
  • WiFi Access Point Mode: creates a standalone wireless network for fully self-contained deployments, routing internet via Ethernet when available (with a USB to ethernet adapter on a pi zero 2 w). When the Pi is on...
Read more »

  • 1 × Flirc case for Pi Zero 2 w A nice case to finish the project off
  • 1 × SanDisk 128GB Extreme PRO microSDXC card High performance SD card. dont cheap out. although the Kioxia Exceria Plus U3 is also a good card
  • 1 × Micro USB lead well you do want to power the device, right ?
  • 1 × SanDisk Ultra 256GB Dual Drive A USB and Micro USB pen drive to transfer your videos and music from a pc onto the PI but you can copy media across the network via samba to the Pi server
  • 1 × Micro Usb to Ethernet Lan Adapter With 3 USB Ports for Raspberry Pi Zero - White USB to Ethernet with 3x usb ports. Can be purchased from amazon for around £15

View all 8 components

  • Version 8 is now available

    diddy • 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

    diddy • 09/13/2026 at 20:42 • 0 comments

    v7.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

    diddy • 09/12/2026 at 09:00 • 0 comments

    New 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 ended event, 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/HbbTV markers 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...

    Read more »

  • Mini-Pi vs the higher-spec alternatives

    diddy • 09/08/2026 at 13:10 • 0 comments

    Mini-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...

    Read more »

  • Version 7.5 is available to download

    diddy • 07/31/2026 at 16:15 • 0 comments

    v7.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

    diddy • 07/25/2026 at 09:39 • 0 comments

    Bug Fix Release

    Installer

    • Fixed a bug in the mini-pi-setup installer 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-sync script that would sometimes error while rsyncing from a server, skipping some media files

    Disc Handler

    • Fixed a locking bug in disc-handler that 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

  • Version 7.3 is out

    diddy • 06/28/2026 at 07:22 • 0 comments

    Mini-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

    diddy • 06/21/2026 at 08:54 • 0 comments

    Version 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.sh script 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 .vob file using cat (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.sh service, 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

    diddy • 06/14/2026 at 06:37 • 0 comments

    Per-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

    diddy • 06/07/2026 at 11:28 • 0 comments

    Mini 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...

    Read more »

View all 58 project logs

  • 1
    how to setup / update

    Instructions to set up :-

    do the usual raspberry pi imager stuff and set the settings with a name of mini-pi (ideally this name).

    set the wifi to your wifi (and password) and set the user as pi and set to use ssh services.

    Then write the image

    once done place the SD card / USB pen driver into the pi, power up the pi and log into your router to find the mini-pi ip address (or use a network tool like fing or angry ip scanner).

    SSH into the raspberry pi (using ssh pi@<THE IP ADDRESS OF THE PI>

    once logged into the Raspberry Pi, run this single command that downloads, unzips and installs the media server software all in one command by :-

     

    wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash

    This will then run the installer which pulls down the most recent build which unzip's and run's the setup / configuration.

    you will be prompted for a samba user password (its easy to use the same password as your ssh login).

    you can select to :-

    Configure WiFi as an access point (if you run this then an ethernet connection has to be used to stream at home).

    you can at any time in the future, run ./reconfigure-wifi.sh from within the mini-pi directory.

    Configure Cloud syncing (Using either Google Drive, One Drive or MEGA)

    you can at any time in the future, rcploe-setup.sh from within the mini-pi directory.

    Configure syncing from a server every night

    then you can press enter to reboot.

    All setup now. have fun.

    if you are updating, its similar.

    just select to to configuring wifi, samba etc as your current settings will be preserved.

    just ssh into the raspberry pi and run the above command to download and install again or if you just want to reinstall run 'sudo ./pi-setup/mini-pi-setup.sh'

View all instructions

Enjoy this project?

Share

Discussions

diddy wrote 02/04/2026 at 11:19 • point

Version v4.3 contains a fix for the Pi 5's Wi-Fi and its known firmware issues with Trixie. If anyone is testing this on Trixie, let me know if it's working for you also

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates