PlaybackBox Class Reference

#include <playbackbox.h>

Inheritance diagram for PlaybackBox:
ScheduleCommon MythScreenType MythUIType XMLParseBase

List of all members.

Public Types

enum  BoxType { kPlayBox, kDeleteBox }
enum  ViewType {
  TitlesOnly = 0, TitlesCategories = 1, TitlesCategoriesRecGroups = 2, TitlesRecGroups = 3,
  Categories = 4, CategoriesRecGroups = 5, RecGroups = 6, ViewTypes
}
enum  ViewTitleSort { TitleSortAlphabetical = 0, TitleSortRecPriority = 1, TitleSortMethods }
enum  ViewMask {
  VIEW_NONE = 0x0000, VIEW_TITLES = 0x0001, VIEW_CATEGORIES = 0x0002, VIEW_RECGROUPS = 0x0004,
  VIEW_WATCHLIST = 0x0008, VIEW_SEARCHES = 0x0010, VIEW_LIVETVGRP = 0x0020, VIEW_WATCHED = 0x8000
}
enum  DeletePopupType { kDeleteRecording, kStopRecording, kForceDeleteRecording }
enum  DeleteFlags {
  kNoFlags = 0x00, kForgetHistory = 0x01, kForce = 0x02, kIgnore = 0x04,
  kAllRemaining = 0x08
}
enum  killStateType { kNvpToPlay, kNvpToStop, kDone }

Public Slots

void displayRecGroup (const QString &newRecGroup="")
void groupSelectorClosed (void)

Public Member Functions

 PlaybackBox (MythScreenStack *parent, QString name, BoxType ltype, TV *player=NULL, bool showTV=false)
 ~PlaybackBox (void)
bool Create (void)
virtual void Load (void)
 Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning).
virtual void Init (void)
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load().
bool keyPressEvent (QKeyEvent *)
 Key event handler.
void customEvent (QEvent *event)
void setInitialRecGroup (QString initialGroup)

Static Public Member Functions

static void * RunPlaybackBox (void *player, bool)

Protected Slots

void updateRecList (MythUIButtonListItem *)
void ItemSelected (MythUIButtonListItem *item)
void ItemVisible (MythUIButtonListItem *item)
void selected (MythUIButtonListItem *item)
void PlayFromBookmark (MythUIButtonListItem *item=NULL)
void PlayFromBeginning (MythUIButtonListItem *item=NULL)
void deleteSelected (MythUIButtonListItem *item)
void SwitchList (void)
void ShowGroupPopup (void)
void customEdit ()
void upcoming ()
void upcomingScheduled ()
void details ()
void StopSelected (void)
void showMetadataEditor ()
void showGroupFilter ()
void showRecGroupPasswordChanger ()
MythMenucreatePlayFromMenu ()
MythMenucreateRecordingMenu ()
MythMenucreateJobMenu ()
MythMenucreateTranscodingProfilesMenu ()
MythMenucreateStorageMenu ()
MythMenucreatePlaylistMenu ()
MythMenucreatePlaylistStorageMenu ()
MythMenucreatePlaylistJobMenu ()
void changeProfileAndTranscode (int id)
void showProgramDetails ()
void showIconHelp ()
void ShowRecGroupChangerUsePlaylist (void)
void ShowPlayGroupChangerUsePlaylist (void)
void ShowRecGroupChanger (bool use_playlist=false)
 Used to change the recording group of a program or playlist.
void ShowPlayGroupChanger (bool use_playlist=false)
 Used to change the play group of a program or playlist.
void popupClosed (QString which, int reason)
void doPlayListRandom ()
void askStop ()
void doEditScheduled ()
void doAllowRerecord ()
 Callback function when Allow Re-record is pressed in Watch Recordings.
void askDelete ()
void Undelete (void)
void Delete (DeleteFlags=kNoFlags)
void DeleteForgetHistory (void)
void DeleteForce (void)
void DeleteIgnore (void)
void DeleteForceAllRemaining (void)
void DeleteIgnoreAllRemaining (void)
void toggleWatched ()
void toggleAutoExpire ()
void togglePreserveEpisode ()
void toggleView (ViewMask itemMask, bool setOn)
void toggleTitleView (bool setOn)
void toggleCategoryView (bool setOn)
void toggleRecGroupView (bool setOn)
void toggleWatchListView (bool setOn)
void toggleSearchView (bool setOn)
void toggleLiveTVView (bool setOn)
void toggleWatchedView (bool setOn)
void setGroupFilter (const QString &newRecGroup)
void setRecGroup (QString newRecGroup)
void setPlayGroup (QString newPlayGroup)
void saveRecMetadata (const QString &newTitle, const QString &newSubtitle, const QString &newDescription, const QString &newInetref, uint season, uint episode)
void SetRecGroupPassword (const QString &newPasswd)
void doJobQueueJob (int jobType, int jobFlags=0)
void doPlaylistJobQueueJob (int jobType, int jobFlags=0)
void stopPlaylistJobQueueJob (int jobType)
void doBeginFlagging ()
void doBeginLookup ()
void doBeginTranscoding ()
void doBeginUserJob1 ()
void doBeginUserJob2 ()
void doBeginUserJob3 ()
void doBeginUserJob4 ()
void doPlaylistBeginTranscoding ()
void stopPlaylistTranscoding ()
void doPlaylistBeginFlagging ()
void stopPlaylistFlagging ()
void doPlaylistBeginLookup ()
void stopPlaylistLookup ()
void doPlaylistBeginUserJob1 ()
void stopPlaylistUserJob1 ()
void doPlaylistBeginUserJob2 ()
void stopPlaylistUserJob2 ()
void doPlaylistBeginUserJob3 ()
void stopPlaylistUserJob3 ()
void doPlaylistBeginUserJob4 ()
void stopPlaylistUserJob4 ()
void doClearPlaylist ()
void PlaylistDeleteForgetHistory (void)
void PlaylistDelete (bool forgetHistory=false)
void doPlaylistExpireSetting (bool turnOn)
void doPlaylistExpireSetOn ()
void doPlaylistExpireSetOff ()
void doPlaylistWatchedSetting (bool turnOn)
void doPlaylistWatchedSetOn ()
void doPlaylistWatchedSetOff ()
void togglePlayListTitle (void)
void togglePlayListItem (void)
void playSelectedPlaylist (bool random)
void doPlayList (void)
void showViewChanger (void)
void saveViewChanges (void)
void checkPassword (const QString &password)
void fanartLoad (void)
void bannerLoad (void)
void coverartLoad (void)

