diff options
author | David Teirney <david@teirney.net> | 2012-04-17 21:12:02 +1200 |
---|---|---|
committer | David Teirney <david@teirney.net> | 2012-05-01 23:22:56 +1200 |
commit | bc11fbd0a29fc1265d0ef09d25154e8c39334880 (patch) | |
tree | ebea3a99596122e2691137bde654f6ba1e933021 /lib/cmyth/include | |
parent | f0d16e9bfdb97a3653e7efcecfe77c21ff73d827 (diff) |
Added support for myth protocol 67.
Added new proginfo_season, proginfo_episode, proginfo_inetref properties and altered all of the places where the proginfo object is passed or received over the myth protocol.
Diffstat (limited to 'lib/cmyth/include')
-rw-r--r-- | lib/cmyth/include/cmyth/cmyth.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/cmyth/include/cmyth/cmyth.h b/lib/cmyth/include/cmyth/cmyth.h index 52f2f680b0..d8cb364adb 100644 --- a/lib/cmyth/include/cmyth/cmyth.h +++ b/lib/cmyth/include/cmyth/cmyth.h @@ -749,6 +749,20 @@ extern char *cmyth_proginfo_subtitle(cmyth_proginfo_t prog); extern char *cmyth_proginfo_description(cmyth_proginfo_t prog); /** + * Retrieve the season of a program. + * \param prog proginfo handle + * \return season + */ +extern unsigned short cmyth_proginfo_season(cmyth_proginfo_t prog); + +/** + * Retrieve the episode of a program. + * \param prog proginfo handle + * \return episode + */ +extern unsigned short cmyth_proginfo_episode(cmyth_proginfo_t prog); + +/** * Retrieve the category of a program. * \param prog proginfo handle * \return null-terminated string @@ -805,6 +819,13 @@ extern char *cmyth_proginfo_seriesid(cmyth_proginfo_t prog); extern char *cmyth_proginfo_programid(cmyth_proginfo_t prog); /** + * Retrieve the inetref of a program. + * \param prog proginfo handle + * \return null-terminated string + */ +extern char *cmyth_proginfo_inetref(cmyth_proginfo_t prog); + +/** * Retrieve the critics rating (number of stars) of a program. * \param prog proginfo handle * \return null-terminated string |