MythTV  0.26-pre
Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Private Member Functions | Private Attributes | Friends
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 voidRunPlaybackBox (void *player, bool)

Protected Slots

void updateRecList (MythUIButtonListItem *)
void ItemSelected (MythUIButtonListItem *item)
void ItemVisible (MythUIButtonListItem *item)
void ItemLoaded (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)
void DisplayPopupMenu (void)
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
MythDialogBoxm_menuDialog
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 376 of file playbackbox.cpp.

Referenced by RunPlaybackBox().

Definition at line 485 of file playbackbox.cpp.


Member Function Documentation

bool PlaybackBox::Create ( void  ) [virtual]

Reimplemented from MythScreenType.

Definition at line 505 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 561 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 567 of file playbackbox.cpp.

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

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 3737 of file playbackbox.cpp.

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

Reimplemented from ScheduleCommon.

Definition at line 3856 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 361 of file playbackbox.cpp.

Referenced by SetFuncPtrs().

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

Definition at line 602 of file playbackbox.cpp.

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

Definition at line 4468 of file playbackbox.cpp.

Referenced by showGroupFilter().

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

Definition at line 1371 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 971 of file playbackbox.cpp.

Referenced by Create().

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

Definition at line 896 of file playbackbox.cpp.

Referenced by Create(), and ItemVisible().

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

Definition at line 2318 of file playbackbox.cpp.

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

Definition at line 2182 of file playbackbox.cpp.

Referenced by createPlayFromMenu().

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

Definition at line 2224 of file playbackbox.cpp.

Referenced by keyPressEvent(), and selected().

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

Definition at line 594 of file playbackbox.cpp.

Referenced by Create().

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

Definition at line 2370 of file playbackbox.cpp.

Referenced by popupClosed(), and ShowMenu().

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

Definition at line 2304 of file playbackbox.cpp.

Referenced by createRecordingMenu(), and keyPressEvent().

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

Definition at line 2273 of file playbackbox.cpp.

Referenced by keyPressEvent().

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

Definition at line 2280 of file playbackbox.cpp.

Referenced by keyPressEvent().

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

Definition at line 2311 of file playbackbox.cpp.

Referenced by keyPressEvent().

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

Definition at line 2217 of file playbackbox.cpp.

Referenced by ShowDeletePopup().

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

Definition at line 4686 of file playbackbox.cpp.

Referenced by createRecordingMenu().

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

Definition at line 4344 of file playbackbox.cpp.

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

Definition at line 4880 of file playbackbox.cpp.

Referenced by ShowGroupPopup().

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

Definition at line 2899 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 2936 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 2959 of file playbackbox.cpp.

Referenced by ShowActionPopup().

Definition at line 3042 of file playbackbox.cpp.

Referenced by createJobMenu().

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

Definition at line 2915 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 2675 of file playbackbox.cpp.

Referenced by ShowActionPopup(), and ShowGroupPopup().

Definition at line 2708 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

Definition at line 2725 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

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

Definition at line 3084 of file playbackbox.cpp.

Referenced by customEvent().

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

Definition at line 3257 of file playbackbox.cpp.

Referenced by createRecordingMenu(), and ShowActionPopup().

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

Definition at line 4312 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

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

Definition at line 173 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

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

Definition at line 174 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 4548 of file playbackbox.cpp.

Referenced by createStorageMenu().

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

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

Definition at line 4608 of file playbackbox.cpp.

Referenced by createStorageMenu().

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

Definition at line 2330 of file playbackbox.cpp.

Referenced by DisplayPopupMenu().

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

Definition at line 3242 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

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

Definition at line 3247 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 3264 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 3277 of file playbackbox.cpp.

Referenced by createRecordingMenu().

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

Definition at line 3382 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 3424 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 3432 of file playbackbox.cpp.

Referenced by ShowActionPopup(), and ShowDeletePopup().

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

Definition at line 190 of file playbackbox.h.

Referenced by ShowDeletePopup().

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

Definition at line 191 of file playbackbox.h.

Referenced by ShowDeletePopup().

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

Definition at line 192 of file playbackbox.h.

Referenced by ShowDeletePopup().

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

Definition at line 193 of file playbackbox.h.

Referenced by ShowDeletePopup().

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

Definition at line 195 of file playbackbox.h.

Referenced by ShowDeletePopup().

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

Definition at line 3511 of file playbackbox.cpp.