Private Member Functions

bool UpdateUILists (void)
void UpdateUIGroupList (const QStringList &groupPreferences)
void UpdateUIRecGroupList (void)
void UpdateProgressBar (void)
void PlayX (const ProgramInfo &rec, bool ignoreBookmark, bool underNetworkControl)
bool Play (const ProgramInfo &rec, bool inPlaylist, bool ignoreBookmark, bool underNetworkControl)
ProgramInfoCurrentItem (void)
void togglePlayListItem (ProgramInfo *pginfo)
void randomizePlayList (void)
void processNetworkControlCommands (void)
void processNetworkControlCommand (const QString &command)
ProgramInfoFindProgramInUILists (const ProgramInfo &)
ProgramInfoFindProgramInUILists (const QString &key)
 Extracts chanid and recstartts from a string constructed by ProgramInfo::MakeUniqueKey() returns the matching program info from the UI program info lists.
ProgramInfoFindProgramInUILists (uint chanid, const QDateTime &recstartts, QString recgroup="NotLiveTV")
void RemoveProgram (uint chanid, const QDateTime &recstartts, bool forgetHistory, bool forceMetadataDelete)
void ShowDeletePopup (DeletePopupType)
void ShowAvailabilityPopup (const ProgramInfo &)
void ShowActionPopup (const ProgramInfo &)
QString getRecGroupPassword (const QString &recGroup)
void fillRecGroupPasswordCache (void)
bool IsUsageUIVisible (void) const
void updateIcons (const ProgramInfo *pginfo=NULL)
void UpdateUsageUI (void)
void updateGroupInfo (const QString &groupname, const QString &grouplabel)
void SetItemIcons (MythUIButtonListItem *item, ProgramInfo *pginfo)
void UpdateUIListItem (ProgramInfo *ProgramInfo_pointer_from_FindProgramInUILists, bool force_preview_reload)
void UpdateUIListItem (MythUIButtonListItem *item, bool is_sel, bool force_preview_reload=true)
void HandlePreviewEvent (const QStringList &list)
 Updates the UI properties for a new preview file.
void HandleRecordingRemoveEvent (uint chanid, const QDateTime &recstartts)
void HandleRecordingAddEvent (const ProgramInfo &evinfo)
void HandleUpdateProgramInfoEvent (const ProgramInfo &evinfo)
void HandleUpdateProgramInfoFileSizeEvent (uint chanid, const QDateTime &recstartts, uint64_t filesize)
void ScheduleUpdateUIList (void)
void ShowMenu (void)
bool CreatePopupMenu (const QString &title)
bool CreatePopupMenuPlaylist (void)
QString CreateProgramInfoString (const ProgramInfo &program) const

Private Attributes

QRegExp m_prefixes
 prefixes to be ignored when sorting
QRegExp m_titleChaff
 stuff to remove for search rules
MythUIButtonListm_recgroupList
MythUIButtonListm_groupList
MythUIButtonListm_recordingList
MythUITextm_noRecordingsText
MythUIImagem_previewImage
QString m_artHostOverride
MythUIImagem_artImage [3]
QTimer * m_artTimer [3]
InfoMap m_currentMap
BoxType m_type
 If "Play" this is a recording playback selection UI, if "Delete this is a recording deletion selection UI.
bool m_titleView
 titleView controls showing titles in group list
bool m_useCategories
 useCategories controls showing categories in group list
bool m_useRecGroups
 useRecGroups controls showing of recording groups in group list
bool m_watchListStart
 use the Watch List as the initial view
bool m_watchListAutoExpire
 exclude recording not marked for auto-expire from the Watch List
int m_watchListMaxAge
 add 1 to the Watch List scord up to this many days
int m_watchListBlackOut
 adjust exclusion of a title from the Watch List after a delete
bool m_groupnameAsAllProg
 contains "DispRecGroupAsAllProg" setting
int m_allOrder
 allOrder controls the ordering of the "All Programs" list
int m_listOrder
 listOrder controls the ordering of the recordings in the list
QString m_groupDisplayName
QString m_recGroup
QString m_curGroupPassword
QString m_newRecGroup
QString m_watchGroupName
QString m_watchGroupLabel
ViewMask m_viewMask
MythMenum_popupMenu
MythScreenStackm_popupStack
bool m_doToggleMenu
QMap< QString, QString > m_recGroupType
QMap< QString, QString > m_recGroupPwCache
QStringList m_titleList
 list of pages
