Skip to content

Commit

Permalink
git-svn-id: http://jmm.googlecode.com/svn/trunk@122 a6988de2-25aa-124…
Browse files Browse the repository at this point in the history
…f-8851-278695053f3e
  • Loading branch information
jmediamanager committed Oct 10, 2011
0 parents commit 54235a4
Show file tree
Hide file tree
Showing 503 changed files with 55,802 additions and 0 deletions.
Binary file added Dependencies/Antlr3.Runtime.dll
Binary file not shown.
Binary file added Dependencies/Castle.Core.dll
Binary file not shown.
Binary file added Dependencies/FluentNHibernate.dll
Binary file not shown.
Binary file added Dependencies/FluentNHibernate.pdb
Binary file not shown.
Binary file added Dependencies/ICSharpCode.SharpZipLib.dll
Binary file not shown.
Binary file added Dependencies/Iesi.Collections.dll
Binary file not shown.
Binary file added Dependencies/Iesi.Collections.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Dependencies/NHibernate.ByteCode.Castle.dll
Binary file not shown.
Binary file added Dependencies/NHibernate.ByteCode.Castle.pdb
Binary file not shown.
Binary file added Dependencies/NHibernate.dll
Binary file not shown.
Binary file added Dependencies/NHibernate.pdb
Binary file not shown.
Binary file added Dependencies/NLog.Extended.dll
Binary file not shown.
Binary file added Dependencies/NLog.dll
Binary file not shown.
Binary file added Dependencies/Remotion.Data.Linq.dll
Binary file not shown.
Binary file added Dependencies/System.Data.SQLite.dll
Binary file not shown.
Binary file added Dependencies/hasher.dll
Binary file not shown.
48 changes: 48 additions & 0 deletions JMMContracts/Contract_AniDBAnime.cs
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; }
}
}
17 changes: 17 additions & 0 deletions JMMContracts/Contract_AniDBReleaseGroup.cs
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()
{
}
}
}
18 changes: 18 additions & 0 deletions JMMContracts/Contract_AniDBVote.cs
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()
{
}
}
}
47 changes: 47 additions & 0 deletions JMMContracts/Contract_AniDB_AnimeCrossRefs.cs
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>();
}
}
}
22 changes: 22 additions & 0 deletions JMMContracts/Contract_AniDB_AnimeDetailed.cs
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; }

}
}
26 changes: 26 additions & 0 deletions JMMContracts/Contract_AniDB_Anime_DefaultImage.cs
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; }
}
}
17 changes: 17 additions & 0 deletions JMMContracts/Contract_AnimeCategory.cs
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; }
}
}
36 changes: 36 additions & 0 deletions JMMContracts/Contract_AnimeEpisode.cs
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; }
}
}
56 changes: 56 additions & 0 deletions JMMContracts/Contract_AnimeGroup.cs
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);
}
}
}
11 changes: 11 additions & 0 deletions JMMContracts/Contract_AnimeGroupDetailed.cs
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
{
}
}
19 changes: 19 additions & 0 deletions JMMContracts/Contract_AnimeGroup_Save.cs
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; }
}
}
13 changes: 13 additions & 0 deletions JMMContracts/Contract_AnimeGroup_SaveResponse.cs
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; }
}
}
33 changes: 33 additions & 0 deletions JMMContracts/Contract_AnimeSeries.cs
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; }
}
}
16 changes: 16 additions & 0 deletions JMMContracts/Contract_AnimeSeries_Save.cs
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; }
}
}
Loading

0 comments on commit 54235a4

Please sign in to comment.