예제 #1
0
        public static void Send_CrossRef_AniDB_Trakt(CrossRef_AniDB_Trakt data, string showName)
        {
            if (!ServerSettings.WebCache_XRefFileEpisode_Send)
            {
                return;
            }


            string uri = string.Format("http://{0}/AddCrossRef_AniDB_Trakt.aspx", ServerSettings.WebCache_Address);
            AddCrossRef_AniDB_TraktRequest fhr = new AddCrossRef_AniDB_TraktRequest(data, showName);
            string xml = fhr.ToXML();

            SendData(uri, xml);
        }
예제 #2
0
파일: XMLService.cs 프로젝트: dizzydezz/jmm
		public static void Send_CrossRef_AniDB_Trakt(CrossRef_AniDB_Trakt data, string showName)
		{
			if (!ServerSettings.WebCache_XRefFileEpisode_Send) return;


			string uri = string.Format("http://{0}/AddCrossRef_AniDB_Trakt.aspx", ServerSettings.WebCache_Address);
			AddCrossRef_AniDB_TraktRequest fhr = new AddCrossRef_AniDB_TraktRequest(data, showName);
			string xml = fhr.ToXML();

			SendData(uri, xml);
		}