ProgramMap m_progLists
 lists of programs by page
int m_progsInDB
 total number of recordings in DB
bool m_isFilling
QStringList m_recGroups
QMutex m_recGroupsLock
int m_recGroupIdx
QStringList m_delList
 Program[s] currently selected for deletion.
QString m_currentGroup
 Group currently selected.
QStringList m_playList
 list of selected items "play list"
bool m_op_on_playlist
QStringList m_playListPlay
 list of items being played.
ProgramInfoCache m_programInfoCache
bool m_playingSomething
 playingSomething is set to true iff a full screen recording is playing
bool m_needUpdate
 Does the recording list need to be refilled.
bool m_haveGroupInfoSet
QMutex m_ncLock
deque< QString > m_networkControlCommands
TVm_player
QStringList m_player_selected_new_show
PlaybackBoxHelper m_helper
 Main helper thread.
QSet< QString > m_preview_tokens
 Outstanding preview image requests.

Friends

class PlaybackBoxListItem

Detailed Description

Definition at line 57 of file playbackbox.h.


Member Enumeration Documentation

Enumerator:
kPlayBox 
kDeleteBox 

Definition at line 63 of file playbackbox.h.

Enumerator:
TitlesOnly 
TitlesCategories 
TitlesCategoriesRecGroups 
TitlesRecGroups 
Categories 
CategoriesRecGroups 
RecGroups 
ViewTypes 

Definition at line 70 of file playbackbox.h.

Enumerator:
TitleSortAlphabetical 
TitleSortRecPriority 
TitleSortMethods 

Definition at line 82 of file playbackbox.h.

Enumerator:
VIEW_NONE 
VIEW_TITLES 
VIEW_CATEGORIES 
VIEW_RECGROUPS 
VIEW_WATCHLIST 
VIEW_SEARCHES 
VIEW_LIVETVGRP 
VIEW_WATCHED 

Definition at line 88 of file playbackbox.h.

Enumerator:
kDeleteRecording 
kStopRecording 
kForceDeleteRecording 

Definition at line 100 of file playbackbox.h.

Enumerator:
kNoFlags 
kForgetHistory 
kForce 
kIgnore 
kAllRemaining 

Definition at line 107 of file playbackbox.h.

Enumerator:
kNvpToPlay 
kNvpToStop 
kDone 

Definition at line 116 of file playbackbox.h.


Constructor & Destructor Documentation

PlaybackBox::PlaybackBox ( MythScreenStack parent,
QString  name,
BoxType  ltype,
TV player = NULL,
bool  showTV = false 
)

Definition at line 375 of file playbackbox.cpp.

Referenced by RunPlaybackBox().

PlaybackBox::~PlaybackBox ( void   ) 

Definition at line 483 of file playbackbox.cpp.


Member Function Documentation

bool PlaybackBox::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 503 of file playbackbox.cpp.

Referenced by RunPlaybackBox(), startDelete(), and startPlaybackWithGroup().

void PlaybackBox::Load ( void   )  [virtual]

Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning).

Warning:
This method should only load data, it should NEVER perform UI routines or segfaults WILL result. This includes assinging data to any widgets, calling methods on a widget or anything else which triggers redraws. The safest and recommended approach is to avoid any interaction with a libmythui class or class member.

Reimplemented from MythScreenType.

Definition at line 557 of file playbackbox.cpp.

void PlaybackBox::Init ( void   )  [virtual]

Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load().

Warning:
Do NOT confuse this with Load(), they serve very different purposes and most often both should be used when creating a new screen.

Reimplemented from MythScreenType.

Definition at line 563 of file playbackbox.cpp.

bool PlaybackBox::keyPressEvent ( QKeyEvent *   )  [virtual]

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 3679 of file playbackbox.cpp.

void PlaybackBox::customEvent ( QEvent *  event  )  [virtual]

Reimplemented from ScheduleCommon.

Definition at line 3820 of file playbackbox.cpp.

void PlaybackBox::setInitialRecGroup ( QString  initialGroup  )  [inline]

Definition at line 133 of file playbackbox.h.

Referenced by startPlaybackWithGroup().

void * PlaybackBox::RunPlaybackBox ( void *  player,
bool  showTV 
) [static]

Definition at line 360 of file playbackbox.cpp.

Referenced by SetFuncPtrs().

void PlaybackBox::displayRecGroup ( const QString &  newRecGroup = ""  )  [slot]

Definition at line 598 of file playbackbox.cpp.

Referenced by Init(), keyPressEvent(), and showGroupFilter().

void PlaybackBox::groupSelectorClosed ( void   )  [slot]

Definition at line 4426 of file playbackbox.cpp.

Referenced by showGroupFilter().

void PlaybackBox::updateRecList ( MythUIButtonListItem sel_item  )  [protected, slot]

Definition at line 1283 of file playbackbox.cpp.

Referenced by Create(), and UpdateUIGroupList().

void PlaybackBox::ItemSelected ( MythUIButtonListItem item  )  [inline, protected, slot]

Definition at line 142 of file playbackbox.h.

Referenced by Create().

void PlaybackBox::ItemVisible ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 892 of file playbackbox.cpp.

Referenced by Create().

void PlaybackBox::selected ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 2296 of file playbackbox.cpp.

