kingmann7317 / jmm

Automatically exported from code.google.com/p/jmm
0 stars 0 forks source link

Ignore All Other Episodes When Episode 1 "Complete Movie" Is Owned For Reporting Missing Episodes #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Take this series, for example: 
http://anidb.net/perl-bin/animedb.pl?show=anime&aid=905

If episode 1 is titled "Complete Movie", it should not report episodes 2 
(episode name: Part 1 if 2) and 3 (episode name: Part 2 of 2) as missing.

Original issue reported on code.google.com by tgx...@gmail.com on 26 Mar 2012 at 7:47

GoogleCodeExporter commented 8 years ago
Ok will see what I can do

Original comment by werndly...@gmail.com on 26 Mar 2012 at 10:37

GoogleCodeExporter commented 8 years ago

Original comment by werndly...@gmail.com on 3 Apr 2012 at 11:43

GoogleCodeExporter commented 8 years ago
Same as issue #107

Also, update code. This will add support to TV Specials case.

---INSERT---
  if ((AnimeType == enAnimeType.OVA) || (AnimeType == enAnimeType.Movie) || (AnimeType == enAnimeType.TVSpecial))
                {
                    AniDB_Episode aniEp = ep.AniDB_Episode;
                    string ename = aniEp.EnglishName.ToLower();
                    System.Text.RegularExpressions.Match m = partmatch.Match(ename);
                    StatEpisodes.StatEpisode s = new StatEpisodes.StatEpisode();
                    s.Available = available;
                    if (m.Success)
                    {
                        int part_number = 0;
                        int part_count = 0;
                        int.TryParse(m.Groups[1].Value, out part_number);
                        int.TryParse(m.Groups[2].Value, out part_count);
                        string rname = partmatch.Replace(ename, string.Empty);
                        rname = remsymbols.Replace(rname, string.Empty);
                        rname = remmultispace.Replace(rname, " ");

                        s.EpisodeType = StatEpisodes.StatEpisode.EpType.Part;
                        s.PartCount = part_count;
                        s.Match = rname.Trim();
                        if ((s.Match == "complete movie") || (s.Match == "movie") || (s.Match == "ova") || (s.Match=="tv special"))
                            s.Match = string.Empty;
                    }
                    else
                    {
                        if ((ename == "complete movie") || (ename == "movie") || (ename == "ova") || (s.Match == "tv special"))
                        {
                            s.Match = string.Empty;
                        }

---INSERT---

Original comment by maximo.p...@gmail.com on 7 Sep 2012 at 7:03

GoogleCodeExporter commented 8 years ago
For Bug Issuers.
Update all stats. Are needed to recalculate all the groups stats. And have a 
correct report.

Original comment by maximo.p...@gmail.com on 7 Sep 2012 at 7:06

GoogleCodeExporter commented 8 years ago
Isn't this fixed? Using variations solves this problem.

Original comment by akinc...@gmail.com on 26 Oct 2012 at 7:21

GoogleCodeExporter commented 8 years ago
No the same thing, I added tv specials (Last one have only movies and ovas).

This is for the false postive missing episodes showing in collections.

It happens when per example, there is one release with the complete movie by 
group A, and another release with the movie splitted in two parts by group B. 
AniDB marks the Anime has having 3 episodes. 1) Complete Movie.  2) Movie Part 
1. 3) Movie Part 2. JMM thinks this anime have 3 episodes. So when you have 
Episode 1) (Complete movie). It marks in the collection that you have 2 missing 
episodes. Or the other way around. When you have the two movie parts, it marks 
the first episode missing.  This workaround is a new way of Calculating the 
missing episodes in the collection views.

Variations, happens when you have two ops, or two episodes with difference but 
belongs to the same episodeid in anidb.  By the way, in utilities, (delete 
all), do no work anymoe (Stop deleting the files phisical, and in DB).

Original comment by maximo.p...@gmail.com on 26 Oct 2012 at 8:01

GoogleCodeExporter commented 8 years ago

Original comment by werndly...@gmail.com on 21 Dec 2012 at 2:25