coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Tchit on December 31, 2007, 10:02:57 PM

Title: Coppermine changes my files' names !
Post by: Tchit on December 31, 2007, 10:02:57 PM
Hi,  Happy new year !


I discovered a big problem for me since I updated to Coppermine 1.4 :

I have files in my albums with the name "exemple_com-123.avi" etc. And I just discovered that the src name of these files becomes : "exemple.com-123.avi" so videos are not embedded ! I can't change file names (too much files in a lot of directories).
Please help me to correct this issue !

Thanks a lot !
Title: Re: Coppermine changes my files' names !
Post by: Tchit on December 31, 2007, 10:18:49 PM
And I see that the videos thumbnails work only with the name "thumb_exemple.com-123.jpg" and not "thumb_exemple_com-123.jpg" even if the video name is "exemple_com-123.avi" !!
Title: Re: Coppermine changes my files' names !
Post by: bossbill on January 01, 2008, 02:13:07 PM
Hi
There is a feature in the admin config, under file and thumbnail advanced settings,
Movie playback auto start.  set it to yes.    also click the ? next to it for an explanation.

there is also a feature in the admin tools section for changing file name to file title.
Hope this helps.
Title: Re: Coppermine changes my files' names !
Post by: Tchit on January 01, 2008, 03:22:08 PM
Hi,

This is not a problem with file titles, it's a problem with file names !
I have a file "exemple_com-123.avi" and when I try to open it there is nothing because it is embedded as :

<param name="src" value="albums/exemple.com-123.avi" />

It should be :

<param name="src" value="albums/exemple_com-123.avi" />

Underscore is replaced by Coppermine by a dot , it seems only when there is a "com" after (_com gives .com)

I can't change the name of my (thousand of) files to "exemple.com-123.avi" .

Thank you in advance
Title: Re: Coppermine changes my files' names !
Post by: Tchit on January 01, 2008, 05:43:55 PM
I found a way :

I replaced the filenames in phpmysql and now I am downloading the thumbs to change their names.

Never name your files with a "_com" !!