pr0pz / scene-release-parser-php

A library for parsing scene release names into simpler, reusable data.
11 stars 2 forks source link

Missing Language Detection #2

Closed dennisoderwald closed 1 year ago

dennisoderwald commented 1 year ago

Here are a few examples where only the language "multi" comes out:

Angel.Heart.1987.German.DTSMAD.5.1.DL.2160p.UHD.BluRay.HDR.DV.HEVC.Remux-HDSource
Dressed.To.Kill.1980.German.US.UHDBD.2160p.DV.HDR10.HEVC.DTSHD.DL.Remux-pmHD
Hugo.Cabret.2011.German.US.UHDBD.2160p.DV.HDR10.HEVC.AC3.DL.Remux-pmHD
Dance.of.the.Demons.1985.German.GBR.UHDBD.2160p.DV.HDR10.HEVC.DTSHD.DL.Remux-pmHD
Mulan.2020.German.EAC3.DL.2160p.UHD.BluRay.HDR.HEVC.Remux-NIMA4K
The.Flash.2023.German.EAC3.Atmos.DL.1080p.WEBRip.x265-FD
Upgrade.2018.GERMAN.DTSD.DL.2160p.UHD.BluRay.HEVC-FHC
Die.Liga.der.aussergewoehnlichen.Gentlemen.2003.German.EAC3.DL.1080p.BluRay.x265-VECTOR

For the following title, "en" was incorrectly detected:

Der.Leuchtturm.2019.German.DTSD.DL.2160p.UK.UHD.BluRay.DV.HDR.HEVC.Remux-QfG
pr0pz commented 1 year ago

The problem with some of these releases is that they are kind of mislabeled because they're not following scene naming rules.

https://scenerules.org/html/2020_X265.html

Example: Feature.Title...[LANGUAGE]...<x264|x265>-GROUP

The languages aren't splitted into separate parts of the release name. In your examples we have German and DL (Dual language = multi), but DL is separated from 'german' which is not rule conform.

[...].German.US.[...].DL -> Even worse...

I'm looking into but I'm not sure if i can solve all those issues.

pr0pz commented 1 year ago

I added a fix for this specific issue regarding Language name followed by US/GBR.

dennisoderwald commented 1 year ago
Ernestos.Island.2022.German.WEBRip.AC3.x264-CyberHQ
Akropolis.Bonjour.Monsieur.Thierry.macht.Urlaub.2022.German.WEBRip.AC3.x264-CyberHQ
Wie.waere.es.mit.Spinat.1977.German.COMPLETE.PAL.DVD9-HYPNOKROETE
The.Flash.2023.TS.AC3.MD.DL.German.V2.1080p.x264-Sneakman
Werner.Volles.Rooaeaeae.1999.German.COMPLETE.PAL.DVD9-HYPNOKROETE
Werner.Eiskalt.2011.German.COMPLETE.PAL.DVD9-HYPNOKROETE
Werner.Gekotzt.wird.spaeter.2003.German.COMPLETE.PAL.DVD9-HYPNOKROETE
Werner.Beinhart.1990.German.COMPLETE.PAL.DVD9-HYPNOKROETE
Victoria.2015.German.COMPLETE.PAL.DVD9-HYPNOKROETE
Werner.Das.muss.kesseln.1996.German.COMPLETE.PAL.DVD9-HYPNOKROETE
Die.Grosse.Offensive.1978.German.AFTERSYNCHRO.720p.BluRay.x264-CONTRiBUTiON
Die.Grosse.Offensive.1978.German.AFTERSYNCHRO.BDRip.x264-CONTRiBUTiON
Bag.Attack.2019.GERMAN.COMPLETE.PAL.DVDR-FULLBRUTALiTY