Capt.Insano 3 Posted November 17, 2015 Share Posted November 17, 2015 Hi All, I run Emby server through Docker on my unRAID server. I have been having the following problem for some time now and I cannot get to the bottom of it: My info: Emby Version 3.0.5781.1 TV Shows on NAS, Metadata set to nfo for use through Kodi. Running latest Emby for Kodi What happens: Some episodes always revert to unwatched status, I have been trying to figure out what happens, so far I know: The nfo filesize of affected episodes will always be smaller than non-afffected nfo files Most recent example: Brooklyn.Nine-Nine.S03E06.Into.the.Woods.mkv apears unwatched today although it was marked as watched last night (I checked everything last night and waited for the problem to arise again). Brooklyn.Nine-Nine.S03E06.Into.the.Woods.nfo has a filesize of 1kb, it contains the following: <episodedetails> <title>Into the Woods</title> <season>3</season> <episode>6</episode> <aired>2015-11-08</aired> <plot>Jake and Charles convince Terry to take a weekend camping trip as a much needed "babymoon," but they soon realize it might not be the idealistic weekend for which they had hoped. Meanwhile back at the precinct, Holt gives Rosa some important relationship advice and Amy enlists Gina's help to prepare her for an important presentation.</plot> <displayseason /> <displayepisode /> <thumb>http://thetvdb.com/banners/episodes/269586/5371478.jpg</thumb> <watched>false</watched> <rating>7.9</rating> </episodedetails> If I mark the episode as watched through the Emby WebUI the nfo filesize changes to 3kb and contains the following: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <episodedetails> <plot>Jake and Charles convince Terry to take a weekend camping trip as a much needed "babymoon," but they soon realize it might not be the idealistic weekend for which they had hoped. Meanwhile back at the precinct, Holt gives Rosa some important relationship advice and Amy enlists Gina's help to prepare her for an important presentation.</plot> <outline /> <lockdata>false</lockdata> <dateadded>2015-11-08 20:08:30</dateadded> <title>Into the Woods</title> <originaltitle>Into the Woods</originaltitle> <rating>7.9</rating> <year>2015</year> <imdbid>tt4371306</imdbid> <tvdbid>5371478</tvdbid> <runtime>22</runtime> <isuserfavorite>false</isuserfavorite> <playcount>1</playcount> <watched>true</watched> <resume> <position>0</position> <total>1296.044</total> </resume> <episode>6</episode> <season>3</season> <aired>2015-11-08</aired> <fileinfo> <streamdetails> <video> <codec>h264</codec> <micodec>h264</micodec> <bitrate>4234559</bitrate> <width>1280</width> <height>718</height> <aspect>16:9</aspect> <aspectratio>16:9</aspectratio> <framerate>23.97602</framerate> <language>eng</language> <scantype>progressive</scantype> <default>True</default> <forced>False</forced> <duration>22</duration> <durationinseconds>1296</durationinseconds> </video> <audio> <codec>ac3</codec> <micodec>ac3</micodec> <bitrate>448000</bitrate> <language>eng</language> <scantype>progressive</scantype> <channels>6</channels> <samplingrate>48000</samplingrate> <default>True</default> <forced>False</forced> </audio> </streamdetails> </fileinfo> <displayseason /> <displayepisode /> <thumb>http://thetvdb.com/banners/episodes/269586/5371478.jpg</thumb> </episodedetails> However if I wait a day or two this episode nfo will revert back to the previous. The problem is that I dont have a clue what is causing the nfo files to revert back to the minimal (unwatched) 1kb version. This is happening with multiple episides of multiple shows. Last night I tried deleting all nfo files below 2kb from my TV folders and letting Emby rebuilding them, then marking episodes watched through the WebUI. I checked all the previously affected (unwatched) nfos and all looked OK but now today many episodes are again back as unwatched with minimal nfo files. I do not have trakt installed on my Kodi box, I recently reinstalled my kodi box from scratch to a Raspberry Pi and only install Emby for Kodi and still this is happening!! I really hope I have explained this problem well enough for people to understand! Any advise would be greatly appreciated, I will gladly provide any logs at all that may shine a light on this problem. Thanks, The Capt Link to comment Share on other sites More sharing options...
Solution Luke 37093 Posted November 17, 2015 Solution Share Posted November 17, 2015 we have a feature so sync watched state to nfo's. if you are using sonarr then make sure to disable it's nfo saving features because we've found that it overwrites the nfo and watched data is lost. 1 Link to comment Share on other sites More sharing options...
Capt.Insano 3 Posted November 17, 2015 Author Share Posted November 17, 2015 we have a feature so sync watched state to nfo's. if you are using sonarr then make sure to disable it's nfo saving features because we've found that it overwrites the nfo and watched data is lost. I bet that's it!! I had Sonarr metadata enabled, I have disabled it and I am now rebuilding my nfos. I will monitor and report back. Thank you so much Luke! Link to comment Share on other sites More sharing options...
Karbowiak 27 Posted November 17, 2015 Share Posted November 17, 2015 https://github.com/Sonarr/Sonarr/issues/932already reported on their site Link to comment Share on other sites More sharing options...
bayn 9 Posted November 19, 2015 Share Posted November 19, 2015 AWESOME! This was driving me nuts (exact setup, Unraid, docker, Sonarr etc)This quick fix needs to be pinned (though I'm not sure why I thought metadata from Sonarr was better than what Emby was scraping) Link to comment Share on other sites More sharing options...
hurricanehrndz 149 Posted November 19, 2015 Share Posted November 19, 2015 God, You have to be kidding me. This has been killing me too, I can't wait to see if this fixes the issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now