Jump to content
lardners

TV Episodes Disappering

Recommended Posts

lardners

Hello,

 

I've just noticed that certain seasons of my TV shows are suddenly showing as blank (both on WMC and via Browser), in that no episodes are listed.

I haven't changed my folder structure, all the files are there so I can't figure out why it's happening.

My folder structure is G:\TV Shows\Breaking Bad\Season 1\01X01.mp4 

 

Breaking Bad for example looks like this for all the seasons:

 

590860e131e5d_BBADS1.jpg

 

If I do a refresh, it restores the episodes but they disappear again a few minutes later.

 

 

 

 

 

Share this post


Link to post
Share on other sites
Luke

hi @@lardners, is this still happening? If so, let's take a look at the server log. Can you please refresh to bring the episodes back, then wait those few minutes until they disappear. Once they disappear, please provide us with the emby server log. you can learn how to do that here:

 

https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/

 

Thanks !

Share this post


Link to post
Share on other sites
lardners

hi @@lardners, is this still happening? If so, let's take a look at the server log. Can you please refresh to bring the episodes back, then wait those few minutes until they disappear. Once they disappear, please provide us with the emby server log. you can learn how to do that here:

 

https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/

 

Thanks !

 

Hi Luke

 

Thanks for replying. Yes it's still happening; at the moment it seems to be having issues with season 4 specifically for Breaking Bad and The Wire.

 

I am on the latest server version 3.2.13.0

 

You can see here, the Breaking Bad S4 episodes are missing on web interface:

 

590992f9077b4_BBB4Refresh.jpg

 

I did a refresh on Season 4 at 09:11 (my time)

 

The episodes re-appeared at 09:13:

 

5909931943b43_BBAfterRefresh.jpg

 

They disappeared a few minutes later at around 09:15.

 

Logs attached.

server-63629366400.txt

Share this post


Link to post
Share on other sites
Luke

What kind of metadata do you have in the folders? nfo, xml, or neither?

Share this post


Link to post
Share on other sites
lardners

What kind of metadata do you have in the folders? nfo, xml, or neither?

It's XML, there's a series.xml in the breaking bad folder, a season.xml in each season folder and then a metadata folder (within the season folder) which has 04x01.xml, 04x02.xml etc.

Share this post


Link to post
Share on other sites
Luke

I am guessing those metadata files do not contain the season/episode numbers, and further, i am guessing you have disabled emby metadata nfo saving?

 

So that is your problem. You have incomplete metadata. You refresh and Emby fills in missing data, but it's unable to save anywhere because you've disabled  it. Then those xml files get re-read, and the data in the xml replaces everything.

 

I would suggest dropping those xml files and using Emby nfo support.

 

If you still want to use xml, @@Happy2Play may have some advice because he does that I think.

Share this post


Link to post
Share on other sites
Happy2Play

What program is generating your xmls?  Can you provide the information in one of the episode xml files.

 

Are all the other season "m4v" files also?

Share this post


Link to post
Share on other sites
lardners

I am guessing those metadata files do not contain the season/episode numbers, and further, i am guessing you have disabled emby metadata nfo saving?

 

So that is your problem. You have incomplete metadata. You refresh and Emby fills in missing data, but it's unable to save anywhere because you've disabled  it. Then those xml files get re-read, and the data in the xml replaces everything.

 

I would suggest dropping those xml files and using Emby nfo support.

 

If you still want to use xml, @@Happy2Play may have some advice because he does that I think.

A season.xml file has as below:

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <SeasonNumber>4</SeasonNumber>
  <Added>21/01/2015 18:59:07</Added>
  <LockData>false</LockData>
  <Overview><![CDATA[The fourth season of the American television drama series Breaking Bad premiered on July 17, 2011 and concluded on October 9, 2011. It consists of 13 episodes, each running approximately 47 minutes in length. AMC broadcast the fourth season on Sundays at 10:00 pm ET in the United States. The complete fourth season was released on Region 1 DVD and Region A Blu-ray on June 5, 2012.]]></Overview>
  <LocalTitle>Season 4</LocalTitle>
  <PremiereDate>2011-07-17</PremiereDate>
  <ProductionYear>2011</ProductionYear>
  <TvDbId>297361</TvDbId>