Referenced by ShowActionPopup().

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

Definition at line 3537 of file playbackbox.cpp.

Referenced by createStorageMenu().

Definition at line 3559 of file playbackbox.cpp.

Referenced by createStorageMenu().

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

Definition at line 3580 of file playbackbox.cpp.

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

Definition at line 203 of file playbackbox.h.

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

Definition at line 204 of file playbackbox.h.

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

Definition at line 205 of file playbackbox.h.

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

Definition at line 206 of file playbackbox.h.

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

Definition at line 207 of file playbackbox.h.

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

Definition at line 208 of file playbackbox.h.

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

Definition at line 209 of file playbackbox.h.

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

Definition at line 4475 of file playbackbox.cpp.

Referenced by checkPassword(), and displayRecGroup().

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

Definition at line 4773 of file playbackbox.cpp.

Referenced by ShowRecGroupChanger().

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

Definition at line 4846 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 4706 of file playbackbox.cpp.

Referenced by showMetadataEditor().

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

Definition at line 4903 of file playbackbox.cpp.

Referenced by showRecGroupPasswordChanger().

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

Definition at line 3289 of file playbackbox.cpp.

Referenced by doBeginFlagging(), and doBeginLookup().

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

Definition at line 3332 of file playbackbox.cpp.

void PlaybackBox::stopPlaylistJobQueueJob ( int  jobType) [protected, slot]

Definition at line 3356 of file playbackbox.cpp.

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

Definition at line 3322 of file playbackbox.cpp.

Referenced by createJobMenu().

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

Definition at line 3327 of file playbackbox.cpp.

Referenced by createJobMenu().

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

Definition at line 226 of file playbackbox.h.

Referenced by changeProfileAndTranscode(), and createJobMenu().

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

Definition at line 228 of file playbackbox.h.

Referenced by createJobMenu().

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

Definition at line 229 of file playbackbox.h.

Referenced by createJobMenu().

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

Definition at line 230 of file playbackbox.h.

Referenced by createJobMenu().

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

Definition at line 231 of file playbackbox.h.

Referenced by createJobMenu().

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

Definition at line 232 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 234 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 235 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 236 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 237 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 238 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 239 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 240 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 241 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 242 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 243 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 244 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 245 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 246 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

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

Definition at line 248 of file playbackbox.h.

Referenced by createPlaylistMenu().

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

Definition at line 3392 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

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

Definition at line 4652 of file playbackbox.cpp.

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

Definition at line 251 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

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

Definition at line 252 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

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

Definition at line 4669 of file playbackbox.cpp.

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

Definition at line 254 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

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

Definition at line 255 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

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

Definition at line 3590 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 2146 of file playbackbox.cpp.

Referenced by doPlayList(), and doPlayListRandom().

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

Definition at line 3236 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

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

Definition at line 4322 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

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

Definition at line 4335 of file playbackbox.cpp.

Referenced by showViewChanger().

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

Definition at line 628 of file playbackbox.cpp.

Referenced by displayRecGroup().

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

Definition at line 2507 of file playbackbox.cpp.

Referenced by Create().

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

Definition at line 2512 of file playbackbox.cpp.

Referenced by Create().

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

Definition at line 2517 of file playbackbox.cpp.

Referenced by Create().

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

Definition at line 1326 of file playbackbox.cpp.

Referenced by UpdateUILists().

Definition at line 1299 of file playbackbox.cpp.

Referenced by UpdateUILists().

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 2411 of file playbackbox.cpp.

Referenced by customEvent(), and PlayX().

Definition at line 3621 of file playbackbox.cpp.

Definition at line 3656 of file playbackbox.cpp.

Referenced by keyPressEvent().

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

Definition at line 3680 of file playbackbox.cpp.

Referenced by processNetworkControlCommands().

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 3466 of file playbackbox.cpp.

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

Definition at line 3479 of file playbackbox.cpp.

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

Definition at line 2473 of file playbackbox.cpp.

Referenced by Delete().

Definition at line 2522 of file playbackbox.cpp.

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

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

Definition at line 2626 of file playbackbox.cpp.

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

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

Definition at line 3099 of file playbackbox.cpp.

Referenced by popupClosed(), and ShowMenu().

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

Definition at line 4514 of file playbackbox.cpp.

Referenced by showRecGroupPasswordChanger().

Definition at line 4519 of file playbackbox.cpp.