void PlaybackBox::PlayFromBookmark ( MythUIButtonListItem item = NULL  )  [protected, slot]
void PlaybackBox::PlayFromBeginning ( MythUIButtonListItem item = NULL  )  [protected, slot]

Definition at line 2152 of file playbackbox.cpp.

Referenced by createPlayFromMenu().

void PlaybackBox::deleteSelected ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 2194 of file playbackbox.cpp.

Referenced by keyPressEvent(), and selected().

void PlaybackBox::SwitchList ( void   )  [protected, slot]

Definition at line 590 of file playbackbox.cpp.

Referenced by Create().

void PlaybackBox::ShowGroupPopup ( void   )  [protected, slot]

Definition at line 2346 of file playbackbox.cpp.

Referenced by keyPressEvent(), and popupClosed().

void PlaybackBox::customEdit (  )  [protected, slot]

Definition at line 2282 of file playbackbox.cpp.

Referenced by createRecordingMenu(), and keyPressEvent().

void PlaybackBox::upcoming ( void   )  [protected, slot]

Definition at line 2251 of file playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::upcomingScheduled (  )  [protected, slot]

Definition at line 2258 of file playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::details (  )  [protected, slot]

Definition at line 2289 of file playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::StopSelected ( void   )  [protected, slot]

Definition at line 2187 of file playbackbox.cpp.

Referenced by ShowDeletePopup().

void PlaybackBox::showMetadataEditor (  )  [protected, slot]

Definition at line 4644 of file playbackbox.cpp.

Referenced by createRecordingMenu().

void PlaybackBox::showGroupFilter ( void   )  [protected, slot]

Definition at line 4302 of file playbackbox.cpp.

Referenced by Init(), keyPressEvent(), and ShowGroupPopup().

void PlaybackBox::showRecGroupPasswordChanger ( void   )  [protected, slot]

Definition at line 4837 of file playbackbox.cpp.

Referenced by ShowGroupPopup().

MythMenu * PlaybackBox::createPlayFromMenu (  )  [protected, slot]

Definition at line 2841 of file playbackbox.cpp.

Referenced by ShowActionPopup().

MythMenu * PlaybackBox::createRecordingMenu ( void   )  [protected, slot]

Definition at line 2878 of file playbackbox.cpp.

Referenced by ShowActionPopup().

MythMenu * PlaybackBox::createJobMenu (  )  [protected, slot]

Definition at line 2901 of file playbackbox.cpp.

Referenced by ShowActionPopup().

MythMenu * PlaybackBox::createTranscodingProfilesMenu (  )  [protected, slot]

Definition at line 2984 of file playbackbox.cpp.

Referenced by createJobMenu().

MythMenu * PlaybackBox::createStorageMenu (  )  [protected, slot]

Definition at line 2857 of file playbackbox.cpp.

Referenced by ShowActionPopup().

MythMenu * PlaybackBox::createPlaylistMenu ( void   )  [protected, slot]

Definition at line 2647 of file playbackbox.cpp.

Referenced by ShowActionPopup(), and ShowGroupPopup().

MythMenu * PlaybackBox::createPlaylistStorageMenu (  )  [protected, slot]

Definition at line 2680 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

MythMenu * PlaybackBox::createPlaylistJobMenu ( void   )  [protected, slot]

Definition at line 2697 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

void PlaybackBox::changeProfileAndTranscode ( int  id  )  [protected, slot]

Definition at line 3026 of file playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::showProgramDetails (  )  [protected, slot]

Definition at line 3199 of file playbackbox.cpp.

Referenced by createRecordingMenu(), and ShowActionPopup().

void PlaybackBox::showIconHelp ( void   )  [protected, slot]

Definition at line 4270 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

void PlaybackBox::ShowRecGroupChangerUsePlaylist ( void   )  [inline, protected, slot]

Definition at line 172 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

void PlaybackBox::ShowPlayGroupChangerUsePlaylist ( void   )  [inline, protected, slot]

Definition at line 173 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

void PlaybackBox::ShowRecGroupChanger ( bool  use_playlist = false  )  [protected, slot]

Used to change the recording group of a program or playlist.

Definition at line 4506 of file playbackbox.cpp.

Referenced by createStorageMenu(), and ShowRecGroupChangerUsePlaylist().

void PlaybackBox::ShowPlayGroupChanger ( bool  use_playlist = false  )  [protected, slot]

Used to change the play group of a program or playlist.

Definition at line 4566 of file playbackbox.cpp.

Referenced by createStorageMenu(), and ShowPlayGroupChangerUsePlaylist().

void PlaybackBox::popupClosed ( QString  which,
int  reason 
) [protected, slot]

Definition at line 2308 of file playbackbox.cpp.

Referenced by ShowMenu().

void PlaybackBox::doPlayListRandom ( void   )  [protected, slot]

Definition at line 3184 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

void PlaybackBox::askStop ( void   )  [protected, slot]

Definition at line 3189 of file playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::doEditScheduled (  )  [protected, slot]

Definition at line 3206 of file playbackbox.cpp.

Referenced by createRecordingMenu(), and keyPressEvent().

void PlaybackBox::doAllowRerecord (  )  [protected, slot]

Callback function when Allow Re-record is pressed in Watch Recordings.

Hide the current program from the scheduler by calling ForgetHistory This will allow it to re-record without deleting

Definition at line 3219 of file playbackbox.cpp.

