guessit
guessit copied to clipboard
[Feature] Detect volume property
+-------------------------------------------------------+
+ GuessIt 2.0.5 +
+-------------------------------------------------------+
| Please report any bug or feature request at |
| https://github.com/guessit-io/guessit/issues. |
+-------------------------------------------------------+
Some file/release names contains the volume information and most of the times it ends up inside the release_group:
guessit 'House.of.Cards.S04E03.Chapter.42.(1080p.x265.10bit.Joy).vol127+128'
For: House.of.Cards.S04E03.Chapter.42.(1080p.x265.10bit.Joy).vol127+128
GuessIt found: {
"title": "House of Cards",
"season": 4,
"episode": 3,
"episode_title": "Chapter 42",
"screen_size": "1080p",
"video_codec": "h265",
"video_profile": "10bit",
"release_group": "Joy).vol127+128",
"type": "episode"
}
I'm not aware of the meaning of this volume
information. My target was to get a clean release_group name and I faced this issue. My workaround is to post process the release group and remove the pattern \.vol\d+\+\d+
I'm still asking myself if this should be handled by guessit.
These files are not media files and could have the following pattern:
Some.Show.720p.HDTV.HEVC.x265-RG.mkv.vol021+17.PAR2.-.08.of.10.Some.Title.Here!.(1/27)
The suffix can bring a lot of issues because of the numbers and /
as well.
Feel free to reject it.
I think it makes sense to have a volume property.