Images don't seem to be affected, but all other media types.
Here is a snippet (by jtailor) to reproduce the problem:
import gnome.ui import gnomevfs
path = "test.avi"
uri = gnomevfs.get_uri_from_local_path(path) mime = gnomevfs.get_mime_type(uri)
thumbFactory = gnome.ui.ThumbnailFactory(gnome.ui.THUMBNAIL_SIZE_LARGE) if thumbFactory.can_thumbnail(uri ,mime, 0): thumbnail = thumbFactory.generate_thumbnail(uri, mime) if thumbnail != None: thumbFactory.save_thumbnail(thumbnail, uri, 0)
Images don't seem to be affected, but all other media types.
Here is a snippet (by jtailor) to reproduce the problem:
import gnome.ui
import gnomevfs
path = "test.avi"
uri = gnomevfs. get_uri_ from_local_ path(path) get_mime_ type(uri)
mime = gnomevfs.
thumbFactory = gnome.ui. ThumbnailFactor y(gnome. ui.THUMBNAIL_ SIZE_LARGE) can_thumbnail( uri ,mime, 0): generate_ thumbnail( uri, mime)
thumbFactory. save_thumbnail( thumbnail, uri, 0)
if thumbFactory.
thumbnail = thumbFactory.
if thumbnail != None: