OpenELEC Forum
New Recordings won't play until directory listing - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: PVR + LIVE TV (https://forum.openelec.tv/forumdisplay.php?fid=38)
+--- Thread: New Recordings won't play until directory listing (/showthread.php?tid=70465)



New Recordings won't play until directory listing - advocate99 - 04-21-2014

UPDATE: Tried again with latest version (5.0.8) and problem still persists.

---

I'm running XBMC via OpenELEC (latest non-beta version) with the ServerWMC add-on.

When the Live TV module pulls the information about a newly completed recording, and I attempt to watch it, it will not play. However, if I use the File Manager to view the contents of the directory and then go back to Live TV and play the file, it works just fine. The file is located on a shared folder on a Win 7 machine and is accessible just fine from the file manager.

As new shows come up and are completed, they become unplayable until I pull the directory listing, play an older file, or update my library.

Any suggestions?

Here's a debug log showing the failure and the success.

Failure:

03:48:03 T:140019516344128 NOTICE: DVDPlayer: Opening: smb://10.1.1.80/Recorded TV/aABC World News With Diane Sawyer_KABCDT_2014_04_18_18_28_00.wtv
03:48:03 T:140019516344128 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
03:48:03 T:140019516344128 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
03:48:03 T:140019516344128 NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
03:48:03 T:140019516344128 DEBUG: LinuxRendererGL: Cleaning up GL resources
03:48:03 T:140019516344128 DEBUG: CLinuxRendererGL:TonguereInit - precision of luminance 16 is 16
03:48:03 T:140019516344128 DEBUG: DllSwScale: Using libswscale system library
03:48:03 T:140019054397184 NOTICE: Thread CDVDPlayer start, auto delete: false
03:48:03 T:140019054397184 NOTICE: Creating InputStream
03:48:03 T:140019054397184 ERROR: CDVDPlayer::OpenInputStream - error opening [smb://10.1.1.80/Recorded TV/aABC World News With Diane Sawyer_KABCDT_2014_04_18_18_28_$
03:48:03 T:140019054397184 NOTICE: CDVDPlayer::OnExit()
03:48:03 T:140019054397184 NOTICE: CDVDPlayer::OnExit() deleting input stream
03:48:03 T:140019054397184 DEBUG: Thread CDVDPlayer 140019054397184 terminating
03:48:03 T:140019516344128 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
03:48:03 T:140019516344128 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
03:48:03 T:140019516344128 NOTICE: CDVDPlayer::CloseFile()

Success:

03:49:33 T:140019516344128 NOTICE: DVDPlayer: Opening: smb://10.1.1.80/Recorded TV/aABC World News With Diane Sawyer_KABCDT_2014_04_18_18_28_00.wtv
03:49:33 T:140019516344128 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
03:49:33 T:140019516344128 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
03:49:33 T:140019516344128 NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
03:49:33 T:140019516344128 DEBUG: LinuxRendererGL: Cleaning up GL resources
03:49:33 T:140019516344128 DEBUG: CLinuxRendererGL:TonguereInit - precision of luminance 16 is 16
03:49:33 T:140019516344128 DEBUG: DllSwScale: Using libswscale system library
03:49:33 T:140019054397184 NOTICE: Thread CDVDPlayer start, auto delete: false
03:49:33 T:140019054397184 NOTICE: Creating InputStream
03:49:33 T:140019054397184 DEBUG: CSmbFile::Open - opened Recorded TV/aABC World News With Diane Sawyer_KABCDT_2014_04_18_18_28_00.wtv, fd=10000
03:49:33 T:140019054397184 DEBUG: ScanForExternalSubtitles: Searching for subtitles...
03:49:33 T:140019054397184 DEBUG: OpenDir - Using authentication url smb://xbmc:xbmc@10.1.1.80/Recorded%20TV
03:49:33 T:140019054397184 DEBUG: ScanForExternalSubtitles: END (total time: 152 ms)
03:49:33 T:140019054397184 NOTICE: Creating Demuxer
03:49:33 T:140019054397184 DEBUG: DllAvUtilBase: Using libavutil system library
03:49:33 T:140019054397184 DEBUG: DllAvCodec: Using libavcodec system library
03:49:33 T:140019054397184 DEBUG: DllAvFormat: Using libavformat system library
03:49:33 T:140019054397184 DEBUG: Open - probing detected format [wtv]
03:49:33 T:140019054397184 DEBUG: Open - avformat_find_stream_info starting
03:49:33 T:140019054397184 ERROR: ffmpeg[B9FFC700]: [mpeg2video] mpeg_decode_postinit() failure


New Recordings won't play until directory listing - advocate99 - 06-19-2014

Just a follow-up that this problem persists today. I've tested it on XBMCBuntu, Android, and Windows, and the problem does not happen there. Only on OpenELEC.

Any suggestions?


New Recordings won't play until directory listing - advocate99 - 06-23-2014

One more follow-up: I've tested this on the last OpenELEC 3.x.x and I'm now testing on four boxes running 4.0.5 with the same result. I don't know if you guys want to be able to support Live TV/PVR, but if you do, this is a pretty core function and it doesn't work right.


New Recordings won't play until directory listing - gda - 06-23-2014

advocate99 post=111055 Wrote:I don't know if you guys want to be able to support Live TV/PVR, but if you do, this is a pretty core function and it doesn't work right.
That sounds a bit too general. Live TV/PVR is working just fine, at least with VDR.

Gerald


New Recordings won't play until directory listing - advocate99 - 06-23-2014

Thank you very much for responding!

I'm using ServerWMC with Windows Media Center. In working with the devs over there, I've found out that XBMC supports two methods for letting XBMC know how to find a recording.

The default method is to provide a list of recordings with no information about the location of the file. If your PVR add-on uses that method, then XBMC will simply query the Live TV source whenever you try to watch a file and the source will send over a path at that time. If your client uses this method, there's never any problem.

The other method is to provide a URL for the location of the file when the Recorded TV list is supplied. If your PVR add-on uses that method, then XBMC will receive a list of URLs at the same time that it receives a list of Recorded TV files, and XBMC will go directly to the file if you try to play it.

The default for SeverWMC is the second method. So, my XBMC receives a list of SMB share URLs along with the list of Recordings. If I attempt to play a new recording, it won't work until I update the library or go to the folder in the File Manager.

Fortunately, the ServerWMC devs have created an option that allows me to force ServerWMC to use the first method, which solves the problem for now. But, the bug is still there, and if VDR ever starts using the second method of updating file locations, you may start to experience it then...


New Recordings won't play until directory listing - gda - 06-23-2014

advocate99 post=111062 Wrote:But, the bug is still there, and if VDR ever starts using the second method of updating file locations, you may start to experience it then...
That will never happen. A linux only PVR would never provide smb shares. Much too much overhead. It comes with two different but equivalent addons for xbmc that hides the communication to the VDR completely. So even if there would be any change, it would be managed inside this addons.

Gerald


New Recordings won't play until directory listing - advocate99 - 07-15-2014

This problem appears to have gotten even worse with the update to 4.0.7. Now, new recordings won't play without a library update even if you are using referral links (pvr:...) instead of links to the SMB Shares..



gda post=111065 Wrote:
advocate99 post=111062 Wrote:But, the bug is still there, and if VDR ever starts using the second method of updating file locations, you may start to experience it then...
That will never happen. A linux only PVR would never provide smb shares. Much too much overhead. It comes with two different but equivalent addons for xbmc that hides the communication to the VDR completely. So even if there would be any change, it would be managed inside this addons.

Gerald



New Recordings won't play until directory listing - advocate99 - 07-31-2015

Update: Using OpenELEC 5.0.8, and this problem STILL persists.

Any suggestions on how I might get it to stop?