Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: thumnails for videos with upper case extensions  (Read 2824 times)

0 Members and 1 Guest are viewing this topic.

flurdy

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • http://www.flurdy.com
thumnails for videos with upper case extensions
« on: January 10, 2006, 04:58:44 pm »

I believe there is a (minor) bug in the script which searches for matching thumbnails for video files .
Finding the generic thumnail works fine, but not when ive uploaded a specific thumbnail for that file.

The _filetypes table lists the possible files etc, but they are all lowercase and it appears the functions to find thumbnail dont work when extension is uppercase.

If I have 4 vidoes: film1.mpg, film2.MPG, film3.avi, film4.AVI.
They all have a matching thumbnail, thumb_filmx.png.
So the main part of the names are all lowercase, only some extensions is uppercase.

In my coppermine release (1.4.2, ill check 1.4.3 soon), only film1 and film3 dislays their thumnail.

I can run a db update to change all capital extensions to lowercase, and then rename all the files as well. but better if the function just lowercased the match when looking for specific thumbnails.....
Logged
hmmmm
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.