Charmed Quark Systems, Ltd. - Support Forums and Community
Sage Media Server driver (beta) - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Driver Development (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=13)
+--- Thread: Sage Media Server driver (beta) (/showthread.php?tid=5497)



RE: Sage Media Server driver (beta) - SomeWhatLost - 01-04-2017

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...


Which driver is right driver - fatal parsing errors - personalt - 01-05-2017

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



RE: Sage Media Server driver (beta) - Dean Roddey - 01-06-2017

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.


RE: Which driver is right driver - fatal parsing errors - SomeWhatLost - 01-06-2017

(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...


RE: Which driver is right driver - fatal parsing errors - personalt - 01-06-2017

(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


RE: Sage Media Server driver (beta) - SomeWhatLost - 01-06-2017

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...


RE: Sage Media Server driver (beta) - Dean Roddey - 01-06-2017

OK, I'll try to get it into the next drop.


RE: Sage Media Server driver (beta) - daddyd - 07-26-2020

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.


RE: Sage Media Server driver (beta) - sic0048 - 07-26-2020

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.