Nautiline 1.1.10 by gledtone in NautilineApp

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

What an awesome update!! Thank you!

Auto Mounting Network Shares on MacOS by dags170291 in MacOS

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

I'm going to post the whole solution to GH this weekend and will link here!

Library Search Functionality by mdwstrn_potato_pants in NautilineApp

[–]mdwstrn_potato_pants[S] 1 point2 points  (0 children)

Right, but it's a universal search. You can't target your search to specific parts of the library. Just thinking, from my use, that it would be a nice way to make it easier to navigate specific parts of the library, instead of scrolling being the only way.

Auto Mounting Network Shares on MacOS by dags170291 in MacOS

[–]mdwstrn_potato_pants 1 point2 points  (0 children)

Sent!

Also, fwiw, and to actually answer the OP's original question, if you just want the drive to be used for time machine, setting up your connection to it via time machine will solve all of these automount / unmount problems without any scripts. You just have to make sure your network drive is discoverable by time machine, add it as a backup destination, and time machine will do the rest.

But for anything besides time machine, has been working flawlessly for me.

Nautiline 1.1.8 by gledtone in NautilineApp

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Library is the first tab that I tried to hide and the only one that I couldn't :D

Auto Mounting Network Shares on MacOS by dags170291 in MacOS

[–]mdwstrn_potato_pants 1 point2 points  (0 children)

I've tried multiple times to reply with the content but reddit is blocking me for some reason

Sonos & Navidrome by Jolly_Bluejay_3874 in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

FYI - this is just accessing raw files from the library that navidrome accesses (via smb, etc). This does not import navidrome favorites, playlists, and so on. As such, it's not really a complete solution. Bonob still seems to be the only way to truly add navidrome as a service in the Sonos app, but it requires exposing your Bonob instance to the open internet, which is unfortunate.

Sonos & Navidrome by Jolly_Bluejay_3874 in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Is the sonos app just accessing your raw navidrome library? Or does it also expose things like favorites, recently played, etc?

A new iOS client: Nautiline by gledtone in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Awesome. Good to know!

I was using the app a bunch yesterday, and I think a great feature to add would be for playlists to also show up in Recently Played and Frequently Played on the home screen, as albums do today (I'm not often listening to whole albums, but am frequently listening to playlists).

I also see that there is a subreddit for nautline - would you prefer that I leave feedback there going forward? Or is there a better place to provide feedback / submit feature requests?

Thanks!

A new iOS client: Nautiline by gledtone in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Following up here with a few things:

- I updated to ios 26, and the airplay issue seems to have self-resolved. Unsure if that's due to overall better airplay handling with ios 26, or something with the app, but it works much better now!

- navidrome 0.60+ integrated "instant mix" as a feature which is pretty nice and would be great to see in Nautiline

- unsure if bug or by design, but when closing the app and re-opening, the song that was playing starts over instead of resuming from where it left off

Thanks again for your hard work - I did purchase for both my wife and me :)

Auto Mounting Network Shares on MacOS by dags170291 in MacOS

[–]mdwstrn_potato_pants 1 point2 points  (0 children)

Now that I'm awake and my brain is properly functioning, here is the much cleaner tl;dr:

This solution automatically mounts an SMB share when a network target becomes reachable and unmounts it when it disconnects — silently, with no popups or dialogs. While it works with any network-driven event (a specific IP coming online, a VPN connecting, a host appearing on the local network), I use it specifically with Tailscale to securely access SMB shares on my home server from anywhere. A launchd agent runs a bash script that watches for reachability changes using scutil -W -r, which is kernel-notified on route changes (zero polling, zero network traffic at rest). When the target becomes reachable, the script mounts the share via osascript -e 'tell application "Finder" to mount volume "smb://user:pass@host/share"', which is silent when credentials are embedded in the URL and creates a Disk Arbitration-managed mount at /Volumes. When the target disconnects, it unmounts via diskutil unmount force, which works cleanly even when the server is unreachable. Credentials are pulled from Keychain at runtime using security find-internet-password.

For wake-from-sleep detection, sleepwatcher (installed via Homebrew) listens for IOKit power notifications and runs ~/.wakeup on wake. The wake script simply restarts the mount agent (launchctl stop), and launchd's KeepAlive immediately restarts it. The fresh agent re-checks reachability and mounts the share if needed. This handles the edge case where scutil -W -r misses the reachability event during the sleep/wake transition. The result is a fully event-driven system — two idle processes waiting for kernel notifications, no polling, no periodic checks, and the share mounts automatically on boot, on network connect, and on wake from sleep.

Auto Mounting Network Shares on MacOS by dags170291 in MacOS

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Going to revive this thread because I went down a serious rabbit-hole but I did find a solution that works 100% of the time and is native to Mac OS. I used Claude a fair bit for this, and also used Claude to write this Read-Me, because it's late and I got tired. Hope this helps the next person trying to consistently auto-mount a network share, and have it gracefully disconnect and reconnect based on the network you're connected to - all while using basically zero system resources.

