[mythtv-users] Primary (only!) backend, remote storage, mythweb preview images
Michael T. Dean
mtdean at thirdcontact.com
Thu Aug 27 18:16:50 UTC 2009
On 08/27/2009 01:26 PM, Nicki wrote:
> I've got a FreeNAS server with lots of storage mounted to the
> /var/lib/mythtv directory. Recording and playback works fine. However,
> I've noticed that the preview images in mythweb no longer gets
> generated, and found the following in the logs:
>
> 2009-08-25 19:40:24.979 Preview Error: Previewer file
> '/var/lib/mythtv/recordings/1038_20090825194000.mpg' is not valid.
> 2009-08-25 19:40:24.987 Preview Error: Run() file not local:
> '/var/lib/mythtv/recordings/1038_20090825194000.mpg'
> 2009-08-25 19:40:25.014 Preview Error: Preview process not ok.
>
> fileinfo(/var/lib/mythtv/recordings/1038_20090825194000.mpg.png)
> exists: 0 readable: 0 size: 0
> 2009-08-25 19:40:25.017 MainServer: Failed to make preview image.
>
> The file does exist:
> root at mythbuntu:/var/log/mythtv# ls -la
> /var/lib/mythtv/recordings/1038_20090825194000.mpg
> -rw-r--r-- 1 mythtv mythtv 1935136768 2009-08-25 20:30
> /var/lib/mythtv/recordings/1038_20090825194000.mpg
> root at mythbuntu:/var/log/mythtv#
>
> It seems to me that mythbackend does not generate previews for
> recordings on non-local storage. Can anyone please confirm this, or
> whether there is a workaround available?
You probably need to turn off the file attribute caching.
For NFS:
http://www.mythtv.org/docs/mythtv-HOWTO-23.html#ss23.10
For CIFS/SMB:
http://www.gossamer-threads.com/lists/mythtv/users/393841#393841
Mike
More information about the mythtv-users
mailing list