From: <che...@us...> - 2010-06-26 18:21:19
|
Revision: 3649 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3649&view=rev Author: chemelli_sf Date: 2010-06-26 18:21:12 +0000 (Sat, 26 Jun 2010) Log Message: ----------- Satellite Channel Selector based on KingOfSat site Added Paths: ----------- trunk/plugins/SatChannelSelector/ trunk/plugins/SatChannelSelector/AssemblyInfo.cs trunk/plugins/SatChannelSelector/SatChannelSelector.csproj trunk/plugins/SatChannelSelector/SatChannelSelector.sln trunk/plugins/SatChannelSelector/SatChannelSelector.suo trunk/plugins/SatChannelSelector/SatChannelSelectorLauncher.cs trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.cs trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.designer.cs trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.resx trunk/plugins/SatChannelSelector/app.config Added: trunk/plugins/SatChannelSelector/AssemblyInfo.cs =================================================================== --- trunk/plugins/SatChannelSelector/AssemblyInfo.cs (rev 0) +++ trunk/plugins/SatChannelSelector/AssemblyInfo.cs 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,60 @@ +#region Copyright (C) 2005-2010 Team MediaPortal + +// Copyright (C) 2005-2010 Team MediaPortal +// http://www.team-mediaportal.com +// +// MediaPortal is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 2 of the License, or +// (at your option) any later version. +// +// MediaPortal is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>. + +#endregion + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// + +[assembly: AssemblyTitle("SatChannelSelector")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Team MediaPortal")] +[assembly: AssemblyProduct("SatChannelSelector")] +[assembly: AssemblyCopyright("Copyright \xA9 2005-2010 Team MediaPortal")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. + +[assembly: ComVisible(false)] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("0.0.0.1")] +[assembly: AssemblyFileVersion("0.0.0.1")] +[assembly: CLSCompliant(true)] \ No newline at end of file Added: trunk/plugins/SatChannelSelector/SatChannelSelector.csproj =================================================================== --- trunk/plugins/SatChannelSelector/SatChannelSelector.csproj (rev 0) +++ trunk/plugins/SatChannelSelector/SatChannelSelector.csproj 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,143 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{AD20D519-D1AF-484E-ADDE-251F7CA912D9}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>TvEngine</RootNamespace> + <AssemblyName>SatChannelSelector</AssemblyName> + <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> + <FileUpgradeFlags> + </FileUpgradeFlags> + <OldToolsVersion>2.0</OldToolsVersion> + <UpgradeBackupLocation> + </UpgradeBackupLocation> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <PlatformTarget>AnyCPU</PlatformTarget> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>none</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>none</DebugType> + <PlatformTarget>x86</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + </PropertyGroup> + <ItemGroup> + <Reference Include="Gentle.Common, Version=1.5.0.29111, Culture=neutral, PublicKeyToken=80b5de62e27be49b, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TVDatabase\references\Gentle.Common.dll</HintPath> + </Reference> + <Reference Include="Gentle.Framework, Version=1.5.0.29111, Culture=neutral, PublicKeyToken=80b5de62e27be49b, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TVDatabase\references\Gentle.Framework.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Runtime.Serialization"> + <RequiredTargetFramework>3.0</RequiredTargetFramework> + </Reference> + <Reference Include="System.ServiceModel"> + <RequiredTargetFramework>3.0</RequiredTargetFramework> + </Reference> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="KingOfSatList.cs" /> + <Compile Include="kingofsatXML.cs" /> + <Compile Include="SatChannelSelectorLauncher.cs" /> + <Compile Include="AssemblyInfo.cs" /> + <Compile Include="SatChannelSelectorSetup.cs"> + </Compile> + <Compile Include="SatChannelSelectorSetup.designer.cs"> + <DependentUpon>SatChannelSelectorSetup.cs</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\SetupControls\SetupControls.csproj"> + <Project>{A2792D3C-04C1-4A92-9383-A33D59C54D8D}</Project> + <Name>SetupControls</Name> + <Private>False</Private> + </ProjectReference> + <ProjectReference Include="..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TvControl\TvControl.csproj"> + <Project>{0DB878C6-1B68-4DC5-B6EF-564B7C08486F}</Project> + <Name>TvControl</Name> + <Private>False</Private> + </ProjectReference> + <ProjectReference Include="..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TVDatabase\TvBusinessLayer\TvBusinessLayer.csproj"> + <Project>{58C35C9D-F18D-40F2-8024-24E50D01E9C5}</Project> + <Name>TvBusinessLayer</Name> + <Private>False</Private> + </ProjectReference> + <ProjectReference Include="..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TVDatabase\TVDatabase.csproj"> + <Project>{0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD}</Project> + <Name>TVDatabase</Name> + <Private>False</Private> + </ProjectReference> + <ProjectReference Include="..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TvLibrary.Interfaces\TvLibrary.Interfaces.csproj"> + <Project>{AE752FB4-7450-4150-9BAD-19EFA9D2AC37}</Project> + <Name>TvLibrary.Interfaces</Name> + <Private>False</Private> + </ProjectReference> + <ProjectReference Include="..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\Plugins\PluginBase\PluginBase.csproj"> + <Project>{5EE20DC0-B22B-4BDB-828B-8DC5723A1873}</Project> + <Name>PluginBase</Name> + <Private>False</Private> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="SatChannelSelectorSetup.resx"> + <DependentUpon>SatChannelSelectorSetup.cs</DependentUpon> + <SubType>Designer</SubType> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <PropertyGroup> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file Added: trunk/plugins/SatChannelSelector/SatChannelSelector.sln =================================================================== --- trunk/plugins/SatChannelSelector/SatChannelSelector.sln (rev 0) +++ trunk/plugins/SatChannelSelector/SatChannelSelector.sln 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,66 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SatChannelSelector", "SatChannelSelector.csproj", "{AD20D519-D1AF-484E-ADDE-251F7CA912D9}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Externals", "Externals", "{B85405E4-6578-4483-8AFC-80ED15C63109}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluginBase", "..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\Plugins\PluginBase\PluginBase.csproj", "{5EE20DC0-B22B-4BDB-828B-8DC5723A1873}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupControls", "..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\SetupControls\SetupControls.csproj", "{A2792D3C-04C1-4A92-9383-A33D59C54D8D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TvBusinessLayer", "..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TVDatabase\TvBusinessLayer\TvBusinessLayer.csproj", "{58C35C9D-F18D-40F2-8024-24E50D01E9C5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TvControl", "..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TvControl\TvControl.csproj", "{0DB878C6-1B68-4DC5-B6EF-564B7C08486F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TVDatabase", "..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TVDatabase\TVDatabase.csproj", "{0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TvLibrary.Interfaces", "..\..\..\..\mediaportal\trunk\TvEngine3\TVLibrary\TvLibrary.Interfaces\TvLibrary.Interfaces.csproj", "{AE752FB4-7450-4150-9BAD-19EFA9D2AC37}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AD20D519-D1AF-484E-ADDE-251F7CA912D9}.Debug|x86.ActiveCfg = Debug|x86 + {AD20D519-D1AF-484E-ADDE-251F7CA912D9}.Debug|x86.Build.0 = Debug|x86 + {AD20D519-D1AF-484E-ADDE-251F7CA912D9}.Release|x86.ActiveCfg = Release|x86 + {AD20D519-D1AF-484E-ADDE-251F7CA912D9}.Release|x86.Build.0 = Release|x86 + {5EE20DC0-B22B-4BDB-828B-8DC5723A1873}.Debug|x86.ActiveCfg = Debug|x86 + {5EE20DC0-B22B-4BDB-828B-8DC5723A1873}.Debug|x86.Build.0 = Debug|x86 + {5EE20DC0-B22B-4BDB-828B-8DC5723A1873}.Release|x86.ActiveCfg = Release|x86 + {5EE20DC0-B22B-4BDB-828B-8DC5723A1873}.Release|x86.Build.0 = Release|x86 + {A2792D3C-04C1-4A92-9383-A33D59C54D8D}.Debug|x86.ActiveCfg = Debug|x86 + {A2792D3C-04C1-4A92-9383-A33D59C54D8D}.Debug|x86.Build.0 = Debug|x86 + {A2792D3C-04C1-4A92-9383-A33D59C54D8D}.Release|x86.ActiveCfg = Release|x86 + {A2792D3C-04C1-4A92-9383-A33D59C54D8D}.Release|x86.Build.0 = Release|x86 + {58C35C9D-F18D-40F2-8024-24E50D01E9C5}.Debug|x86.ActiveCfg = Debug|x86 + {58C35C9D-F18D-40F2-8024-24E50D01E9C5}.Debug|x86.Build.0 = Debug|x86 + {58C35C9D-F18D-40F2-8024-24E50D01E9C5}.Release|x86.ActiveCfg = Release|x86 + {58C35C9D-F18D-40F2-8024-24E50D01E9C5}.Release|x86.Build.0 = Release|x86 + {0DB878C6-1B68-4DC5-B6EF-564B7C08486F}.Debug|x86.ActiveCfg = Debug|x86 + {0DB878C6-1B68-4DC5-B6EF-564B7C08486F}.Debug|x86.Build.0 = Debug|x86 + {0DB878C6-1B68-4DC5-B6EF-564B7C08486F}.Release|x86.ActiveCfg = Release|x86 + {0DB878C6-1B68-4DC5-B6EF-564B7C08486F}.Release|x86.Build.0 = Release|x86 + {0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD}.Debug|x86.ActiveCfg = Debug|x86 + {0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD}.Debug|x86.Build.0 = Debug|x86 + {0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD}.Release|x86.ActiveCfg = Release|x86 + {0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD}.Release|x86.Build.0 = Release|x86 + {AE752FB4-7450-4150-9BAD-19EFA9D2AC37}.Debug|x86.ActiveCfg = Debug|x86 + {AE752FB4-7450-4150-9BAD-19EFA9D2AC37}.Debug|x86.Build.0 = Debug|x86 + {AE752FB4-7450-4150-9BAD-19EFA9D2AC37}.Release|x86.ActiveCfg = Release|x86 + {AE752FB4-7450-4150-9BAD-19EFA9D2AC37}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {5EE20DC0-B22B-4BDB-828B-8DC5723A1873} = {B85405E4-6578-4483-8AFC-80ED15C63109} + {A2792D3C-04C1-4A92-9383-A33D59C54D8D} = {B85405E4-6578-4483-8AFC-80ED15C63109} + {58C35C9D-F18D-40F2-8024-24E50D01E9C5} = {B85405E4-6578-4483-8AFC-80ED15C63109} + {0DB878C6-1B68-4DC5-B6EF-564B7C08486F} = {B85405E4-6578-4483-8AFC-80ED15C63109} + {0FD8DEAE-37A4-49CC-A7BE-E86E0E0D85BD} = {B85405E4-6578-4483-8AFC-80ED15C63109} + {AE752FB4-7450-4150-9BAD-19EFA9D2AC37} = {B85405E4-6578-4483-8AFC-80ED15C63109} + EndGlobalSection +EndGlobal Added: trunk/plugins/SatChannelSelector/SatChannelSelector.suo =================================================================== (Binary files differ) Property changes on: trunk/plugins/SatChannelSelector/SatChannelSelector.suo ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/plugins/SatChannelSelector/SatChannelSelectorLauncher.cs =================================================================== --- trunk/plugins/SatChannelSelector/SatChannelSelectorLauncher.cs (rev 0) +++ trunk/plugins/SatChannelSelector/SatChannelSelectorLauncher.cs 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,104 @@ +#region Copyright (C) 2005-2010 Team MediaPortal + +// Copyright (C) 2005-2010 Team MediaPortal +// http://www.team-mediaportal.com +// +// MediaPortal is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 2 of the License, or +// (at your option) any later version. +// +// MediaPortal is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>. + +#endregion + +using System; +using TvLibrary.Log; +using TvControl; +using SetupTv; + +namespace TvEngine +{ + public class SatChannelSelectorLauncher : ITvServerPlugin + { + #region Properties + + /// <summary> + /// returns the name of the plugin + /// </summary> + public string Name + { + get { return "Satellite Channels Selector"; } + } + + /// <summary> + /// returns the version of the plugin + /// </summary> + public string Version + { + get { return "0.0.0.2"; } + } + + /// <summary> + /// returns the author of the plugin + /// </summary> + public string Author + { + get { return "chemelli & cecet23"; } + } + + /// <summary> + /// returns if the plugin should only run on the master server + /// or also on slave servers + /// </summary> + public bool MasterOnly + { + get { return false; } + } + + #endregion Properties + + #region IPlugin Members + + [CLSCompliant(false)] + public void Start(IController controller) + { + Log.Info("plugin: SatChannelSelector start"); + + LoadSettings(); + } + + public void Stop() + { + Log.Info("plugin: SatChannelSelector stop"); + } + + [CLSCompliant(false)] + public SectionSettings Setup + { + get { return new SetupTv.Sections.SatChannelSelectorSetup(); } + } + + #endregion + + #region Implementation + + internal static void LoadSettings() + { + + } + + internal static void SaveSettings() + { + + } + + #endregion Implementation + } +} \ No newline at end of file Added: trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.cs =================================================================== --- trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.cs (rev 0) +++ trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.cs 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,235 @@ +#region Copyright (C) 2005-2010 Team MediaPortal + +// Copyright (C) 2005-2010 Team MediaPortal +// http://www.team-mediaportal.com +// +// MediaPortal is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 2 of the License, or +// (at your option) any later version. +// +// MediaPortal is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>. + +#endregion + +using System; +using System.IO; +using System.Windows.Forms; +using System.Xml; +using ChannelsXML; +using TvEngine; +using TvLibrary.Log; +using Channel = ChannelsXML.Channel; + +namespace SetupTv.Sections +{ + [CLSCompliant(false)] + public partial class SatChannelSelectorSetup : SectionSettings + { + public const string BouquetFta = "...Only \"Free To Air\"..."; + public const string BouquetEncrypted = "...Only \"Encrypted\"..."; + + #region Constructor + + public SatChannelSelectorSetup() + { + InitializeComponent(); + } + + #endregion Constructor + + #region SetupTv.SectionSettings + + private kingofsatXML _kingofsatXml; + + public override void OnSectionDeActivated() + { + Log.Info("SatChannelSelector: Configuration deactivated"); + + SatChannelSelectorLauncher.SaveSettings(); + + foreach (Channel ch in _kingofsatXml.Channels) + { + const string val = "ITALY"; + + if (ch.Language.ToUpper() == val) + { + Log.Info("Channel <{0}><{1}> has ({2}) language. Why ?", ch.Name, ch.Provider, val); + } + } + + base.OnSectionDeActivated(); + } + + public override void OnSectionActivated() + { + Log.Info("SatChannelSelector: Configuration activated"); + + SatChannelSelectorLauncher.LoadSettings(); + + ClearSatelliteLists(); + LoadSatellitesData(); + + base.OnSectionActivated(); + } + + #endregion SetupTv.SectionSettings + + private void ClearSatelliteLists() + { + // + comboBoxSatellite1.Items.Clear(); + comboBoxSatellite2.Items.Clear(); + comboBoxSatellite3.Items.Clear(); + comboBoxSatellite4.Items.Clear(); + } + + private void CleanChannelLists() + { + // + listBoxTypeBouquet.Items.Clear(); + listBoxTypeBouquet.Items.Add(BouquetFta); + listBoxTypeBouquet.Items.Add(BouquetEncrypted); + // + checkedListBoxLanguage.Items.Clear(); + // + } + + private void LoadSatellitesData() + { + var kingofsatList = new KingOfSatList(); + kingofsatList.GrabPage(); + kingofsatList.ParsePage(); + + + foreach (KingOfSatList.Satellite sat in kingofsatList.SatelliteList) + { + comboBoxSatellite1.Items.Add(sat.Name); + comboBoxSatellite2.Items.Add(sat.Name); + comboBoxSatellite3.Items.Add(sat.Name); + comboBoxSatellite4.Items.Add(sat.Name); + } + } + + private void LoadChannelsData(string url) + { + _kingofsatXml = new kingofsatXML + { + SiteURL = url + }; + _kingofsatXml.GrabPage(); + _kingofsatXml.ParsePage(); + + foreach (var ch in _kingofsatXml.Channels) + { + if (!String.IsNullOrEmpty(ch.Provider) && !listBoxTypeBouquet.Items.Contains(ch.Provider.ToLower())) + { + listBoxTypeBouquet.Items.Add(ch.Provider.ToLower()); + } + if (!String.IsNullOrEmpty(ch.Language) && !checkedListBoxLanguage.Items.Contains(ch.Language.ToUpper())) + { + checkedListBoxLanguage.Items.Add(ch.Language.ToUpper()); + } + } + } + + private void buttonGrab_Click(object sender, EventArgs e) + { + CleanChannelLists(); + + if (!String.IsNullOrEmpty(comboBoxSatellite1.Text)) + { + LoadChannelsData(comboBoxSatellite1.Text); + } + if (!String.IsNullOrEmpty(comboBoxSatellite2.Text)) + { + LoadChannelsData(comboBoxSatellite2.Text); + } + if (!String.IsNullOrEmpty(comboBoxSatellite3.Text)) + { + LoadChannelsData(comboBoxSatellite3.Text); + } + if (!String.IsNullOrEmpty(comboBoxSatellite4.Text)) + { + LoadChannelsData(comboBoxSatellite4.Text); + } + } + + private void buttonExportXml_Click(object sender, EventArgs e) + { + XmlDocument xmlDoc = new XmlDocument(); + + string filename = Path.Combine(Log.GetPathName(), listBoxGroupBy.Text.Split('|')[0].Trim() + ".xml"); + if (File.Exists(filename)) + { + File.Delete(filename); + } + + //Declaration + XmlDeclaration xmlDeclaration = xmlDoc.CreateXmlDeclaration("1.0", "utf-8", null); + xmlDoc.AppendChild(xmlDeclaration); + + // + XmlNode rootElement = xmlDoc.CreateElement("tvserver"); + XmlNode nodechannels = xmlDoc.CreateElement("channels"); + + foreach (Channel channel in _kingofsatXml.Channels) + { + bool testBouquet; + switch (listBoxTypeBouquet.Text) + { + case BouquetFta: + testBouquet = channel.FreeToAir; + break; + case BouquetEncrypted: + testBouquet = !channel.FreeToAir; + break; + default: + testBouquet = channel.Provider.ToLower() == listBoxTypeBouquet.Text; + break; + } + + bool testLanguage = checkedListBoxLanguage.CheckedItems.Contains(channel.Language.ToUpper()); + + //Log.Debug("ExportXml: channel -<{0}>-<{1}>-<{2}>-: TestBouquet:{3}, TestLanguage:{4}", channel.Name, channel.FreeToAir, channel.Language.ToUpper(), testBouquet, testLanguage); + + if (testLanguage && testBouquet) + { + Log.Debug("ExportXml: channel <{0}> exported in {3}", channel.Name, filename); + + XmlNode nodechannel = xmlDoc.CreateElement("channel"); + + AddAttribute(nodechannel, "Name", channel.Name); + AddAttribute(nodechannel, "Provider", channel.Provider); + AddAttribute(nodechannel, "Language", channel.Language); + AddAttribute(nodechannel, "FreeToAir", channel.FreeToAir.ToString()); + AddAttribute(nodechannel, "IsTv", channel.IsTv.ToString()); + + nodechannels.AppendChild(nodechannel); + } + else + { + //Log.Debug("ExportXml: channel <{0}> skipped", channel.Name); + } + } + rootElement.AppendChild(nodechannels); + xmlDoc.AppendChild(rootElement); + xmlDoc.Save(filename); + MessageBox.Show("Export completed !"); + } + + + private static void AddAttribute(XmlNode node, string tagName, string tagValue) + { + XmlAttribute attr = node.OwnerDocument.CreateAttribute(tagName); + attr.InnerText = tagValue; + node.Attributes.Append(attr); + } + } +} Added: trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.designer.cs =================================================================== --- trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.designer.cs (rev 0) +++ trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.designer.cs 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,333 @@ +#region Copyright (C) 2005-2010 Team MediaPortal + +// Copyright (C) 2005-2010 Team MediaPortal +// http://www.team-mediaportal.com +// +// MediaPortal is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 2 of the License, or +// (at your option) any later version. +// +// MediaPortal is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>. + +#endregion + +namespace SetupTv.Sections +{ + + partial class SatChannelSelectorSetup + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.groupBoxSat = new System.Windows.Forms.GroupBox(); + this.comboBoxSatellite4 = new System.Windows.Forms.ComboBox(); + this.comboBoxSatellite3 = new System.Windows.Forms.ComboBox(); + this.comboBoxSatellite2 = new System.Windows.Forms.ComboBox(); + this.comboBoxSatellite1 = new System.Windows.Forms.ComboBox(); + this.comboBoxDiseQc4 = new System.Windows.Forms.ComboBox(); + this.comboBoxDiseQc3 = new System.Windows.Forms.ComboBox(); + this.comboBoxDiseQc2 = new System.Windows.Forms.ComboBox(); + this.comboBoxDiseQc1 = new System.Windows.Forms.ComboBox(); + this.groupBoxLang = new System.Windows.Forms.GroupBox(); + this.checkedListBoxLanguage = new System.Windows.Forms.CheckedListBox(); + this.groupBoxTypeBouquet = new System.Windows.Forms.GroupBox(); + this.listBoxTypeBouquet = new System.Windows.Forms.ListBox(); + this.groupBoxGroupBy = new System.Windows.Forms.GroupBox(); + this.listBoxGroupBy = new System.Windows.Forms.ListBox(); + this.buttonExportXml = new System.Windows.Forms.Button(); + this.buttonSaveDb = new System.Windows.Forms.Button(); + this.buttonGrab = new System.Windows.Forms.Button(); + this.groupBoxSat.SuspendLayout(); + this.groupBoxLang.SuspendLayout(); + this.groupBoxTypeBouquet.SuspendLayout(); + this.groupBoxGroupBy.SuspendLayout(); + this.SuspendLayout(); + // + // groupBoxSat + // + this.groupBoxSat.Controls.Add(this.comboBoxSatellite4); + this.groupBoxSat.Controls.Add(this.comboBoxSatellite3); + this.groupBoxSat.Controls.Add(this.comboBoxSatellite2); + this.groupBoxSat.Controls.Add(this.comboBoxSatellite1); + this.groupBoxSat.Controls.Add(this.comboBoxDiseQc4); + this.groupBoxSat.Controls.Add(this.comboBoxDiseQc3); + this.groupBoxSat.Controls.Add(this.comboBoxDiseQc2); + this.groupBoxSat.Controls.Add(this.comboBoxDiseQc1); + this.groupBoxSat.Location = new System.Drawing.Point(11, 8); + this.groupBoxSat.Name = "groupBoxSat"; + this.groupBoxSat.Size = new System.Drawing.Size(419, 146); + this.groupBoxSat.TabIndex = 0; + this.groupBoxSat.TabStop = false; + this.groupBoxSat.Text = "Satellite(s)"; + // + // comboBoxSatellite4 + // + this.comboBoxSatellite4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxSatellite4.FormattingEnabled = true; + this.comboBoxSatellite4.Location = new System.Drawing.Point(152, 110); + this.comboBoxSatellite4.Name = "comboBoxSatellite4"; + this.comboBoxSatellite4.Size = new System.Drawing.Size(229, 21); + this.comboBoxSatellite4.Sorted = true; + this.comboBoxSatellite4.TabIndex = 7; + // + // comboBoxSatellite3 + // + this.comboBoxSatellite3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxSatellite3.FormattingEnabled = true; + this.comboBoxSatellite3.Location = new System.Drawing.Point(152, 82); + this.comboBoxSatellite3.Name = "comboBoxSatellite3"; + this.comboBoxSatellite3.Size = new System.Drawing.Size(229, 21); + this.comboBoxSatellite3.Sorted = true; + this.comboBoxSatellite3.TabIndex = 6; + // + // comboBoxSatellite2 + // + this.comboBoxSatellite2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxSatellite2.FormattingEnabled = true; + this.comboBoxSatellite2.Location = new System.Drawing.Point(152, 54); + this.comboBoxSatellite2.Name = "comboBoxSatellite2"; + this.comboBoxSatellite2.Size = new System.Drawing.Size(229, 21); + this.comboBoxSatellite2.Sorted = true; + this.comboBoxSatellite2.TabIndex = 5; + // + // comboBoxSatellite1 + // + this.comboBoxSatellite1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxSatellite1.FormattingEnabled = true; + this.comboBoxSatellite1.Location = new System.Drawing.Point(152, 25); + this.comboBoxSatellite1.Name = "comboBoxSatellite1"; + this.comboBoxSatellite1.Size = new System.Drawing.Size(229, 21); + this.comboBoxSatellite1.Sorted = true; + this.comboBoxSatellite1.TabIndex = 4; + // + // comboBoxDiseQc4 + // + this.comboBoxDiseQc4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxDiseQc4.FormattingEnabled = true; + this.comboBoxDiseQc4.Items.AddRange(new object[] { + "None", + "SimpleA", + "SimpleB", + "Level1AA", + "Level1AB", + "Level1BA", + "Level1BB"}); + this.comboBoxDiseQc4.Location = new System.Drawing.Point(68, 110); + this.comboBoxDiseQc4.Name = "comboBoxDiseQc4"; + this.comboBoxDiseQc4.Size = new System.Drawing.Size(57, 21); + this.comboBoxDiseQc4.TabIndex = 3; + // + // comboBoxDiseQc3 + // + this.comboBoxDiseQc3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxDiseQc3.FormattingEnabled = true; + this.comboBoxDiseQc3.Items.AddRange(new object[] { + "None", + "SimpleA", + "SimpleB", + "Level1AA", + "Level1AB", + "Level1BA", + "Level1BB"}); + this.comboBoxDiseQc3.Location = new System.Drawing.Point(68, 82); + this.comboBoxDiseQc3.Name = "comboBoxDiseQc3"; + this.comboBoxDiseQc3.Size = new System.Drawing.Size(57, 21); + this.comboBoxDiseQc3.TabIndex = 2; + // + // comboBoxDiseQc2 + // + this.comboBoxDiseQc2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxDiseQc2.FormattingEnabled = true; + this.comboBoxDiseQc2.Items.AddRange(new object[] { + "None", + "SimpleA", + "SimpleB", + "Level1AA", + "Level1AB", + "Level1BA", + "Level1BB"}); + this.comboBoxDiseQc2.Location = new System.Drawing.Point(68, 54); + this.comboBoxDiseQc2.Name = "comboBoxDiseQc2"; + this.comboBoxDiseQc2.Size = new System.Drawing.Size(57, 21); + this.comboBoxDiseQc2.TabIndex = 1; + // + // comboBoxDiseQc1 + // + this.comboBoxDiseQc1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxDiseQc1.FormattingEnabled = true; + this.comboBoxDiseQc1.Items.AddRange(new object[] { + "None", + "SimpleA", + "SimpleB", + "Level1AA", + "Level1AB", + "Level1BA", + "Level1BB"}); + this.comboBoxDiseQc1.Location = new System.Drawing.Point(68, 25); + this.comboBoxDiseQc1.Name = "comboBoxDiseQc1"; + this.comboBoxDiseQc1.Size = new System.Drawing.Size(57, 21); + this.comboBoxDiseQc1.TabIndex = 0; + // + // groupBoxLang + // + this.groupBoxLang.Controls.Add(this.checkedListBoxLanguage); + this.groupBoxLang.Location = new System.Drawing.Point(222, 160); + this.groupBoxLang.Name = "groupBoxLang"; + this.groupBoxLang.Size = new System.Drawing.Size(208, 167); + this.groupBoxLang.TabIndex = 1; + this.groupBoxLang.TabStop = false; + this.groupBoxLang.Text = "Language"; + // + // checkedListBoxLanguage + // + this.checkedListBoxLanguage.FormattingEnabled = true; + this.checkedListBoxLanguage.Location = new System.Drawing.Point(13, 23); + this.checkedListBoxLanguage.Name = "checkedListBoxLanguage"; + this.checkedListBoxLanguage.Size = new System.Drawing.Size(182, 124); + this.checkedListBoxLanguage.Sorted = true; + this.checkedListBoxLanguage.TabIndex = 0; + // + // groupBoxTypeBouquet + // + this.groupBoxTypeBouquet.Controls.Add(this.listBoxTypeBouquet); + this.groupBoxTypeBouquet.Location = new System.Drawing.Point(11, 160); + this.groupBoxTypeBouquet.Name = "groupBoxTypeBouquet"; + this.groupBoxTypeBouquet.Size = new System.Drawing.Size(205, 167); + this.groupBoxTypeBouquet.TabIndex = 2; + this.groupBoxTypeBouquet.TabStop = false; + this.groupBoxTypeBouquet.Text = "Type / Bouquet"; + // + // listBoxTypeBouquet + // + this.listBoxTypeBouquet.FormattingEnabled = true; + this.listBoxTypeBouquet.Location = new System.Drawing.Point(12, 24); + this.listBoxTypeBouquet.Name = "listBoxTypeBouquet"; + this.listBoxTypeBouquet.Size = new System.Drawing.Size(179, 121); + this.listBoxTypeBouquet.Sorted = true; + this.listBoxTypeBouquet.TabIndex = 0; + // + // groupBoxGroupBy + // + this.groupBoxGroupBy.Controls.Add(this.listBoxGroupBy); + this.groupBoxGroupBy.Location = new System.Drawing.Point(11, 332); + this.groupBoxGroupBy.Name = "groupBoxGroupBy"; + this.groupBoxGroupBy.Size = new System.Drawing.Size(419, 61); + this.groupBoxGroupBy.TabIndex = 3; + this.groupBoxGroupBy.TabStop = false; + this.groupBoxGroupBy.Text = "Group by"; + // + // listBoxGroupBy + // + this.listBoxGroupBy.FormattingEnabled = true; + this.listBoxGroupBy.Items.AddRange(new object[] { + "Satelite - Type | (es. \"HotBird Free To Air\")", + "Satellite - Lang | (es. \"Astra - ITA\")", + "Bouquet | (es. \"Sky Italia\")"}); + this.listBoxGroupBy.Location = new System.Drawing.Point(12, 24); + this.listBoxGroupBy.Name = "listBoxGroupBy"; + this.listBoxGroupBy.Size = new System.Drawing.Size(394, 17); + this.listBoxGroupBy.TabIndex = 0; + // + // buttonExportXml + // + this.buttonExportXml.Location = new System.Drawing.Point(340, 402); + this.buttonExportXml.Name = "buttonExportXml"; + this.buttonExportXml.Size = new System.Drawing.Size(90, 23); + this.buttonExportXml.TabIndex = 4; + this.buttonExportXml.Text = "Export to XML"; + this.buttonExportXml.UseVisualStyleBackColor = true; + this.buttonExportXml.Click += new System.EventHandler(this.buttonExportXml_Click); + // + // buttonSaveDb + // + this.buttonSaveDb.Location = new System.Drawing.Point(245, 402); + this.buttonSaveDb.Name = "buttonSaveDb"; + this.buttonSaveDb.Size = new System.Drawing.Size(75, 23); + this.buttonSaveDb.TabIndex = 5; + this.buttonSaveDb.Text = "Save to DB"; + this.buttonSaveDb.UseVisualStyleBackColor = true; + // + // buttonGrab + // + this.buttonGrab.Location = new System.Drawing.Point(107, 402); + this.buttonGrab.Name = "buttonGrab"; + this.buttonGrab.Size = new System.Drawing.Size(118, 23); + this.buttonGrab.TabIndex = 6; + this.buttonGrab.Text = "Grab data from Web"; + this.buttonGrab.UseVisualStyleBackColor = true; + this.buttonGrab.Click += new System.EventHandler(this.buttonGrab_Click); + // + // SatChannelSelectorSetup + // + this.Controls.Add(this.buttonGrab); + this.Controls.Add(this.buttonSaveDb); + this.Controls.Add(this.buttonExportXml); + this.Controls.Add(this.groupBoxGroupBy); + this.Controls.Add(this.groupBoxTypeBouquet); + this.Controls.Add(this.groupBoxLang); + this.Controls.Add(this.groupBoxSat); + this.Name = "SatChannelSelectorSetup"; + this.Size = new System.Drawing.Size(443, 438); + this.groupBoxSat.ResumeLayout(false); + this.groupBoxLang.ResumeLayout(false); + this.groupBoxTypeBouquet.ResumeLayout(false); + this.groupBoxGroupBy.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.GroupBox groupBoxSat; + private System.Windows.Forms.GroupBox groupBoxLang; + private System.Windows.Forms.GroupBox groupBoxTypeBouquet; + private System.Windows.Forms.CheckedListBox checkedListBoxLanguage; + private System.Windows.Forms.ListBox listBoxTypeBouquet; + private System.Windows.Forms.GroupBox groupBoxGroupBy; + private System.Windows.Forms.ListBox listBoxGroupBy; + private System.Windows.Forms.ComboBox comboBoxSatellite4; + private System.Windows.Forms.ComboBox comboBoxSatellite3; + private System.Windows.Forms.ComboBox comboBoxSatellite2; + private System.Windows.Forms.ComboBox comboBoxSatellite1; + private System.Windows.Forms.ComboBox comboBoxDiseQc4; + private System.Windows.Forms.ComboBox comboBoxDiseQc3; + private System.Windows.Forms.ComboBox comboBoxDiseQc2; + private System.Windows.Forms.ComboBox comboBoxDiseQc1; + private System.Windows.Forms.Button buttonExportXml; + private System.Windows.Forms.Button buttonSaveDb; + private System.Windows.Forms.Button buttonGrab; + + + + } +} Added: trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.resx =================================================================== --- trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.resx (rev 0) +++ trunk/plugins/SatChannelSelector/SatChannelSelectorSetup.resx 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file Added: trunk/plugins/SatChannelSelector/app.config =================================================================== --- trunk/plugins/SatChannelSelector/app.config (rev 0) +++ trunk/plugins/SatChannelSelector/app.config 2010-06-26 18:21:12 UTC (rev 3649) @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings /> + <client /> + </system.serviceModel> +</configuration> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |