INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: JohnT on October 26, 2011, 12:17:51 pm

Title: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JohnT on October 26, 2011, 12:17:51 pm
I'm trying to improve how we handle importing a Blu-ray disc such that we assign the correct media subtype (Movie or TV Show).  I've heard that some TV series discs have a single playlist which plays all of the episodes, along with a playlist per episode on the disc.  We are probably incorrectly assigning these a "Movie" subtype.  If anyone knows of one of these, please let me know the title so I can get my hands on it.

Thanks.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: jmone on October 26, 2011, 02:59:45 pm
Most of mine do have such playlists, eg

Sherlock: Season1, Disc1.  It has two eps on it and the following playlists of interest (each with their own M2ts file):
  - 00002.mpls = 2:56:32 (both eps)
  - 00000.mpls = 1:28:06 (eps 1) (note: single M2TS file 00000.m2ts for the eps)
  - 00001.mpls = 1:28:26 (eps 2) (note: single M2TS file 00000.m2ts for the eps)

Doctor Who: Series 6: Part 1, Disc1.  It has four eps + specials on it and the following playlists of interest (each with their own M2ts file):
  - 00004.mpls = 3:00:32 (all eps eps)
  - 00005 and 00009.mpls = 0:43:35 (eps 1) (note: single M2TS file 00004.m2ts for the eps)
  - 00006 and 00010.mpls = 0:46:06 (eps 2) (note: single M2TS file 00005.m2ts for the eps)
  - 00007 and 00011.mpls = 0:44:53 (eps 3) (note: single M2TS file 00006.m2ts for the eps)
  - 00008 and 00012.mpls = 0:45:54 (eps 4) (note: single M2TS file 00007.m2ts for the eps)

Downton Abbey: Series1, Disc1.  This is even more complicated, It has 4 Eps on it (each with their own M2TS file) and "think" is is arranged as follows
  - 00973.mpls = 1:58:01 is for EPS 1 and 2
  - 00996.mpls = 1:37:30 is for EPS 3 and 4
  - 00000 and 00999.mpls = 1:08:27 (eps 1) (note: single M2TS file 00010.m2ts for the eps)
  - 01000 and 00995.mpls = 0:49:33 (eps 2) (note: single M2TS file 00184.m2ts for the eps)

At present I just copy off the individual M2TS files and tag them up.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JimH on October 26, 2011, 03:06:36 pm
I wonder if we total the mpls times, then subtract the biggest, then see if the others are a close match for the biggest.  If they are, we could then assume the biggest represents the remaining.

Quote
- 00004.mpls = 3:00:32 (all eps eps)

- 00005 and 00009.mpls = 0:43:35 (eps 1) (note: single M2TS file 00004.m2ts for the eps)
- 00006 and 00010.mpls = 0:46:06 (eps 2) (note: single M2TS file 00005.m2ts for the eps)
- 00007 and 00011.mpls = 0:44:53 (eps 3) (note: single M2TS file 00006.m2ts for the eps)
  - 00008 and 00012.mpls = 0:45:54 (eps 4) (note: single M2TS file 00007.m2ts for the eps)
The last four total 3:00:28.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JohnT on October 26, 2011, 03:16:09 pm
I wonder if we total the mpls times, then subtract the biggest, then see if the others are a close match for the biggest.  If they are, we could then assume the biggest represents the remaining.
The last four total 3:00:28.

That's how we're doing it for dvd currently.  I can implement it that way for blu-ray and maybe Nathan can test it and report back if it works.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: jmone on October 26, 2011, 03:21:17 pm
No probs - There are some slight rounding issues sometimes but it should work as such an approach then excludes all the other "extras" on the disc
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: jmone on October 26, 2011, 03:24:15 pm
The other approach that would also work with the Downton setup would be to compare the chapter info between the Playlists as the "big" playlist is clearly and combination of the others.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: Hendrik on October 26, 2011, 03:35:48 pm
That's how we're doing it for dvd currently.  I can implement it that way for blu-ray and maybe Nathan can test it and report back if it works.

What about extras that are on the disc? Those wouldn't be accounted for in the "all episodes" playlist, and thus your whole logic falls apart, kinda.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JimH on October 26, 2011, 03:40:06 pm
Aren't the extras usually less than 30 minutes?
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JustinChase on October 26, 2011, 03:48:14 pm
Would it be possible to start tracking these discs with YADB, and "know" the correct titles for these known discs, making this calculation useful for only new discs?

The math/theory sounds right in the discussion above if there aren't any extras.  Maybe instead you could take the largest file, then see if dividing that by 3 thru 6 (likely number of episodes on one disc) returns a value similar to that number of other files.  if so, those are likely your individual episodes.

i.e. the largest file in the example above is 180 minutes.

180 divided by 3 = (3) 60 minute episodes, which does not match up to (3) remaining files; next try
180 divided by 4 = (4) 45 minute episodes, which does match up to (4) ~45 minute episodes; winner!
I suppose you could stop calculating here, but finishing the "test" would reveal 2 more failures, confirming the results for test 2.

Eventually a good record of common disc titles (in YADB?) would be very useful I think.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: jmone on October 26, 2011, 03:57:14 pm
The YADB makes sense as long as there is some Disc ID to differentiate between the various releases around the world.

I'm sure there will be exceptions to this but so far pattern seems to be that the "Big" playlist is a combination of the the EPS and excludes the extra content.  I still like the idea of actually comparing the content of the playlists (eg the chapters each contain) over just the length as it will be much more robust logic in working out what content is contained / duplicated in each.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JustinChase on October 26, 2011, 04:02:19 pm
The YADB makes sense as long as there is some Disc ID to differentiate between the various releases around the world.

I'm sure there will be exceptions to this but so far pattern seems to be that the "Big" playlist is a combination of the the EPS and excludes the extra content.  I still like the idea of actually comparing the content of the playlists (eg the chapters each contain) over just the length as it will be much more robust logic in working out what content is contained / duplicated in each.

maybe it's best to see if there are 3-6 files of very similar size, then see how the total of those compares to the largest file; with any difference compared to the remaining files??

comparing contents seems more thorough or accurate, but also seems more processor intensive?
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: JohnT on October 26, 2011, 04:09:11 pm
What about extras that are on the disc? Those wouldn't be accounted for in the "all episodes" playlist, and thus your whole logic falls apart, kinda.
Actually I grossly simplified the process with DVD's, in that case we look for long titles that exactly overlap the same disc sectors as all of the titles with TV show type durations (20 -60 minutes) and only call them a TV show disc if it works out.  I'd like to get a blu-ray disc that exhibits this issue so I could use a similar algorithm in that case.  However it's possible that 99% of the cases would be correctly covered by a simple interpretation of the the durations.
Title: Re: Looking for Blu-ray TV series disc with playlist which plays all episodes
Post by: jmone on October 26, 2011, 04:12:34 pm
Happy to test any of the ideas when you have it up and going.