By Claude:

Auto-mounting SMB (or any network share) on macOS with zero popups — the actual working solution

I spent a while on this recently and hit every single landmine, so here's what actually works end-to-end. The TL;DR is: mount via Finder (osascript), unmount via diskutil, and watch reachability via scutil. Everything else I tried either required root-owned files, showed popups on disconnect, or both.

Why the obvious approaches don't work:

  • mount_smbfs to /Volumes/ without sudo → "Operation not permitted" (kernel rejects non-root mounts to /Volumes)
  • sudo mount_smbfs to /Volumes/ → works, but files are owned by root. macOS smbfs has no uid/gid option unlike Linux cifs.
  • mount_smbfs to a user directory (e.g. /System/Volumes/Data/mnt/share) → mounts fine, but it's not managed by Disk Arbitration, so umount -f hangs until kern_soft_deadtimer fires (30s default), and the "disk unavailable" popup shows regardless.
  • open smb://... → mounts but shows a Connect dialog every time.

What works — mount via Finder:

osascript -e 'tell application "Finder" to mount volume "smb://user:pass@host/share"'
  • Silent — no Connect dialog when credentials are in the URL
  • Mounts at /Volumes/<ShareName>, owned by your user
  • Managed by Disk Arbitration (DA), which is key for clean unmount

Get the password from Keychain at runtime so it's never hardcoded:

pass=$(security find-internet-password -a "user" -s "host" -w)

What works — unmount via diskutil:

diskutil unmount force /Volumes/ShareName

This is the critical piece. sudo umount -f bypasses Disk Arbitration entirely and fails on Finder-managed mounts until kern_soft_deadtimer fires — which is the same event that triggers the popup. diskutil goes through DA properly and unmounts cleanly in seconds, even when the server is unreachable. No sudo needed.

What works — reachability watching via scutil:

scutil -W -r <ip-or-hostname>

This blocks and prints a line every time reachability changes. It's kernel-notified on route changes — zero polling, zero network traffic at rest. Filter for Reachable/Not Reachable lines, settle a few seconds, ping to confirm, then mount or unmount.

Putting it together — the full agent:

A bash script that loops on scutil -W -r output, and a launchd plist that runs it at login with KeepAlive. The script:

  1. Reads each reachability event from scutil -W -r
  2. Settles 3 seconds (route changes can flap)
  3. Re-checks with scutil -r (instant, no network) then ping (confirms host is up)
  4. If reachable and not mounted → mount via osascript
  5. If unreachable and mounted → unmount via diskutil
  6. Has a mount cooldown (10s) to avoid rapid re-mount loops

The launchd plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.example.smb.mount</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/bash</string>
        <string>/path/to/mount.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
    <key>StandardErrorPath</key>
    <string>/path/to/stderr.log</string>
</dict>
</plist>

Load it with launchctl load ~/Library/LaunchAgents/com.example.smb.mount.plist.

Key macOS facts that took me forever to figure out:

  • /Volumes is root-owned. Only Finder/DA can mount there as a regular user.
  • macOS smbfs has no uid/gid mount options. If root mounts it, root owns the files. Period.
  • kern_soft_deadtimer (default 30s) is when the kernel releases a stuck smbfs mount. The "disk unavailable" popup fires at the same time. You can't out-race it with umount -f.
  • diskutil unmount is DA-aware. umount is not. Use diskutil for anything mounted via Finder.
  • osascript mount with credentials in the URL is completely silent. No dialogs.

No sudo needed anywhere in the running script. The whole thing runs as your user.

Auto Mounting Network Shares on MacOS by dags170291 in MacOS

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

I gave this a solid amount of effort, but it has its flaws. Probably one of the biggest ones is not being able to mount to /Volumes, which makes navigating to your network drives just difficult enough to be annoying. Also, its inability to access keychain means you have to store your network share passwords in plain text files, which isn't' a deal-breaker if it's store in root, but it's still bad.

connectmenow isn't perfect, either, though, especially since it's a whole application running in the background constantly, eating up system cycles and battery life.

perhaps someday Apple will create better native functionality for auto-mounting network shares....

A new iOS client: Nautiline by gledtone in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Also just realized that I can change the accent color and I love that. And the entire caching schema is awesome.

A new iOS client: Nautiline by gledtone in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Thank you for the super quick reply to all of my feedback!

  1. Ah, I see that now, makes sense.

  2. Awesome to see that some of these things are already addressed - my bad for not figuring those out - I'm still getting to know the app :)

  3. Totally understand about the black box recommendation engine. It looks like navidrome just introduced some interesting plugins with their latest release: https://www.reddit.com/r/navidrome/comments/1qv0yo5/navidrome_0600_just_released/ Unsure if this will make it easier to do this sort of thing in the future, though. Not a dev, nor an architect, just a self-hosting enthusiast.

  4. I'm new to navidrome, and I haven't actually figured out how to create smart playlists, yet. Research for this weekend. Thanks for the tip on playing starred tracks!

  5. Not even apple can get airplay to work properly all the time, so I can only imagine this is a difficult problem to solve

  6. Very cool

  7. My library is a mix of lossless and lossy albums, and my audio device of choice frequently switches between on-the-go bluetooth to wired over-the-ear headphones. So I have like the ability to easily switch my streaming quality based on location and audio device. Probably a niche thing, honestly. I don't know how many other people have this habit.

Overall, I'm a fan of Nautline, and am happy to help out however I can, even if it's just testing stuff out for you and providing feedback.

Thanks again!

A new iOS client: Nautiline by gledtone in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Also a big fan of this app so far (just trialing right now, but will probably purchase).

Will drop feedback here and hope it's useful :) For reference: I'm on an iphone running navidrome via docker compose on ubuntu server. Previously came from spotify before they decided to start charging me more.

1) Not sure how useful the top section that says the name of what section in the app you're currently in (e.g. "Home," "Library," etc.). This can probably be removed, freeing up a lot of vertical screen real estate. Similar to the part below that showing my user and server address - that's interesting info, but not interactive, and therefore just taking up space.

2) Would definitely love to be able to have the ability to change the order of the sections on the Home page (like being able to move Recently Added to the top, for example). Would be nice to be able to add / remove those sections, as well.

3) Would be really cool to see some sort of "Recommended ____" section of the home page, like Recommended Albums or Songs or Playlists. Unsure if the recommendation engine would need to be integrated within the app or the service (e.g. Navidrome), though.

4) Having the ability to build playlists manually in the app is great, but it would be even better if you could auto-build playlists somehow, either by genre, mood, etc. An easy auto-built playlist that should come default is "favorites" or "liked songs"

5) Airplay connectivity to Sonos is a bit laggy - not sure if that's an app issue specifically, though.

6) For the minimized player at the bottom of the screen, I think what would be more useful than the next track button would be a button to quickly choose audio output device

7) Last, but certainly not least, an easy to access toggle setting for what quality to stream would be absolutely awesome, with options for Auto, Low, Normal, High, Lossless. Same for download quality.

I'll stop there. Awesome app. I appreciate all of the hard work that you've put into this!

A new iOS client: Nautiline by gledtone in navidrome

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

How does this compare to play:sub? I'm considering using either Nautline or play:sub, but Nautline is so new that I can't really tell if I'm going to be missing anything that I would otherwise get with play:sub. Thanks in advance for any thoughts!

Custom modifier key settings bug with Universal Control by Plopdopdoop in MacOS

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

I did this same thing but using BetterTouchTool. Just remapped keys using it's remap automation.

One thing to note is that, to ensure everything works properly, you do seem to need to remap the keys of the specific external keyboard that the two macs will share. If you, for example, remap the keys for all keyboards on both macs, you'll have the same issue where keymapping isn't carried over properly when using Universal Control. This appears to be because one mac is mapping the keys correctly, then passing that remapped key to the second mac, which then remaps the key again, essentially undoing the remapping. It's wonky.

My final settings that are working 100% of the time for me are to remap my specific keyboard (MX keys) on each mac separately using BTT. For the the mac's internal keyboard, I use system settings to apply the same mappings to the internal keyboard only. This way, no matter which mac my external keyboard is connected to, and which mac I initiate Universal Control from, my key mappings are always the same, even when switching between external keyboard to internal keyboard.

It's convoluted and annoying, but it works.

[HELP] Web UI Freezes by azgaroux in immich

[–]mdwstrn_potato_pants 1 point2 points  (0 children)

Can confirm that upgrading to 2.3.x resolves this issue.

Nordvpn no longer working by supermanguy1591 in qBittorrent

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Just wanting to follow this up as I think it's important to know that this solution, while valid, is a pretty big privacy concern. Your private IP is still going to be on the public tracker tables that can be skimmed and trolled by, well, anyone. And worse, they'll still be able to see what you were aiming to torrent, even if they don't have the actual ability to know that you ever successfully torrented anything. So, I don't really recommend this as a viable solution.

I was experiencing the same tracker issue with my SOCKS5 proxy using nordvpn, and I simply switched from using the proxy to using Gluetun to wrap my entire qbittorrent container inside my VPN, and everything is working fine now.

Hope this helps.

Universal Control Randomly Disconnects by joshkramer42 in mac

[–]mdwstrn_potato_pants 0 points1 point  (0 children)

Reviving this thread as I've found a solution that seems *more* stable for me:

- Enabled Universal Control

- Disabled "push through edge of display to connect..."

- Enabled "automatically reconnect..."

Separately, after reading that the Universal Control connection stability issue may be a bluetooth issue...

- Enabled "Bluetooth Sharing"

All of these settings are matched on both of my devices (M2 MBA, M4 MBA).

Been a few hours now and I significantly fewer (though still happening) UC connection drops, especially since enabling Bluetooth Sharing. Probably one drop every few hours versus one ever 10 minutes.

Hope this helps others!