PMS as a Service (Updated)

Hello world!

It’s been a while. :smiley:

Today I’m here to share a little bit of Q&D work I did on the amazing “PmsService” app for windows by the great @cjmurph. I’ve reached out to CJ on Github already to hopefully get this merged into the main project, but because it’s quite a large amount of changes, I figured I’d throw a link up here too, just so people can give it a spin and LMK if there are any other issues.

Here’s what I’ve done:

Code Base:
Updated the main Dotnet version being used from 4.0 to 4.7.2.
Updated installer to check/prompt for dotnet 4.7.2 if not installed.
Update installer to copy new dlls for theme support.
Updated the handful of support packages to their latest versions.
Updated the c# language-level to the latest main version, giving us access to a bit more goodies when coding things.
Updated the majority of the code itself to utilize the new language changes, as well as make “code quality” changes (remove unused methods, variables, using declarations, typos, etc.)

Features
Added themes. 23 different color options with dark and light variations for a total of 46 possible appearances. This re-theming also fixes an issue from Github where the license was unreadable.
Added an option to try re-mounting mapped drives if the mapping fails (like on reboot) with a configurable number of retries and delay between retries.
Added an option to not start Plex if drive mapping fails. This prevents accidental deletion of your whole library if “Auto-clean” is enabled in Plex.
Added an option to log Auxiliary application console/error output to the PMSService log file (feature request from Github).
Added “Plex Relay” as one of the services stopped when starting/stopping Plex, as this must have been renamed from “PlexRelay” at some time in the past few years.
Added a shortcut item in the tray app to launch the PMS data folder.

Fixes
Fix issue #47 on Github (mine) regarding mounts failing on reboot.
Fix issue #46 on Github regarding license not visible.
Fix issue #45 on Github - PMS updates not working correctly with auto-restart.
Fix issue #35 on Github - PMS starting after update (related to #45).
Fix issue #38 on Github - Unable to use “.” in UNC paths.

And really, that’s the majority of the issues that were listed on Github that I could immediately reproduce.

image
Main settings window in “Dark Amber” with Aux apps.

image
Main settings window in “Dark Cyan” with drive mappings.

image
“Dark Cyan” themed “About” window.

image
“Light Orange” themed Connection Settings window.


Aux app output to console.

2 Likes

Hey there. Thank you for creating this but it looks like the GIT repository is missing the installer and your post is deleted. Is there a way to get this still?

Hey there! Sorry about that. The original author merged it into his repository, so I removed my build of it to allow him to upload a “proper” release.

However, I don’t know how long that will take, and I’ve also done another rebuild that’s written entirely for dotnet 6 and completely removes WPF and replaces it with websockets. So, I’ll try to talk with @cjmurph and see how he would like to proceed. :wink:

Worst-case scenario, I’ll put the build back up until he has time to do his.

I think it’s quite obvious that he doesn’t have time for this, with his release being from 2018 and yours not being added for a month now. Please let the project live on in your repo

I’ve re-added the new release. Should @cjmurph create the new build and release on his repo, I’ll update the links here.

Similarly, the dotnet 6 version should be a long in a week or so…I’ve got a lot going on right now.

You are correct that I really don’t have time with my other commitments. If you want to fork and make your own go for it. @digitalhigh has done a great job with his overhaul and I am working through it all. I haven’t released as I found a few issues when I built it. I’m working through tidying all that up and then I will release. I appreciate your patience.

3 Likes

Dotnet 6.0 release is almost ready, just got some cleanup to do and to polish up the installer a bit more.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.