Skip to content

Nautilus-like mouseover audio preview

Submitted by Connor Behan

Assigned to Jannis Pohlmann

Link to original bug (#7354)

Description

Created attachment 3527 Gstreamer audio preview

I don't know if anyone has switched away from Thunar because of this and maybe it doesn't matter. Most open source devs are friendly and don't "compete" right? Even though I like Thunar better for most things, one feature in Nautilus that I have yet to see duplicated is the automatic preview of audio files.

This patch may be flaky but it took me awhile to get right. I think the audio preview is quite reliable. It uses a timer and motion-notify-events and it is careful not to interfere with existing clicking and dragging callbacks. The mouse cursor is changed with GDK and the file is played with Gstreamer. I'd be thrilled if you could work it into Thunar in some way.

Attachment 3527, "Gstreamer audio preview":
preview.patch

Version: 1.4.0

Edited by Alexander Schwinn