C# 클래스 TraktPlugin.TraktHandlers.TVSeries

Support for TVSeries
상속: ITraktHandler
파일 보기 프로젝트 열기: trakt/Trakt-for-Mediaportal 1 사용 예제들

공개 메소드들

메소드 설명
DisposeEvents ( ) : void
FindEpisodeInFacade ( DBEpisode episode ) : GUIListItem

Finds an episode in the current TVSeries Episode List

GetEpisodeInfo ( Object obj, string &title, string &year, string &showTvdbId, string &epTvdbId, string &seasonidx, string &episodeidx, bool &isWatched ) : bool

Get Episode Info for selected object

GetEpisodePersonInfo ( Object obj, SearchPeople &searchPeople ) : bool
GetSelectedType ( Object obj ) : SelectedType

Get the current selected facade item in TVSeries

GetSeriesInfo ( Object obj, string &title, string &year, string &tvdb ) : bool

Get Series Info for selected object

GetSeriesPersonInfo ( Object obj, SearchPeople &searchPeople ) : bool
PlayEpisode ( DBEpisode episode ) : bool
PlayEpisode ( int seriesid, int seasonid, int episodeid ) : bool

Playback an episode using TVSeries internal Video Handler

PlayFirstUnwatchedEpisode ( int seriesid ) : bool

Playback the first unwatched episode for a series using TVSeries internal Video Handler If no Unwatched episodes exists, play the Most Recently Aired

Scrobble ( string filename ) : bool
SeriesExists ( int seriesId ) : bool

Checks if the series id exists in the local collection

SetEpisodeUserRating ( int rating ) : void
SetShowUserRating ( int rating ) : void
StopScrobble ( ) : void
SyncLibrary ( ) : void
SyncProgress ( ) : void
TVSeries ( int priority ) : System
UpdateSettingAsBool ( string setting, bool value ) : void

비공개 메소드들

메소드 설명
CreateLookupKey ( DBEpisode episode ) : string
CreateLookupKey ( TraktCache episode ) : string
CreateLookupKey ( TraktEpisodeRated item ) : string
CreateScrobbleData ( DBEpisode episode, double progress ) : TraktScrobbleEpisode

Creates Scrobble data based on a DBEpisode object

EpisodeMatch ( DBEpisode localEpisode, TraktCache onlineEpisode ) : bool
EpisodeMatch ( DBEpisode localEpisode, TraktEpisode onlineEpisode, TraktShow onlineShow ) : bool
GetCollectedEpisodesForSync ( List localCollectedEpisodes, List traktCollectedEpisodes ) : List

Returns a list of episodes for collection sync (uses episode ids) This may not be ideal as it depends on trakt knowing the episode tvdb ids since there is no show data to fallback on.

GetCollectedShowsForSyncEx ( List localCollectedEpisodes, List traktEpisodesCollected ) : TraktSyncShowsCollectedEx

Returns a list of shows for collection sync as show objects with season / episode hierarchy

GetEpisodeAudioChannels ( DBEpisode episode ) : string

Gets the trakt compatible string for the episodes Audio Channels

GetEpisodeAudioCodec ( DBEpisode episode ) : string

Gets the trakt compatible string for the episodes Audio

GetEpisodeMediaType ( DBEpisode episode ) : string

Gets the trakt compatible string for the episodes Media Type

GetEpisodeResolution ( DBEpisode episode ) : string

Gets the trakt compatible string for the episodes Resolution

GetLastPlayedDate ( DBEpisode episode ) : string

Gets the last time the episode

GetPlayerProgress ( DBEpisode episode ) : double

Get the current g_Player progress of the playing episode

GetRatedEpisodesForSync ( List localRatedEpisodes, List traktRatedEpisodes ) : List

Returns a list of episodes for ratings sync (uses episode ids) This may not be ideal as it depends on trakt knowing the episode tvdb ids since there is no show data to fallback on.

GetRatedEpisodesForSyncEx ( List localRatedEpisodes, List traktEpisodesRated ) : TraktPlugin.TraktAPI.DataStructures.TraktSyncShowsRatedEx

Returns a list of shows for rating sync as show objects with season / episode hierarchy

GetRemovedEpisodesForSync ( List localCollectedEpisodes, List traktCollectedEpisodes ) : List

Returns a list of episodes for removal sync (uses episode ids) This may not be ideal as it depends on trakt knowing the episode tvdb ids since there is no show data to fallback on.

GetRemovedShowsForSyncEx ( List localCollectedEpisodes, List traktEpisodesCollected ) : TraktSyncShowsEx

Returns a list of shows for removal sync as show objects with season / episode hierarchy

GetWatchedEpisodesForSync ( List localWatchedEpisodes, List traktWatchedEpisodes ) : List

Returns a list of episodes for watched history sync (uses episode ids) This may not be ideal as it depends on trakt knowing the episode tvdb ids since there is no show data to fallback on.

GetWatchedShowsForSyncEx ( List localWatchedEpisodes, List traktEpisodesWatched ) : TraktSyncShowsWatchedEx

