Comments (5)
We should definietly aim to move. We'll need to rethink the whole WCF approach though, I'm not sure it has made it from framework to core. I've been having a few issues wiht WPF for other apps with .net 6. seemingly random loss of binding, gui just not updating at all etc. This is a very simple application so we may not face too much trouble.
from pmsservice.
We should definietly aim to move. We'll need to rethink the whole WCF approach though, I'm not sure it has made it from framework to core. I've been having a few issues wiht WPF for other apps with .net 6. seemingly random loss of binding, gui just not updating at all etc. This is a very simple application so we may not face too much trouble.
So, I started cracking away at this one, taking in mind one of your previous comments about incorporating a Web UI.
Thus far, I was able to port the PlexService application portion to dotnet 6, and ditch the WCF stuff entirely.
In lieu of WCF, I've added MCV in conjunction with SignalR for websocket support. This way, we can more or less keep the tray application exactly the same, only removing the calls that used WCF and have them use a WebSocket client instead.
I've also got the tray app ported to dotnet 6, but I'm presently getting some issues compiling/running it. But, that's more than likely something dumb I've done. I plan on tinkering with that some more today, hopefully, I can get the tray app up and running and doing basic communication with the service...and then it's just implementing all the various methods on the server-side as I've named them in the client.
from pmsservice.
@cjmurph - One more update...
Got most of the code ported to net6. Wound up going with WPF for the UI in the Tray app, and MCV + SignalR websocket for the server-side.
The client and server both run now and can communicate - I've probably still got some missing methods, but start/stop of Plex works, as does loading/saving settings, and most of the other UI components. Server side should also be running fine.
I could ramble on a bit about it, but I've got a branch with the working changes here:
https://github.com/d8ahazard/PmsService/tree/Net6
Still needs some work yet, but it's a promising proof-of-concept.
from pmsservice.
Good stuff, I'll have a look.
I've used fleck for web sockets in c# before. It's very easy to implement.
from pmsservice.
Good stuff, I'll have a look. I've used fleck for web sockets in c# before. It's very easy to implement.
Just pushed more updates to this branch today...fixed most of the issues, probably created a few new ones. Tested most of the tray functions and verified they're working, had to fix all of the "open this external app" calls to pass the command to explorer, probably because netCore doesn't run the same as netFramework apps...or something.
Still a lot of warnings on compile, I need to test remote log viewing, and I need to add socket pushes for when an aux app's state changes remotely so the UI is updated accordingly.
from pmsservice.
Related Issues (20)
- [Feature Request] Select which components to install HOT 1
- Changing PmsService user account resets PLEX Server HOT 3
- Is it still not possible to use GPU-based media transcoding? HOT 2
- Unable to use Group Managed Service Account as Service Login HOT 8
- Mention location.txt HOT 2
- 404 After manual update HOT 1
- [FR] Add restart plex to context menu
- Will this work with the new Plex x64 version in beta now? HOT 5
- Request: Scheduled restarts HOT 4
- Support for 64-bit Plex Media Server? HOT 4
- Service port in service settings HOT 4
- PMS 64 bit update does not work HOT 42
- Cannot update my settings HOT 7
- PMS Service Blocking WSL, Plex Post Processing HOT 19
- PlexService won't automatically start on server reboot, but manually starts fine HOT 3
- Cannot re-install Plex Service HOT 2
- not playing files HOT 1
- PMS Tray: "Unable to connect to service. Check settings" HOT 10
- Plex Media Server does not appear to be installed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmsservice.