2016-08-02, 07:52
I have been running Kodi with the Mediaportal PVR plugin for several months. The Mediaportal server and Kodi are all running on the same Windows 7 PC. I am now attempting to run Kodi on my Android TV and use the same Windows 7 Mediaportal server. I can get the Kodi Mediaportal PVR addon to connect ok - it picks up the TV guide and shows me all the recorded shows I have on the server. However playing live TV or playing a recorded show fails if I use the TSReader method. I can get it to work if I use FFMpeg method but the quality of this is unusable (slow and pixelated)
The problem appears to be SMB related and is specific to my Android Kodi client(s). I can run Kodi on another Windows 10 PC and connect to my Windows 7 Mediaportal server and play everything with TSReader perfectly. I have the identical errors if I install and configure Kodi on an Android tablet.
I think my problem is SMB related because when I attempt to browse SMB shares from within Kodi file manager on Android I get an error - Error 2: share not available. However if I create a network connection to the IP address of my mediaportal PC and include port 445 on the address I am then able to view all the SMB shares on the PC ie 192.168.1.66:445. I also specify the username and password on this connection both being 'tv'. If I specify user or password incorrectly I am unable to browse the shares. So I have proven that I can browse SMB shares from Android devices but only if I specify the IP address of host with port 445 and with correct username and password. Browsing from the Windows 10 PC works fine without having to specify port 445.
My Windows 7 PC is called TV-PV. Its IP address is 192.168.1.66. I have set up SMB shares on this PC for the timeshift buffer and for recorded shows on this PC. Share for recorded show is \\TV-PC\Temp (the actual folder is c:\temp)
My Android TV has the Mediaportal PVR addon configured with Mediapportal Hostname defined as 192.168.1.66 and I have specified the windows username and password as 'tv'. I have the Streaming method set to TSReader.
I can see the EPG and list of recorded shows ok. When I try to view live TV Kodi 'waits' for several seconds but does not show the stream and does not give any error in the user interface. If I look in the log I see the following error:
ERROR: AddOnLog: MediaPortal PVR Client: Failed to open file 'C:\Temp\live8-0.ts.tsbuffer' as 'smb://tv:tv@TV-PC/Temp/live8-0.ts.tsbuffer'
I did not tell Mediaportal PVR plugin that my server was called TV-PC so it has obviously worked this out from the IP address I gave it in the config.
The PVR addon seems to be using the hostname TV-PC (not the IP address I specified in the plugin config) and it is not specifying port 445 on the share. I am thinking it would work if it used IP address and port as I know I can browse SMB shares this way as described above.
I am using Kodi Krypton but the same error happens with Jarvis. The Mediaportal PVR plugin is v2.4.3.
I have tried changing the Mediaportal Hostname to 192.168.1.66:445. This wont allow the PVR plugin to load at all
I have tried changing the Mediaportal Hostname to TV-PC. This wont allow the PVT plugin to load at all.
Does anyone have any clues on how to get this working? Is there any way I can force Mediaportal PVR to use the ip address and port 445 when attempting to read the SMB shares?
The problem appears to be SMB related and is specific to my Android Kodi client(s). I can run Kodi on another Windows 10 PC and connect to my Windows 7 Mediaportal server and play everything with TSReader perfectly. I have the identical errors if I install and configure Kodi on an Android tablet.
I think my problem is SMB related because when I attempt to browse SMB shares from within Kodi file manager on Android I get an error - Error 2: share not available. However if I create a network connection to the IP address of my mediaportal PC and include port 445 on the address I am then able to view all the SMB shares on the PC ie 192.168.1.66:445. I also specify the username and password on this connection both being 'tv'. If I specify user or password incorrectly I am unable to browse the shares. So I have proven that I can browse SMB shares from Android devices but only if I specify the IP address of host with port 445 and with correct username and password. Browsing from the Windows 10 PC works fine without having to specify port 445.
My Windows 7 PC is called TV-PV. Its IP address is 192.168.1.66. I have set up SMB shares on this PC for the timeshift buffer and for recorded shows on this PC. Share for recorded show is \\TV-PC\Temp (the actual folder is c:\temp)
My Android TV has the Mediaportal PVR addon configured with Mediapportal Hostname defined as 192.168.1.66 and I have specified the windows username and password as 'tv'. I have the Streaming method set to TSReader.
I can see the EPG and list of recorded shows ok. When I try to view live TV Kodi 'waits' for several seconds but does not show the stream and does not give any error in the user interface. If I look in the log I see the following error:
ERROR: AddOnLog: MediaPortal PVR Client: Failed to open file 'C:\Temp\live8-0.ts.tsbuffer' as 'smb://tv:tv@TV-PC/Temp/live8-0.ts.tsbuffer'
I did not tell Mediaportal PVR plugin that my server was called TV-PC so it has obviously worked this out from the IP address I gave it in the config.
The PVR addon seems to be using the hostname TV-PC (not the IP address I specified in the plugin config) and it is not specifying port 445 on the share. I am thinking it would work if it used IP address and port as I know I can browse SMB shares this way as described above.
I am using Kodi Krypton but the same error happens with Jarvis. The Mediaportal PVR plugin is v2.4.3.
I have tried changing the Mediaportal Hostname to 192.168.1.66:445. This wont allow the PVR plugin to load at all
I have tried changing the Mediaportal Hostname to TV-PC. This wont allow the PVT plugin to load at all.
Does anyone have any clues on how to get this working? Is there any way I can force Mediaportal PVR to use the ip address and port 445 when attempting to read the SMB shares?