Jump to content

Live TV plugin recording channel creates multiple versions for episode items


pünktchen

Recommended Posts

pünktchen

Hi @@Luke, whatever i try since Emby 4.x the recording channel in my live tv plugins creates multiple versions for episode recording items:

 

5cb35db3007bc_Multiple_Versions.png

 

All recording items get an unique id. They only have often the same season and episode numbers in common.

Here's the (simplified) structure that i use to create the recording channel items:

RecordingChannel

	Name = "TV Shows",
	FolderType = ChannelFolderType.Container,
	Id = "tvshows",
		
		Name = item.Name
		SeriesName = item.Name
		Id = "series_" + item.Name.GetMD5().ToString("N"),
		Type = ChannelItemType.Folder,
		FolderType = ChannelFolderType.Container,
			
			Name = "Season " + i.SeasonNumber,
			SeriesName = item.Name,
			IndexNumber = item.SeasonNumber,
			Id = item.Name + "_season_" + item.SeasonNumber.ToString().GetMD5().ToString("N"),
			Type = ChannelItemType.Folder,
			FolderType = ChannelFolderType.Container,
				
				Id = item.Id,
				Name = item.EpisodeTitle
				SeriesName = item.Name
				IndexNumber = item.EpisodeNumber,
				ParentIndexNumber = item.SeasonNumber,
				Type = ChannelItemType.Media,
				ContentType = ChannelMediaContentType.Episode,

Log send via pm.

Link to comment
Share on other sites

Ok, as we're about to have a new stable release, I would suggest trying with that once available. Thanks.

  • Like 1
Link to comment
Share on other sites

pünktchen

Ok, as we're about to have a new stable release, I would suggest trying with that once available. Thanks.

It's the same problem with Emby 4.1.0.25 beta. So how should it be better with a new stable then?
Link to comment
Share on other sites

pünktchen

Are there multiple episodes with the same season and episode numbers?

Yes, but they are not in the same folder container and every folder container has a unique id.
Link to comment
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...