C# 클래스 WeebIRCServerTray.Home

파일 보기 프로젝트 열기: RareAMV/WeebIRC

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
Home ( ) : System
ParseSearchNibl ( string searchQuery ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

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

Home() 공개 메소드

public Home ( ) : System
리턴 System

ParseSearchNibl() 공개 정적인 메소드

public static ParseSearchNibl ( string searchQuery ) : void
searchQuery string
리턴 void

프로퍼티 상세

OS 공개적으로 정적으로 프로퍼티

public static string OS
리턴 string

allFiles 공개적으로 정적으로 프로퍼티

public static string allFiles
리턴 string

allSeasonsJson 공개적으로 정적으로 프로퍼티

public static string allSeasonsJson
리턴 string

animePerSeasonJson 공개적으로 정적으로 프로퍼티

public static string animePerSeasonJson
리턴 string

customdldir 공개적으로 정적으로 프로퍼티

public static string customdldir
리턴 string

dldir 공개적으로 정적으로 프로퍼티

public static string dldir
리턴 string

doesOSMCExist 공개적으로 정적으로 프로퍼티

public static string doesOSMCExist
리턴 string

downloads 공개적으로 정적으로 프로퍼티

public static int downloads
리턴 int

irc 공개적으로 정적으로 프로퍼티

public static SimpleIRC irc
리턴 SimpleIRC

loggedIn 공개적으로 정적으로 프로퍼티

public static bool loggedIn
리턴 bool

niblSearchJson 공개적으로 정적으로 프로퍼티

public static string niblSearchJson
리턴 string

parsedSubtitle 공개적으로 정적으로 프로퍼티

public static bool parsedSubtitle
리턴 bool

port 공개적으로 정적으로 프로퍼티

public static int port
리턴 int

previousMessage 공개적으로 정적으로 프로퍼티

public static string previousMessage
리턴 string

previousstat 공개적으로 정적으로 프로퍼티

public static string previousstat
리턴 string

saveDebug 공개적으로 정적으로 프로퍼티

public static bool saveDebug
리턴 bool

searchedAnimeJson 공개적으로 정적으로 프로퍼티

public static string searchedAnimeJson
리턴 string

showDebug 공개적으로 정적으로 프로퍼티

public static bool showDebug
리턴 bool