parse-torrent-name
parse-torrent-name copied to clipboard
Episode name gets cut off
Some files use spaces to separate episode names.
Also, excess is an object here. I thought it was supposed to be string?
Filename: Community S04E05 Cooperative Escapism in Familial Relations 1080p WEB-DL DD5.1 H.264 - HoodBag.mkv
Output:
{ season: 4,
episode: 5,
resolution: '1080p',
quality: 'WEB-DL',
codec: 'H.264',
audio: 'DD5.1',
group: 'HoodBag',
title: 'community',
episodeName: 'Cooperative',
excess: [Object] }
I see #49 already exists.
Excess can be an array if there is multiple unidentified parts. In this case - rest of the episode name words each separately.
Will delay this until v1.