2024-01-09, 01:19 AM
I needed to create a few scripts to allow Jellyfin to reliably startup on my MacOS machine. I'm not one for developing a lot, but I have enough experience to know that the details such as this can really hold up a project.
These scripts:
1.) Ensure the drive at /Volumes/EXTHDD is mounted before jellyfin is kicked off
2.) Try repeatedly to mount the media media partition based on an fstab UUID entry
3.) Poll the web interface every five minutes, which seems to prevent lock up, but if it does timeout it uses launchctl to restart jellyfin.
https://github.com/allanpeda/jellyfin-he.../tree/main
These scripts:
1.) Ensure the drive at /Volumes/EXTHDD is mounted before jellyfin is kicked off
2.) Try repeatedly to mount the media media partition based on an fstab UUID entry
3.) Poll the web interface every five minutes, which seems to prevent lock up, but if it does timeout it uses launchctl to restart jellyfin.
https://github.com/allanpeda/jellyfin-he.../tree/main