Type.registerNamespace('Mediafly.Web.Main.WebServices');
Mediafly.Web.Main.WebServices.ContentService_v1_0=function() {
Mediafly.Web.Main.WebServices.ContentService_v1_0.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Mediafly.Web.Main.WebServices.ContentService_v1_0.prototype={
GetPlaylist:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.ContentService_v1_0.get_path(), 'GetPlaylist',false,{},succeededCallback,failedCallback,userContext); },
GetPlaylistForChannel:function(channelText,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.ContentService_v1_0.get_path(), 'GetPlaylistForChannel',false,{channelText:channelText},succeededCallback,failedCallback,userContext); },
SelectEpisodesByFeedSlug:function(slug,page,max,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.ContentService_v1_0.get_path(), 'SelectEpisodesByFeedSlug',false,{slug:slug,page:page,max:max},succeededCallback,failedCallback,userContext); },
GetMyMediaflyShows:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.ContentService_v1_0.get_path(), 'GetMyMediaflyShows',false,{},succeededCallback,failedCallback,userContext); },
GetMediaflyAddressForShow:function(rssUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(Mediafly.Web.Main.WebServices.ContentService_v1_0.get_path(), 'GetMediaflyAddressForShow',false,{rssUrl:rssUrl},succeededCallback,failedCallback,userContext); }}
Mediafly.Web.Main.WebServices.ContentService_v1_0.registerClass('Mediafly.Web.Main.WebServices.ContentService_v1_0',Sys.Net.WebServiceProxy);
Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance = new Mediafly.Web.Main.WebServices.ContentService_v1_0();
Mediafly.Web.Main.WebServices.ContentService_v1_0.set_path = function(value) { Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._path = value; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.get_path = function() { return Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._path; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.set_timeout = function(value) { Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._timeout = value; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.get_timeout = function() { return Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._timeout; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.set_defaultUserContext = function(value) { Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._userContext = value; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.get_defaultUserContext = function() { return Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._userContext; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.set_defaultSucceededCallback = function(value) { Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._succeeded = value; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.get_defaultSucceededCallback = function() { return Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._succeeded; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.set_defaultFailedCallback = function(value) { Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._failed = value; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.get_defaultFailedCallback = function() { return Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance._failed; }
Mediafly.Web.Main.WebServices.ContentService_v1_0.set_path("/WebServices/ContentService_v1_0.asmx");
Mediafly.Web.Main.WebServices.ContentService_v1_0.GetPlaylist= function(onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance.GetPlaylist(onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.ContentService_v1_0.GetPlaylistForChannel= function(channelText,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance.GetPlaylistForChannel(channelText,onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.ContentService_v1_0.SelectEpisodesByFeedSlug= function(slug,page,max,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance.SelectEpisodesByFeedSlug(slug,page,max,onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.ContentService_v1_0.GetMyMediaflyShows= function(onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance.GetMyMediaflyShows(onSuccess,onFailed,userContext); }
Mediafly.Web.Main.WebServices.ContentService_v1_0.GetMediaflyAddressForShow= function(rssUrl,onSuccess,onFailed,userContext) {Mediafly.Web.Main.WebServices.ContentService_v1_0._staticInstance.GetMediaflyAddressForShow(rssUrl,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Mediafly.Common.Web.Library.MyMediafly');
if (typeof(Mediafly.Common.Web.Library.MyMediafly.PlaylistInfo) === 'undefined') {
Mediafly.Common.Web.Library.MyMediafly.PlaylistInfo=gtc("Mediafly.Common.Web.Library.MyMediafly.PlaylistInfo");
Mediafly.Common.Web.Library.MyMediafly.PlaylistInfo.registerClass('Mediafly.Common.Web.Library.MyMediafly.PlaylistInfo');
}
if (typeof(Mediafly.Common.Web.Library.MyMediafly.EpisodeInfo) === 'undefined') {
Mediafly.Common.Web.Library.MyMediafly.EpisodeInfo=gtc("Mediafly.Common.Web.Library.MyMediafly.EpisodeInfo");
Mediafly.Common.Web.Library.MyMediafly.EpisodeInfo.registerClass('Mediafly.Common.Web.Library.MyMediafly.EpisodeInfo');
}
if (typeof(Mediafly.Common.Web.Library.MyMediafly.MyMediaflyShows) === 'undefined') {
Mediafly.Common.Web.Library.MyMediafly.MyMediaflyShows=gtc("Mediafly.Common.Web.Library.MyMediafly.MyMediaflyShows");
Mediafly.Common.Web.Library.MyMediafly.MyMediaflyShows.registerClass('Mediafly.Common.Web.Library.MyMediafly.MyMediaflyShows');
}
if (typeof(Mediafly.Web.Main.WebServices.MediaflyEndpoint) === 'undefined') {
Mediafly.Web.Main.WebServices.MediaflyEndpoint=gtc("Mediafly.Web.Main.WebServices.MediaflyEndpoint");
Mediafly.Web.Main.WebServices.MediaflyEndpoint.registerClass('Mediafly.Web.Main.WebServices.MediaflyEndpoint');
}
