C# Class WeebIRCServerTray.Home

Afficher le fichier Open project: RareAMV/WeebIRC

Méthodes publiques

Свойство Type Description
OS string
allFiles string
allSeasonsJson string
animePerSeasonJson string
customdldir string
dldir string
doesOSMCExist string
downloads int
irc SimpleIRC
loggedIn bool
niblSearchJson string
parsedSubtitle bool
port int
previousMessage string
previousstat string
saveDebug bool
searchedAnimeJson string
showDebug bool

Méthodes publiques

Méthode Description
Home ( ) : System
ParseSearchNibl ( string searchQuery ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
About_Click ( object sender, EventArgs e ) : void
DebugCallbackMethod ( string debugmsg ) : void
DebugIRC ( string debug ) : void

Calls debug callback with debug message from irc client

Debug_Click_1 ( object sender, EventArgs e ) : void
DownloadStatusChange ( ) : void

Irc on download status chaned event, sends, when connected to an irc server, the update on the file download to the http server, which sends it to the webclient

Form1_Load ( object sender, EventArgs e ) : void
GetCurrentFiles ( ) : void

Gets the current files in the download directory

GetLocalIPAddress ( ) : string
GetSubtitle ( string file, string customdir ) : void

Parses subtitle from .mkv file using external application "mkvextract.exe" from MkvToolNix (https://github.com/mbunkus/mkvtoolnix/blob/master/COPYING)

GetTimeStamp ( ) : string

Gets Current TimeStamp

Home_FormClosing ( object sender, FormClosingEventArgs e ) : void
Home_SizeChanged ( object sender, EventArgs e ) : void
HttpMessageReceived ( string message ) : void

Executes action on message received from http com server, action depends on message

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ParseAllSeasons ( ) : void
ParseAnimeSeason ( string url, string yearAndseason ) : void
ParseSearchAnime ( string url ) : void
RunningPlatform ( ) : void

Executes OS related code, got code partially from: http://stackoverflow.com/questions/10138040/how-to-detect-properly-windows-linux-mac-operating-systems It tryes to locate "mkvextract.exe" from MkvToolNix (https://github.com/mbunkus/mkvtoolnix/blob/master/COPYING), if not available, prompts user with ability to download application Starts interface when windows is detected, assuming local usage

SendIRCMessageToHttpServer ( string user, string message ) : void

Sends message received from irc client to http com server

SetupDownloadDir ( string dir ) : void

Sets the download directory to be used

Start_Click ( object sender, EventArgs e ) : void
Stop_Click ( object sender, EventArgs e ) : void
Tray_MouseClick ( object sender, MouseEventArgs e ) : void
pictureBox1_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

Home() public méthode

public Home ( ) : System
Résultat System

ParseSearchNibl() public static méthode

public static ParseSearchNibl ( string searchQuery ) : void
searchQuery string
Résultat void

Property Details

OS public_oe static_oe property

public static string OS
Résultat string

allFiles public_oe static_oe property

public static string allFiles
Résultat string

allSeasonsJson public_oe static_oe property

public static string allSeasonsJson
Résultat string

animePerSeasonJson public_oe static_oe property

public static string animePerSeasonJson
Résultat string

customdldir public_oe static_oe property

public static string customdldir
Résultat string

dldir public_oe static_oe property

public static string dldir
Résultat string

doesOSMCExist public_oe static_oe property

public static string doesOSMCExist
Résultat string

downloads public_oe static_oe property

public static int downloads
Résultat int

irc public_oe static_oe property

public static SimpleIRC irc
Résultat SimpleIRC

loggedIn public_oe static_oe property

public static bool loggedIn
Résultat bool

niblSearchJson public_oe static_oe property

public static string niblSearchJson
Résultat string

parsedSubtitle public_oe static_oe property

public static bool parsedSubtitle
Résultat bool

port public_oe static_oe property

public static int port
Résultat int

previousMessage public_oe static_oe property

public static string previousMessage
Résultat string

previousstat public_oe static_oe property

public static string previousstat
Résultat string

saveDebug public_oe static_oe property

public static bool saveDebug
Résultat bool

searchedAnimeJson public_oe static_oe property

public static string searchedAnimeJson
Résultat string

showDebug public_oe static_oe property

public static bool showDebug
Résultat bool