|
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 |
#301
|
||||
|
||||
Quote:
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#302
|
|||
|
|||
dinki,
A couple of things I noticed after I finally updated my comskip.ini file this week. Be sure to verify that the edl file is using 3 at the end after you make your change. I had to update the comskip program to the latest available. I also had to update another plugin (I think it was comskip detector ui) in sage so that it would handle the commercial code properly (the 3s instead of 0s). Apparently they fixed that some time ago and I just never updated to get the latest. I found this note on the edl xbmc wiki page (http://wiki.xbmc.org/index.php?title=Edit_decision_list) "Note: The support for actual .EDL files is currently broken in Gotham 13.x at the least when applied to Recorded TV files. Comskip files (the .txt format only!) should be used as a workaround. Bug #15207" After looking at the bug report, I was seeing this too with the old edl files, but I don't think there is a problem when you use the commercial identifier (3) instead of the cut identifier (0). I had just assumed I was doing something wrong before. I plan on taking a look at the edl advanced settings when I get some time as well. On a somewhat related note, does anyone have a script that will go through and replace all the cut markers (0) with commercial markers (3) in your edl files? I will probably just throw together a quick perl script, but I thought I would ask. |
#303
|
||||
|
||||
@odledm, I did try it with the '3' setting and it appears to work pretty well. So pressing up/down jumps to the start of the program following a marked commercial block?
I would think you could use sed to search for the end-of-line and replace with '3' .. Something like sed 's#0$#3#g' whatever.edl ... Wrap that in a little for loop and done. Haven't tried it yet though. I've tried the live tv this weekend and while it did start playing, I could never get the video to play for more than about 10 seconds before it stopped. Is there a special log file for tracking down the problem or should I just look in the xbmc log? The programs I tried to watch did appear to continue to record in the background. Is this the way it is intended to work? *EDIT* Just did this in a linux shell. You can probably do the same in cygwin: Code:
for file in *edl; do echo "Working on $file"; mv $file $file.t; sed 's#0$#3#g' $file.t > $file; done
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs Last edited by dinki; 08-25-2014 at 09:18 AM. |
#304
|
|||
|
|||
Thanks for the line, I'll pull up cygwin and give it a run when I get home tonight.
Regarding the jump, I believe that's how it works, it will also auto jump the first time through a commercial sequence, once you jump back you will have to force it to jump forward. I believe there are specific commercial forward and back remote codes you can setup in your remotes.xml file. Just take a look at the Wiki when you get some time. Unfortunately my tv is limited with the CEC buttons support so I don't know if I will have 2 to spare for those, it may just be a feature for me when using yatse. We'll see when I get some more time to play with it. |
#305
|
||||
|
||||
Stupid question.
Trying to configure this plugin on another Amzon FireTV. Gotham 13.2 for Android (Arm). When dialog for entering network path of Sage recordings folder appears. The plugin offers no option for direct entry of the server IP etc... If I could enter "smb:\\192.168.1.103\MyRecordings" I would be done. But I can't. And for whatever reason the SageTV box does not appear when I browse the SMB network option from this instance of XBMC (yet from my Win 8.1 box it is there). Yet at some point the Sage Box must have been visible to XBMC on Android because my other FireTV has the path entered as SMB:\\PVRBACKEND\MyRecordings I realize this is likely a windows or XBMC android issue...but I thought I'd ask here first. Any chance you can add 'Enter Server Address' option to the Add On configuration dialog when asking for the recordings network path. For those of us who don't want to get mired in Windows 7 terrible networking dialogs. |
#306
|
|||
|
|||
Quote:
/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.sagetv/default.py): instantiating addon using automatically obtained id of "plugin.video.sagetv" dependent on version 2.1.0 of the xbmc.python api 11:28:22 T:1576013288 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ImportError'> Error Contents: No module named simplejson Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.sagetv/default.py", line 14, in <module> import simplejson as _json ImportError: No module named simplejson -->End of Python script error report<-- 11:28:22 T:1576013288 INFO: Python script stopped Can anyone tell me how to install simplejson on the FireTV? (Or if I'm completely wrong about what I need to do, give me the correct path.) Thanks, Brian |
#307
|
|||
|
|||
Quote:
Works now. |
#308
|
|||
|
|||
So I purchased a FireTV and loaded SPMC 14.1 (a variant of the Kodi Helix 14.1) and am running into a similar problem as the others with the error log below. I installed simpleJSON but that doesn't seem to have resolved anything. The sagetv addon still says xbmc all over the place, does this require any updates to run on Kodi Helix? Any help is appreciated.
Error log 17:59:46 T:1548823448 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sagetv/) 17:59:46 T:1548823448 DEBUG: ParentPath = [addons://sources/video/] 17:59:46 T:1699398848 DEBUG: bool XFILE::CPluginDirectory::StartScript(const string&, bool) - calling plugin SageTV('plugin://plugin.video.sagetv/','3','') 17:59:46 T:1699398848 DEBUG: bool XFILE::CPluginDirectory::WaitOnScriptResult(const string&, int, const string&, bool) - waiting on the SageTV (id=2) plugin... 17:59:46 T:1577058816 NOTICE: Thread LanguageInvoker start, auto delete: false 17:59:46 T:1577058816 INFO: initializing python engine. 17:59:46 T:1577058816 DEBUG: CPythonInvoker(2, /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py): start processing 17:59:46 T:1577058816 NOTICE: -->Python Interpreter Initialized<-- 17:59:46 T:1577058816 DEBUG: CPythonInvoker(2, /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py): the source file to load is "/storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py" 17:59:46 T:1577058816 DEBUG: CPythonInvoker(2, /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py): setting the Python path to /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv:/:/data/app/com.semperpax.spmc-1.apk/assets/python2.6/lib/python26.zip:/data/app/com.semperpax.spmc-1.apk/assets/python2.6/lib/python2.6:/data/app/com.semperpax.spmc-1.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/com.semperpax.spmc-1.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/com.semperpax.spmc-1.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/com.semperpax.spmc-1.apk/assets/python2.6/lib/python2.6/lib-dynload 17:59:46 T:1577058816 DEBUG: CPythonInvoker(2, /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py): entering source directory /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv 17:59:46 T:1577058816 DEBUG: CPythonInvoker(2, /storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py): instantiating addon using automatically obtained id of "plugin.video.sagetv" dependent on version 2.1.0 of the xbmc.python api 17:59:46 T:1577058816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ImportError'> Error Contents: No module named simplejson Traceback (most recent call last): File "/storage/emulated/0/Android/data/com.semperpax.spmc/files/.spmc/addons/plugin.video.sagetv/default.py", line 14, in <module> import simplejson as _json ImportError: No module named simplejson -->End of Python script error report<-- 17:59:46 T:1577058816 INFO: Python script stopped 17:59:46 T:1577058816 DEBUG: Thread LanguageInvoker 1577058816 terminating 17:59:46 T:1699398848 DEBUG: bool XFILE::CPluginDirectory::WaitOnScriptResult(const string&, int, const string&, bool) - plugin exited prematurely - terminating 17:59:46 T:1548823448 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting plugin://plugin.video.sagetv/ 17:59:46 T:1548823448 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sagetv/) failed 17:59:46 T:1548823448 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/) 17:59:46 T:1548823448 DEBUG: ParentPath = [addons://sources/] 17:59:46 T:1660178840 NOTICE: Thread BackgroundLoader start, auto delete: false 17:59:46 T:1660178840 DEBUG: Thread BackgroundLoader 1660178840 terminating 17:59:52 T:1548823448 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------ 17:59:56 T:1548823448 INFO: Python, unloading python shared library because no scripts are running anymore 17:59:56 T:1548823448 DEBUG: void XBPython::UnloadExtensionLibs(), clearing python extension libraries 18:00:16 T:1699398848 DEBUG: Thread JobWorker 1699398848 terminating (autodelete) 18:00:16 T:1572532384 DEBUG: Thread JobWorker 1572532384 terminating (autodelete) |
#309
|
|||
|
|||
So I finally got mine working. I had to add the following to the addon.xml under requires:
<import addon="script.module.simplejson" version="2.0.10" optional="true"/> And of course had to have simplejson installed. After changing and restarting kodi 14.1 on aftv it worked. For whatever reason it was not as easy on my spmc 14.1 install. for that I had to modify the addon.xml in the installation package and install from that new zip file. I'm not sure why I had to do that and everyone else's just seemed to work but so be it. SPMC 14.1 has some experimental deinterlacing so I really wanted to get that build working. I will say that SPMC seems to be quicker all around compared to kodi 14.1. If you are having deinterlacing issues on the firetv you may want to give it a try. |
#310
|
|||
|
|||
Live TV won't play and art won't download
Thanks for developing this addon! Needing a new front-end but not wanting to give up SageTV this has been quite helpful. Got through most of the installation and config already, hit the common issues in this thread and corrected them.
Working: - recordings shown, can play them - the "Browse airings by time" list populates properly, and I can tell it to record a show from this list. But I can't play live TV using the browse airings menu. I see the airings, but they won't play. Quote:
Earlier log entries show other files (from recordings) playing using identically-structured smb://NAS/... paths. Not sure what else to do for this one. Any suggestions? Last edited by crl; 03-02-2015 at 11:54 AM. Reason: put log into quote block |
#311
|
|||
|
|||
Quote:
BTW, it would be great if the authors could update the plugin, as I think this explicit dependency in the addons.xml file is now required. Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#312
|
||||
|
||||
Unfortunately I left Sage long ago for other PVR backends to work with Kodi. I am currently using Argus TV and TVheadend. I am not sure about LehighBri. I'll be keeping an eye on the Opensource Sage movement and return if it is viable for me to switch back.
Last edited by kricker; 07-22-2015 at 09:49 AM. |
#313
|
|||
|
|||
Quote:
Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#314
|
|||
|
|||
Quote:
Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#315
|
|||
|
|||
Quote:
I've obtained the 2.0.10 json zip but for some reason when I point my add-on zip installer to it, it says it can't install it. Or that's what I think the error bubble is saying before it times out and disappears. There is a line in the log: ERROR: CaddonInstalljob[script.module.simplejson]: The dependency on xbmc.python version 2.0 could not be satisfied I haven't touched the .xml add-on edit yet. Which addon.xml are we editing in which folder?? Can you review how exactly you were able to add the json dependency? EDIT: Figured it out. Got simplejson to install by finding a newer version zip, 3.30. Had to edit the addon.xml within the plugins folder in Android/data/com.*** for both SPMC as well as Kodi.
__________________
Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired) Clients: Nvidia Shield Android miniclient Last edited by waylo; 03-20-2016 at 03:15 PM. |
#316
|
|||
|
|||
I've just started looking at this plugin again after years. It seems to do everything except let me watch videos. I get an error that tells me to check the log. I don't see anything in the KODI log.
__________________
ASRock B450M Pro4 AM4 MB, Ryzen 5 2600 3.4ghz, Crucial Ballistix Gaming 32GB (2 x 16GB) DDR4-3200, EVGA GT 1030SC, WD Black NVMe SSD 250GB, 1x WD120EFAX 12TB, 1x WD80EFAX 8TB, 1x WDBH2D0040HNC 4TB, USB-UIRT, Colossus 2, WinTV-DualHD USB, Windows 11 64bit |
#317
|
|||
|
|||
What version of Java are you on? It doesn't work beyond Java 7.
|
#318
|
|||
|
|||
Java 1.80221
__________________
ASRock B450M Pro4 AM4 MB, Ryzen 5 2600 3.4ghz, Crucial Ballistix Gaming 32GB (2 x 16GB) DDR4-3200, EVGA GT 1030SC, WD Black NVMe SSD 250GB, 1x WD120EFAX 12TB, 1x WD80EFAX 8TB, 1x WDBH2D0040HNC 4TB, USB-UIRT, Colossus 2, WinTV-DualHD USB, Windows 11 64bit |
#319
|
|||
|
|||
You'd need to roll back to 1.7 if you want to use it. See https://forums.sagetv.com/forums/sho...3&postcount=70
Last edited by oldfolkie; 09-22-2019 at 08:34 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV vs. XBMC MediaStream UI? | SørenBM | SageMC Custom Interface | 2 | 03-07-2009 02:29 PM |
MyMovies type of addon for SageTV? | Sizam | SageTV Customizations | 3 | 07-07-2008 04:24 PM |
Ultimate music addon for SageTV? www.pandora.com | mkanet | SageTV Customizations | 13 | 02-19-2006 03:27 AM |
Is there an internal (or addon) SageTV command which rew/ff like an old VCR? | mkanet | SageTV Software | 1 | 08-25-2005 02:42 PM |