# Plex analysis triggers incorrect recoding

**URL:** <https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux, android-tv, library-management\
**Created:** [May 5, 2022, 7:57am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589 "2022-05-05T07:57:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Journeyman](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Journeyman](https://forums.plex.tv/u/Journeyman)\
**Post date:** [May 5, 2022, 10:43am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/3 "2022-05-05T10:43:01Z")

</div>

Thank you for answering.  
I have created a new instance of the library (moved /var/lib/plexmediaserver/Library to backup) and added the problematic files. They play fine using direct for both audio and video.  
[working.zip](https://forums.plex.tv/uploads/short-url/mcPXg9pTXrwRPtUwLzlhGbt31Mz.zip) (2.6 KB)  
Second xml is from my existing library (where they recode) and it seems the same except for id’s.  
[not working.zip](https://forums.plex.tv/uploads/short-url/aIjmVJ9eSNRZfCyxNusxsrqdpr6.zip) (2.7 KB)

Another thing that I have noticed. After files start recoding, I cannot re-add them to new library on the same server. Same file in any library will fail to play normally until I delete entire Library folder on the server.  
So this doesn’t look like a metadata problem. This is something different.

PS. [Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) doesn’t work. Only Library delete helps

---

_[View the full topic](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589)._
