Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sage Media Server driver (beta)
so, just checked my system...
I am running SagePlayer driver v2.79
sageserver drive is loaded, and I had it paused for some reason...
so I unpaused it... that was a mistake... my log server instantly turned all red and stuff... that can't be good...
Code:
}
01/04 16:56:14-CQC-MS, CQCServer, CQCDrv_SageServThread8
{
    CQCGenDrvS, CQCGenDrvS_DriverGlue.cpp.1336, Failed/App Status
    CML driver 'SageServ' failed to compile
}
01/04 16:56:14-CQC-MS, CQCServer, CQCDrv_SageServThread8
{
    CQCKit, CQCDriver_DriverBase.cpp.3371, Status/App Status
    Driver SageServ returned failure status on initialization
}
01/04 16:56:24-CQC-MS, CQCServer, CQCDrv_SageServThread8
{
    CQCKit, CQCDriver_DriverBase.cpp.3298, Status/App Status
    Driver 'SageServ' is beginning initialization
}
01/04 16:56:24-CQC-MS, CQCDataSrv, CIDOrbSrvWorkThread_2
{
    CQCDataSrv, CQCDataSrv_FileAccServerImpl.cpp.561, Failed/Not Found, Error: 3007/0/0
    The passed path does not exist
    /Customize/Macros/User/CQC/Macros/Libraries/XML
      <CQCDataSrv> CIDOrb_ThisFacility.cpp - 536
      <CQCServer> CQCRemBrws_DataSrvAccClientProxy.cpp - 183
      <CQCServer> CIDMacroEng_Parser.cpp - 830

}
01/04 16:56:24-CQC-MS, CQCServer, CQCDrv_SageServThread8
{
    CQCKit, CQCMEng_MEngErrHandler.cpp.236, Status/Data Format
    A C++ exception occured during macro parsing
    MEng.User.CQC.Drivers.SageTCP.SageMediaServer.DriverImpl_Dev  Line=24, Col=39)
}
01/04 16:56:24-CQC-MS, CQCDataSrv, CIDOrbSrvWorkThread_2
{
    CQCDataSrv, CQCDataSrv_FileAccServerImpl.cpp.561, Failed/Not Found, Error: 3007/0/0
    The passed path does not exist
    /Customize/Macros/User/CQC/Macros/Libraries/XML
      <CQCDataSrv> CIDOrb_ThisFacility.cpp - 536
      <CQCServer> CQCRemBrws_DataSrvAccClientProxy.cpp - 183
      <CQCServer> CIDMacroEng_Parser.cpp - 830

}
so it does appear that the sagesever does have some issues...

as for the manifest, it is simple, look in C:\Program Files (x86)\CQC\CQCData\DataServer\Manifests\User for SageTCPPlayer_Dev.Manifest, open it in notepad++ (or whatever, it is just text as far as I can tell...)
find this bit:
Code:
      - Define the connection configuration. We don't allow them to edit
      - the configuration, since it must always be this.
      -->
   <CQCCfg:ConnCfg CQCCfg:Editable="False">
       <CQCCfg:IPConn  CQCCfg:Port="9100"
                       CQCCfg:SockProto="SockProto_TCP"/>
   </CQCCfg:ConnCfg>

ignore the part where it says "we don't allow/it must be this" as that is all a viscous lie...
change <CQCCfg:ConnCfg CQCCfg:Editable="False"> to be <CQCCfg:ConnCfg CQCCfg:Editable="True">
and you should be good to go...
probably need to stop & start the CQC service... or something for it to take effect..

