ep_number: Shows episode season/number in format SxNN

Description Usage Arguments Value Author(s) See Also

Description

Returns episode from a show info list, of the form e.g. 1x12, 8x04, left padding the episode number to max_length (default 2) if necessary.

Usage

1
  ep_number(show_item, max_length = 2)

Arguments

show_item

a show item list, typically from show_info_from_xml

max_length

the length to pad episode numbers to, usually 2 is standard.

Value

character of form NxNN

Author(s)

Matt Malin <email@mattmalin.co.uk>

See Also

show_info_from_xml


myepisodes documentation built on May 2, 2019, 3:38 p.m.