# Force PMS to refresh XML metadata?

**URL:** <https://forums.plex.tv/t/force-pms-to-refresh-xml-metadata/640041>\
**Category:** Plex Media Server\
**Tags:** server-mac\
**Created:** [October 5, 2020, 1:40am UTC](https://forums.plex.tv/t/force-pms-to-refresh-xml-metadata/640041 "2020-10-05T01:40:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [October 5, 2020, 3:42am UTC](https://forums.plex.tv/t/force-pms-to-refresh-xml-metadata/640041/2 "2020-10-05T03:42:32Z")

</div>

The `requiredBandwidth` is calculated during Deep Analysis, which runs during the server maintenance window.

In Settings -\> Server -\> Scheduled Tasks, check the box for `Perform extensive media analysis during maintenance`. I’m not sure how long all the scheduled tasks take. It will depend on the size of your libraries. Suggest you pick a wide window for the start/stop times, at least to begin with (I run Plex on a NAS, which is on 7x24. I’ve never tried to time how long maintenance tasks take).

See [Plex Docs](https://support.plex.tv/articles/) -\> [Server Settings](https://support.plex.tv/articles/categories/plex-media-server/server-settings/) -\> [Scheduled Tasks](https://support.plex.tv/articles/201553286-scheduled-tasks/) for additional information.

If the analysis does not run during your maintenance window, you can [Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) the movie. This removes all traces of the movie from your system, so Plex considers it a new movie when you add it back. It will then analyze the movie just like it would for any other new addition to your system. FYI, you will lose played/unplayed status, play counts, etc if you do this.

You can also run the scanner via the command line. Use the `--analyze-deeply` action. See [Plex Media Scanner via Command Line](https://support.plex.tv/articles/201242707-plex-media-scanner-via-command-line/).

---

_[View the full topic](https://forums.plex.tv/t/force-pms-to-refresh-xml-metadata/640041)._
