Moving recordings between defined storage paths

Sometimes I need to move recording files from one storage path to another. Simply moving the files makes them inaccessable from BC, because database also has to be updated. Here’s a simple script to do this. It searches for non-existing files and tries to find them in all defined storage paths. On success it adjusts it’s new location in database. You’ll need to edit host/database/password and run it as bluecherry user.

bluecherry_media_fix.py.txt (2.1 KB)

Thanks @pawel for the tip!