pyepgdb.values module¶
-
class
pyepgdb.values.
Programme
(episode, broadcast)[source]¶ Bases:
object
A produced episode or film, associated with a specific broadcast of it.
- Parameters
episode (typing.Dict) – Record from the epgdb file describing the actual content of the episode or film.
broadcast (typing.Dict) – Record from the epgdb file describing a specific broadcast of the episode or film.
-
episode
¶ Record for the actual episode content.
-
broadcast
¶ Record for the specific episode broadcast.
-
pyepgdb.values.
parse
(items, store=None)[source]¶ Restructure parsed epgdb records into programme objects.
- Parameters
records (typing.Iterator) – Result of
pyepgdb.structure.parse()
store (typing.Dict) – Used to store temporary data. Should be empty. Default: in-memory store
- Return type