Returns a list of shows for watched history sync as show objects with season / episode hierarchy

MarkEpisodesAsUnWatched ( WindowPlugins.GUITVSeries.DBSeries show, List episodes ) : void
MarkEpisodesAsWatched ( WindowPlugins.GUITVSeries.DBSeries show, List episodes ) : void
OnEpisodeStarted ( DBEpisode episode ) : void
OnEpisodeStopped ( DBEpisode episode ) : void
OnEpisodeWatched ( DBEpisode episode ) : void
OnEpisodeWatched ( DBEpisode episode, bool isPlaylist ) : void
OnImportCompleted ( bool newEpisodeAdded ) : void
OnPlaylistEpisodeWatched ( DBEpisode episode ) : void
OnRateItem ( WindowPlugins.GUITVSeries.DBTable item, string value ) : void
OnToggleWatched ( WindowPlugins.GUITVSeries.DBSeries show, List episodes, bool watched ) : void
RateEpisode ( DBEpisode episode ) : void
RateShow ( WindowPlugins.GUITVSeries.DBSeries show ) : void
ShowMatch ( WindowPlugins.GUITVSeries.DBSeries localShow, TraktShow onlineShow ) : bool
ShowRateDialog ( DBEpisode episode, bool isPlaylist ) : void

Shows the Rate Episode Dialog after playback has ended

메소드 상세

DisposeEvents() 공개 메소드

public DisposeEvents ( ) : void
리턴 void

FindEpisodeInFacade() 공개 정적인 메소드

Finds an episode in the current TVSeries Episode List
public static FindEpisodeInFacade ( DBEpisode episode ) : GUIListItem
episode DBEpisode
리턴 MediaPortal.GUI.Library.GUIListItem

GetEpisodeInfo() 공개 정적인 메소드

Get Episode Info for selected object
public static GetEpisodeInfo ( Object obj, string &title, string &year, string &showTvdbId, string &epTvdbId, string &seasonidx, string &episodeidx, bool &isWatched ) : bool
obj Object
title string
year string
showTvdbId string
epTvdbId string
seasonidx string
episodeidx string
isWatched bool
리턴 bool

GetEpisodePersonInfo() 공개 정적인 메소드

public static GetEpisodePersonInfo ( Object obj, SearchPeople &searchPeople ) : bool
obj Object
searchPeople TraktPlugin.GUI.SearchPeople
리턴 bool

GetSelectedType() 공개 정적인 메소드

Get the current selected facade item in TVSeries
public static GetSelectedType ( Object obj ) : SelectedType
obj Object TVTag object
리턴 SelectedType

GetSeriesInfo() 공개 정적인 메소드

Get Series Info for selected object
public static GetSeriesInfo ( Object obj, string &title, string &year, string &tvdb ) : bool
obj Object
title string
year string
tvdb string
리턴 bool

GetSeriesPersonInfo() 공개 정적인 메소드

public static GetSeriesPersonInfo ( Object obj, SearchPeople &searchPeople ) : bool
obj Object
searchPeople TraktPlugin.GUI.SearchPeople
리턴 bool

PlayEpisode() 공개 정적인 메소드

public static PlayEpisode ( DBEpisode episode ) : bool
episode DBEpisode
리턴 bool

PlayEpisode() 공개 정적인 메소드

Playback an episode using TVSeries internal Video Handler
public static PlayEpisode ( int seriesid, int seasonid, int episodeid ) : bool
seriesid int series id of episode
seasonid int season index
episodeid int episode index
리턴 bool

PlayFirstUnwatchedEpisode() 공개 정적인 메소드

Playback the first unwatched episode for a series using TVSeries internal Video Handler If no Unwatched episodes exists, play the Most Recently Aired
public static PlayFirstUnwatchedEpisode ( int seriesid ) : bool
seriesid int series id of episode
리턴 bool

Scrobble() 공개 메소드

public Scrobble ( string filename ) : bool
filename string
리턴 bool

SeriesExists() 공개 정적인 메소드

Checks if the series id exists in the local collection
public static SeriesExists ( int seriesId ) : bool
seriesId int
리턴 bool

SetEpisodeUserRating() 공개 정적인 메소드

public static SetEpisodeUserRating ( int rating ) : void
rating int
리턴 void

SetShowUserRating() 공개 정적인 메소드

public static SetShowUserRating ( int rating ) : void
rating int
리턴 void

StopScrobble() 공개 메소드

public StopScrobble ( ) : void
리턴 void

SyncLibrary() 공개 메소드

public SyncLibrary ( ) : void
리턴 void

SyncProgress() 공개 메소드

public SyncProgress ( ) : void
리턴 void

TVSeries() 공개 메소드

public TVSeries ( int priority ) : System
priority int
리턴 System

UpdateSettingAsBool() 공개 정적인 메소드

public static UpdateSettingAsBool ( string setting, bool value ) : void
setting string
value bool
리턴 void