C# 클래스 WeebIRCWebEdition.Program

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

공개 메소드들

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

비공개 메소드들

메소드 설명
Debug ( string debug ) : void

Calls debug callback with debug message from irc client

DebugCallbackMethod ( string debugmsg ) : 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

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

HttpMessageReceived ( string message ) : void

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

Main ( string args ) : void
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

메소드 상세

ParseSearchNibl() 공개 정적인 메소드

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