|
From: <Sil...@us...> - 2010-02-25 15:50:29
|
Revision: 3471
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3471&view=rev
Author: SilentException
Date: 2010-02-25 15:50:22 +0000 (Thu, 25 Feb 2010)
Log Message:
-----------
* VS2008
* added missing resource file
* added new GUI properties
* comics.xml renamed to MyDailyComics.xml and moved to MediaPortal config directory
* improved selected comic and date on plugin load
* added Croatian comic Matakovic (weekly)
Modified Paths:
--------------
trunk/plugins/MyDailyComics/ComicStrip.cs
trunk/plugins/MyDailyComics/MyDailyComics.cs
trunk/plugins/MyDailyComics/MyDailyComics.csproj
trunk/plugins/MyDailyComics/MyDailyComics.csproj.user
trunk/plugins/MyDailyComics/MyDailyComics.sln
trunk/plugins/MyDailyComics/MyDailyComics.suo
trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Resources.Designer.cs
trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Settings.Designer.cs
trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Starter.csproj
trunk/plugins/MyDailyComics/gui/Setup.Designer.cs
trunk/plugins/MyDailyComics/gui/Setup.cs
trunk/plugins/MyDailyComics/model/Config.cs
trunk/plugins/MyDailyComics/readme.txt
trunk/plugins/MyDailyComics/util/MediaPortalHelper.cs
Added Paths:
-----------
trunk/plugins/MyDailyComics/Properties/Resources.Designer.cs
trunk/plugins/MyDailyComics/Properties/Resources.resx
trunk/plugins/MyDailyComics/example/MyDailyComics.xml
Removed Paths:
-------------
trunk/plugins/MyDailyComics/example/comics.xml
Modified: trunk/plugins/MyDailyComics/ComicStrip.cs
===================================================================
--- trunk/plugins/MyDailyComics/ComicStrip.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/ComicStrip.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -100,7 +100,7 @@
public Image LanguageIcon
{
- get{ return Properties.Resources.ger;}
+ get { return null; } // TODO, or not really needed?
}
public string StartsWith
Modified: trunk/plugins/MyDailyComics/MyDailyComics.cs
===================================================================
--- trunk/plugins/MyDailyComics/MyDailyComics.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/MyDailyComics.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -49,17 +49,19 @@
protected GUIImage imgComic = null; // comic image
[SkinControlAttribute(101)]
protected GUIImage imgBanner = null; // banner image
+ //[SkinControlAttribute(102)]
+ //protected GUIImage imgLanguage = null; // language image
#endregion
#region Constants & Variables
- private DateTime _date = DateTime.Today;
+ private DateTime _date;
private ComicStrip[] _comics;
private ComicStrip _currentComic;
private string _title = String.Empty;
- private int _selectedComicIndex;
- private int _selectedDateIndex;
+ private int _selectedComicIndex = -1;
+ private int _selectedDateIndex = -1;
private string _imageDirectory = null;
#endregion
@@ -201,13 +203,24 @@
public DateTime SelectedDate
{
get { return _date; }
- set { _date = value; }
+ set
+ {
+ _date = value;
+ GUIPropertyManager.SetProperty("#MyDailyComics.Selected.Date", _date.ToString(System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern));
+ }
}
public ComicStrip SelectedComic
{
get { return _currentComic; }
- set { _currentComic = value; }
+ set
+ {
+ _currentComic = value;
+ GUIPropertyManager.SetProperty("#MyDailyComics.Selected.Title", _currentComic.Name);
+ GUIPropertyManager.SetProperty("#MyDailyComics.Selected.LanguageName", _currentComic.Language);
+ string languageIcon = GUIGraphicsContext.Skin + @"\media\MyDailyComics\Flags\" + _currentComic.Language + @".png";
+ GUIPropertyManager.SetProperty("#MyDailyComics.Selected.LanguageIcon", File.Exists(languageIcon) ? languageIcon : " ");
+ }
}
public string Title
@@ -225,6 +238,7 @@
conf.Init();
Title = conf.PluginName;
GUIPropertyManager.SetProperty("#title", Title);
+ GUIPropertyManager.SetProperty("#MyDailyComics.Title", Title);
// load comics xml
MyXmlReader reader = new MyXmlReader();
ArrayList alComics = new ArrayList();
@@ -235,6 +249,7 @@
SelectedComic = _comics[0];
}
catch (Exception ex) { }
+ SelectedDate = DateTime.Today;
}
/// <summary>
@@ -249,7 +264,12 @@
{
btnDate.AddSubItem(new DateTime(l).ToShortDateString());
}
- btnDate.SelectedItem = btnDate.SubItemCount - 1;
+
+ if (_selectedDateIndex == -1 && btnDate.SubItemCount > 0)
+ _selectedDateIndex = btnDate.SubItemCount - 1;
+
+ GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_ITEM_SELECT, GetID, 0, btnDate.GetID, _selectedDateIndex, 0, null);
+ OnMessage(msg);
}
/// <summary>
@@ -262,6 +282,12 @@
{
btnComic.AddSubItem(c.Name);
}
+
+ if (_selectedComicIndex == -1 && btnComic.SubItemCount > 0)
+ _selectedComicIndex = 0;
+
+ GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_ITEM_SELECT, GetID, 0, btnComic.GetID, _selectedComicIndex, 0, null);
+ OnMessage(msg);
}
private void BackupButtons()
@@ -278,7 +304,9 @@
private void ShowComic(ComicStrip comic, DateTime dt)
{
- using (WaitCursor cursor = new WaitCursor())
+ GUIWaitCursor.Show();
+ try
+ {
lock (this)
{
imgComic.Visible = false;
@@ -292,6 +320,11 @@
imgComic.Visible = true;
ShowBanner(comic);
}
+ }
+ finally
+ {
+ GUIWaitCursor.Hide();
+ }
}
private void ShowBanner(ComicStrip comic)
Modified: trunk/plugins/MyDailyComics/MyDailyComics.csproj
===================================================================
--- trunk/plugins/MyDailyComics/MyDailyComics.csproj 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/MyDailyComics.csproj 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,14 +1,34 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<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>8.0.50727</ProductVersion>
+ <ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{10EA3ECE-BE4B-40DE-BF30-EF73503DF630}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MyDailyComics</RootNamespace>
<AssemblyName>MyDailyComics</AssemblyName>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <UpgradeBackupLocation>
+ </UpgradeBackupLocation>
+ <OldToolsVersion>2.0</OldToolsVersion>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -28,22 +48,25 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Core, Version=1.0.0.29788, Culture=neutral, processorArchitecture=x86">
+ <Reference Include="Core, Version=1.0.5.23365, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
- <HintPath>dll\Core.dll</HintPath>
+ <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\Core.dll</HintPath>
+ <Private>False</Private>
</Reference>
- <Reference Include="Dialogs, Version=1.0.0.29798, Culture=neutral, processorArchitecture=x86">
+ <Reference Include="Dialogs, Version=1.0.5.23368, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
- <HintPath>dll\Dialogs.dll</HintPath>
+ <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\Dialogs.dll</HintPath>
+ <Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
- <Reference Include="Utils, Version=2.2.6.29782, Culture=neutral, processorArchitecture=x86">
+ <Reference Include="Utils, Version=2.2.7.23364, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
- <HintPath>dll\Utils.dll</HintPath>
+ <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\Utils.dll</HintPath>
+ <Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -58,6 +81,11 @@
<Compile Include="HTML\AttributeList.cs" />
<Compile Include="HTML\Parse.cs" />
<Compile Include="HTML\ParseHTML.cs" />
+ <Compile Include="Properties\Resources.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DesignTime>True</DesignTime>
+ <DependentUpon>Resources.resx</DependentUpon>
+ </Compile>
<Compile Include="util\Log.cs" />
<Compile Include="model\Config.cs" />
<Compile Include="MyDailyComics.cs">
@@ -66,11 +94,6 @@
<Compile Include="HTML\MyHtmlParser.cs" />
<Compile Include="MyXmlReader.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
<Compile Include="util\ComicHelper.cs" />
<Compile Include="util\Constants.cs" />
<Compile Include="util\MediaPortalHelper.cs" />
@@ -80,7 +103,6 @@
<ItemGroup>
<None Include="images\comic_empty.gif" />
<None Include="images\comic_404.gif" />
- <None Include="Properties\DataSources\ComicStrip.datasource" />
<None Include="images\flags\us.png" />
<None Include="images\flags\de.png" />
<Content Include="images\SetupIcon.ico" />
@@ -91,11 +113,27 @@
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
- <SubType>Designer</SubType>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ </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.
Modified: trunk/plugins/MyDailyComics/MyDailyComics.csproj.user
===================================================================
--- trunk/plugins/MyDailyComics/MyDailyComics.csproj.user 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/MyDailyComics.csproj.user 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,5 +1,17 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ProjectFiles</ProjectView>
+ <PublishUrlHistory>
+ </PublishUrlHistory>
+ <InstallUrlHistory>
+ </InstallUrlHistory>
+ <SupportUrlHistory>
+ </SupportUrlHistory>
+ <UpdateUrlHistory>
+ </UpdateUrlHistory>
+ <BootstrapperUrlHistory>
+ </BootstrapperUrlHistory>
+ <FallbackCulture>en-US</FallbackCulture>
+ <VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>
\ No newline at end of file
Modified: trunk/plugins/MyDailyComics/MyDailyComics.sln
===================================================================
--- trunk/plugins/MyDailyComics/MyDailyComics.sln 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/MyDailyComics.sln 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,6 +1,6 @@
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual C# Express 2005
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyDailyComics", "MyDailyComics.csproj", "{10EA3ECE-BE4B-40DE-BF30-EF73503DF630}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Starter", "StarterProjectForTesting\Starter\Starter.csproj", "{EC930FFC-7051-40E5-9CD0-C3C7535F3CFB}"
Modified: trunk/plugins/MyDailyComics/MyDailyComics.suo
===================================================================
(Binary files differ)
Added: trunk/plugins/MyDailyComics/Properties/Resources.Designer.cs
===================================================================
--- trunk/plugins/MyDailyComics/Properties/Resources.Designer.cs (rev 0)
+++ trunk/plugins/MyDailyComics/Properties/Resources.Designer.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -0,0 +1,91 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3603
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MyDailyComics.Properties {
+ using System;
+
+
+ /// <summary>
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// </summary>
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ /// <summary>
+ /// Returns the cached ResourceManager instance used by this class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MyDailyComics.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ /// <summary>
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ internal static System.Drawing.Bitmap comic_404 {
+ get {
+ object obj = ResourceManager.GetObject("comic_404", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap comic_empty {
+ get {
+ object obj = ResourceManager.GetObject("comic_empty", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap eng {
+ get {
+ object obj = ResourceManager.GetObject("eng", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap ger {
+ get {
+ object obj = ResourceManager.GetObject("ger", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
Added: trunk/plugins/MyDailyComics/Properties/Resources.resx
===================================================================
--- trunk/plugins/MyDailyComics/Properties/Resources.resx (rev 0)
+++ trunk/plugins/MyDailyComics/Properties/Resources.resx 2010-02-25 15:50:22 UTC (rev 3471)
@@ -0,0 +1,133 @@
+<?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>
+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="comic_404" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\images\comic_404.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="comic_empty" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\images\comic_empty.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="eng" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\images\flags\us.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="ger" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\images\flags\de.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+</root>
\ No newline at end of file
Modified: trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Resources.Designer.cs
===================================================================
--- trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Resources.Designer.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Resources.Designer.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,69 +1,61 @@
//------------------------------------------------------------------------------
// <auto-generated>
-// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion:2.0.50727.42
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3082
//
-// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
-// der Code neu generiert wird.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
-namespace Starter.Properties
-{
-
-
+namespace Starter.Properties {
+ using System;
+
+
/// <summary>
- /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
+ /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
- // Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
- // über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- // mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
+ internal class Resources {
+
private static global::System.Resources.ResourceManager resourceMan;
-
+
private static global::System.Globalization.CultureInfo resourceCulture;
-
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
+ internal Resources() {
}
-
+
/// <summary>
- /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
+ /// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Starter.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
-
+
/// <summary>
- /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- /// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
return resourceCulture;
}
- set
- {
+ set {
resourceCulture = value;
}
}
Modified: trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Settings.Designer.cs
===================================================================
--- trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Settings.Designer.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Properties/Settings.Designer.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,28 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.42
+// Runtime Version:2.0.50727.3082
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
-namespace Starter.Properties
-{
-
-
+namespace Starter.Properties {
+
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
+
+ public static Settings Default {
+ get {
return defaultInstance;
}
}
Modified: trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Starter.csproj
===================================================================
--- trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Starter.csproj 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/StarterProjectForTesting/Starter/Starter.csproj 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,4 +1,4 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<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>
@@ -9,6 +9,11 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Starter</RootNamespace>
<AssemblyName>Starter</AssemblyName>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <UpgradeBackupLocation>
+ </UpgradeBackupLocation>
+ <OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -46,6 +51,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
+ <DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Added: trunk/plugins/MyDailyComics/example/MyDailyComics.xml
===================================================================
--- trunk/plugins/MyDailyComics/example/MyDailyComics.xml (rev 0)
+++ trunk/plugins/MyDailyComics/example/MyDailyComics.xml 2010-02-25 15:50:22 UTC (rev 3471)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="utf-8"?>
+<MyDailyComics><comic>
+ <name>Garfield</name>
+ <url>http://images.ucomics.com/comics/ga/[yyyy]/ga[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_ga.png</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Shermans Lagoon</name>
+ <url>http://www.slagoon.com/dailies/SL[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://www.kingfeatures.com/images/logos/lagoon_logo.gif</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Peanuts</name>
+ <url>http://comics.com/peanuts/[yyyy]-[MM]-[dd]/</url>
+ <enabled>true</enabled>
+ <banner>http://c0389161.cdn.cloudfiles.rackspacecloud.com/dyn/str_comic/69.logo.large.gif</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>webpage</urltype>
+ <startswith>http://</startswith>
+ <endswith>.full.gif</endswith>
+</comic><comic>
+ <name>Dilbert</name>
+ <url>http://dilbert.com/strips/comic/[yyyy]-[MM]-[dd]/</url>
+ <enabled>true</enabled>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>webpage</urltype>
+ <startswith>/dyn/str_strip/</startswith>
+ <endswith>.gif</endswith>
+</comic><comic>
+ <name>Calvin and Hobbes</name>
+ <url>http://images.ucomics.com/comics/ch/[yyyy]/ch[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_ch.png</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Pearls before Swine</name>
+ <url>http://comics.com/pearls_before_swine/[yyyy]-[MM]-[dd]/</url>
+ <enabled>true</enabled>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>webpage</urltype>
+ <startswith>http://assets.comics.com/dyn/str_strip/</startswith>
+ <endswith>.gif</endswith>
+</comic><comic>
+ <name>Haegar</name>
+ <url>http://comics.allixsenos.net/data/comics/hagar/[yyyy]/[yyyy][MM]/hagar-[yyyy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://www.ehapa-comic-collection.de/mediadaten/images/ecc/Funny/Header%20400/Haegar_400header.gif</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Sheldon</name>
+ <url>http://www.sheldoncomics.com/strips/sd[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://www.sheldoncomics.com/images/sheldon_top_02.gif</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Cornered</name>
+ <url>http://images.ucomics.com/comics/co/[yyyy]/co[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_co.png</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Close to Home</name>
+ <url>http://images.ucomics.com/comics/cl/[yyyy]/cl[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_cl.png</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>In the Bleachers</name>
+ <url>http://images.ucomics.com/comics/bl/[yyyy]/bl[yy][MM][dd].gif</url>
+ <enabled>true</enabled>
+ <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_bl.png</banner>
+ <language>eng</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>NICHT LUSTIG</name>
+ <url>http://www.nicht-lustig.de/comics/full/[yy][MM][dd].jpg</url>
+ <enabled>true</enabled>
+ <banner>http://www.nicht-lustig.de/sys_img/imp/pudel.gif</banner>
+ <language>ger</language>
+ <type>date</type>
+ <urltype>image</urltype>
+</comic><comic>
+ <name>Matakovic</name>
+ <url>http://www.net.hr/webcafe/matakovic/</url>
+ <enabled>true</enabled>
+ <banner>http://www.net.hr/2009/01/28/0065007.19.gif</banner>
+ <language>hr</language>
+ <type>date</type>
+ <urltype>webpage</urltype>
+ <startswith>/20</startswith>
+ <endswith>.jpg</endswith>
+</comic></MyDailyComics>
\ No newline at end of file
Deleted: trunk/plugins/MyDailyComics/example/comics.xml
===================================================================
--- trunk/plugins/MyDailyComics/example/comics.xml 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/example/comics.xml 2010-02-25 15:50:22 UTC (rev 3471)
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<MyDailyComics><comic>
- <name>Garfield</name>
- <url>http://images.ucomics.com/comics/ga/[yyyy]/ga[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_ga.png</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>Shermans Lagoon</name>
- <url>http://www.slagoon.com/dailies/SL[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://www.kingfeatures.com/images/logos/lagoon_logo.gif</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>Peanuts</name>
- <url>http://comics.com/peanuts/[yyyy]-[MM]-[dd]/</url>
- <enabled>true</enabled>
- <banner>http://c0389161.cdn.cloudfiles.rackspacecloud.com/dyn/str_comic/69.logo.large.gif</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>webpage</urltype>
- <startswith>http://</startswith>
- <endswith>.full.gif</endswith>
-</comic><comic>
- <name>Dilbert</name>
- <url>http://dilbert.com/strips/comic/[yyyy]-[MM]-[dd]/</url>
- <enabled>true</enabled>
- <language>eng</language>
- <type>date</type>
- <urltype>webpage</urltype>
- <startswith>/dyn/str_strip/</startswith>
- <endswith>.gif</endswith>
-</comic><comic>
- <name>Calvin and Hobbes</name>
- <url>http://images.ucomics.com/comics/ch/[yyyy]/ch[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_ch.png</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>Pearls before Swine</name>
- <url>http://comics.com/pearls_before_swine/[yyyy]-[MM]-[dd]/</url>
- <enabled>true</enabled>
- <language>eng</language>
- <type>date</type>
- <urltype>webpage</urltype>
- <startswith>http://assets.comics.com/dyn/str_strip/</startswith>
- <endswith>.gif</endswith>
-</comic><comic>
- <name>Haegar</name>
- <url>http://comics.allixsenos.net/data/comics/hagar/[yyyy]/[yyyy][MM]/hagar-[yyyy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://www.ehapa-comic-collection.de/mediadaten/images/ecc/Funny/Header%20400/Haegar_400header.gif</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>Sheldon</name>
- <url>http://www.sheldoncomics.com/strips/sd[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://www.sheldoncomics.com/images/sheldon_top_02.gif</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>Cornered</name>
- <url>http://images.ucomics.com/comics/co/[yyyy]/co[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_co.png</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>Close to Home</name>
- <url>http://images.ucomics.com/comics/cl/[yyyy]/cl[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_cl.png</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>In the Bleachers</name>
- <url>http://images.ucomics.com/comics/bl/[yyyy]/bl[yy][MM][dd].gif</url>
- <enabled>true</enabled>
- <banner>http://images.gocomics.com/images/gc1/comicHeader/hdr_bl.png</banner>
- <language>eng</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic><comic>
- <name>NICHT LUSTIG</name>
- <url>http://www.nicht-lustig.de/comics/full/[yy][MM][dd].jpg</url>
- <enabled>true</enabled>
- <banner>http://www.nicht-lustig.de/sys_img/imp/pudel.gif</banner>
- <language>ger</language>
- <type>date</type>
- <urltype>image</urltype>
-</comic></MyDailyComics>
\ No newline at end of file
Modified: trunk/plugins/MyDailyComics/gui/Setup.Designer.cs
===================================================================
--- trunk/plugins/MyDailyComics/gui/Setup.Designer.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/gui/Setup.Designer.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -147,13 +147,13 @@
// openFileDialogXml
//
this.openFileDialogXml.DefaultExt = "xml";
- this.openFileDialogXml.FileName = "comics.xml";
+ this.openFileDialogXml.FileName = "MyDailyComics.xml";
this.openFileDialogXml.Filter = "XML-File|*.xml";
this.openFileDialogXml.Title = "Select comics XML file";
//
// saveFileDialog1
//
- this.saveFileDialog1.FileName = "comics.xml";
+ this.saveFileDialog1.FileName = "MyDailyComics.xml";
this.saveFileDialog1.Filter = "XML-File|*.xml";
this.saveFileDialog1.Title = "Save comics XML file";
//
Modified: trunk/plugins/MyDailyComics/gui/Setup.cs
===================================================================
--- trunk/plugins/MyDailyComics/gui/Setup.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/gui/Setup.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -305,7 +305,7 @@
private void resetImport()
{
txtImportXmlFile.Text =
- "https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/MyDailyComics/example/comics.xml";
+ "https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/MyDailyComics/example/MyDailyComics.xml";
}
#endregion
Modified: trunk/plugins/MyDailyComics/model/Config.cs
===================================================================
--- trunk/plugins/MyDailyComics/model/Config.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/model/Config.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -77,7 +77,7 @@
public void reset()
{
PluginName = "My Comics";
- XmlLocation = MediaPortalHelper.ProgramDirectory + "\\comics.xml";
+ XmlLocation = MediaPortalHelper.ConfigDirectory + "\\MyDailyComics.xml";
}
public void save()
Modified: trunk/plugins/MyDailyComics/readme.txt
===================================================================
--- trunk/plugins/MyDailyComics/readme.txt 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/readme.txt 2010-02-25 15:50:22 UTC (rev 3471)
@@ -25,9 +25,10 @@
sources ( my favorite source is http://www.ucomics.com ).
The comics are retrieved from different sources from the internet. The sources
-are specified in the "comics.xml" file in the main directory of MediaPortal.
-To add your own comic, just create a new element in the "comics.xml" file
-or post me the link and I'll add it for future releases.
+are specified in the "MyDailyComics.xml" file in the config directory of
+MediaPortal. To add your own comic, just create a new element in the
+"MyDailyComics.xml" file or post me the link and I'll add it for future
+releases.
The plugin has two different approaches to retrieve the comic strip images
from the internet:
@@ -68,8 +69,34 @@
<endswith>.gif</endswith>
</comic>
+Skinning documentation
+**********************
+Needed GUI elements:
+- select button with ID 2, used for comic selection
+- select button with ID 3, used for date selection
+- image with ID 100, used for comic image
+- image with ID 102, used for comic image
+
+Available GUI properties:
+#MyDailyComics.Title - holds plugin title set in configuration (defaults to My Comics)
+#MyDailyComics.Selected.Title - holds currently selected comic title
+#MyDailyComics.Selected.LanguageName - holds currently selected comic language
+ (you can edit it in MyDailyComics.xml)
+#MyDailyComics.Selected.LanguageIcon - holds currently selected comic language
+ as image path:
+ Skin\MyDailyComics\Flags\*LANGUAGE*.png,
+ where *LANGUAGE* is from MyDailyComics.xml
+#MyDailyComics.Selected.Date - holds localized date string that is currently selected
+
+
Release Notes
*************
+v 0.2.5 (2009-02-25)
+- added new GUI properties
+- comics.xml renamed to MyDailyComics.xml and moved to MediaPortal config directory
+- improved selected comic and date on plugin load
+- added Croatian comic Matakovic (weekly)
+
v 0.2.0 (2009-04-15)
- added graphical setup
- online comics.xml file to import
Modified: trunk/plugins/MyDailyComics/util/MediaPortalHelper.cs
===================================================================
--- trunk/plugins/MyDailyComics/util/MediaPortalHelper.cs 2010-02-25 15:15:47 UTC (rev 3470)
+++ trunk/plugins/MyDailyComics/util/MediaPortalHelper.cs 2010-02-25 15:50:22 UTC (rev 3471)
@@ -26,6 +26,11 @@
get { return Config.GetFolder(Config.Dir.Base); }
}
+ public static string ConfigDirectory
+ {
+ get { return Config.GetFolder(Config.Dir.Config); }
+ }
+
public static string ImageDirectory
{
get
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|