コード例 #1
0
 public DesignMovieDataService()
 {
     // Initialize the CouchPotat API
     couch = new CouchApi();
     couch.ApiKey = "7c9fad341b764a5f8c4781c76f3cbc24";
     couch.Host = "nas.blackjid.info";
     couch.Port = "5050";
 }
コード例 #2
0
 public DesignShowDataService()
 {
     // Initialize the CouchPotat API
     couch = new CouchApi();
     couch.ApiKey = "f5d6701f555447546b6030432d15e229";
     couch.Host = "nas.blackjid.info";
     couch.Port = "8081";
 }
コード例 #3
0
ファイル: App.xaml.cs プロジェクト: blackjid/CouchPotatoWp7
        // Code to execute when the application is launching (eg, from Start)
        // This code will not execute when the application is reactivated
        private void Application_Launching(object sender, LaunchingEventArgs e)
        {
            //IsolatedStorageExplorer.Explorer.Start("192.168.1.107");

            // Initialize the settings
            Settings = new AppSettings();

            // Initialize the CouchPotat API
            Couch = new CouchApi();
            Couch.ApiKey = Settings.CPApiKeySetting;
            Couch.Host = Settings.CPHostSetting;
            Couch.Port = Settings.CPPortSetting;

            // Initialize the Sickbeard API
            Sick = new SickApi();
            Sick.ApiKey = Settings.SBApiKeySetting;
            Sick.Host = Settings.SBHostSetting;
            Sick.Port = Settings.SBPortSetting;

            // Background
            UI = new UIHelper();

            // Push Helper
            PushHelper = new PushHelper();

            PushHelper.RegisterPushNotifications();
        }