Classes | |
| class | OutStreamEncoder |
| class | Videos |
Functions | |
| def | getBBCConfig |
| def | getUserPreferences |
| def | setCountry |
| def | getSeasonEpisode |
| def | processVideoUrl |
| def | searchTitle |
| def | searchForVideos |
| def | displayTreeView |
Variables | |
| string | __title__ = "bbciplayer_api - Simple-to-use Python interface to the BBC iPlayer RSS feeds (http://www.bbc.co.uk)" |
| string | __author__ = "R.D. Vaughan" |
| string | __purpose__ |
| string | __version__ = "v0.1.3" |
| string | version = '' |
| bbciplayer_config | |
| userPrefs | |
| channel_icon | |
| def nv_python_libs::bbciplayer::bbciplayer_api::getBBCConfig | ( | self | ) |
Read the MNV BBC iPlayer grabber "bbc_config.xml" configuration file return nothing
Definition at line 206 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::getUserPreferences | ( | self | ) |
Read the bbciplayer_config.xml and user preference bbciplayer.xml file. If the bbciplayer.xml file does not exist then copy the default. return nothing
Definition at line 226 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::setCountry | ( | self, | ||
| item | ||||
| ) |
Parse the item information (HTML or RSS/XML) to identify if the content is a video or audio file. Set the contry code if a video is detected as it can only be played in the "UK" return "uk" if a video type was detected. return None if a video type was NOT detected.
Definition at line 260 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::getSeasonEpisode | ( | self, | ||
| title | ||||
| ) |
Check is there is any season or episode number information in an item's title return array of season and/or episode numbers return array with None values
Definition at line 275 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::processVideoUrl | ( | self, | ||
| url | ||||
| ) |
Definition at line 303 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::searchTitle | ( | self, | ||
| title, | ||||
| pagenumber, | ||||
| pagelen | ||||
| ) |
Key word video search of the BBC iPlayer web site return an array of matching item elements return
Definition at line 308 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::searchForVideos | ( | self, | ||
| title, | ||||
| pagenumber | ||||
| ) |
Common name for a video search. Used to interface with MythTV plugin NetVision
Definition at line 423 of file bbciplayer_api.py.
| def nv_python_libs::bbciplayer::bbciplayer_api::displayTreeView | ( | self | ) |
Gather the BBC iPlayer feeds then get a max page of videos meta data in each of them Display the results and exit
Definition at line 492 of file bbciplayer_api.py.
| string nv_python_libs::bbciplayer::bbciplayer_api::__title__ = "bbciplayer_api - Simple-to-use Python interface to the BBC iPlayer RSS feeds (http://www.bbc.co.uk)" |
Definition at line 14 of file bbciplayer_api.py.
| string nv_python_libs::bbciplayer::bbciplayer_api::__author__ = "R.D. Vaughan" |
Definition at line 15 of file bbciplayer_api.py.
''' This python script is intended to perform a variety of utility functions to search and access text meta data, video and image URLs from the BBC iPlayer Web site. These routines process RSS feeds provided by BBC (http://www.bbc.co.uk). The specific BBC iPlayer RSS feeds that are processed are controled through a user XML preference file usually found at "~/.mythtv/MythNetvision/userGrabberPrefs/bbciplayer.xml" '''
Definition at line 16 of file bbciplayer_api.py.
Definition at line 23 of file bbciplayer_api.py.
Definition at line 81 of file bbciplayer_api.py.
Referenced by EITHelper::AddEIT(), MythRenderVDPAU::CheckHardwareSupport(), DBUtil::CompareDBMSVersion(), UPnpCDS::DetermineClient(), GetATVversion(), MPEGStreamData::HandleTables(), ATSCStreamData::HandleTables(), MythSocketManager::HandleVersion(), MainServer::HandleVersion(), MPEGStreamData::IsRedundant(), DVBStreamData::IsRedundant(), ATSCStreamData::IsRedundant(), EITCache::LoadChannel(), V4LChannel::Open(), DBUtil::ParseDBMSVersion(), ParseGrabberVersion(), MythUDPListener::Process(), AvFormatDecoder::ScanStreams(), DTVChannel::SetChannelByString(), TreeEditor::slotLoadedData(), and SearchEditor::slotLoadedData().
Definition at line 219 of file bbciplayer_api.py.
Definition at line 254 of file bbciplayer_api.py.
Definition at line 509 of file bbciplayer_api.py.
1.6.3