mark_episode_as_watched: Marks on MyEpisodes if an episode has been watched (through...

Description Usage Arguments Value Author(s) Examples

Description

Given a tv episode (list as from show_info_from_xml) this marks on MyEpisodes if a show has been watched. Given the lack of a proper MyEpisodes API and until a better solution is implemented here, it currently loads a browser at the appropriate update link.

Usage

1

Arguments

tv_episode

a show_info list from show_info_from_xml or similar

Value

character of the URL for the myepisodes update link, should also load link in a browser to get the desired behaviour, assuming user is logged in to myepisodes.

Author(s)

Matt Malin <email@mattmalin.co.uk>

Examples

1
2
3
4
5
## Not run: 
  mock_feed_url <- file.path(system.file(package = "myepisodes"), "test_data/mock_mylist.xml")
  mock_shows <- shows_from_myepisodes_feed(mock_feed_url)
  mark_episode_as_watched(mock_shows[[1]])
## End(Not run)

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