Referenced by createRecordingMenu().

void PlaybackBox::askDelete (  )  [protected, slot]

Definition at line 3324 of file playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::Undelete ( void   )  [protected, slot]

Definition at line 3366 of file playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::Delete ( DeleteFlags  flags = kNoFlags  )  [protected, slot]
void PlaybackBox::DeleteForgetHistory ( void   )  [inline, protected, slot]

Definition at line 189 of file playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteForce ( void   )  [inline, protected, slot]

Definition at line 190 of file playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteIgnore ( void   )  [inline, protected, slot]

Definition at line 191 of file playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteForceAllRemaining ( void   )  [inline, protected, slot]

Definition at line 192 of file playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteIgnoreAllRemaining ( void   )  [inline, protected, slot]

Definition at line 194 of file playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::toggleWatched ( void   )  [protected, slot]

Definition at line 3453 of file playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::toggleAutoExpire (  )  [protected, slot]

Definition at line 3479 of file playbackbox.cpp.

Referenced by createStorageMenu().

void PlaybackBox::togglePreserveEpisode (  )  [protected, slot]

Definition at line 3501 of file playbackbox.cpp.

Referenced by createStorageMenu().

void PlaybackBox::toggleView ( ViewMask  itemMask,
bool  setOn 
) [protected, slot]
void PlaybackBox::toggleTitleView ( bool  setOn  )  [inline, protected, slot]

Definition at line 202 of file playbackbox.h.

void PlaybackBox::toggleCategoryView ( bool  setOn  )  [inline, protected, slot]

Definition at line 203 of file playbackbox.h.

void PlaybackBox::toggleRecGroupView ( bool  setOn  )  [inline, protected, slot]

Definition at line 204 of file playbackbox.h.

void PlaybackBox::toggleWatchListView ( bool  setOn  )  [inline, protected, slot]

Definition at line 205 of file playbackbox.h.

void PlaybackBox::toggleSearchView ( bool  setOn  )  [inline, protected, slot]

Definition at line 206 of file playbackbox.h.

void PlaybackBox::toggleLiveTVView ( bool  setOn  )  [inline, protected, slot]

Definition at line 207 of file playbackbox.h.

void PlaybackBox::toggleWatchedView ( bool  setOn  )  [inline, protected, slot]

Definition at line 208 of file playbackbox.h.

void PlaybackBox::setGroupFilter ( const QString &  newRecGroup  )  [protected, slot]

Definition at line 4433 of file playbackbox.cpp.

Referenced by checkPassword(), and displayRecGroup().

void PlaybackBox::setRecGroup ( QString  newRecGroup  )  [protected, slot]

Definition at line 4731 of file playbackbox.cpp.

Referenced by ShowRecGroupChanger().

void PlaybackBox::setPlayGroup ( QString  newPlayGroup  )  [protected, slot]

Definition at line 4803 of file playbackbox.cpp.

Referenced by ShowPlayGroupChanger().

void PlaybackBox::saveRecMetadata ( const QString &  newTitle,
const QString &  newSubtitle,
const QString &  newDescription,
const QString &  newInetref,
uint  season,
uint  episode 
) [protected, slot]

Definition at line 4664 of file playbackbox.cpp.

Referenced by showMetadataEditor().

void PlaybackBox::SetRecGroupPassword ( const QString &  newPasswd  )  [protected, slot]

Definition at line 4860 of file playbackbox.cpp.

Referenced by showRecGroupPasswordChanger().

void PlaybackBox::doJobQueueJob ( int  jobType,
int  jobFlags = 0 
) [protected, slot]
void PlaybackBox::doPlaylistJobQueueJob ( int  jobType,
int  jobFlags = 0 
) [protected, slot]
void PlaybackBox::stopPlaylistJobQueueJob ( int  jobType  )  [protected, slot]
void PlaybackBox::doBeginFlagging (  )  [protected, slot]

Definition at line 3264 of file playbackbox.cpp.

Referenced by createJobMenu().

void PlaybackBox::doBeginLookup (  )  [protected, slot]

Definition at line 3269 of file playbackbox.cpp.

Referenced by createJobMenu().

void PlaybackBox::doBeginTranscoding (  )  [inline, protected, slot]

Definition at line 225 of file playbackbox.h.

Referenced by changeProfileAndTranscode(), and createJobMenu().

void PlaybackBox::doBeginUserJob1 (  )  [inline, protected, slot]

Definition at line 227 of file playbackbox.h.

Referenced by createJobMenu().

void PlaybackBox::doBeginUserJob2 (  )  [inline, protected, slot]

Definition at line 228 of file playbackbox.h.

Referenced by createJobMenu().

void PlaybackBox::doBeginUserJob3 (  )  [inline, protected, slot]

Definition at line 229 of file playbackbox.h.

Referenced by createJobMenu().

void PlaybackBox::doBeginUserJob4 (  )  [inline, protected, slot]

Definition at line 230 of file playbackbox.h.

Referenced by createJobMenu().

void PlaybackBox::doPlaylistBeginTranscoding (  )  [inline, protected, slot]

Definition at line 231 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistTranscoding (  )  [inline, protected, slot]

Definition at line 233 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doPlaylistBeginFlagging (  )  [inline, protected, slot]

Definition at line 234 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistFlagging (  )  [inline, protected, slot]

Definition at line 235 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doPlaylistBeginLookup (  )  [inline, protected, slot]