</Item>
 
 
And within the metadata folder, a file such as 04x01.xml has:
 
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <EpisodeName>Box Cutter</EpisodeName>
  <EpisodeNumber>1</EpisodeNumber>
  <SeasonNumber>4</SeasonNumber>
  <absolute_number>34</absolute_number>
  <DVD_episodenumber>1</DVD_episodenumber>
  <DVD_season>4</DVD_season>
  <FirstAired>2011-07-17</FirstAired>
  <Added>21/01/2015 18:59:07</Added>
  <LockData>true</LockData>
  <Overview><![CDATA[Walt and Jesse face the deadly consequences of their actions. Skyler deals with a puzzling disappearance, as Marie struggles to help Hank with his recovery.]]></Overview>
  <Rating>8</Rating>
  <VoteCount>303</VoteCount>
  <ProductionYear>2011</ProductionYear>
  <RunningTime>45</RunningTime>
  <IMDB>tt1683084</IMDB>
  <TvDbId>2639411</TvDbId>
  <Persons>
    <Person>
      <Name>Adam Bernstein</Name>
      <Type>Director</Type>
      <Role>
      </Role>
    </Person>
    <Person>
      <Name>Vince Gilligan</Name>
      <Type>Writer</Type>
      <Role>
      </Role>
    </Person>
  </Persons>
</Item>
 

 

I didn't know that emby used nfo, I thought XML was the standard.

 

If I am to change to NFO, on menu below, should I be moving NFO to the top and then check the box for NFO under metadata savers?

 

590a209a0f17c_EMBYNFO.jpg

Share this post


Link to post
Share on other sites
Luke

Nfo is actually the standard and the default. What you can do is enable nfo saving, and move nfo reading to the top of the priority list (which is default). Thanks !

Share this post


Link to post
Share on other sites
lardners

What program is generating your xmls?  Can you provide the information in one of the episode xml files.

 

Are all the other season "m4v" files also?

 

Hi Happy2Play

 

I don't have a program (that I know of) that generates the xmls, I thought EMBY was generating them.

 

A season.xml file has as below:

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <SeasonNumber>4</SeasonNumber>
  <Added>21/01/2015 18:59:07</Added>
  <LockData>false</LockData>
  <Overview><![CDATA[The fourth season of the American television drama series Breaking Bad premiered on July 17, 2011 and concluded on October 9, 2011. It consists of 13 episodes, each running approximately 47 minutes in length. AMC broadcast the fourth season on Sundays at 10:00 pm ET in the United States. The complete fourth season was released on Region 1 DVD and Region A Blu-ray on June 5, 2012.]]></Overview>
  <LocalTitle>Season 4</LocalTitle>
  <PremiereDate>2011-07-17</PremiereDate>
  <ProductionYear>2011</ProductionYear>
  <TvDbId>297361</TvDbId>
</Item>
 
 
And within the metadata folder, a file such as 04x01.xml has:
 
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <EpisodeName>Box Cutter</EpisodeName>
  <EpisodeNumber>1</EpisodeNumber>
  <SeasonNumber>4</SeasonNumber>
  <absolute_number>34</absolute_number>
  <DVD_episodenumber>1</DVD_episodenumber>
  <DVD_season>4</DVD_season>
  <FirstAired>2011-07-17</FirstAired>
  <Added>21/01/2015 18:59:07</Added>
  <LockData>true</LockData>
  <Overview><![CDATA[Walt and Jesse face the deadly consequences of their actions. Skyler deals with a puzzling disappearance, as Marie struggles to help Hank with his recovery.]]></Overview>
  <Rating>8</Rating>
  <VoteCount>303</VoteCount>
  <ProductionYear>2011</ProductionYear>
  <RunningTime>45</RunningTime>
  <IMDB>tt1683084</IMDB>
  <TvDbId>2639411</TvDbId>
  <Persons>
    <Person>
      <Name>Adam Bernstein</Name>
      <Type>Director</Type>
      <Role>
      </Role>
    </Person>
    <Person>
      <Name>Vince Gilligan</Name>
      <Type>Writer</Type>
      <Role>
      </Role>
    </Person>
  </Persons>
</Item>
 
All of the episodes are m4v except for 12 episodes in Season 5 which are MKV.

Share this post


Link to post
Share on other sites
lardners

Nfo is actually the standard and the default. What you can do is enable nfo saving, and move nfo reading to the top of the priority list (which is default). Thanks !

I've switched over to NFO and did a refresh of Breaking Bad. This has created tvshow.nfo, season.nfo and 04x01.nfo files etc......but still have the same problem; seasons 1,2,3 & 5 are fine but season 4 is not showing any episodes.

 

Makes no sense to me. I can't see any difference between the files and folders in Season 4 compared to the other seasons.

Share this post


Link to post
Share on other sites
Luke

did you delete the xml files?

Share this post


Link to post
Share on other sites
lardners

did you delete the xml files?

Yes deleted all XML files before the refresh.

 

There is an empty folder called metadata in each season folder, should I remove it or does that matter?

Share this post


Link to post
Share on other sites
lardners

Hi Luke

 

I sorted this by stopping the server, deleting library.db and refreshinfo.db from data folder and then doing a fresh library scan.

 

All episodes for my tv shows are showing and all my metadata is in NFO now too so all good.

 

Thanks for your help.

  • Like 1

Share this post


Link to post
Share on other sites
Luke

Thanks for the feedback.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...