forked from ShokoAnime/ShokoServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://jmm.googlecode.com/svn/trunk@122 a6988de2-25aa-124…
…f-8851-278695053f3e
- Loading branch information
0 parents
commit 54235a4
Showing
503 changed files
with
55,802 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AniDBAnime | ||
{ | ||
public int AnimeID { get; set; } | ||
public int EpisodeCount { get; set; } | ||
public DateTime? AirDate { get; set; } | ||
public DateTime? EndDate { get; set; } | ||
public string URL { get; set; } | ||
public string Picname { get; set; } | ||
public int BeginYear { get; set; } | ||
public int EndYear { get; set; } | ||
public int AnimeType { get; set; } | ||
public string MainTitle { get; set; } | ||
public string FormattedTitle { get; set; } | ||
public string AllTitles { get; set; } | ||
public string AllCategories { get; set; } | ||
public string AllTags { get; set; } | ||
public string Description { get; set; } | ||
public int EpisodeCountNormal { get; set; } | ||
public int EpisodeCountSpecial { get; set; } | ||
public int Rating { get; set; } | ||
public int VoteCount { get; set; } | ||
public int TempRating { get; set; } | ||
public int TempVoteCount { get; set; } | ||
public int AvgReviewRating { get; set; } | ||
public int ReviewCount { get; set; } | ||
public DateTime DateTimeUpdated { get; set; } | ||
public DateTime DateTimeDescUpdated { get; set; } | ||
public int ImageEnabled { get; set; } | ||
public string AwardList { get; set; } | ||
public int Restricted { get; set; } | ||
public int? AnimePlanetID { get; set; } | ||
public int? ANNID { get; set; } | ||
public int? AllCinemaID { get; set; } | ||
public int? AnimeNfo { get; set; } | ||
public int? LatestEpisodeNumber { get; set; } | ||
|
||
public Contract_AniDB_Anime_DefaultImage DefaultImagePoster { get; set; } | ||
public Contract_AniDB_Anime_DefaultImage DefaultImageFanart { get; set; } | ||
public Contract_AniDB_Anime_DefaultImage DefaultImageWideBanner { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AniDBReleaseGroup | ||
{ | ||
public int GroupID { get; set; } | ||
public string GroupName { get; set; } | ||
|
||
public Contract_AniDBReleaseGroup() | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AniDBVote | ||
{ | ||
public int EntityID { get; set; } | ||
public int VoteType { get; set; } | ||
public decimal VoteValue { get; set; } // out of 10 | ||
|
||
public Contract_AniDBVote() | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AniDB_AnimeCrossRefs | ||
{ | ||
public int AnimeID { get; set; } | ||
|
||
// TvDB | ||
public Contract_CrossRef_AniDB_TvDB CrossRef_AniDB_TvDB { get; set; } | ||
public Contract_TvDB_Series TvDBSeries { get; set; } | ||
public List<Contract_TvDB_Episode> TvDBEpisodes { get; set; } | ||
public List<Contract_TvDB_ImageFanart> TvDBImageFanarts { get; set; } | ||
public List<Contract_TvDB_ImagePoster> TvDBImagePosters { get; set; } | ||
public List<Contract_TvDB_ImageWideBanner> TvDBImageWideBanners { get; set; } | ||
|
||
// Trakt | ||
public Contract_CrossRef_AniDB_Trakt CrossRef_AniDB_Trakt { get; set; } | ||
public Contract_Trakt_Show TraktShow { get; set; } | ||
public Contract_Trakt_ImageFanart TraktImageFanart { get; set; } | ||
public Contract_Trakt_ImagePoster TraktImagePoster { get; set; } | ||
|
||
// MovieDB | ||
public Contract_CrossRef_AniDB_Other CrossRef_AniDB_MovieDB { get; set; } | ||
public Contract_MovieDB_Movie MovieDBMovie { get; set; } | ||
public List<Contract_MovieDB_Fanart> MovieDBFanarts { get; set; } | ||
public List<Contract_MovieDB_Poster> MovieDBPosters { get; set; } | ||
|
||
public Contract_AniDB_AnimeCrossRefs() | ||
{ | ||
CrossRef_AniDB_TvDB = null; | ||
TvDBSeries = null; | ||
TvDBEpisodes = new List<Contract_TvDB_Episode>(); | ||
TvDBImageFanarts = new List<Contract_TvDB_ImageFanart>(); | ||
TvDBImagePosters = new List<Contract_TvDB_ImagePoster>(); | ||
TvDBImageWideBanners = new List<Contract_TvDB_ImageWideBanner>(); | ||
|
||
CrossRef_AniDB_MovieDB = null; | ||
MovieDBMovie = null; | ||
MovieDBFanarts = new List<Contract_MovieDB_Fanart>(); | ||
MovieDBPosters = new List<Contract_MovieDB_Poster>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AniDB_AnimeDetailed | ||
{ | ||
public Contract_AniDBAnime AniDBAnime { get; set; } | ||
public List<Contract_AnimeTitle> AnimeTitles { get; set; } | ||
public List<Contract_AnimeCategory> Categories { get; set; } | ||
public List<Contract_AnimeTag> Tags { get; set; } | ||
public Contract_AniDBVote UserVote { get; set; } | ||
|
||
public string Stat_AllVideoQuality { get; set; } | ||
public string Stat_AllVideoQuality_Episodes { get; set; } | ||
public string Stat_AudioLanguages { get; set; } | ||
public string Stat_SubtitleLanguages { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AniDB_Anime_DefaultImage | ||
{ | ||
public int AniDB_Anime_DefaultImageID { get; set; } | ||
public int AnimeID { get; set; } | ||
public int ImageParentID { get; set; } | ||
public int ImageParentType { get; set; } | ||
public int ImageType { get; set; } | ||
|
||
public Contract_MovieDB_Poster MoviePoster { get; set; } | ||
public Contract_MovieDB_Fanart MovieFanart { get; set; } | ||
|
||
public Contract_TvDB_ImagePoster TVPoster { get; set; } | ||
public Contract_TvDB_ImageFanart TVFanart { get; set; } | ||
public Contract_TvDB_ImageWideBanner TVWideBanner { get; set; } | ||
|
||
public Contract_Trakt_ImagePoster TraktPoster { get; set; } | ||
public Contract_Trakt_ImageFanart TraktFanart { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeCategory | ||
{ | ||
public int CategoryID { get; set; } | ||
public int ParentID { get; set; } | ||
public int IsHentai { get; set; } | ||
public string CategoryName { get; set; } | ||
public string CategoryDescription { get; set; } | ||
public int Weighting { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeEpisode | ||
{ | ||
// from AnimeEpisode | ||
public int AnimeEpisodeID { get; set; } | ||
public int EpisodeNumber { get; set; } | ||
public string EpisodeNameRomaji { get; set; } | ||
public string EpisodeNameEnglish { get; set; } | ||
public int EpisodeType { get; set; } | ||
public int AnimeSeriesID { get; set; } | ||
public int AniDB_EpisodeID { get; set; } | ||
public DateTime DateTimeUpdated { get; set; } | ||
public int IsWatched { get; set; } | ||
public DateTime? WatchedDate { get; set; } | ||
public int PlayedCount { get; set; } | ||
public int WatchedCount { get; set; } | ||
public int StoppedCount { get; set; } | ||
public int LocalFileCount { get; set; } | ||
|
||
// from AniDB_Episode | ||
public int AniDB_LengthSeconds { get; set; } | ||
public string AniDB_Rating { get; set; } | ||
public string AniDB_Votes { get; set; } | ||
public string AniDB_RomajiName { get; set; } | ||
public string AniDB_EnglishName { get; set; } | ||
public DateTime? AniDB_AirDate { get; set; } | ||
|
||
public List<Contract_AniDBReleaseGroup> ReleaseGroups { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeGroup : IComparable<Contract_AnimeGroup> | ||
{ | ||
// Data from AnimeGroup | ||
public int AnimeGroupID { get; set; } | ||
public int? AnimeGroupParentID { get; set; } | ||
public string GroupName { get; set; } | ||
public string Description { get; set; } | ||
public int IsFave { get; set; } | ||
public int IsManuallyNamed { get; set; } | ||
public int UnwatchedEpisodeCount { get; set; } | ||
public DateTime DateTimeUpdated { get; set; } | ||
public int WatchedEpisodeCount { get; set; } | ||
public string SortName { get; set; } | ||
public DateTime? WatchedDate { get; set; } | ||
public DateTime? EpisodeAddedDate { get; set; } | ||
public int PlayedCount { get; set; } | ||
public int WatchedCount { get; set; } | ||
public int StoppedCount { get; set; } | ||
public int OverrideDescription { get; set; } | ||
|
||
public int MissingEpisodeCount { get; set; } | ||
public int MissingEpisodeCountGroups { get; set; } | ||
|
||
public DateTime? Stat_AirDate_Min { get; set; } | ||
public DateTime? Stat_AirDate_Max { get; set; } | ||
public DateTime? Stat_EndDate { get; set; } | ||
public DateTime? Stat_SeriesCreatedDate { get; set; } | ||
public decimal? Stat_UserVotePermanent { get; set; } | ||
public decimal? Stat_UserVoteTemporary { get; set; } | ||
public decimal? Stat_UserVoteOverall { get; set; } | ||
public string Stat_AllCategories { get; set; } | ||
public string Stat_AllTitles { get; set; } | ||
public bool Stat_IsComplete { get; set; } | ||
public bool Stat_HasFinishedAiring { get; set; } | ||
public bool Stat_HasTvDBLink { get; set; } | ||
public bool Stat_HasMovieDBLink { get; set; } | ||
public bool Stat_HasMovieDBOrTvDBLink { get; set; } | ||
public string Stat_AllVideoQuality { get; set; } | ||
public string Stat_AllVideoQuality_Episodes { get; set; } | ||
public string Stat_AudioLanguages { get; set; } | ||
public string Stat_SubtitleLanguages { get; set; } | ||
public int Stat_SeriesCount { get; set; } | ||
|
||
public int CompareTo(Contract_AnimeGroup obj) | ||
{ | ||
return SortName.CompareTo(obj.SortName); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeGroupDetailed | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeGroup_Save | ||
{ | ||
public int? AnimeGroupID { get; set; } // will be NULL for a new group | ||
public int? AnimeGroupParentID { get; set; } | ||
public string GroupName { get; set; } | ||
public string Description { get; set; } | ||
public int IsFave { get; set; } | ||
public int IsManuallyNamed { get; set; } | ||
public string SortName { get; set; } | ||
public int OverrideDescription { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeGroup_SaveResponse | ||
{ | ||
public string ErrorMessage { get; set; } | ||
public Contract_AnimeGroup AnimeGroup { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeSeries | ||
{ | ||
public int AnimeSeriesID { get; set; } | ||
public int AnimeGroupID { get; set; } | ||
public int AniDB_ID { get; set; } | ||
public int UnwatchedEpisodeCount { get; set; } | ||
public DateTime DateTimeUpdated { get; set; } | ||
public DateTime DateTimeCreated { get; set; } | ||
public int WatchedEpisodeCount { get; set; } | ||
public string DefaultAudioLanguage { get; set; } | ||
public string DefaultSubtitleLanguage { get; set; } | ||
public DateTime? WatchedDate { get; set; } | ||
public DateTime? EpisodeAddedDate { get; set; } | ||
public int PlayedCount { get; set; } | ||
public int WatchedCount { get; set; } | ||
public int StoppedCount { get; set; } | ||
public int LatestLocalEpisodeNumber { get; set; } | ||
|
||
public int MissingEpisodeCount { get; set; } | ||
public int MissingEpisodeCountGroups { get; set; } | ||
|
||
public Contract_AniDBAnime AniDBAnime { get; set; } | ||
public Contract_CrossRef_AniDB_TvDB CrossRefAniDBTvDB { get; set; } | ||
public Contract_CrossRef_AniDB_Other CrossRefAniDBMovieDB { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace JMMContracts | ||
{ | ||
public class Contract_AnimeSeries_Save | ||
{ | ||
public int? AnimeSeriesID { get; set; } | ||
public int AnimeGroupID { get; set; } | ||
public int AniDB_ID { get; set; } | ||
public string DefaultAudioLanguage { get; set; } | ||
public string DefaultSubtitleLanguage { get; set; } | ||
} | ||
} |
Oops, something went wrong.