thumnails for videos with upper case extensions thumnails for videos with upper case extensions
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

thumnails for videos with upper case extensions

Started by flurdy, January 10, 2006, 04:58:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flurdy

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.....
hmmmm