C# Class RemotePotatoServer.RequestProcessor

Inheritance: IDisposable
Mostra file Open project: carlospuk/remotepotato Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetActionFromBrowserRequest ( ) : string
RequestProcessor ( HttpListenerContext context ) : System
Run ( ) : void

Private Methods

Method Description
AdditionalStyleLinks ( List AdditionalStyles ) : string
CancelRecording ( ) : bool
CancelRequest ( ) : bool
CheckForTokenAuthentication ( ) : bool

Check for a request header token and flag if it has authenticated successfully

DateDropDown ( System.DateTime selectedValue ) : string
DeleteFileFromFilePath ( bool isBase64Encoded ) : bool
DoLogOut ( ) : void
EPGCenterTimeDropDown ( System.DateTime selectedValue ) : string
EPGChannelDropDown ( string selectedValue ) : string
EPGDayPhaseDropDown ( int selectedValue ) : string
EPGGridChannelAdvance ( ) : bool
EPGGridChannelJump ( ) : bool
EPGGridChannelRetreat ( ) : bool
EPGGridChannelSetAbsolute ( bool setZero, bool setHighest ) : bool
EPGGridTimeWindowShiftByMinutes ( int minutesToShift ) : bool
ExcludeMarkedSectionOfHTMLFragment ( string &fragment, string token ) : bool
GetAlbumThumbnail ( RemotePotatoServer.BrowserSender &browserSender, bool isBase64Encoded ) : void
GetClientIPFromSocket ( Socket &ActiveSocket ) : string
GetFileThumbnailUsingQueryString ( RemotePotatoServer.BrowserSender &browserSender, bool isBase64Encoded ) : void
GetPicturesFolderAsZip ( RemotePotatoServer.BrowserSender &bSender ) : bool
GetRecTVThumbnail ( RemotePotatoServer.BrowserSender &browserSender, bool isBase64Encoded ) : void
GetSongThumbnail ( RemotePotatoServer.BrowserSender &browserSender, bool isBase64Encoded ) : void
IndexLetterForPhrase ( string inputPhrase ) : string
IndexLetterForWord ( string word ) : string
IsEnglishLetter ( char c ) : bool
ListOfRecordingsAsHTML ( List &recs, DateRangeType dateRangeToShow, bool showTitle, bool showStartTime, bool showChannel, bool linkToPage ) : string
ProcessHTTPLSURL ( string txtAction, RemotePotatoServer.BrowserSender &browserSender ) : void
RecordFromQueue ( ) : bool
RecordSeries ( ) : bool
RequestProcessor ( ) : System
SearchShowsByText ( ) : bool
SendFileThumbnail ( string fileName, FatAttitude thumbSize, RemotePotatoServer.BrowserSender &browserSender ) : void
SendRemoteControlCommand ( RemotePotatoServer.BrowserSender &bs ) : bool
SendRemoteControlCommandDesktop ( RemotePotatoServer.BrowserSender &bs ) : void
SendRemoteControlCommandMobile ( RemotePotatoServer.BrowserSender &bs ) : bool
SendSongToBrowser ( RemotePotatoServer.BrowserSender &browserSender, bool isBase64Encoded, bool sendChunked, bool isDownload ) : bool
ShowMainMenu ( ) : void
StreamRecordedProgramme ( ) : bool
StreamVideo ( ) : bool
StreamVideoUsingTVProgramme ( CommonEPG.TVProgramme tvp, int Quality, double StartAt, int iPlayerWidth, int iPlayerHeight ) : bool
TimeDropDown ( ) : string
TryManualRecording ( ) : bool
ViewEPGGrid ( ) : bool
ViewEPGList ( ) : bool
ViewEPGProgramme ( ) : bool
ViewLoginPage ( string PostObjects, bool &DidLoginSuccessfully, string &destURL, string &destQueryString ) : void
ViewMovie ( ) : bool
ViewMovies ( ) : bool
ViewMusic ( ) : bool
ViewMusicAlbum ( ) : bool
ViewMusicAlbums ( ) : bool
ViewMusicArtist ( ) : bool
ViewMusicArtists ( bool limitToAlbumArtists ) : bool
ViewMusicGenre ( ) : bool
ViewMusicGenres ( ) : bool
ViewMusicSong ( ) : bool
ViewPicture ( RemotePotatoServer.BrowserSender &bSender, bool &sentCompletePage ) : bool
ViewPicturesLibrary ( ) : bool
ViewRecordedTVList ( ) : bool
ViewRemoteControl ( ) : bool
ViewScheduledRecordings ( ) : bool
ViewSeriesRequest ( ) : bool

View a scheduled event

ViewSeriesRequests ( ) : bool
ViewVideoLibrary ( ) : bool
WebServiceProcess ( string action, RemotePotatoServer.BrowserSender &browserSender, string &PostObjects ) : void
WebSvcCancelRecording ( string ID ) : string
WebSvcCancelRequest ( string ID ) : string
WebSvcDeleteFileByFilePath ( string filename ) : string
canProceedAuthenticatedByHTTPCookie ( ) : bool
fileNameStartsWithAnyRecordedTVFolder ( string txtFilename ) : bool
listAlbums ( List albums, listAlbumTextFormats textFormat ) : string
preProcessActionString ( string action ) : string
processRequestForm ( string &requestForm ) : void
processRequestForm ( string &requestForm, string selectedChannelCallsign, System.DateTime selectedDate, int selectedDayPhase, System.DateTime selectedGridTimeStart, int EPGGridChannelIndex, string searchShowTitle ) : void
processUserAgentStringFromRequestHeaders ( ) : void
scheduleRecordingForHTML ( CommonEPG.RecordingRequest rr, string &txtScheduleResult ) : bool
spoolMessage ( string msg ) : void
storeEPGQuerystringForCurrentClient ( ) : void
tableofSongs ( List songs, listSongTextFormats textFormat, bool showTrackNumber ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetActionFromBrowserRequest() public method

public GetActionFromBrowserRequest ( ) : string
return string

RequestProcessor() public method

public RequestProcessor ( HttpListenerContext context ) : System
context System.Net.HttpListenerContext
return System

Run() public method

public Run ( ) : void
return void