google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

Handle file URIs passed by nautilus #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use ffmpegthumbnailer in nautilus as mentioned in 
http://code.google.com/p/ffmpegthumbnailer/wiki/Faq
2. Delete thumbnails 
3. Open a folder with videos in nautilus.

What is the expected output? What do you see instead?
Expected output was thumbnails for all videos.
Instead, the thumbnailer fails for files with spaces or special characters in 
their path.

What version of the product are you using? On what operating system?
r214 from svn. (Can't build latest due to issue #64). On Ubuntu 10.04.

Please provide any additional information below.
Nautilus passes file names as URIs (file:///path/to/video%20file.avi). Hence 
files with spaces or special characters are URI encoded and passed down to the 
thumbnailers.
Since ffmpegthumbnailer does not decode the URI, it fails to find the file path 
and hence aborts thumbnailing.

I have tried to solve this by using gnome-vfs to decode the URI back to file 
path if its in a gnome environment. 
http://gist.github.com/448156

Original issue reported on code.google.com by tuxcanfly on 22 Jun 2010 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
I'll take a look at it. Earliest next week tough.

Original comment by dirk.vdb on 23 Jun 2010 at 12:37

GoogleCodeExporter commented 9 years ago
A new release has been created with gnome-vfs support. I implemented it as a 
runtime dependancy so gnome-vfs will be used if it is available at runtime. To 
enable support you do have to configure with --enable-gnome-vfs.

Original comment by dirk.vdb on 6 Aug 2010 at 8:04