Bug Panasonic DX800 UPnP does not work with KODI 16
#1
I have a brand new Panasonic DX800 series TV, which has built in an DLNA / UPnP server, through which one could see the running program or recordings stored on the TV.
I am running Kodi from my Windows PC. Both the PC and the TV are in the same WLAN. I can bring up the TV as a UPnP server in Kodi, and I can browse the content.

Whenever I try to play something, however, it fails. The log shows
Code:
Open failed with code 503 for http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b
If, however, I open http://192.168.178.56:7501/TUNER-0001-21...-000e-805b with Internet Explorer, I can download the file to my disk. Default extension is offered as .tts. I can play it with MediaPlayer Classic, and if I rename it to .ts, I can also play it with Kodi from my hard disk. This applies both to HEVC and to MPEG2 files.

Can anybody help ?

ms777

log file (WireShark dump is also available):
Code:
14:43:55 T:7296  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:43:55 T:7296  NOTICE: -----------------------------------------------------------------------
14:43:55 T:7296  NOTICE: Starting Kodi (16.1 Git:20160424-c327c53). Platform: Windows NT x86 32-bit
14:43:55 T:7296  NOTICE: Using Release Kodi x32 build
14:43:55 T:7296  NOTICE: Kodi compiled Apr 24 2016 by MSVC 180040629 for Windows NT x86 32-bit version 6.0 (0x06000000)
14:43:55 T:7296  NOTICE: Running on Windows 10, kernel: Windows NT x86 64-bit version 10.0
14:43:55 T:7296  NOTICE: Host CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 8 cores available
14:43:55 T:7296  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
14:43:55 T:7296  NOTICE: Running with restricted rights
14:43:55 T:7296  NOTICE: Aero is enabled
14:43:55 T:7296  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\Kodi
14:43:55 T:7296  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\Kodi
14:43:55 T:7296  NOTICE: special://masterprofile/ is mapped to: C:\Users\martin\AppData\Roaming\Kodi\userdata
14:43:55 T:7296  NOTICE: special://home/ is mapped to: C:\Users\martin\AppData\Roaming\Kodi\
14:43:55 T:7296  NOTICE: special://temp/ is mapped to: C:\Users\martin\AppData\Roaming\Kodi\cache
14:43:55 T:7296  NOTICE: The executable running is: C:\Program Files (x86)\Kodi\Kodi.exe
14:43:55 T:7296  NOTICE: Local hostname: martin-PC
14:43:55 T:7296  NOTICE: Log File is located: C:\Users\martin\AppData\Roaming\Kodi\kodi.log
14:43:55 T:7296  NOTICE: -----------------------------------------------------------------------

