I upgraded my bare metal Linux Mint to to the latest version 5.2.7.220410 and I am experiencing a couple of issues I did not see before the upgrade.
1. I am using Kodi 19.3 on a Firestick as the fromt end. When I have All Channels selected, I see a duplicate channel for all channels in the guide. My first channel is 7.1 WSAWDT and the second channel has the exact same entry. The rest of the channels are that way too. If I switch to the HDHomeRun Channels in Lodi, I see the channels as they used to be before the upgrade...only one entry per channel.
2. After goin to the guide, I select a show to watch live, when I click on Switch to watch the channel live, it takes about 20 seconds before the show starts, it used to take 3-5 seconds.
I've updated to the latest build. But I was seeing this issue with the prior build as well. Also running the latest NLite (3/2).
If I try to play a live recording from NLite (client machine), I get a blank screen. The progress bar appears, then disappears on timeout. I can still exit the playback from NLite.
I'm using the DVB EPG from UK Freeview, and have noticed that while for many/most shows any series+episode numbering contained in the programme's description is identified and extracted into "proper" episode numbering - there are quite a lot of shows where this is not happening even though the relevant information *is* in the description.
Based on which are and aren't, it looks like just a case of slightly differing formats and I'm hoping that the appropriate regex (I'm assuming that's how it's done) can be updated/refined in a future version to handle these additional cases...
Example working formats: "...(S1 Ep1/8)..." & "...(S1 Ep1)..." & "...S1 Ep1"
Example formats not being recognised:
"...(S1 Ep 1)..." - e.g. used by '5USA' channel
"...(S1, ep 1)..." - e.g. used by 'Pick' & 'Sky Arts' channels
"...S1, ep 1/8..." - e.g. used by 'Forces TV' channel (at least 1 series but not sure if it's common - just found it when I searched on "S1," to find examples!)
It may just be the space before the episode number throwing it off (only factor common to them all), though the comma after the series number &/or the lowercase "ep" might also need checking! (If it isn't simply this difference in formats, I'm happy to provide fuller source data or whatever else might be needed for diagnosis.)
Thanks,
Steve
P.S. - there's also lots and lots of programmes (e.g. most BBC series) that only have episode numbers but no series info, where the description starts (e.g.) "1/8. Blah blah..."
Obviously without any series data I'm not sure it makes sense to pull out the numbering data in these cases - but I wonder if using this to create a *subtitle* of "Episode 1" (assuming no subtitle already exists) would be useful in terms of how it would be presented in the NPVR interface and/or in other front-end clients (e.g. Kodi/Plex/whatever) that people use to build libraries from the NPVR recording folder(s)? It might also help with any matching to online sources like TMDB, as this is commonly used where episodes are not individually named. Just something to perhaps consider?
As a user of NextPVR since v3.x, just wanted to say that I'm really happy with the upgrade to v5.2.6. It was probably about time because I don't believe the next version of KODI will support NPVR v4 any longer.
I am using a modest Windows 7 Pro PC based system with NextPVR as the back-end and KODI 19.3 as the front-end client, all within one box. Using a Hauppauge WinTV-dualHD TV Tuner for over-the-air HDTV reception. I realize that Win 7 is not really supported any more, but it has just worked fine as a PVR, and continues to do so. Great news is that it has no issues that I can find with the new version of NextPVR and the KODI client!
The basic v5 install process was very straightforward, but I will share a couple of mistakes that I made in migrating from my existing v4 setup, and then sorted out (by searching the forum for help).
1. Copying the old "npvr.db3" folder. I copied it to the wrong location in error somehow. Make sure you back up the old one and copy it to the correct path in v5. On Windows, that would be "C:\Users\Public\NPVR-Data".
2. Somehow I decided to delete and re-scan my TV channels. I use Schedules Direct, and that is not the default program guide when new channels are added. So it took me a day or so to figure out why my program guide was missing a lot of data. It turned out that the default was for DVB/ATSC EPG, which was pulling EPG data off the air!
All good now, and has been running flawlessly for about a month!
Thanks for the great upgrade, and love the new Web admin app!
I have a machine running Ubuntu Server 20.04 with a TBS 5521 connected to a Sky satellite dish. Actually most TV channels are working fine - I have a good signal, clear pictures and reliable streams. However, some channels fail to work. Looking at the logs, the main difference between a working channel and one that doesn't is this message: [ERROR] Writer failed to get PMT pid
The device-adapter log is here:
Code:
2022-04-10 12:42:50:757 [DEBUG] got request:
POST /stream/start?slipseconds=1200&target=LIVE%26%2Fvideo%2Fnextpvr%2Flive-Film4-37188-2.ts HTTP/1.1
Host: localhost:41393
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 197
<tuning>
<type>DVB-S</type>
<name>Film4</name>
<locator>
<conf>11307000HORIZONTAL</conf>
</locator>
<service_id>8385</service_id>
<service_type>27</service_type>
</tuning>
2022-04-10 12:42:50:757 [DEBUG] starting stream: LIVE&/video/nextpvr/live-Film4-37188-2.ts
2022-04-10 12:42:50:757 [DEBUG] slip seconds: 1200
2022-04-10 12:42:50:757 [DEBUG]
Film4
2022-04-10 12:42:50:771 [INFO] Tuning: 10936000 Hz
2022-04-10 12:42:50:771 [INFO] Changing frequencies
2022-04-10 12:42:51:019 [INFO] Tuning: 10936000 Hz
2022-04-10 12:42:51:129 [INFO] using demux 'dvb0.demux0'
2022-04-10 12:42:51:129 [INFO] using dvr 'dvb0.dvr0'
2022-04-10 12:42:51:129 [DEBUG] waiting for signal lock
2022-04-10 12:42:51:206 [DEBUG] status 00 | quality 00 | signal ffff67a8 | snr 0000 | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2022-04-10 12:42:51:235 [DEBUG] status 00 | quality 00 | signal ffff67a8 | snr 0000 | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2022-04-10 12:42:51:263 [DEBUG] status 1f | quality 00 | signal ffff67a8 | snr 416e | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2022-04-10 12:42:51:263 [DEBUG] FE_HAS_LOCK
2022-04-10 12:42:51:263 [INFO] Creating writer for: LIVE&/video/nextpvr/live-Film4-37188-2.ts (live mode)
2022-04-10 12:42:51:263 [DEBUG] mutex would be: Global\NPVR-mutex-4b5783f53a08fd3a6538e1d494174e83
2022-04-10 12:42:51:263 [DEBUG] Created shared memory
2022-04-10 12:42:51:405 [ERROR] Writer failed to get PMT pid
2022-04-10 12:42:51:405 [INFO] Stopped recording (/video/nextpvr/live-Film4-37188-2.ts)
2022-04-10 12:42:51:456 [INFO] received request
2022-04-10 12:42:51:456 [DEBUG] got request:
GET /stream/stop?handle=1 HTTP/1.1
Host: localhost:41393
Connection: Keep-Alive
2022-04-10 12:42:51:456 [DEBUG] stopped stream 1
2022-04-10 12:42:51:456 [DEBUG] No more streams active.
2022-04-10 12:42:51:456 [DEBUG] Stopping device...
2022-04-10 12:42:51:456 [DEBUG] Stopped
The nrecord log:
Code:
2022-04-10 12:42:50.244 [DEBUG][41] Checking XBMC sid: ea7d6908a6d247859d9c46f9aeb2f6dd
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@1..
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@2
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@3
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@4
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@5
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@6
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@7...
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@previous-handle = 1507329
2022-04-10 12:42:50.244 [DEBUG][41] StreamNative@8 (/video/nextpvr/live-Film4-37188-2.ts)
2022-04-10 12:42:50.244 [DEBUG][41] about to start stream...
2022-04-10 12:42:50.244 [DEBUG][41] StartStream(7941:Film4)
2022-04-10 12:42:50.244 [DEBUG][41] checking if previous capture source can be reused
2022-04-10 12:42:50.244 [DEBUG][41] checking if previous capture source can be reused
2022-04-10 12:42:50.245 [DEBUG][41] About to change frequencies...will stop existing handles
2022-04-10 12:42:50.245 [DEBUG][41] http://localhost:41393/stream/start?slipseconds=1200&target=LIVE%26%2Fvideo%2Fnextpvr%2Flive-Film4-37188-2.ts
2022-04-10 12:42:50.245 [DEBUG][41] body:
<tuning>
<type>DVB-S</type>
<name>Film4</name>
<locator>
<conf>11307000HORIZONTAL</conf>
</locator>
<service_id>8385</service_id>
<service_type>27</service_type>
</tuning>
2022-04-10 12:42:50.608 [ERROR][41] Unexpected error on LocalRecorder.StartStream(): System.Net.WebException: The remote server returned an error: (500) OK.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
at System.Net.WebClient.UploadString(Uri address, String method, String data)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2022-04-10 12:42:50.608 [DEBUG][41] Stopping handles from last frequency
2022-04-10 12:42:50.609 [DEBUG][41] http://localhost:41393/stream/stop?handle=1
2022-04-10 12:42:50.657 [ERROR][41] Unable to SwitchStream. Reason: The remote server returned an error: (500) OK.
2022-04-10 12:42:50.657 [DEBUG][41] SwitchStream not possible
2022-04-10 12:42:50.657 [DEBUG][41] stopping previous handle
2022-04-10 12:42:50.657 [DEBUG][41] http://localhost:41393/stream/stop?handle=1
2022-04-10 12:42:50.708 [DEBUG][41] looking for capture source (in reverse priority order)
2022-04-10 12:42:50.708 [DEBUG][41] checking: IPTV (http://...)
2022-04-10 12:42:50.708 [DEBUG][41] checking: adapter0/frontend0 (TurboSight TBS 5520SE DVB-T/T2/C/C2/ISDB-T)
2022-04-10 12:42:50.708 [DEBUG][41] checking: adapter0/frontend0 (TurboSight TBS 5520SE DVB-T/T2/C/C2/ISDB-T)
2022-04-10 12:42:50.708 [DEBUG][41] enabled and present
2022-04-10 12:42:50.708 [DEBUG][41] does not have channel
2022-04-10 12:42:50.708 [DEBUG][41] checking: adapter0/frontend1 (TurboSight TBS 5520SE DVB-S/S2/S2X)
2022-04-10 12:42:50.708 [DEBUG][41] enabled and present
2022-04-10 12:42:50.708 [DEBUG][41] has channel
2022-04-10 12:42:50.709 [DEBUG][41] live tv is possible
2022-04-10 12:42:50.709 [DEBUG][41] http://localhost:41393/stream/start?slipseconds=1200&target=LIVE%26%2Fvideo%2Fnextpvr%2Flive-Film4-37188-2.ts
2022-04-10 12:42:50.709 [DEBUG][41] body:
<tuning>
<type>DVB-S</type>
<name>Film4</name>
<locator>
<conf>11307000HORIZONTAL</conf>
</locator>
<service_id>8385</service_id>
<service_type>27</service_type>
</tuning>
2022-04-10 12:42:51.407 [ERROR][41] Unexpected error on LocalRecorder.StartStream(): System.Net.WebException: The remote server returned an error: (500) OK.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
at System.Net.WebClient.UploadString(Uri address, String method, String data)
at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2022-04-10 12:42:51.407 [ERROR][41] Unable to StartStream(): The remote server returned an error: (500) OK.
2022-04-10 12:42:51.407 [DEBUG][41] StartStream(7941:Film4, LIVE&/video/nextpvr/live-Film4-37188-2.ts) allocated handle: 0
2022-04-10 12:42:51.407 [DEBUG][41] Handle: 0
2022-04-10 12:42:51.407 [DEBUG][41] Failed to start stream. Handle 0.
2022-04-10 12:42:51.407 [DEBUG][37] StopStream(1507329)...
2022-04-10 12:42:51.407 [DEBUG][37] clientHandle[XBMC-ea7d6908a6d247859d9c46f9aeb2f6dd] = 1507329
2022-04-10 12:42:51.407 [DEBUG][37] Calling StopStream()
2022-04-10 12:42:51.409 [DEBUG][37] http://localhost:41393/stream/stop?handle=1
2022-04-10 12:42:51.457 [DEBUG][37] StopStream() done
My understanding is that the system is getting a lock on the signal, its failing to set up the transcoding part of the pipeline.
Does anyone have any advice as to where to look next in tracking down this fault?
I utilise Kodi with the NextPVR backend on a Windows 10 Pro machine. It is connected directly to the TV via HDMI using a RTX3050
I am having some strange issues which I've been able to re-create on multiple machines in my house.
When playing an IPTV stream, if the content of the stream changes (for instance a commercial or another episode of a show starts to play) this causes a couple of different results:
* Screen goes completely black (No indication of what is happening). To resolve I have to stop watching the channel then go back into the same channel and it will start working again however you can see that it has either gone onto a different show playing or It'll be on some screen saying "We will be back soon" or something like that.
* Stream successfully transitions to the next video however no audio is playing. Stopping the channel then starting again fixes this.
At the end of a video I've also observed it popping up with "Timeshift" up the top and then it suddenly starts to play back the last video that was playing. It is as if it rewound itself to when I first started watching the channel and started playing the same stuff again.. talk about groundhog day huh!
The IPTV streams I've noticed this occuring on is PlutoTV, SamsungLiveIPTV streams. Also I utilised VLC to create my own stream where it loops through different animation shows just for my internal use. This also has the same problems as Pluto, SamsungLive streams.
I have noticed in some testing using my own stream from VLC playing videos of the same format (as in running my own IPTV stream where it goes through multiple .mp4 videos in a row) it appears to work fine... chuck another format like mkv or avi into the mix and it starts displaying similar outcomes as the two points above.
So far I have tried:
Reinstall of the whole computer (Tried windows 11 initially but found it was incompatible with other software I needed)
Fiddling with NextPVR backend settings like padding, livetv buffer etc.
Turning "Use direct stream" on/off but no change
I have used some people suggest different decoders like LAVFilters? However I couldn't find any way to change the decoders in Kodi (albeit I am new to the software still).
Any suggestions would be super helpful! Happy to provide logs and all just might need guidance where to grab them from please.
Quote:Fixed issue with loading tuning file on linux
Fixed issue with seeking in playback in over http stream (mainly affects nlite client)
Added a mouse button top-right in nextpvr.exe that could be used to exit fullscreen mode
Fixed issue with screensaver
Fixed issue with not getting OSD graphics when video was not detected correctly
Added ability to disable the miniguide with <MiniGuideEnabled> setting
Fixed a couple of music playback issues.
Now auto storing playback position regularly, in case of unexpected player crash and total loss of playback position. Can you disabled with <AutoStorePosition>false</AutoStorePosition> in config.xml
Fixed a couple strings that couldn't be translated with language.xml
Fixed a text rendering issue in UI Clients
Fixed issue with archive feature in UI Clients
Added ability to mark self as a having donated to the project, which can be required for full functionality in some 3rd party apps.
Fixed EPG parsing bug with some UK streams
Fixed issue in NPVRSetup.exe when user has a non writable c:\temp directory.
Fixed issue with playback on clients that could use multiple threads to simultaneously be requesting m3u8
Fixed a bug where XC IPTV credentials could sometimes been seen in logs at scan time
Fixed a bug with transcode.txt log not having the correct path and filename on Linux
Added fallback logic to clean out old live tv files in case files get left behind.
Added logic to look for channel icons for recordings that were made against channels that no longer exist (user has deleted them etc)
Fixed issue on recordings screen where long titles could overlap other text at the bottom of the screen.
Foxed bug with 'filter' menu option in Recordings screen.
My TV Guide is not updating completely, I don’t have any guide listings starting on April 18, 2022. It shows no listing from that date on. I am using schedules direct OTA and when looking in settings, channels, I see Schedules Direct as the EPG Source. I just did a new bare metal Linux Mint install on April 04, 2022 and it seems like the guide updated when I first installed NextPVR, but it is not updating now. I have tried to manually update the EPG without success and I have also deleted and added the sources and updated the EPG with the same results.
2 minor issues:
Under "Classic" mode, while in the "What's New" list, if I choose filter, the caption of the dialog says "Archive Target Folder" instead (screen shot attached)
Choosing my Local filter (d:\nextpvr) does nothing, all other recordings still appear in the list.
Let me know if you need logs...
I've deleted an epg source url (from web inteface guide/epg sources) but when trying to update the epg sources (from about/update epg) it still try to find and update the deleted epg source.
I've stopped/started the nextpvr service and surprise: the deleted epg source reappears in the list of epg sources.