|
SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
Jeff, 2 more "feature" enhancements for System Messages API
1. IsSystemMessage(object): This would be handy for my object serializers. Currrently is uses the IsMediaFile(), IsChannel(), etc, but I can't actually serialize the SystemMessages because I can test for them. Actually any time you add a new object type, it would be handy to add the Is"ObjectType" api, so that I can update the serializers (xml & json) to include that object type. 2. GetSystemMessageVariableNames(object): I can get variables by "name", but there is no way to tell what variables are stored against the SystemMessage. This would be handy for me, because when I display the system messages, i'd like to also display the variables are stored with the message. In my case, for bmt, I can use the variables as a means to better organize the message, showing things such as the query details.
__________________
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 |
#42
|
||||
|
||||
Is there a way to that the capture card system message failure could trigger a batch file or something that could automatically power cycle a capture card device, such as a HD-PVR or HDHomerun failure?
Dave |
#43
|
||||
|
||||
Quote:
This program is rather crude, but it does let you run a program to reset the HD-PVR.
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT. |
#44
|
||||
|
||||
Quote:
Currently for system messages I had to come up with my own system for determining a unique ID for a message based on message code and timestamps, then on subsequent HTTP requests I have to loop over the array returned by GetSystemMessages() to find the message I'm looking for. Not exactly ideal. SeriesInfo looks like it could be a problem as well because I have two series with the same name. Hopefully I'll find another property I can append to determine uniqueness. Thanks, Jason
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#45
|
|||
|
|||
I'm with jreichen. I also had to do the same kind of thing in SJQ. I ended up creating keys for all system messages based on the md5 hash of the concatenation of the message text and the timestamp of the message. The possible downfall of my approach is that it assumes that more than one instance of the same system message can never be generated at the exact same time. To date, this assumption has held true and I've had no problems (knock on wood).
In case anyone wants to know exactly what I'm doing, here's the util class I created to generate unique keys for system messages and to find a system message based on the unique key: http://code.google.com/p/sagetv-addo...sageUtils.java I agree with jreichen that the Sage API itself should be providing these kinds of services.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PlaceShifter Functionality | shhas | SageTV Placeshifter | 2 | 04-29-2006 04:43 AM |
has this functionality been added? | JPW | SageTV Beta Test Software | 19 | 04-24-2004 07:11 AM |
Does this functionality currently exist? | newbie21 | SageTV Software | 7 | 01-27-2004 10:56 AM |