Kodi Community Forum

Full Version: PVR connection lost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this happens with every platform I try XBMC on. Linux. windows 7 and XP. no mater what PCR I try and enable (and I want to stick with NextPVR) I enable it and it just every single time keeps giving me a "pvr connection lost" message over and over and over. I must have read 40 different howtos and wiki's and what have you's. I've followed every instruction I can find. I've used two different cards. a Hauppauge 1250 and Happauge HVR 1600. NextPVR works fine by itself in win7 and XP (except for the HD channel guide info and I think thats a separate issue.). but not with XBMC. Any advice as to what I am doing wrong would be appreciated before what's left of my hair is gone.

Captain Quack
I'm not familiar with the specifics of NextPVR, but these issues are usually sharing/access problems.
The solution is usually either/or to specifically share the folders in Windows used by the backend for live TV, recordings etc. or put a username/password with admin rights in frontend XBMC addon.
(2014-04-09, 11:18)mayoman Wrote: [ -> ]I'm not familiar with the specifics of NextPVR, but these issues are usually sharing/access problems.
The solution is usually either/or to specifically share the folders in Windows used by the backend for live TV, recordings etc. or put a username/password with admin rights in frontend XBMC addon.

I think I can figure out the first part of your answer but I'm not that technically inclined. it's not just NextPVR that does it. any of them do
If you only want to use the NextPVR PVR addon, make sure that you have disabled all other PVR addons.
I don't see a log file here, so my guess is that you might have multiple PVR addons enabled and that the "pvr connection lost" is not coming from the NextPVR addon but from one of the other addons.
Anyways, check your xbmc.log file for more clues...
nope. just the nextpvr. triple checked that. not even sure what to look for but here's the log.

16:13:35 T:3008 NOTICE: -----------------------------------------------------------------------
16:13:35 T:3008 NOTICE: Starting XBMC (12.3 Git:20131212-9ed3e58), Platform: Windows 7 SP1 64-bit, build 7601. Built on Dec 19 2013 (compiler 1600)
16:13:35 T:3008 NOTICE: AMD A10-5800K APU with Radeon™ HD Graphics
16:13:35 T:3008 NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
16:13:35 T:3008 NOTICE: Running with administrator rights
16:13:35 T:3008 NOTICE: Aero is enabled
16:13:35 T:3008 NOTICE: special://xbmc/ is mapped to: E:\Program Files (x86)\XBMC
16:13:35 T:3008 NOTICE: special://xbmcbin/ is mapped to: E:\Program Files (x86)\XBMC
16:13:35 T:3008 NOTICE: special://masterprofile/ is mapped to: C:\Users\scotty\AppData\Roaming\XBMC\userdata
16:13:35 T:3008 NOTICE: special://home/ is mapped to: C:\Users\scotty\AppData\Roaming\XBMC\
16:13:35 T:3008 NOTICE: special://temp/ is mapped to: C:\Users\scotty\AppData\Roaming\XBMC\cache
16:13:35 T:3008 NOTICE: The executable running is: E:\Program Files (x86)\XBMC\XBMC.exe
16:13:35 T:3008 NOTICE: Local hostname: office
16:13:35 T:3008 NOTICE: Log File is located: C:\Users\scotty\AppData\Roaming\XBMC\xbmc.log
16:13:35 T:3008 NOTICE: -----------------------------------------------------------------------
16:13:36 T:3008 NOTICE: Found 2 Lists of Devices
16:13:36 T:3008 NOTICE: Enumerated DirectSound devices:
16:13:36 T:3008 NOTICE: Device 1
16:13:36 T:3008 NOTICE: m_deviceName : {637A63BA-369C-4F3B-A420-2ACD77D1C6FD}
16:13:36 T:3008 NOTICE: m_displayName : Speakers - Speakers (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_displayNameExtra: DirectSound: Speakers (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_deviceType : AE_DEVTYPE_PCM
16:13:36 T:3008 NOTICE: m_channels : FL,FR
16:13:36 T:3008 NOTICE: m_sampleRates : 48000
16:13:36 T:3008 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3
16:13:36 T:3008 NOTICE: Device 2
16:13:36 T:3008 NOTICE: m_deviceName : {57FE89DC-D3AB-4125-92EB-D084FF433345}
16:13:36 T:3008 NOTICE: m_displayName : SPDIF - Realtek Digital Output(Optical) (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_displayNameExtra: DirectSound: Realtek Digital Output(Optical) (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
16:13:36 T:3008 NOTICE: m_channels : FL,FR
16:13:36 T:3008 NOTICE: m_sampleRates : 48000
16:13:36 T:3008 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3
16:13:36 T:3008 NOTICE: Device 3
16:13:36 T:3008 NOTICE: m_deviceName : {8809876F-1700-4D6C-825A-A216768A6C39}
16:13:36 T:3008 NOTICE: m_displayName : SPDIF - Realtek Digital Output (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_displayNameExtra: DirectSound: Realtek Digital Output (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
16:13:36 T:3008 NOTICE: m_channels : FL,FR
16:13:36 T:3008 NOTICE: m_sampleRates : 48000
16:13:36 T:3008 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3
16:13:36 T:3008 NOTICE: Enumerated WASAPI devices:
16:13:36 T:3008 NOTICE: Device 1
16:13:36 T:3008 NOTICE: m_deviceName : {57FE89DC-D3AB-4125-92EB-D084FF433345}
16:13:36 T:3008 NOTICE: m_displayName : SPDIF - Realtek Digital Output(Optical) (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_displayNameExtra: WASAPI: Realtek Digital Output(Optical) (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
16:13:36 T:3008 NOTICE: m_channels : FL,FR
16:13:36 T:3008 NOTICE: m_sampleRates : 192000,96000,48000,44100
16:13:36 T:3008 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_AAC,AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
16:13:36 T:3008 NOTICE: Device 2
16:13:36 T:3008 NOTICE: m_deviceName : {637A63BA-369C-4F3B-A420-2ACD77D1C6FD}
16:13:36 T:3008 NOTICE: m_displayName : Speakers - Speakers (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_displayNameExtra: WASAPI: Speakers (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_deviceType : AE_DEVTYPE_PCM
16:13:36 T:3008 NOTICE: m_channels : FL,FR,FC,LFE,SL,SR,BL,BR
16:13:36 T:3008 NOTICE: m_sampleRates : 192000,96000,48000,44100
16:13:36 T:3008 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_LPCM
16:13:36 T:3008 NOTICE: Device 3
16:13:36 T:3008 NOTICE: m_deviceName : {8809876F-1700-4D6C-825A-A216768A6C39}
16:13:36 T:3008 NOTICE: m_displayName : SPDIF - Realtek Digital Output (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_displayNameExtra: WASAPI: Realtek Digital Output (Realtek High Definition Audio)
16:13:36 T:3008 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
16:13:36 T:3008 NOTICE: m_channels : FL,FR
16:13:36 T:3008 NOTICE: m_sampleRates : 192000,96000,48000,44100
16:13:36 T:3008 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_AAC,AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
16:13:36 T:3008 NOTICE: load settings...
16:13:36 T:3008 NOTICE: special://profile/ is mapped to: special://masterprofile/
16:13:36 T:3008 NOTICE: loading special://masterprofile/guisettings.xml
16:13:36 T:3008 NOTICE: Getting hardware information now...
16:13:36 T:3008 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:13:36 T:3008 NOTICE: Loaded playercorefactory configuration
16:13:36 T:3008 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:13:36 T:3008 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:13:36 T:3008 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
16:13:36 T:3008 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
16:13:36 T:3008 NOTICE: Default DVD Player: dvdplayer
16:13:36 T:3008 NOTICE: Default Video Player: dvdplayer
16:13:36 T:3008 NOTICE: Default Audio Player: paplayer
16:13:36 T:3008 NOTICE: Disabled debug logging due to GUI setting. Level 0.
16:13:36 T:3008 NOTICE: Log level changed to 0
16:13:36 T:3008 NOTICE: Loading media sources from special://masterprofile/sources.xml
16:13:36 T:1828 NOTICE: Thread CSoftAE start, auto delete: false
16:13:36 T:3008 NOTICE: Running database version Addons15
16:13:36 T:5476 NOTICE: Thread XBMC Peripherals start, auto delete: false
16:13:36 T:5348 NOTICE: Thread CRemoteControl start, auto delete: false
16:13:36 T:4540 NOTICE: Thread XBMC Peripherals start, auto delete: false
16:13:36 T:3008 NOTICE: Found screen: Generic PnP Monitor on AMD Radeon HD 7660D, adapter 0.
16:13:36 T:3008 NOTICE: Primary mode: 1920x1080 @ 60.00 - Full Screen
16:13:36 T:3008 NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
16:13:36 T:3008 NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
16:13:36 T:3008 NOTICE: Additional mode: 640x480 @ 67.00 - Full Screen
16:13:36 T:3008 NOTICE: Additional mode: 640x480 @ 72.00 - Full Screen
16:13:36 T:3008 NOTICE: Additional mode: 640x480 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 720x480 @ 56.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x480 @ 59.94 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 720x480 @ 72.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x480 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x576 @ 56.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x576 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x576 @ 72.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 720x576 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 800x600 @ 56.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 800x600 @ 72.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 800x600 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1024x768 @ 70.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1024x768 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1152x864 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 1152x864 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 1280x720 @ 59.94 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1280x1024 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1280x1024 @ 75.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1600x900 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Previous line repeats 2 times.
16:13:37 T:3008 NOTICE: Additional mode: 1600x1200 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1680x1050 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1920x1080 @ 60.00 - Full Screen
16:13:37 T:3008 NOTICE: Additional mode: 1920x1080 @ 59.94 - Full Screen
16:13:37 T:3008 NOTICE: Checking resolution 16
16:13:37 T:3008 NOTICE: Running database version Addons15
16:13:37 T:3008 NOTICE: Running database version ViewModes4
16:13:37 T:3008 NOTICE: Running database version Textures13
16:13:37 T:3008 NOTICE: Running database version MyMusic32
16:13:37 T:3008 NOTICE: Running database version MyVideos75
16:13:37 T:3008 NOTICE: Running database version TV22
16:13:37 T:3008 NOTICE: Running database version Epg7
16:13:37 T:3008 NOTICE: initializing playlistplayer
16:13:37 T:3008 NOTICE: DONE initializing playlistplayer
16:13:38 T:5528 NOTICE: Thread Jobworker start, auto delete: true
16:13:38 T:3008 NOTICE: initialize done
16:13:38 T:3008 NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: Logitech Extreme 3D
16:13:38 T:3008 NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
16:13:38 T:3008 NOTICE: Running the application...
16:13:38 T:5572 NOTICE: Thread Jobworker start, auto delete: true
16:13:38 T:3008 NOTICE: ES: Starting event server
16:13:38 T:5488 NOTICE: Thread CEventServer start, auto delete: false
16:13:38 T:5488 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
16:13:38 T:5488 NOTICE: UDP: Listening on port 9777
16:13:38 T:5568 NOTICE: Thread CTCPServer start, auto delete: false
16:13:38 T:5528 NOTICE: EPG::CEpgContainer::Start - EPG thread started
16:13:38 T:5528 NOTICE: PVRManager - starting up
16:13:38 T:5536 NOTICE: Thread EPG updater start, auto delete: false
16:13:38 T:5460 NOTICE: Thread PVR manager start, auto delete: false
16:13:38 T:4468 NOTICE: Thread PVR add-on updater start, auto delete: false
16:13:39 T:5784 NOTICE: Thread CRssReader start, auto delete: false
16:13:39 T:4172 NOTICE: Thread CFileCache start, auto delete: false
16:13:39 T:4828 NOTICE: Previous line repeats 8 times.
16:13:39 T:4828 NOTICE: Thread PVR GUI info updater start, auto delete: false
16:13:39 T:5820 NOTICE: Thread CFileCache start, auto delete: false
16:14:01 T:5588 NOTICE: Previous line repeats 2 times.
16:14:01 T:5588 NOTICE: Thread Background Loader start, auto delete: false
16:14:26 T:5028 NOTICE: Previous line repeats 2 times.
16:14:26 T:5028 NOTICE: Thread CFileCache start, auto delete: false
16:14:34 T:3008 NOTICE: Previous line repeats 2 times.
16:14:34 T:3008 NOTICE: Storing total System Uptime
16:14:34 T:3008 NOTICE: Saving settings
16:14:34 T:3008 NOTICE: stop all
16:14:34 T:3008 NOTICE: PVRManager - stopping
16:14:35 T:3008 NOTICE: ES: Stopping event server
16:14:35 T:3008 NOTICE: stopping zeroconf publishing
16:14:35 T:5488 NOTICE: ES: UDP Event server stopped
16:14:35 T:3008 NOTICE: stop sap announcement listener
16:14:35 T:3008 NOTICE: clean cached files!
16:14:35 T:3008 NOTICE: unload skin
16:14:35 T:3008 NOTICE: stop python
16:14:35 T:3008 NOTICE: stopped
16:14:35 T:3008 NOTICE: destroy
16:14:35 T:3008 NOTICE: closing down remote control service
16:14:35 T:3008 NOTICE: unload sections
16:14:36 T:3008 NOTICE: destroy
16:14:36 T:3008 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10021 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
16:14:36 T:3008 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
16:14:36 T:3008 NOTICE: closing down remote control service
16:14:36 T:3008 NOTICE: unload sections
16:14:36 T:3008 NOTICE: application stopped...
debug log (wiki), and don't post the whole thing, use a link to xbmclogs.com instead.
this is just not working out. thanks for your effort guys. but just way to much hassle to get this working.
If you can post the debug log, as mentioned above, I'm sure we'll be able to spot something.

There was a problem in the last version of NextPVR which could cause the stored pin number to be become correct, which could lead to these connection lots messages. To fix it, install the latest version of NextPVR (released about 2 weeks ago), and explicitly set the pin. After that set the pin in the XBMC addon settings, and hopefully you'll be good to go.
A debug log is the standard way of finding out what's wrong with something, if you can't be bothered to post one you can't expect to get any help either.
I think I do have the latest version of NPVR but I'll double check.

here is the log link. hope I did it right.

http://xbmclogs.com/show.php?id=171649
Quote:630.11:38:15 T:6824 ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
631.11:38:15 T:6824 ERROR: XFILE::CFileCache::Open - failed to open source <http://127.0.0.1:8866/service?method=session.initiate&ver=1.0&device=xbmc>
632.11:38:15 T:6824 DEBUG: AddOnLog: NextPVR PVR Client: ->~cPVRClientNextPVR()
633.11:38:15 T:6824 ERROR: ADDON: Dll NextPVR PVR Client - Client returned bad status (1) from Create and is not usable
It looks like its failing to even establish a http connection to start talking to NextPVR.

A few possibilities:
- you've got firewall/antivirus software that is blocking this connection
- NextPVR's recording service isn't running. Try opening the url in your browser and see what it says:
http://127.0.0.1:8866/service?method=ses...evice=xbmc
- you're running NextPVR on a different machine, so it cant connect to it via 127.0.0.1
running avast free. disabled that and tried. it's all running on one box. done it in both windows 7 and Ubuntu 13.04. output via HDMI right to the A/V reciever.

web page came back with not found

also "no PVR clients have been started yet" pops up.
WOO AND HOO!. none of the wiki's etc. mentioned having to start NPVR stand alone BEFORE running XBMC. it's cruising right along now. thank you guys. this is going to be so much better than WMC.