Referenced by PlaybackBox().

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

Definition at line 1236 of file playbackbox.cpp.

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

Definition at line 1241 of file playbackbox.cpp.

Referenced by customEvent(), and UpdateUILists().

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

Definition at line 635 of file playbackbox.cpp.

Referenced by updateRecList().

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

Definition at line 769 of file playbackbox.cpp.

Referenced by ItemLoaded(), 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 787 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 1011 of file playbackbox.cpp.

Referenced by customEvent().

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

Definition at line 4190 of file playbackbox.cpp.

Referenced by customEvent().

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

Definition at line 4269 of file playbackbox.cpp.

Referenced by customEvent().

Definition at line 4275 of file playbackbox.cpp.

Referenced by customEvent().

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

Definition at line 4296 of file playbackbox.cpp.

Referenced by customEvent().

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

Reimplemented from MythScreenType.

Definition at line 2869 of file playbackbox.cpp.

Referenced by keyPressEvent().

bool PlaybackBox::CreatePopupMenu ( const QString &  title) [private]

Definition at line 2853 of file playbackbox.cpp.

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

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 339 of file playbackbox.h.

Referenced by UpdateUILists().

QRegExp PlaybackBox::m_titleChaff [private]

stuff to remove for search rules

Definition at line 340 of file playbackbox.h.

Referenced by UpdateUILists().

Definition at line 342 of file playbackbox.h.

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

Definition at line 346 of file playbackbox.h.

Referenced by Create(), and updateRecList().

Definition at line 348 of file playbackbox.h.

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

QString PlaybackBox::m_artHostOverride [private]

Definition at line 350 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUIListItem().

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

Definition at line 354 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 359 of file playbackbox.h.

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

titleView controls showing titles in group list

Definition at line 361 of file playbackbox.h.

useCategories controls showing categories in group list

Definition at line 363 of file playbackbox.h.

useRecGroups controls showing of recording groups in group list

Definition at line 365 of file playbackbox.h.

use the Watch List as the initial view

Definition at line 367 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

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

Definition at line 369 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

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

Definition at line 371 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

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

Definition at line 373 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

contains "DispRecGroupAsAllProg" setting

Definition at line 375 of file playbackbox.h.

Referenced by PlaybackBox(), and setGroupFilter().

allOrder controls the ordering of the "All Programs" list

Definition at line 377 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

listOrder controls the ordering of the recordings in the list

Definition at line 379 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

Definition at line 382 of file playbackbox.h.

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

QString PlaybackBox::m_recGroup [private]

Definition at line 384 of file playbackbox.h.

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

QString PlaybackBox::m_newRecGroup [private]

Definition at line 385 of file playbackbox.h.

Referenced by checkPassword(), and displayRecGroup().

QString PlaybackBox::m_watchGroupName [private]

Definition at line 386 of file playbackbox.h.

Referenced by UpdateUILists().

QString PlaybackBox::m_watchGroupLabel [private]

Definition at line 387 of file playbackbox.h.

Referenced by UpdateUILists().

Definition at line 392 of file playbackbox.h.

Referenced by customEvent(), DisplayPopupMenu(), popupClosed(), and ShowMenu().

Definition at line 393 of file playbackbox.h.

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

Definition at line 396 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 404 of file playbackbox.h.

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

total number of recordings in DB

Definition at line 406 of file playbackbox.h.

Referenced by Init(), and UpdateUILists().

Definition at line 407 of file playbackbox.h.

Referenced by updateRecList(), and UpdateUILists().

QStringList PlaybackBox::m_recGroups [private]

Definition at line 409 of file playbackbox.h.

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

QMutex PlaybackBox::m_recGroupsLock [mutable, private]

Definition at line 410 of file playbackbox.h.

Referenced by keyPressEvent(), and UpdateUILists().

Definition at line 411 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 415 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 417 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 422 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 427 of file playbackbox.h.

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

Does the recording list need to be refilled.

Definition at line 430 of file playbackbox.h.

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

Definition at line 433 of file playbackbox.h.

QMutex PlaybackBox::m_ncLock [mutable, private]

Definition at line 436 of file playbackbox.h.

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

Definition at line 437 of file playbackbox.h.

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

Definition at line 441 of file playbackbox.h.

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

QSet<QString> PlaybackBox::m_preview_tokens [private]

Outstanding preview image requests.

Definition at line 445 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