divijbindlish / parse-torrent-name

Extract media information from a filename
MIT License
217 stars 61 forks source link

Parse TV.Show.2017.07.01 episode names #14

Open ncrow opened 7 years ago

ncrow commented 7 years ago

Would it be possible to add support for parsing TV names where episodes are designated by date?

I could see two methods for parsing TV.Show.2017.07.01

  1. Add month and year keys
  2. Recognize 2017.07.01 as the episode
roidayan commented 7 years ago

Do you have examples for such shows ?

ncrow commented 7 years ago

Jimmy.Not.Funny.2017.08.01.Jerry.Benner.720p.HDTV.x264-SORNY[eztv].mkv The.Old.Daily.TV.Show.2017.07.31.WEBRip.x264-RARBG[eztv].mp4 Fake.Time.With.Bill.Oreilly.2017.06.30.HDTV.x264-UAV[eztv].mkv

roidayan commented 7 years ago

i'm sorry but maybe the torrent name is different from those filenames because those doesn't seem real torrent names from eztv

Rhilip commented 7 years ago

Almostly same.And I think filenames is more useful and important. In other hand, The filenames must follow the rule( see The.720p.TV.x264.Releasing.Standards.2016-TVx264 16.4 ),but torrent name may not.

│  16.4) Releases must follow the matching directory format:                  │
│   16.4.1) Single.Episode.Special.YYYY.<TAGS>.[LANGUAGE].720p.<FORMAT>-GROUP │
│   16.4.2) Weekly.TV.Show.SXXEXX[Episode.Part].[Episode.Title].              │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.3) Weekly.TV.Show.Special.SXXE00.Special.Title.                      │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>-GROUP                             │
│   16.4.4) Multiple.Episode.TV.Show.SXXEXX-EXX[Episode.Part].                │
│           [Episode.Title].<TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP        │
│   16.4.5) Miniseries.Show.Name.Part.X.[Episode.Title].                      │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.6) Daily.TV.Show.YYYY.MM.DD.[Guest.Name].                            │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.7) Daily.Sport.League.YYYY.MM.DD.Event.                              │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.8) Monthly.Competition.YYYY.MM.Event.                                │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.9) Yearly.Competition.YYYY.Event.                                    │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.10) Sports.Match.YYYY[-YY].Event.Round.XX.[Team.vs.Team].            │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.11) Sport.Tournament.YYYY.Event.[Team/Person.vs.Team/Person].        │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
│   16.4.12) Country.YYYY.Event.<BROADCASTER>.FEED.                           │
│           <TAGS>.[LANGUAGE].720p.<FORMAT>.x264-GROUP                        │
roidayan commented 7 years ago

Ok

On Fri, Aug 11, 2017, 15:57 Rhilip notifications@github.com wrote:

Almostly same.And I think filenames is more useful and important. In other hand, The filenames must follow the rule( see The.720p.TV.x264.Releasing.Standards.2016-TVx264 https://scenerules.org/t.html?id=tvx2642k16.nfo 16.4 ),but torrent name may not.

│ 16.4) Releases must follow the matching directory format: │ │ 16.4.1) Single.Episode.Special.YYYY..[LANGUAGE].720p.-GROUP │ │ 16.4.2) Weekly.TV.Show.SXXEXX[Episode.Part].[Episode.Title]. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.3) Weekly.TV.Show.Special.SXXE00.Special.Title. │ │ .[LANGUAGE].720p.-GROUP │ │ 16.4.4) Multiple.Episode.TV.Show.SXXEXX-EXX[Episode.Part]. │ │ [Episode.Title]..[LANGUAGE].720p..x264-GROUP │ │ 16.4.5) Miniseries.Show.Name.Part.X.[Episode.Title]. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.6) Daily.TV.Show.YYYY.MM.DD.[Guest.Name]. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.7) Daily.Sport.League.YYYY.MM.DD.Event. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.8) Monthly.Competition.YYYY.MM.Event. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.9) Yearly.Competition.YYYY.Event. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.10) Sports.Match.YYYY[-YY].Event.Round.XX.[Team.vs.Team]. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.11) Sport.Tournament.YYYY.Event.[Team/Person.vs.Team/Person]. │ │ .[LANGUAGE].720p..x264-GROUP │ │ 16.4.12) Country.YYYY.Event..FEED. │ │ .[LANGUAGE].720p..x264-GROUP │

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/divijbindlish/parse-torrent-name/issues/14#issuecomment-321805391, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoSntkN6JRLOfLlwduOt6zTZpDYu3oMks5sXE-4gaJpZM4OdGYh .

ncrow commented 7 years ago

My request is to capture the month and day for file names that follow the format of section 16.4.6.

platelminto commented 4 years ago

Support for this is added in my fork of this project, among other fixes I'd like to see merged into here, but this seems unmaintained as no pull requests in the past few years have been accepted.