forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: kromega on July 19, 2007, 01:44:45 pm

Title: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: kromega on July 19, 2007, 01:44:45 pm
Hi,
I want my video to be displayed with DivX player insted of Windows one, so I've changed the
avi     video/avi     movie     WMP

entry in cpg130_filetypes

with
avi     video/avi     movie     DIVX

and that works fine, can see on
http://fabski.com/images/displayimage.php?album=topn&cat=12&pos=0, using the correct player (if installed).

but for some strange and unexplained reason, once in a while, the DB is "cleaned" and that entry is restored to WMP.

I've tried couple of time to change it and always same effect after couple of days/weeks...

Has anyone a clue on what could do that ???

I've check on the DB side, can't see any cron job or anything else that could  do that kind of thing from the server side... but nothing...

Thanks for your help

Fabien
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: Nibbler on July 19, 2007, 02:54:37 pm
Stop running update.php
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: kromega on July 20, 2007, 08:13:05 am
I just ran it after the migration, never again... any other idea ?
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: Sami on July 20, 2007, 08:29:26 am
The only way to change back the default value (WMP) is running update.php , may be someone else run it !!!
you can remove it for a while and see if its happen again ....

Also you must upgrade your gallery to most recent version (1.4.12 for now)
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: kromega on July 20, 2007, 08:40:15 am
OK, I'll update and rename the script.... and we'll see.

thks for your contribution
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: kromega on July 22, 2007, 04:51:13 pm
All done, I'll check from time to time.

Would be a nice feature to be able to choose in the prefs which player will be used to view videos...

Ciao

Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: Nibbler on July 22, 2007, 09:01:53 pm
Install the filetypes plugin then. Marking as solved.
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: kromega on July 22, 2007, 09:20:12 pm
hi,
done.... but DivX is not in the "Associated Player" pull down !!!

can you update the plug-in ?

cheers

kro
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: Nibbler on July 22, 2007, 09:24:37 pm
The options listed are the only players supported by Coppermine.
Title: Re: anything "cleaning" the DB on a regularly??? AVI type changes back to WMP...
Post by: kromega on July 22, 2007, 09:26:44 pm
I see... any reason why not to support DivX ? it's quite popular those days....

f