Server Version#: Version 1.23.2.4625 Win 10 x64
Player Version#: Version 4.57.4 Web
I recently discovered a problem with Plex Media Server which, in full disclosure, I haven’t tried to recreate with the latest version, so I don’t know if the source of the error is still in the codebase or not. However, the bigger problem is that there appears to be another bug that is still present in the current version that prevents the ability to recover from the first error, should you have suffered from it at any time previously.
The details:
Problem 1: Movie extras do not survive library relocation.
To reproduce:
- Create a library
- Add movie titles with extras organized according to:https://support.plex.tv/articles/local-files-for-trailers-and-extras/
- Verify movie and extras play in web player.
- Relocate the library according to: https://support.plex.tv/articles/201370363-move-an-install-to-another-system/
- Verify movie plays in web player.
- Verify extras generate a web player UI error with the text:
Playback Error
Please check that the file exists and the necessary drive is mounted.
and log entries of the form:
Error opening file ‘“[old or invalid path]”’ - Permission denied (13)
Workaround: None identified so far. The only workaround I’ve conceived of so far is to not follow the recommended library relocation process by trashing the removed media from the library before re-adding it, which loses all of the library metadata, which metadata everyone wishes was available for users to access and export as a manipulatable database and import to enable more robust library relocation.
Problem 2: Library rescan/metadata refresh does not update move extra paths. If an extra of the same name already exists in the Plex database (albeit with a non-existent path), the new extra’s path is discarded by Plex Media Server. There appears to be no supported means to force Plex Media Server to rescan/trash nonexistent extra paths. Until the extra is removed from the library Plex Media Server will not forget the old, invalid path. For movie titles themselves, Plex does report that the media has gone missing and provide a means to remove it from the database or to update the path with a rescan. Additionally, Plex does not provide a way to view the file info for extras as it does for main titles.
To reproduce:
- Recreate Problem 1 above or otherwise relocate movie extras to recreate the problem.
- Rescan library/refresh metadata and verify that the error still occurs and the extra path is not updated.
Workaround: For each affected title, remove the extras from the library and wait for a rescan to verify that the extras have been removed from the title. Then, re-add the extras and wait for a rescan to verify that the extras have been added. Play the extra and verify that it plays correctly.
The problems with this workaround are:
- Plex provides no introspection into which extras have invalid paths other than to try playing all of them, which is obviously impractical for non-trivial libraries. Unless one knows what movies in the library have been relocated, one must assume that the entire library needs to be fixed.
- It is not scalable without writing a script, which the average user is unlikely to be able to create. For non-trivial libraries, performing this activity manually is untenable. If you only have a dozen movies, sure. If you have thousands or even just hundreds of movies, no.