Definition at line 236 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistLookup (  )  [inline, protected, slot]

Definition at line 237 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doPlaylistBeginUserJob1 (  )  [inline, protected, slot]

Definition at line 238 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistUserJob1 (  )  [inline, protected, slot]

Definition at line 239 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doPlaylistBeginUserJob2 (  )  [inline, protected, slot]

Definition at line 240 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistUserJob2 (  )  [inline, protected, slot]

Definition at line 241 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doPlaylistBeginUserJob3 (  )  [inline, protected, slot]

Definition at line 242 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistUserJob3 (  )  [inline, protected, slot]

Definition at line 243 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doPlaylistBeginUserJob4 (  )  [inline, protected, slot]

Definition at line 244 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::stopPlaylistUserJob4 (  )  [inline, protected, slot]

Definition at line 245 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

void PlaybackBox::doClearPlaylist ( void   )  [protected, slot]
void PlaybackBox::PlaylistDeleteForgetHistory ( void   )  [inline, protected, slot]

Definition at line 247 of file playbackbox.h.

Referenced by createPlaylistMenu().

void PlaybackBox::PlaylistDelete ( bool  forgetHistory = false  )  [protected, slot]

Definition at line 3334 of file playbackbox.cpp.

Referenced by createPlaylistMenu(), and PlaylistDeleteForgetHistory().

void PlaybackBox::doPlaylistExpireSetting ( bool  turnOn  )  [protected, slot]

Definition at line 4610 of file playbackbox.cpp.

Referenced by doPlaylistExpireSetOff(), and doPlaylistExpireSetOn().

void PlaybackBox::doPlaylistExpireSetOn (  )  [inline, protected, slot]

Definition at line 250 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

void PlaybackBox::doPlaylistExpireSetOff (  )  [inline, protected, slot]

Definition at line 251 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

void PlaybackBox::doPlaylistWatchedSetting ( bool  turnOn  )  [protected, slot]

Definition at line 4627 of file playbackbox.cpp.

Referenced by doPlaylistWatchedSetOff(), and doPlaylistWatchedSetOn().

void PlaybackBox::doPlaylistWatchedSetOn (  )  [inline, protected, slot]

Definition at line 253 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

void PlaybackBox::doPlaylistWatchedSetOff (  )  [inline, protected, slot]

Definition at line 254 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

void PlaybackBox::togglePlayListTitle ( void   )  [protected, slot]

Definition at line 3532 of file playbackbox.cpp.

Referenced by createPlaylistMenu(), keyPressEvent(), and ShowGroupPopup().

void PlaybackBox::togglePlayListItem ( void   )  [protected, slot]
void PlaybackBox::playSelectedPlaylist ( bool  random  )  [protected, slot]

Definition at line 2116 of file playbackbox.cpp.

Referenced by doPlayList(), and doPlayListRandom().

void PlaybackBox::doPlayList ( void   )  [protected, slot]

Definition at line 3178 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

void PlaybackBox::showViewChanger ( void   )  [protected, slot]

Definition at line 4280 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

void PlaybackBox::saveViewChanges ( void   )  [protected, slot]

Definition at line 4293 of file playbackbox.cpp.

Referenced by showViewChanger().

void PlaybackBox::checkPassword ( const QString &  password  )  [protected, slot]

Definition at line 624 of file playbackbox.cpp.

Referenced by displayRecGroup().

void PlaybackBox::fanartLoad ( void   )  [protected, slot]

Definition at line 2481 of file playbackbox.cpp.

Referenced by Create().

void PlaybackBox::bannerLoad ( void   )  [protected, slot]

Definition at line 2486 of file playbackbox.cpp.

Referenced by Create().

void PlaybackBox::coverartLoad ( void   )  [protected, slot]

Definition at line 2491 of file playbackbox.cpp.

Referenced by Create().

bool PlaybackBox::UpdateUILists ( void   )  [private]
void PlaybackBox::UpdateUIGroupList ( const QStringList &  groupPreferences  )  [private]

Definition at line 1239 of file playbackbox.cpp.

Referenced by UpdateUILists().

void PlaybackBox::UpdateUIRecGroupList ( void   )  [private]

Definition at line 1212 of file playbackbox.cpp.

Referenced by UpdateUILists().

void PlaybackBox::UpdateProgressBar ( void   )  [private]
void PlaybackBox::PlayX ( const ProgramInfo rec,
bool  ignoreBookmark,
bool  underNetworkControl 
) [private]
bool PlaybackBox::Play ( const ProgramInfo rec,
bool  inPlaylist,
bool  ignoreBookmark,
bool  underNetworkControl 
) [private]

Definition at line 2387 of file playbackbox.cpp.

Referenced by customEvent(), and PlayX().

ProgramInfo * PlaybackBox::CurrentItem ( void   )  [private]
void PlaybackBox::togglePlayListItem ( ProgramInfo pginfo  )  [private]

Definition at line 3563 of file playbackbox.cpp.

void PlaybackBox::randomizePlayList ( void   )  [private]
void PlaybackBox::processNetworkControlCommands ( void   )  [private]

Definition at line 3598 of file playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::processNetworkControlCommand ( const QString &  command  )  [private]

Definition at line 3622 of file playbackbox.cpp.

Referenced by processNetworkControlCommands().

ProgramInfo * PlaybackBox::FindProgramInUILists ( const ProgramInfo pginfo  )  [private]
ProgramInfo * PlaybackBox::FindProgramInUILists ( const QString &  key  )  [private]

Extracts chanid and recstartts from a string constructed by ProgramInfo::MakeUniqueKey() returns the matching program info from the UI program info lists.

Definition at line 3408 of file playbackbox.cpp.

ProgramInfo * PlaybackBox::FindProgramInUILists ( uint  chanid,
const QDateTime &  recstartts,
QString  recgroup = "NotLiveTV" 
) [private]

Definition at line 3421 of file playbackbox.cpp.

void PlaybackBox::RemoveProgram ( uint  chanid,
const QDateTime &  recstartts,
bool  forgetHistory,
bool  forceMetadataDelete 
) [private]

Definition at line 2447 of file playbackbox.cpp.

Referenced by Delete(), and deleteSelected().

void PlaybackBox::ShowDeletePopup ( DeletePopupType  type  )  [private]

Definition at line 2496 of file playbackbox.cpp.

Referenced by askDelete(), askStop(), customEvent(), and deleteSelected().

void PlaybackBox::ShowAvailabilityPopup ( const ProgramInfo pginfo  )  [private]

Definition at line 2599 of file playbackbox.cpp.

Referenced by customEvent(), keyPressEvent(), and popupClosed().

void PlaybackBox::ShowActionPopup ( const ProgramInfo pginfo  )  [private]

Definition at line 3041 of file playbackbox.cpp.

Referenced by keyPressEvent(), and popupClosed().

QString PlaybackBox::getRecGroupPassword ( const QString &  recGroup  )  [private]

Definition at line 4472 of file playbackbox.cpp.

Referenced by showRecGroupPasswordChanger().

void PlaybackBox::fillRecGroupPasswordCache ( void   )  [private]

Definition at line 4477 of file playbackbox.cpp.

Referenced by PlaybackBox().

bool PlaybackBox::IsUsageUIVisible ( void   )  const [private]

Definition at line 1149 of file playbackbox.cpp.

void PlaybackBox::updateIcons ( const ProgramInfo pginfo = NULL  )  [private]
void PlaybackBox::UpdateUsageUI ( void   )  [private]

Definition at line 1154 of file playbackbox.cpp.

Referenced by customEvent(), and UpdateUILists().

void PlaybackBox::updateGroupInfo ( const QString &  groupname,
const QString &  grouplabel 
) [private]

Definition at line 631 of file playbackbox.cpp.

Referenced by updateRecList().

void PlaybackBox::SetItemIcons ( MythUIButtonListItem item,
ProgramInfo pginfo 
) [private]

Definition at line 765 of file playbackbox.cpp.

Referenced by updateRecList(), and UpdateUIListItem().

void PlaybackBox::UpdateUIListItem ( ProgramInfo ProgramInfo_pointer_from_FindProgramInUILists,
bool  force_preview_reload 
) [private]
void PlaybackBox::UpdateUIListItem ( MythUIButtonListItem item,
bool  is_sel,
bool  force_preview_reload = true 
) [private]

Definition at line 783 of file playbackbox.cpp.

void PlaybackBox::HandlePreviewEvent ( const QStringList &  list  )  [private]

Updates the UI properties for a new preview file.

This first update the image property of the MythUIButtonListItem with the new preview file, then if it is selected and there is a preview image UI item in the theme that it's filename property gets updated as well.

Definition at line 931 of file playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleRecordingRemoveEvent ( uint  chanid,
const QDateTime &  recstartts 
) [private]

Definition at line 4149 of file playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleRecordingAddEvent ( const ProgramInfo evinfo  )  [private]

Definition at line 4228 of file playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleUpdateProgramInfoEvent ( const ProgramInfo evinfo  )  [private]

Definition at line 4234 of file playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleUpdateProgramInfoFileSizeEvent ( uint  chanid,
const QDateTime &  recstartts,
uint64_t  filesize 
) [private]

Definition at line 4254 of file playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::ScheduleUpdateUIList ( void   )  [private]
void PlaybackBox::ShowMenu ( void   )  [private, virtual]

Reimplemented from MythScreenType.

Definition at line 2825 of file playbackbox.cpp.

Referenced by ShowActionPopup(), ShowDeletePopup(), and ShowGroupPopup().

bool PlaybackBox::CreatePopupMenu ( const QString &  title  )  [private]
bool PlaybackBox::CreatePopupMenuPlaylist ( void   )  [private]
QString PlaybackBox::CreateProgramInfoString ( const ProgramInfo program  )  const [private]

Friends And Related Function Documentation

friend class PlaybackBoxListItem [friend]

Definition at line 60 of file playbackbox.h.

Referenced by updateRecList().


Member Data Documentation

QRegExp PlaybackBox::m_prefixes [private]

prefixes to be ignored when sorting

Definition at line 338 of file playbackbox.h.

Referenced by UpdateUILists().

QRegExp PlaybackBox::m_titleChaff [private]

stuff to remove for search rules

Definition at line 339 of file playbackbox.h.

Referenced by UpdateUILists().

Definition at line 341 of file playbackbox.h.

Referenced by Create(), UpdateUILists(), and UpdateUIRecGroupList().

Definition at line 345 of file playbackbox.h.

Referenced by Create(), and updateRecList().

Definition at line 347 of file playbackbox.h.

Referenced by Create(), HandlePreviewEvent(), updateGroupInfo(), and UpdateUIListItem().

