![]() |
|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
The biggest issue is the sage MediaFile is not serializable, which is why I am converting that to an Integer before passing those events around ( Also the SystemMessages if I recall correctly is not serializable). I think using the native sageAPI call from java, you can specify a remote client/server to execute a command, so you could make a plugin to call the event post on a remote system, but that would still mean pretty much writing a plugin to do all that work. I had used JMS because that remote call didn't exist at the time and I use it at work, so figured it was the way to go...
Thanks, Jeff |
#22
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#23
|
|||
|
|||
What jms software do you usually use? I usually use the one in Glassfish at work, but decided to use the Apache ActiveMQ.
Thanks, Jeff |
#24
|
||||
|
||||
When I implement it i'll probably just use the ActiveMQ libraries that you've added to the repository. I don't see any point in adding a different implementation. At work, we use WebSphere so that's not an option here (nor would I want it to be).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#25
|
||||
|
||||
Thanks to jphipps I've been successfully using OrtusMQ to happily pass around messages (including serializable objects) between the sage server and SageClients. The package is very easy to use and has been very reliable. I'd highly recommend it to anybody needing this functionality.
I've written a class that builds on OrtusMQ which allows clients to invoke methods on the server and return the results back to the client. If anybody is interested in using it just let me know. Thanks jphipps!
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#26
|
|||
|
|||
Glad it is working well for you.. I have to submit an update for the ortus-mq module to fix a small bug I found and that new async event logic we discussed, so you want me to include those class as part of the plugin?
Thanks, Jeff |
#27
|
||||
|
||||
Jeff,
Feel free to edit what I sent you and include them. If I make changes or find bugs I'll let you know. Also, you may want to update the manifest with the log4j dependency. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
most common cause of communication problems? | tvmaster2 | SageTV Media Extender | 9 | 04-19-2010 10:46 AM |
Sage losing communication with HDPVRs | srothwell | Hardware Support | 5 | 03-18-2010 09:59 AM |
Developing STV for Client and CLient on Server machine | antplugger | SageTV Studio | 2 | 03-30-2006 05:09 PM |
SageClient server communication | dZeus | SageTV Studio | 2 | 01-06-2006 05:50 PM |
W/PVR250 in client can client remote control server? | mdmint | General Discussion | 8 | 05-01-2004 07:33 PM |