Start DSM Media Re-Indexing from PHP App

Currently reading
Start DSM Media Re-Indexing from PHP App

139
54
NAS
2x DS1621xs+, DS420+
Router
  1. RT6600ax
Operating system
  1. macOS
Mobile operating system
  1. iOS
I use a home-brew PHP application to manage media files, including the movement of .mkv and .m4v video files within DSM's indexed 'video' folder. The PHP apps run on the same server as the media files, under Web Station / Apache.

Unfortunately, files moved using PHP 'rename' do not trigger automatic DSM media re-indexing. I have not tried PHP 'copy', but the files are generally much too large to copy (vs move) in a reasonable amount of time.

Is there a way to trigger DSM media re-indexing from a PHP app? I'd like to eliminate the need to remember doing this as a manual step via the DSM Web Console.

Thanks for any suggestions, Ron
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Question
Sorry for the delay in replying, I've been away. Yes I do have Synology Drive installed. I'll play with...
Replies
4
Views
438
  • Question
Lots of eyeballs on the thread. Any ideas on what to do next?
Replies
1
Views
488
  • Question
Nothing much, really ... I use it as a file server for my home network (SMB on 3-4 Windows computers, but...
Replies
2
Views
311
I think there’s a link on the bottom that would have said sign in using another method. From there you...
Replies
4
Views
720
Hi. I did some tests with the Log Center in order to experiment with remote client/server syslog...
Replies
0
Views
402

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top