|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1621
|
|||
|
|||
I don't see anything in here that indicates a problem but here's my log if anyone wants to take a look. The task I'm trying to run is "DELKOCONEWS"
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1622
|
|||
|
|||
I wish I could figure out why this isn't working. Until/if I can get SJQ working I've figured out a hacky alternative solution. I created a custom sage-x function that does the same thing I want to accomplish and then I put a Python script that makes a http request in unRAID's cron.daily folder.
More complicated than it really should be but it works.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1623
|
||||
|
||||
Quote:
I would just set the keep at most to 2 or 3 and allow delete to Yes. Then Sage will record every episode but only keep the 2 or 3 most recent and automatically delete anything older.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#1624
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1625
|
||||
|
||||
Is this still functional on Sage V9, and if so, is there a user's guide available somewhere, or a clarification on how to donate to get full use?
|
#1626
|
|||
|
|||
It works under v9 fine. There is no need to have a license to "unlock" full functionality, (the license plugin was updated a while ago to not need a key). For setup I do it manually based on notes these days. What are you trying to do?
__________________
Home Network: https://karylstein.com/technology.html |
#1627
|
|||
|
|||
Quote:
However that might be missing screenshots.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#1628
|
||||
|
||||
Quote:
http://localhost:40511/stop (for HDPVR1) http://localhost:40512/stop (for HDPVR2) What little programming I've done was Visual Basic in the early 2000's, so the groovy script may be somewhat of a challenge. |
#1629
|
||||
|
||||
This is how I used to deal with the 360's when I was using an HD-PVR to record from them. I had this script running as a SJQ cron job every 15 minutes to turn them on early if there was an upcoming recording and turn them off if nothing was recording next. It ran a batch file to turn everything on or off. I hope it may provide you with some inspiration.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#1630
|
||||
|
||||
Quote:
|
#1631
|
||||
|
||||
The box would come to life immediately and you would need to wait for it to start up before you would see your channel. I was using the executable tuning plugin, so it ran a batch file that would turn the box on and wait for it to respond before sending the channel.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#1632
|
||||
|
||||
Do you still have the batch files, ENE?
|
#1633
|
|||
|
|||
Looking for help
Is there anyone who can help me with setting up a windows service client for SJQ4 correctly?
I have a fully working SJQ4 environment for comskip using the Task Client plugin. I am trying to move the client tasks to a windows service client in anticipation of moving the server to another machine. I am using the same scripts and client configurations but service client always skips the task. The log for the test script indicates an invalid environment was passed to the script. The server agent log indicates it cant find the file although the path it references is good. I have tried running the service under Local System and my user account but the error is the same. Does the service client require any additional setup on the server? Do i have to change the groovy scrips in some way when used with the service client? Any help or suggestions will be gratefully received. |
#1634
|
|||
|
|||
Another SJQ question
I have another SJQ question that might be easier for someone to answer...
I have a task agent running on a windows machine and the main Sage server with SJQ running on a linux machine. They work as expected when the linux firewall (ufw) is off but not when it is on. I have tried opening the ports as listed in the Sage manual but dont know if SJQ needs any additional ports opened. Note the task does get queued and run but the status is "Failed". The log from the executable indicates the remote API is not functioning and references the server IP address and port 1098 however opening this port does not help. Any ideas? Thanks |
#1635
|
||||
|
||||
anyone still using SJQ4?
Noticed I started having issues with manually queued compression scripts recently. While things work fine for the ones queued after recordings are finished (via RecordingStopped on the Favorite), the ones I add through the "Assign SJQ Tasks" dialog button fail because not all the SQ4_METADATA variables are present and return NULL according to the logs. Very strange. Edit: pretty sure I'm speaking to myself at this point. Think I may have figured it out and it was to do with what type of file SJQ and SageTV thinks it is. Basically the ones added to the queue by the recording engine are typed (SJQ4_TYPE) as "MediaFile" while those added manually i.e. the ones that are all failing, are typed as "Airing". Airing is a completely different set of APIs (i.e. GetMediaTitle vs GetAiringTitle) so I'm thinking the SJQ4 variables my script relies upon are not being set. So I have to figure out an alternative to get the paths etc. At least I hope that's what's going on. Last edited by phelme; 06-26-2021 at 05:15 PM. |
#1636
|
|||
|
|||
My SJQ tasks stopped running and I'm trying to troubleshoot the issue. I've determined that Comskip works by manually running it, so now it looks like SJQ is not running the tasks when queued or when events occur.
So far I've uninstalled/reinstalled SJQ, SJQ UI, and SJQ Task Client and the issue remains. Does anyone know where to look for logs from SJQ? |
#1637
|
|||
|
|||
Quote:
K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#1638
|
|||
|
|||
Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#1639
|
|||
|
|||
Thanks to Justin, I found the logs and it looks like the sage events are being handled, but whenever SJQ tries to run it seems to be hitting a runtime exception related to the database. Here are the log messages:
Code:
2022-02-17 07:00:00,590 INFO [TaskQueue]: Scheduling queue processor for ~8 seconds from now! 2022-02-17 07:00:03,061 INFO [Plugin]: Event received: RecordingStopped 2022-02-17 07:00:08,590 INFO [TaskQueue]: Running queue processor now! 2022-02-17 07:00:08,590 INFO [TaskQueue]: Enforcing licensing restrictions... license is valid! 2022-02-17 07:00:08,591 ERROR [DataStore]: SQL Error org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[111] data leaf table:67 entries:6 parent:500 keys:[4355, 4357, 4359, 4361, 4363, 4365] offsets:[1870, 1668, 1533, 1355, 1153, 1018] parent 500 expected 39" [50000-145] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327) at org.h2.message.DbException.get(DbException.java:156) at org.h2.message.DbException.convert(DbException.java:279) at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:186) at org.h2.server.TcpServerThread.run(TcpServerThread.java:139) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: page[111] data leaf table:67 entries:6 parent:500 keys:[4355, 4357, 4359, 4361, 4363, 4365] offsets:[1870, 1668, 1533, 1355, 1153, 1018] parent 500 expected 39 at org.h2.message.DbException.throwInternalError(DbException.java:226) at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:233) at org.h2.index.PageDataNode.getNextPage(PageDataNode.java:226) at org.h2.index.PageDataLeaf.getNextPage(PageDataLeaf.java:389) at org.h2.index.PageDataCursor.nextRow(PageDataCursor.java:90) at org.h2.index.PageDataCursor.next(PageDataCursor.java:49) at org.h2.index.IndexCursor.next(IndexCursor.java:222) at org.h2.table.TableFilter.next(TableFilter.java:341) at org.h2.command.dml.Select.queryFlat(Select.java:498) at org.h2.command.dml.Select.queryWithoutCache(Select.java:597) at org.h2.command.dml.Query.query(Query.java:257) at org.h2.command.dml.Query.query(Query.java:227) at org.h2.command.CommandContainer.query(CommandContainer.java:78) at org.h2.command.Command.executeQuery(Command.java:132) at org.h2.server.TcpServerThread.process(TcpServerThread.java:278) at org.h2.server.TcpServerThread.run(TcpServerThread.java:137) ... 1 more at org.h2.engine.SessionRemote.done(SessionRemote.java:543) at org.h2.command.CommandRemote.executeQuery(CommandRemote.java:152) at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:77) at com.google.code.sagetvaddons.sjq.server.DataStore.getPendingTasks(DataStore.java:556) at com.google.code.sagetvaddons.sjq.server.TaskQueue$QueueProcessor.run(TaskQueue.java:98) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) |
#1640
|
|||
|
|||
No, the SJQ, SJQ Task Agent, and SJQ UI plugins all uninstalled and re-installed successfully.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
SJQv4: Technology Preview | Slugger | SageTV v7 Customizations | 39 | 12-17-2010 01:17 PM |
SageTV Plugin Developers: Any way to see stats for your plugin? | mkanet | SageTV Software | 4 | 12-12-2010 10:33 PM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
SJQv4: Design Discussion | Slugger | SageTV v7 Customizations | 26 | 10-18-2010 08:22 AM |