Old 08-05-2019, 06:57 AM   #1
Travesty
Human being with feelings
 
Travesty's Avatar
 
Join Date: Nov 2014
Posts: 798
Default Rescan database in media explorer

Is there any way to force a rescan of a database in media explorer?

I'd like to refresh the database automatically after a file has been rendered to it, or after a version control update.
Travesty is offline   Reply With Quote
Old 08-05-2019, 09:13 AM   #2
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,255
Default

Right click the database. Don't know of a way to make it automatic tho.
__________________
foxyyymusic
foxAsteria is online now   Reply With Quote
Old 08-05-2019, 09:34 AM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,622
Default

@Travesty
Post that into my Ultraschall-API and I'll have a look at it.
Maybe I can do something about it..
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   Reply With Quote
Old 08-05-2019, 10:42 AM   #4
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

My databases related scripts just close and reopen the media explorer. Works nicely.
X-Raym is offline   Reply With Quote
Old 08-06-2019, 07:36 AM   #5
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,622
Default

Do you mean by database refreshing the file-listview?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   Reply With Quote
Old 08-06-2019, 07:45 AM   #6
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Oops I read too quickly,


What I meant is that refreshing a database file which have been altered can be done by closing and reopening media explorer,


but for the OP, who whant the file to be added to that database,
this means have a previous step: a script capable of adding a file to a database.


I have the code needed to do such things (database parser, file analysis etc) but I reserved to custom dev (it is not in free scripts).


Though, ricghtclick databse -> Rescan for new files is pretty fast so unless the database is really huge it may not worth it.
X-Raym is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.