2014-08-20, 06:21
I am using XBMC in conjunction with MythTV, and I am also sometimes using my household server to transcode files for playback on my XBMC system.
The problem shows up when XBMC is playing a file that the server is still actively writing to. MythTV works fine when I'm using the PVR plugin, but if I start watching a file while it is being recorded or transcoded XBMC doesn't update the file size as it plays even though the file is growing on the server.
This causes two problems:
First of all, XBMC will stop playback when it thinks it has reached the end of the file even though there is more to the file.
Secondly, XBMC will update the file in the database as "Played" which resets the playback pointer to 0.
My workaround has been to stop playback 2 minutes before the reported end time, and then resume playback which forces XBMC to refresh the file size.
Is there a better solution? Is there some way I can force XBMC to refresh the file's size as it plays?
Is it because I am serving the files through a SMB share mounted by the OS and not using the built-in XBMC samba client?
The problem shows up when XBMC is playing a file that the server is still actively writing to. MythTV works fine when I'm using the PVR plugin, but if I start watching a file while it is being recorded or transcoded XBMC doesn't update the file size as it plays even though the file is growing on the server.
This causes two problems:
First of all, XBMC will stop playback when it thinks it has reached the end of the file even though there is more to the file.
Secondly, XBMC will update the file in the database as "Played" which resets the playback pointer to 0.
My workaround has been to stop playback 2 minutes before the reported end time, and then resume playback which forces XBMC to refresh the file size.
Is there a better solution? Is there some way I can force XBMC to refresh the file's size as it plays?
Is it because I am serving the files through a SMB share mounted by the OS and not using the built-in XBMC samba client?