QString PlaybackBox::m_artHostOverride [private]

Definition at line 349 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUIListItem().

QTimer* PlaybackBox::m_artTimer[3] [private]

Definition at line 353 of file playbackbox.h.

Referenced by updateGroupInfo(), and UpdateUIListItem().

If "Play" this is a recording playback selection UI, if "Delete this is a recording deletion selection UI.

Definition at line 358 of file playbackbox.h.

Referenced by Create(), selected(), updateGroupInfo(), and UpdateUILists().

titleView controls showing titles in group list

Definition at line 360 of file playbackbox.h.

useCategories controls showing categories in group list

Definition at line 362 of file playbackbox.h.

useRecGroups controls showing of recording groups in group list

Definition at line 364 of file playbackbox.h.

use the Watch List as the initial view

Definition at line 366 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

exclude recording not marked for auto-expire from the Watch List

Definition at line 368 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

add 1 to the Watch List scord up to this many days

Definition at line 370 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

adjust exclusion of a title from the Watch List after a delete

Definition at line 372 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

contains "DispRecGroupAsAllProg" setting

Definition at line 374 of file playbackbox.h.

Referenced by PlaybackBox(), and setGroupFilter().

int PlaybackBox::m_allOrder [private]

allOrder controls the ordering of the "All Programs" list

Definition at line 376 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

int PlaybackBox::m_listOrder [private]

listOrder controls the ordering of the recordings in the list

Definition at line 378 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

Definition at line 381 of file playbackbox.h.

Referenced by PlaybackBox(), setGroupFilter(), updateGroupInfo(), and UpdateUIGroupList().

QString PlaybackBox::m_recGroup [private]

Definition at line 383 of file playbackbox.h.

Referenced by displayRecGroup(), setGroupFilter(), and UpdateUILists().

QString PlaybackBox::m_newRecGroup [private]

Definition at line 384 of file playbackbox.h.

Referenced by checkPassword(), and displayRecGroup().

QString PlaybackBox::m_watchGroupName [private]

Definition at line 385 of file playbackbox.h.

Referenced by UpdateUILists().

QString PlaybackBox::m_watchGroupLabel [private]

Definition at line 386 of file playbackbox.h.

Referenced by UpdateUILists().

Definition at line 394 of file playbackbox.h.

Referenced by popupClosed().

QMap<QString,QString> PlaybackBox::m_recGroupType [private]
QMap<QString,QString> PlaybackBox::m_recGroupPwCache [private]
QStringList PlaybackBox::m_titleList [private]

list of pages

Definition at line 402 of file playbackbox.h.

Referenced by groupSelectorClosed(), Init(), keyPressEvent(), UpdateUIGroupList(), and UpdateUILists().

int PlaybackBox::m_progsInDB [private]

total number of recordings in DB

Definition at line 404 of file playbackbox.h.

Referenced by Init(), and UpdateUILists().

Definition at line 405 of file playbackbox.h.

Referenced by updateRecList(), and UpdateUILists().

QStringList PlaybackBox::m_recGroups [private]

Definition at line 407 of file playbackbox.h.

Referenced by keyPressEvent(), UpdateUILists(), and UpdateUIRecGroupList().

QMutex PlaybackBox::m_recGroupsLock [mutable, private]

Definition at line 408 of file playbackbox.h.

Referenced by keyPressEvent(), and UpdateUILists().

Definition at line 409 of file playbackbox.h.

Referenced by keyPressEvent(), PlaybackBox(), UpdateUILists(), and UpdateUIRecGroupList().

QStringList PlaybackBox::m_delList [private]

Program[s] currently selected for deletion.

Definition at line 413 of file playbackbox.h.

Referenced by askDelete(), askStop(), customEvent(), Delete(), deleteSelected(), ShowActionPopup(), ShowDeletePopup(), and Undelete().

QString PlaybackBox::m_currentGroup [private]

Group currently selected.

Definition at line 415 of file playbackbox.h.

Referenced by customEvent(), updateRecList(), and UpdateUIGroupList().

QStringList PlaybackBox::m_playList [private]
QStringList PlaybackBox::m_playListPlay [private]

list of items being played.

Definition at line 420 of file playbackbox.h.

Referenced by customEvent(), Play(), and playSelectedPlaylist().

playingSomething is set to true iff a full screen recording is playing

Definition at line 425 of file playbackbox.h.

Referenced by customEvent(), Play(), processNetworkControlCommand(), and updateRecList().

Does the recording list need to be refilled.

Definition at line 428 of file playbackbox.h.

Referenced by customEvent(), Play(), updateRecList(), and UpdateUIGroupList().

Definition at line 431 of file playbackbox.h.

QMutex PlaybackBox::m_ncLock [mutable, private]

Definition at line 434 of file playbackbox.h.

Referenced by customEvent(), keyPressEvent(), and processNetworkControlCommands().

Definition at line 435 of file playbackbox.h.

Referenced by customEvent(), keyPressEvent(), and processNetworkControlCommands().

Definition at line 439 of file playbackbox.h.

Referenced by PlayX(), and ~PlaybackBox().

QSet<QString> PlaybackBox::m_preview_tokens [private]

Outstanding preview image requests.

Definition at line 443 of file playbackbox.h.

Referenced by customEvent(), HandlePreviewEvent(), ItemVisible(), and UpdateUIListItem().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri Feb 10 06:42:15 2012 for MythTV by  doxygen 1.6.3