as for versions... 2.9 is actually older than 2.79...    2.79 fixed the issue where the driver failed to load on some newer version of CQC (v4.something), 2.9 fixed the port issue (and maybe something else, but never got the fix that was in 2.79... kind of a versioning mess really...
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply
I am a bit confused about the proper sagetv driver i need to use.   Step #1 for me is I want to just control my extenders.  I dont need to pull lists of media at this point.   I tried a few different Sagetv drivers but with each I am either getting serious errors in CQC log or serious errors in the sagetv log.

I was trying to figure out the right version....   Fonceurs tag line it points to  Sage Media Server 1.1.3 + Sage Player 2.7.8.  CQC came with Sage-TCP 1.9.  I am not sure if the 1.9 driver that came with CQC relates to the Sage Media Server 1.1.3 or are they different drivers all together.   I was able to download SageTV-TCP Player in 2.79 and 2.9. Are the 2.79/2.9 drivers the one I want for the extenders?  From past experience, I think so. 

With 2.79 I cant seem to change the port from 9100.  But I get similar errors in 2.79 and 2.9 regardless of the port. I get "A macro parse event occurred',  The method 'DefBindLocal' was not found in class 'StreamSocket''   If I use the 1.9 driver I dont get CQC errors but I get parsing errors in the sagetv log. 

Related errors for each of the three drivers below...  The first two are the CQC error.  Version 1.9 has the parsing error reported by sage.  

2.79 errors
Code:
01/05 20:04:00-IE11Win7, CQCServer, CIDOrbSrvWorkThread_3
{
    CQCServer, CQCServer_DriverCtrl.cpp.147, Status/App Status
    Remote client forcing load of driver. Moniker=sage279_try2. M/M/V=SageTV LLC/SageTV Player(Development)/2.79
}
01/05 20:04:00-IE11Win7, CQCServer, CQCDrv_sage279_try2Thread7
{
    CQCKit, MEng.User.CQC.Drivers.SageTCP.SagePlayer.DriverImpl_Dev.1204, Failed/Data Format
    A macro parse event occured
    The method 'DefBindLocal' was not found in class 'StreamSocket'
}
01/05 20:04:00-IE11Win7, CQCServer, CQCDrv_sage279_try2Thread7
{
    CIDMacroEng, CIDMacroEng_Parser.cpp.2181, Status/App Status, Error: 6505/0/0
    An unrecoverable error occured while parsing
      <CQCServer> CIDMacroEng_Parser.cpp - 830

}
01/05 20:04:00-IE11Win7, CQCServer, CQCDrv_sage279_try2Thread7
{
    CQCKit, CQCMEng_MEngErrHandler.cpp.236, Status/Data Format
    A C++ exception occured during macro parsing
    MEng.User.CQC.Drivers.SageTCP.SagePlayer.DriverImpl_Dev  Line=1204, Col=26)
}
01/05 20:04:00-IE11Win7, CQCServer, CQCDrv_sage279_try2Thread7
{
    CIDMacroEng, CIDMacroEng_Parser.cpp.2181, Status/App Status, Error: 6505/0/0
    An unrecoverable error occured while parsing
      <CQCServer> CIDMacroEng_Parser.cpp - 830
}

2.9 Errors

Code:
01/05 20:32:48-IE11Win7, CQCServer, CIDOrbSrvWorkThread_1
{
    CQCServer, CQCServer_DriverCtrl.cpp.147, Status/App Status
    Remote client forcing load of driver. Moniker=sage29_11pm. M/M/V=SageTV LLC/SageTV Media Player (Development-2.9)/2.9
}
01/05 20:32:48-IE11Win7, CQCServer, CQCDrv_sage29_11pmThread8
{
    CQCKit, MEng.User.CQC.Drivers.SageTCP.SagePlayer.DriverImpl_Dev.1204, Failed/Data Format
    A macro parse event occured
    The method 'DefBindLocal' was not found in class 'StreamSocket'
}
01/05 20:32:48-IE11Win7, CQCServer, CQCDrv_sage29_11pmThread8
{
    CIDMacroEng, CIDMacroEng_Parser.cpp.2181, Status/App Status, Error: 6505/0/0
    An unrecoverable error occured while parsing
      <CQCServer> CIDMacroEng_Parser.cpp - 830

}
01/05 20:32:48-IE11Win7, CQCServer, CQCDrv_sage29_11pmThread8
{
    CQCKit, CQCMEng_MEngErrHandler.cpp.236, Status/Data Format
    A C++ exception occured during macro parsing
    MEng.User.CQC.Drivers.SageTCP.SagePlayer.DriverImpl_Dev  Line=1204, Col=26)
}
01/05 20:32:48-IE11Win7, CQCServer, CQCDrv_sage29_11pmThread8
{
    CIDMacroEng, CIDMacroEng_Parser.cpp.2181, Status/App Status, Error: 6505/0/0
    An unrecoverable error occured while parsing
      <CQCServer> CIDMacroEng_Parser.cpp - 830
}

1.9 Errors from Sagetv Log

Code:
hu 1/5 22:27:34.325 [Thread-94@1f13eb4] [[SageTCPServer-Message]]: Error trying to parse: CON:CON
Thu 1/5 22:27:34.326 [Thread-94@1f13eb4] [[SageTCPServer-(49379)]]: Message received: CON:CON
Thu 1/5 22:27:34.326 [Thread-94@1f13eb4] [[SageTCPServer-(49379)]]: Now 1 incoming message(s) in list.
Thu 1/5 22:27:34.326 [Thread-94@1f13eb4] [[SageTCPServer-(49379)]]: (Processing messages) There is now 1 incoming message.
Thu 1/5 22:27:34.326 [Thread-94@1f13eb4] [[SageTCPServer-(49379)]]: EXCEPTION java.lang.NullPointerException AT sagetcpserver.messages.Message.toString(Message.java:50)

Thu 1/5 22:27:34.327 [Thread-94@1f13eb4] sagetcpserver.SageMedia.processIncomingMessages(SageMedia.java:175)
Thu 1/5 22:27:34.327 [Thread-94@1f13eb4] sagetcpserver.SageMedia.run(SageMedia.java:129)

