I started doing testing against my production server running NPVR 4.2.4.190307. And it's not automatically skipping the commercials. Looking at the kodi.log, the substitution to get the media via file share rather than http is now failing (presumably because of the new encoding):
Code:
2019-04-07 09:37:07.421 T:1414513520 DEBUG: http://192.168.143.10:8866/activity?format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:07.430 T:1414513520 DEBUG: {u'needsRendering': False}
2019-04-07 09:37:07.583 T:1860170608 DEBUG: LIRC: - NEW cf 0 KEY_PLAY devinput (KEY_PLAY)
2019-04-07 09:37:07.589 T:1937149968 DEBUG: HandleKey: homepage (0xea) pressed, action is PlayPause
2019-04-07 09:37:07.590 T:1422906224 DEBUG: False
2019-04-07 09:37:07.593 T:1422906224 DEBUG: http://192.168.143.10:8866/control?time=1554647827&key=131152&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:07.997 T:1422906224 DEBUG: http://192.168.143.10:8866/activity?format=json&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:08.016 T:1422906224 DEBUG: {u'recording_title': u'Fresh Off the Boat', u'recording_description': u"Jessica starts her college classes, leaving Evan in charge at home; Eddie and Louis run into conflict when Eddie just wants his dad to treat him as an employee, and not a son, at Cattleman's Ranch.", u'url': u'/stream?client=sdl-KNEW50xb827ebd2d752&f=E%3A%5CNPVR%20Recordings2%5CFresh%20Off%20the%20Boat%5CFresh%20Off%20the%20Boat.S05E19.Vice%20Mommy.ts', u'screen': u'Recordings', u'recording_name': u'Fresh Off the Boat', u'file': u'E:\\NPVR Recordings2\\Fresh Off the Boat\\Fresh Off the Boat.S05E19.Vice Mommy.ts', u'recording_id': u'285222', u'recording_subtitle': u'Vice Mommy', u'recording_duration': u'2152'}
2019-04-07 09:37:08.060 T:1422906224 DEBUG: True
2019-04-07 09:37:08.063 T:1112601456 DEBUG: #XBMCPlayer#
2019-04-07 09:37:08.063 T:1112601456 DEBUG: started player
2019-04-07 09:37:08.091 T:1112601456 DEBUG: E%3A%5CNPVR%20Recordings2%5CFresh%20Off%20the%20Boat%5CFresh%20Off%20the%20Boat.S05E19.Vice%20Mommy.ts
2019-04-07 09:37:08.091 T:1112601456 DEBUG: not found
2019-04-07 09:37:08.094 T:1112601456 DEBUG: /live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:08.099 T:1112601456 DEBUG: Playing http://192.168.143.10:8866/live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:08.100 T:1112601456 DEBUG: player started
2019-04-07 09:37:08.100 T:1112601456 DEBUG: entering loop
2019-04-07 09:37:08.113 T:1937149968 INFO: easy_acquire - Created session to http://192.168.143.10
2019-04-07 09:37:08.120 T:1937149968 DEBUG: CCurlFile::GetMimeType - http://192.168.143.10:8866/live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c -> video/MP2T
2019-04-07 09:37:08.136 T:1937149968 DEBUG: CPlayerCoreFactory::GetPlayers(http://192.168.143.10:8866/live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c)
2019-04-07 09:37:08.136 T:1937149968 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
2019-04-07 09:37:08.136 T:1937149968 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
I'm going to try playing around with various substitutions to see if I can get it match and use the share.
OK, I don't know if you want all these in separate threads or just one big thread of testing problems, let me know. I just got 2.6.1 on my Windows machine, and it wasn't launching. Different error than my issue on OSX, so I downloaded 2.6.1 on my Mac, fixed the os.uname() thing, and got the same error I'm getting on my Windows machine.
Code:
2019-04-06 16:59:29.121 T:123145568337920 DEBUG: EXCEPTION: : Traceback (most recent call last):
File "/Users/pkscout/Library/Application Support/Kodi/addons/script.kodi.knew4v5/default.py", line 45, in <module>
my_settings = XNEWA_Settings()
File "/Users/pkscout/Library/Application Support/Kodi/addons/script.kodi.knew4v5/resources/src/XNEWA_Settings.py", line 54, in __init__
self.loadFromSettingsXML()
File "/Users/pkscout/Library/Application Support/Kodi/addons/script.kodi.knew4v5/resources/src/XNEWA_Settings.py", line 81, in loadFromSettingsXML
self.XNEWA_PREBUFFER = addon.getSetting("prebuffer") // 4
TypeError: unsupported operand type(s) for //: 'str' and 'int'
I fixed the error by changing lines 81 and 82 of XNEWA_Settings.py to read:
I honestly don't know if that's the best way to handle that, but it is consistent with what you were doing with converting other settings to ints. If you keep generating errors this fast I won't ever get around to testing on OSMC. '-)
I decided to give the new client a quick whirl, and even after migrating all my settings it wouldn't launch. Here's the error I got in the log:
Code:
2019-04-06 16:36:43.205 T:123145568874496 DEBUG: Reading Settings.xml
2019-04-06 16:36:43.217 T:123145568874496 DEBUG: EXCEPTION: : Traceback (most recent call last):
File "/Users/pkscout/Library/Application Support/Kodi/addons/script.kodi.knew4v5/default.py", line 45, in <module>
my_settings = XNEWA_Settings()
File "/Users/pkscout/Library/Application Support/Kodi/addons/script.kodi.knew4v5/resources/src/XNEWA_Settings.py", line 41, in __init__
xbmc.log(os.uname())
TypeError: argument 1 must be string, not tuple
It looks like you're trying to log some uname information, but I think the log call on line 41 of XNEWA_Settings.py needs to be xbmc.log(os.uname()[4]) instead of xbmc.log(os.uname()) . When I changed it (or remarked out the log line), it works fine on OSX. Haven't tried with Windows or my OSMC boxes yet. That's up next.
I got the client to install. And I think that I configured it correctly. But I can't remember what my PIN is. Does the client use that when it is on the local network?
When I try to run it, it errors out. Which might be because of the PIN. But the kodi.log shows:
Code:
2019-04-06 19:56:34.777 T:1937412112 DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
2019-04-06 19:56:34.824 T:1157624688 DEBUG: /storage/.kodi/addons/script.kodi.knew4v5
2019-04-06 19:56:34.825 T:1157624688 DEBUG: ['/storage/.kodi/addons/script.kodi.knew4v5/resources/src', '/storage/.kodi/addons/script.kodi.knew4v5/resources/lib', '', '/storage/.kodi/addons/script.kodi.knew4v5', '/storage/.kodi/addons/script.module.dateutil/lib', '/storage/.kodi/addons/script.module.future/libs', '/storage/.kodi/addons/script.module.kodi-six/libs', '/storage/.kodi/addons/script.module.six/lib', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0', u'/storage/.kodi/addons/script.module.future/libs/future/standard_library/Lib']
2019-04-06 19:56:34.832 T:1157624688 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 lib2to3.pgen2.parse
Traceback (most recent call last):
File "/storage/.kodi/addons/script.kodi.knew4v5/default.py", line 35, in <module>
from nextpvr.home import HomeWindow
File "/storage/.kodi/addons/script.kodi.knew4v5/resources/src/nextpvr/home.py", line 22, in <module>
from past.utils import old_div
File "/storage/.kodi/addons/script.module.future/libs/past/__init__.py", line 88, in <module>
from past.translation import install_hooks as autotranslate
File "/storage/.kodi/addons/script.module.future/libs/past/translation/__init__.py", line 41, in <module>
from lib2to3.pgen2.parse import ParseError
ImportError: No module named lib2to3.pgen2.parse
-->End of Python script error report<--
2019-04-06 19:56:34.832 T:1157624688 DEBUG: onExecutionDone(157, /storage/.kodi/addons/script.kodi.knew4v5/default.py)
2019-04-06 19:56:34.832 T:1937412112 DEBUG: ------ Window Init (DialogNotification.xml) ------
2019-04-06 19:56:35.101 T:1157624688 INFO: Python interpreter stopped
So I'm guessing that I may be missing a dependency (lib2to3)?
I'll try a couple more things and then shut everything down and restart to get a set of clean logs to upload.
Hi All
I recently added a Colossus to my setup fed by a Virgin Media Tivo through a splitter. It started out performing well but over the past couple of weeks some recordings have been losing audio. It drops out at some random point in the recording and it doesn't come back - no glitching, it just stops. The programme will continue to play with video only and it's definitely lost in the recording as opposed to just on playback. I have checked the obvious things: replaced HDMI cables; rebooted everything; but it is still happening seemingly at random.
Obviously there is a chance it's the Tivo or splitter but I reckon it's the Colossus as when we had two recordings on the same channel separated by a 15 minute gap the first lost the audio but it was back from the start of the second and nothing had happened to the Tivo or splitter in between other than a channel blast but no channel change. When we had two recordings on the same channel without a gap and the first lost it's audio it was not there from the start of the (overlapping) second.
Has anybody had anything like this? Could it simply be a faulty Hauppauge card?
Cheers for any thoughts.
Something I've come to like on my DirecTV receiver is the 'Last 4 Channels' list - I can jump directly to any of the channels I've watched, without having to go through the Guide to get to them.
Sub, a users sent me an m3u file from his satellite receiver and I imported it and NextPVR imports it with transcoding URL's If I want to change this to mpegts is removing the transcoding markup enough for it to maintain any limit?
Code:
update channel_mapping
set service_type = 25,
tuning = replace(tuning,'<transcode>true</transcode>','')
The new multi-platform NextPVR v5 is progressing well. At this stage I've only got a few guys helping me out with testing, and I'd like to get a wider pool of people using it.
NextPVR v5 works on Windows, Linux (x64 and Arm32 at this stage) and Mac. It is also available as a docker container, which should be usable in environments like on a NAS, or LibreELEC etc. The app currently comes as the backend recording service, and a web app. The nextpvr.exe UI will also be supplied in the near future for Windows users. For now users can interact with it using the web app, or Kodi, or the existing NextPVR iOS/Android apps, or nlite.exe.
Ideally you'll have an account on the forum which is at least 6 months old with a few posts to your name (so not a new user), and be somewhat technical (comfortable with the basics of Linux and/or Docker etc, can unzip stuff, set environment variables etc). If you're interested in helping out, send me a PM to let me know, along with some summary info (like devices you're using, and maybe what platforms you're hoping to test it on).
If you're wanting to test v5 in hopes of fixing some issues you have with NextPVR v4, then this isn't for you - NextPVR v4 is definitely the most stable version. NextPVR v5 is very much a work in progress. In the near future we'll do a public beta, when I'm happy with stability, so anyone can test it.
Hello everyone,
Just got the call from mom stating she deleted a recording by mistake. Is there a way of recovering deleted recordings? I do not think so.
Please let me know.
Thank you for your time.
I've been using comskip forever to mark the commercials. I often times use plex to view my recordings and I'd like to avoid commercials there too. Comskip is good enough that I'd like to automate the commercial removal, but I'd like to keep the correct file structure, metadata or whatever is needed so Nextpvr still works correctly just using the new commercial free files.
Is there something I can add to the PostProcessing.bat file to just remove commercials and re-encode if needed. I searched a bit but most of the post were older.