parse-torrent-name icon indicating copy to clipboard operation
parse-torrent-name copied to clipboard

Episode name gets cut off

Open datagutt opened this issue 10 years ago • 2 comments

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] }

datagutt avatar Jan 02 '15 17:01 datagutt

I see #49 already exists.

datagutt avatar Jan 02 '15 17:01 datagutt

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.

jzjzjzj avatar Jan 02 '15 18:01 jzjzjzj