Thu 1/5 22:28:16.698 [Ministry@92d90a] Ministry is waiting for 180 sec
Rich
Reply
The first two have to be old drivers, since they are failing to compile due to something that was changed some time ago. So an updated version would have to be available if anyone is currently using it on recent CQC versions.
Dean Roddey
Explorans limites defectum
Reply
(01-05-2017, 08:48 PM)personalt Wrote: I am a bit confused about the proper sagetv driver i need to use.   Step #1 for me is I want to just control my extenders.  I dont need to pull lists of media at this point.   I tried a few different Sagetv drivers but with each I am either getting serious errors in CQC log or serious errors in the sagetv log.
2.79 is the correct driver to do what you want. you will have complete control over your extenders with it. assuming you have the SageTCP plugin configured correctly in sage...
here is what I am running on CQC v5.(something, I should upgrade to the latest, just haven't yet...)
[Image: CQC%20Sageplayer%20driver.png]

assuming I actually know how to and correctly created a driver pack, and I am able to figure out the whole attach file thing to this goofy new forum, I will attach the 2_79 driver I am currently using to this post... if that all works, try giving that a shot.. you will need to remove your old 2.79 first as the only thing I did was change editable port to True... it is still 2.79...


Attached Files
.cqcdrvpack   SagePlayer2_79_editable_port.CQCDrvPack (Size: 10.9 KB / Downloads: 2)
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply
(01-06-2017, 04:59 PM)SomeWhatLost Wrote:
(01-05-2017, 08:48 PM)personalt Wrote: I am a bit confused about the proper sagetv driver i need to use.   Step #1 for me is I want to just control my extenders.  I dont need to pull lists of media at this point.   I tried a few different Sagetv drivers but with each I am either getting serious errors in CQC log or serious errors in the sagetv log.
2.79 is the correct driver to do what you want. you will have complete control over your extenders with it. assuming you have the SageTCP plugin configured correctly in sage...
here is what I am running on CQC v5.(something, I should upgrade to the latest, just haven't yet...)
[Image: CQC%20Sageplayer%20driver.png]

assuming I actually know how to and correctly created a driver pack, and I am able to figure out the whole attach file thing to this goofy new forum, I will attach the 2_79 driver I am currently using to this post... if that all works, try giving that a shot.. you will need to remove your old 2.79 first as the only thing I did was change editable port to True... it is still 2.79...


Thanks.. this copy of 2.79 works... The old two sofware releases with the same software version trick.  We do that at work sometimes.   Big Grin  Thanks so much
Rich
Reply
Hey Dean,
any chance we could get the Sageplayer driver I just posted 2 posts up into the official CQC release? the 1.9 diver that is included with cqc does not work anymore with sage, this thread is confusing as to what driver to use, and other than the port editable = true in the manifest, nothing has changed since you last fixed it for the 4.4(something) network issue thingy... so technically it has been stable for years...
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply
OK, I'll try to get it into the next drop.
Dean Roddey
Explorans limites defectum
Reply
Does anyone have this driver working with 5.4.0? I just upgraded and noticed it wasn't working - drivers show as being connected but no data is coming in.
Reply
I haven't used the server driver in quite a while, so it may not work now. The server driver allowed you to see what was currently recording, upcoming recordings, etc.

I do use the SageTV player driver everyday as I have integrated my SageTV extenders into CQC and control them via the driver. The player driver controls the media transport controls and tells you what is currently playing as well.
Brian - a long time user that rarely messes with the system now
Other systems used:
SageTV w/ cablecard tuner & multiple extenders for viewing
BlueIris and IP cameras for CCTV
Incredible PBX for home phone
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  RainMachine Sprinkler Irrigation Controller Driver kblagron 50 5,916 06-01-2020, 01:18 PM
Last Post: Dean Roddey
  Russound MCA-66 on TCP driver lapointe.sc@gmail.com 5 730 05-24-2020, 06:23 AM
Last Post: gReatAutomation
  Samsung SmartTV Driver George M 0 242 05-20-2020, 09:04 AM
Last Post: George M
  OpenWeatherMap Weather Driver Using OneCall API kblagron 11 1,185 05-18-2020, 04:09 AM
Last Post: dlmorgan999
  Tesla Driver Driver kfly 10 1,629 05-08-2020, 08:49 AM
Last Post: gReatAutomation
  JVC D-ILA Driver jokermac 34 6,541 04-13-2020, 01:28 AM
Last Post: Mark Stega
  LIFX Driver bobskie708 15 7,081 01-05-2020, 11:00 AM
Last Post: simplextech
  Universal Devices ISY Insteon Driver wuench 369 182,987 12-28-2019, 05:15 PM
Last Post: simplextech
  RunTimer2 driver rbroders 18 8,699 10-17-2019, 04:38 PM
Last Post: rbroders
  Writing Driver - Varying commands based on checksum gReatAutomation 3 1,123 07-22-2019, 01:08 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)