14:44:03 T:7296   DEBUG: CGUIMediaWindow::GetDirectory (upnp://4D454930-0000-1000-8001-A81374866DAA/)
14:44:03 T:7296   DEBUG:   ParentPath = [sources://video/]
14:44:03 T:6588   DEBUG: Thread BackgroundLoader start, auto delete: false
14:44:03 T:6588   DEBUG: Thread BackgroundLoader 6588 terminating
14:44:05 T:7296   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:44:05 T:7296   DEBUG: CGUIMediaWindow::GetDirectory (upnp://4D454930-0000-1000-8001-A81374866DAA/t/)
14:44:05 T:7296   DEBUG:   ParentPath = [upnp://4D454930-0000-1000-8001-A81374866DAA/]
14:44:05 T:3536   DEBUG: Thread BackgroundLoader start, auto delete: false
14:44:05 T:3536   DEBUG: Thread BackgroundLoader 3536 terminating
14:44:07 T:7296   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:44:07 T:7296   DEBUG: CGUIMediaWindow::GetDirectory (upnp://4D454930-0000-1000-8001-A81374866DAA/t-dvbt/)
14:44:07 T:7296   DEBUG:   ParentPath = [upnp://4D454930-0000-1000-8001-A81374866DAA/t/]
14:44:07 T:8712   DEBUG: Thread BackgroundLoader start, auto delete: false
14:44:07 T:8712   DEBUG: Thread BackgroundLoader 8712 terminating
14:44:09 T:7296   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:44:09 T:7296   DEBUG: CGUIMediaWindow::GetDirectory (upnp://4D454930-0000-1000-8001-A81374866DAA/t-dvbt-all/)
14:44:09 T:7296   DEBUG:   ParentPath = [upnp://4D454930-0000-1000-8001-A81374866DAA/t-dvbt/]
14:44:10 T:7296   DEBUG: ------ Window Init (DialogBusy.xml) ------
14:44:10 T:4172   DEBUG: Thread BackgroundLoader start, auto delete: false
14:44:10 T:7296   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:44:10 T:4172   DEBUG: Thread BackgroundLoader 4172 terminating
14:44:11 T:7296    INFO: Python, unloading python shared library because no scripts are running anymore
14:44:15 T:7296   DEBUG: CWinEventsWin32::WndProcWindow is active
14:44:15 T:7296   DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Program Files\Wireshark\Wireshark.exe
14:44:19 T:7296   DEBUG: ------ Window Deinit (Pointer.xml) ------
14:44:21 T:7296   DEBUG: ------ Window Init (Pointer.xml) ------
14:44:24 T:7296   DEBUG: CJoystick::Initialize : No Joystick found
14:44:24 T:7296   DEBUG: CWinEventsWin32::WndProcWindow is active
14:44:24 T:7296   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
14:44:24 T:7296   DEBUG: CGUIWindowVideoBase::OnPlayMedia upnp://4D454930-0000-1000-8001-A81374866DAA/29-tuner-t-dvbt-all/
14:44:24 T:7296   DEBUG: CVideoDatabase::GetMovieId (upnp://4D454930-0000-1000-8001-A81374866DAA/29-tuner-t-dvbt-all/), query = select idMovie from movie join files on files.idFile=movie.idFile where files.idPath=-1
14:44:24 T:7296   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
14:44:24 T:7296   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
14:44:24 T:7296   DEBUG: CUPnPDirectory::GetResource - resource protocol info 'http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_CI=0;DLNA.ORG_FLAGS=85100000000000000000000000000000'
14:44:24 T:7296   DEBUG: Loading settings for http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers(http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b)
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
14:44:24 T:7296   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
14:44:24 T:7296   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
14:44:24 T:7296   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData
14:44:24 T:7296  NOTICE: DVDPlayer: Opening: http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b
14:44:24 T:7296 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:44:24 T:7296   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
14:44:24 T:9748   DEBUG: Thread DVDPlayer start, auto delete: false
14:44:24 T:9748  NOTICE: Creating InputStream
14:44:24 T:9748    INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://192.168.178.56
14:44:24 T:9748   DEBUG: CCurlFile::GetMimeType - http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b -> video/vnd.dlna.mpeg-tts
14:44:24 T:9748   DEBUG: CFileCache::Open - opening <TUNER-0001-2114-0102-000e-805b> using cache
14:44:24 T:9748   DEBUG: CurlFile::Open(0D26F9A8) http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b
14:44:25 T:7296   DEBUG: ------ Window Init (DialogBusy.xml) ------
14:44:25 T:7296   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
14:44:26 T:7296    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://feeds.xbmc.org (easy=0CC145B8, multi=0C15BA80)
14:44:30 T:9748   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503
14:44:30 T:9748   ERROR: CCurlFile::Open failed with code 503 for http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b
14:44:30 T:9748   ERROR: XFILE::CFileCache::Open - failed to open source <http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b>
14:44:30 T:9748   ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.178.56:7501/TUNER-0001-2114-0102-000e-805b]
14:44:30 T:9748  NOTICE: CDVDPlayer::OnExit()
14:44:30 T:9748   DEBUG: CApplication::OnPlayBackStopped: play state was 1, starting 1
14:44:30 T:9748   DEBUG: Thread DVDPlayer 9748 terminating
Reply
#2
I have the same problem with Panasonic Smart VIERA TX-47ASW654.

Code:
19:01:00 T:6180  NOTICE: starting upnp client
19:01:00 T:6180  NOTICE: starting upnp server
19:01:00 T:6180  NOTICE: starting upnp controller
19:01:00 T:6180  NOTICE: starting upnp renderer
19:01:00 T:4832  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:01:00 T:4832  NOTICE: UDP: Listening on port 9777
19:02:30 T:6180   ERROR: XFILE::CDirectory::GetDirectory - Error getting addons://sources/
19:02:30 T:6180   ERROR: CGUIMediaWindow::GetDirectory(addons://sources/) failed
19:02:35 T:6180  NOTICE: DVDPlayer: Opening: http://172.16.1.3:7501/TUNER-LV-0004-0001-03fb-283d-147d
19:02:35 T:6180 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:02:35 T:7844  NOTICE: Creating InputStream
19:02:41 T:7844   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503
19:02:41 T:7844   ERROR: CCurlFile::Open failed with code 503 for http://172.16.1.3:7501/TUNER-LV-0004-0001-03fb-283d-147d
19:02:41 T:7844   ERROR: XFILE::CFileCache::Open - failed to open source <http://172.16.1.3:7501/TUNER-LV-0004-0001-03fb-283d-147d>
19:02:41 T:7844   ERROR: CDVDPlayer::OpenInputStream - error opening [http://172.16.1.3:7501/TUNER-LV-0004-0001-03fb-283d-147d]
19:02:41 T:7844  NOTICE: CDVDPlayer::OnExit()
19:02:41 T:6180   ERROR: Playlist Player: skipping unplayable item: 0, path [upnp://4D454930-0000-1000-8001-20C6EBDFF43C/LiveView_1/]
19:02:41 T:6180  NOTICE: CDVDPlayer::CloseFile()
19:02:41 T:6180  NOTICE: DVDPlayer: waiting for threads to exit
19:02:41 T:6180  NOTICE: DVDPlayer: finished waiting

Checking URL with browser inspector shows the TV sends http status code 503, but also replies with video data. VLC opens the same URL without problems and shows video.

edit: The problem seems to exist since Kodi 15.1 Isengard.

Kodi 14.1 Helix opens the same URLs (via upnp source).
Code:
23:09:13 T:3712  NOTICE: DVDPlayer: Opening: http://172.16.1.3:7501/TUNER-LV-0004-0001-03fb-283d-147d
23:09:13 T:3712 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:09:13 T:3712  NOTICE: DXVA::CProcessorHD::PreInit - The Direct3d device doesn't support DXVA-HD.
23:09:13 T:3712  NOTICE: CWinRenderer::Preinit - could not init DXVA-HD processor - skipping
23:09:13 T:1684  NOTICE: Thread DVDPlayer start, auto delete: false
23:09:13 T:1684  NOTICE: Creating InputStream
23:09:13 T:1684   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 406
23:09:13 T:1684  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
23:09:17 T:3712  NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: P880
23:09:17 T:3712  NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
23:09:18 T:1684  NOTICE: Creating Demuxer
23:09:18 T:7472  NOTICE: Thread FileCache start, auto delete: false
23:09:18 T:1684  NOTICE: Opening stream: 0 source: 256
Reply
#3
I posted a bug: http://trac.kodi.tv/ticket/16826
Reply
#4
I have the same problem with my Panasonic TV.
Until the Kodi team found and solve the Problem
I give a not normal but a working for me solution.
Play the files with External Player (MediaPlayerClassic).
1.Install MediaPlayerClassic
2.Make File or modify playercorefactory.xml at
c:\Users\"Username"\AppData\Roaming\Kodi\userdata\
with
Code:
<playercorefactory>
<players>
   <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
     <filename>c:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
   <rule filename=".*:7501/*." player="MPC-HC"/>
</rules>
</playercorefactory>
3.Fix <filename> with your MPC Path.
This Working for me try it.
Reply
#5
Interesting that this bug hasn't been fixed in 8 years!

Still the same with Kodi 21:
2024-08-08 12:37:23.241 T:18688    info <general>: VideoPlayer::OpenFile: upnp://4D454930-0000-1000-8001-80C75564F667/240-fullseg-s2-rec/
2024-08-08 12:37:23.316 T:15392    info <general>: Creating InputStream
2024-08-08 12:37:28.329 T:15392   error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x17a67b68e20) Failed: HTTP returned code 503
2024-08-08 12:37:28.329 T:15392   error <general>: CCurlFile::XFILE::CCurlFile::Open - <http://192.168.1.116:7501/VIDEO-H881241d44d46f8744154b38245775b0beb9ee063b0ff6b2e02f7acad79ebf487-e9d7ee9e9f96a4b7e00e2d138724d8c7000000f0> Failed with code 503:
                                                   
2024-08-08 12:37:33.357 T:15392   error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x17a6119cf00) Failed: HTTP returned code 503
2024-08-08 12:37:33.357 T:15392   error <general>: CCurlFile::XFILE::CCurlFile::Open - <http://192.168.1.116:7501/VIDEO-H881241d44d46f8744154b38245775b0beb9ee063b0ff6b2e02f7acad79ebf487-e9d7ee9e9f96a4b7e00e2d138724d8c7000000f0> Failed with code 503:
                                                   
2024-08-08 12:37:33.357 T:15392   error <general>: CFileCache::XFILE::CFileCache::Open - <http://192.168.1.116:7501/VIDEO-H881241d44d46f8744154b38245775b0beb9ee063b0ff6b2e02f7acad79ebf487-e9d7ee9e9f96a4b7e00e2d138724d8c7000000f0> failed to open
2024-08-08 12:37:33.357 T:15392   error <general>: CVideoPlayer::OpenInputStream - error opening [upnp://4D454930-0000-1000-8001-80C75564F667/240-fullseg-s2-rec/]
2024-08-08 12:37:33.357 T:15392    info <general>: CVideoPlayer::OnExit()
2024-08-08 12:37:33.367 T:18688    info <general>: CVideoPlayer::CloseFile()
2024-08-08 12:37:33.368 T:18688    info <general>: VideoPlayer: waiting for threads to exit
2024-08-08 12:37:33.368 T:18688    info <general>: VideoPlayer: finished waiting
Reply

Logout Mark Read Team Forum Stats Members Help
Panasonic DX800 UPnP does not work with KODI 160