From: <jmb...@us...> - 2013-03-14 09:14:18
|
Revision: 4541 http://sourceforge.net/p/mp-plugins/code/4541 Author: jmbillings Date: 2013-03-14 09:14:14 +0000 (Thu, 14 Mar 2013) Log Message: ----------- commit Added Paths: ----------- trunk/plugins/APODPlugin/APODPlugin/ trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj trunk/plugins/APODPlugin/APODPlugin/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/Properties/ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs trunk/plugins/APODPlugin/APODPlugin/bin/ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/bin/Debug/AxInterop.WMPLib.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Bass.Net.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassRegistration.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassVisAPI.Net.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Common.Utils.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Core.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Dialogs.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DirectShowLib.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Interop.WMPLib.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Ionic.Zip.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/MediaPortal.Support.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Utils.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/edtftpnet-1.2.2.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/log4net.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/taglib-sharp.dll trunk/plugins/APODPlugin/APODPlugin/bin/Release/ trunk/plugins/APODPlugin/APODPlugin/obj/ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache trunk/plugins/APODPlugin/APODPlugin/obj/Debug/TempPE/ trunk/plugins/APODPlugin/APODPlugin.sln trunk/plugins/APODPlugin/APODPlugin.v11.suo Added: trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,118 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using System.Net; +using System.IO; +using System.Drawing; + +namespace APODPlugin +{ + class APODDownloader + { + String APODURL = "http://apod.nasa.gov/apod/astropix.html"; + internal event downloadErrorEvent onDownloadError; + internal event downloadCompleteEvent onDownloadComplete; + public delegate void downloadErrorEvent(object sender, downloadErrorEventArgs e); + public delegate void downloadCompleteEvent(object sender, downloadCompleteEventArgs e); + WebClient client; + WebClient imageClient; + + internal APODDownloader() + { + client = new WebClient(); + GetImage(); + } + + internal void GetImage() + { + client.OpenReadCompleted += new OpenReadCompletedEventHandler(readComplete); + client.OpenReadAsync(new Uri(APODURL)); + } + + private void readComplete(object sender, OpenReadCompletedEventArgs args) + { + if (args.Error != null) + { + onDownloadError(this, new downloadErrorEventArgs(args.Error)); + } + else + { + try + { + Stream resultStream = args.Result; + if (!resultStream.CanRead) + return; + + StreamReader sr = new StreamReader(resultStream); + String pagesource = sr.ReadToEnd(); + sr.Close(); + resultStream.Close(); + sr.Dispose(); + resultStream.Dispose(); + client.OpenReadCompleted -= readComplete; + client.Dispose(); + + Match sourceMatcher = Regex.Match(pagesource, "(?<=<IMG SRC=\")(.+?)(?=\")", RegexOptions.Singleline); + if (sourceMatcher.Success) + { + String imageURL = "http://apod.nasa.gov/apod/" + sourceMatcher.Value; + downloadImage(imageURL); + } + else + { + onDownloadError(this, new downloadErrorEventArgs(new Exception("Couldn't find image source :("))); + } + } + catch (Exception ex) + { + onDownloadError(this, new downloadErrorEventArgs(ex)); + } + } + } + + private void downloadImage(String imageURL) + { + imageClient = new WebClient(); + imageClient.OpenReadCompleted += new OpenReadCompletedEventHandler(imageReadComplete); + imageClient.OpenReadAsync(new Uri(imageURL)); + } + + private void imageReadComplete(object sender, OpenReadCompletedEventArgs args) + { + if (args.Error != null) + { + onDownloadError(this, new downloadErrorEventArgs(args.Error)); + } + else + { + Stream resultStream = args.Result; + Image bitmap = Bitmap.FromStream(resultStream); + resultStream.Close(); + resultStream.Dispose(); + imageClient.Dispose(); + + onDownloadComplete(this, new downloadCompleteEventArgs(bitmap)); + } + } + } + + internal class downloadErrorEventArgs : EventArgs + { + internal Exception downloadException; + internal downloadErrorEventArgs(Exception ex) + { + downloadException = ex; + } + } + + internal class downloadCompleteEventArgs : EventArgs + { + internal Image bitmap; + internal downloadCompleteEventArgs(Image b) + { + bitmap = b; + } + } +} Added: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,152 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using MediaPortal.GUI.Library; +using MediaPortal.Dialogs; + + +namespace APODPlugin +{ + public class APODPlugin : GUIWindow, ISetupForm + { + [SkinControlAttribute(4)] + protected GUIImage image = null; + + public APODPlugin() + { + } + + #region ISetupForm Members + + // Returns the name of the plugin which is shown in the plugin menu + public string PluginName() + { + return "APOD"; + } + + // Returns the description of the plugin is shown in the plugin menu + public string Description() + { + return "Astronomy Picture of the day"; + } + + // Returns the author of the plugin which is shown in the plugin menu + public string Author() + { + return "jmbillings"; + } + + // show the setup dialog + public void ShowPlugin() + { + MessageBox.Show("Nothing to configure, this is just an example"); + } + + // Indicates whether plugin can be enabled/disabled + public bool CanEnable() + { + return true; + } + + // Get Windows-ID + public int GetWindowId() + { + // WindowID of windowplugin belonging to this setup + // enter your own unique code + return 3355; + } + + // Indicates if plugin is enabled by default; + public bool DefaultEnabled() + { + return true; + } + + // indicates if a plugin has it's own setup screen + public bool HasSetup() + { + return true; + } + + /// <summary> + /// If the plugin should have it's own button on the main menu of MediaPortal then it + /// should return true to this method, otherwise if it should not be on home + /// it should return false + /// </summary> + /// <param name="strButtonText">text the button should have</param> + /// <param name="strButtonImage">image for the button, or empty for default</param> + /// <param name="strButtonImageFocus">image for the button, or empty for default</param> + /// <param name="strPictureImage">subpicture for the button or empty for none</param> + /// <returns>true : plugin needs it's own button on home + /// false : plugin does not need it's own button on home</returns> + public bool GetHome(out string strButtonText, out string strButtonImage, + out string strButtonImageFocus, out string strPictureImage) + { + strButtonText = PluginName(); + strButtonImage = String.Empty; + strButtonImageFocus = String.Empty; + strPictureImage = String.Empty; + return true; + } + + // With GetID it will be an window-plugin / otherwise a process-plugin + // Enter the id number here again + public override int GetID + { + get + { + return 3355; + } + set { } + } + + #endregion + + public override bool Init() + { + return Load(GUIGraphicsContext.Skin + @"\APODPlugin.xml"); + } + + protected override void OnPageLoad() + { + GUIWaitCursor.Show(); + APODDownloader downloader = new APODDownloader(); + downloader.onDownloadError += downloader_onDownloadError; + downloader.onDownloadComplete += downloader_onDownloadComplete; + downloader.GetImage(); + } + + void downloader_onDownloadComplete(object sender, downloadCompleteEventArgs e) + { + //Scale bitmap + + e.bitmap.Save(System.IO.Path.GetTempPath() + "\\apod.jpg"); + + + image.SetFileName(System.IO.Path.GetTempPath() + "\\apod.jpg"); + image.KeepAspectRatio = true; + image.HorizontalContentAlignment = MediaPortal.Drawing.HorizontalAlignment.Center; + image.HorizontalAlignment = MediaPortal.Drawing.HorizontalAlignment.Center; + image.VerticalAlignment = MediaPortal.Drawing.VerticalAlignment.Center; + image.BringIntoView(); + image.Refresh(); + + GUIWaitCursor.Hide(); + } + + void downloader_onDownloadError(object sender, downloadErrorEventArgs e) + { + GUIWaitCursor.Hide(); + GUIDialogOK dlgOK = (GUIDialogOK)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_OK); + if (dlgOK != null) + { + dlgOK.SetHeading("Error" /* or Message */); + dlgOK.SetLine(1, "An exception occurred during download:"); + dlgOK.SetLine(2, e.downloadException.Message); + dlgOK.DoModal(this.GetWindowId()); + } + } + } +} Added: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{A9F253DB-5825-4319-928C-650B6D76DC5F}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>APODPlugin</RootNamespace> + <AssemblyName>APODPlugin</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </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> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Common.Utils, Version=1.2.300.0, Culture=neutral, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Team MediaPortal\MediaPortal\Common.Utils.dll</HintPath> + </Reference> + <Reference Include="Core"> + <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Team MediaPortal\MediaPortal\Core.dll</HintPath> + </Reference> + <Reference Include="Dialogs"> + <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\Windows\Dialogs.dll</HintPath> + </Reference> + <Reference Include="MediaPortal.Support, Version=1.2.300.0, Culture=neutral, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.Support.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="APODDownloader.cs" /> + <Compile Include="APODPlugin.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <Content Include="APODPlugin.xml"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\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> + --> +</Project> \ No newline at end of file Added: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.xml (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.xml 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,16 @@ +<window> + <id>3355</id> + <defaultcontrol>4</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <controls> + + <control> + <description>image</description> + <type>image</type> + <id>4</id> + <posX>0</posX> + <posY>0</posY> + </control> + + </controls> +</window> \ No newline at end of file Added: trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,40 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using MediaPortal.Common.Utils; + +// 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("APODPlugin")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("APODPlugin")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: CompatibleVersion("1.2.300.0")] +[assembly: UsesSubsystem("MP.SkinEngine")] +[assembly: UsesSubsystem("MP.Config")] + +// 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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("82301eb7-cfb8-4fd9-b4d8-a53172ee8792")] + +// 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 Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.xml (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.xml 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,16 @@ +<window> + <id>3355</id> + <defaultcontrol>4</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <controls> + + <control> + <description>image</description> + <type>image</type> + <id>4</id> + <posX>0</posX> + <posY>0</posY> + </control> + + </controls> +</window> \ No newline at end of file Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/AxInterop.WMPLib.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/AxInterop.WMPLib.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/AxInterop.WMPLib.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/AxInterop.WMPLib.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/AxInterop.WMPLib.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Bass.Net.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Bass.Net.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Bass.Net.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Bass.Net.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Bass.Net.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassRegistration.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassRegistration.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassRegistration.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassRegistration.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassRegistration.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassVisAPI.Net.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassVisAPI.Net.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassVisAPI.Net.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassVisAPI.Net.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/BassVisAPI.Net.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Common.Utils.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Common.Utils.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Common.Utils.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Common.Utils.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Common.Utils.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Core.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Core.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Core.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Core.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Core.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Dialogs.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Dialogs.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Dialogs.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Dialogs.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Dialogs.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DirectShowLib.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DirectShowLib.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DirectShowLib.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DirectShowLib.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DirectShowLib.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Interop.WMPLib.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Interop.WMPLib.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Interop.WMPLib.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Interop.WMPLib.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Interop.WMPLib.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Ionic.Zip.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Ionic.Zip.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Ionic.Zip.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Ionic.Zip.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Ionic.Zip.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/MediaPortal.Support.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/MediaPortal.Support.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/MediaPortal.Support.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/MediaPortal.Support.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/MediaPortal.Support.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Utils.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Utils.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Utils.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Utils.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Utils.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/edtftpnet-1.2.2.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/edtftpnet-1.2.2.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/edtftpnet-1.2.2.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/edtftpnet-1.2.2.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/edtftpnet-1.2.2.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/log4net.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/log4net.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/log4net.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/log4net.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/log4net.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/taglib-sharp.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/taglib-sharp.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/taglib-sharp.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/taglib-sharp.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/taglib-sharp.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,20 @@ +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\APODPlugin.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\APODPlugin.pdb +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Core.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Dialogs.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Bass.Net.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\DirectShowLib.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Utils.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\BassVisAPI.Net.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\taglib-sharp.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\AxInterop.WMPLib.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\edtftpnet-1.2.2.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Common.Utils.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\BassRegistration.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\MediaPortal.Support.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Interop.WMPLib.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\log4net.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Ionic.Zip.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.dll +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.pdb +c:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\APODPlugin.xml Added: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin.sln =================================================================== --- trunk/plugins/APODPlugin/APODPlugin.sln (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin.sln 2013-03-14 09:14:14 UTC (rev 4541) @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APODPlugin", "APODPlugin\APODPlugin.csproj", "{A9F253DB-5825-4319-928C-650B6D76DC5F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A9F253DB-5825-4319-928C-650B6D76DC5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A9F253DB-5825-4319-928C-650B6D76DC5F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A9F253DB-5825-4319-928C-650B6D76DC5F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A9F253DB-5825-4319-928C-650B6D76DC5F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Added: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== --- trunk/plugins/APODPlugin/APODPlugin.v11.suo 2013-03-14 09:12:00 UTC (rev 4540) +++ trunk/plugins/APODPlugin/APODPlugin.v11.suo 2013-03-14 09:14:14 UTC (rev 4541) Property changes on: trunk/plugins/APODPlugin/APODPlugin.v11.suo ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-03-14 10:00:42
|
Revision: 4542 http://sourceforge.net/p/mp-plugins/code/4542 Author: jmbillings Date: 2013-03-14 10:00:38 +0000 (Thu, 14 Mar 2013) Log Message: ----------- minor change Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj trunk/plugins/APODPlugin/APODPlugin.v11.suo Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-14 09:14:14 UTC (rev 4541) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-14 10:00:38 UTC (rev 4542) @@ -13,7 +13,7 @@ { [SkinControlAttribute(4)] protected GUIImage image = null; - + public APODPlugin() { } Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-03-14 09:14:14 UTC (rev 4541) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-03-14 10:00:38 UTC (rev 4542) @@ -62,6 +62,7 @@ <ItemGroup> <Content Include="APODPlugin.xml"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> + <SubType>Designer</SubType> </Content> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> Modified: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-03-18 08:41:45
|
Revision: 4546 http://sourceforge.net/p/mp-plugins/code/4546 Author: jmbillings Date: 2013-03-18 08:41:40 +0000 (Mon, 18 Mar 2013) Log Message: ----------- Add MP Installer + update code Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache trunk/plugins/APODPlugin/APODPlugin.v11.suo Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-14 22:20:22 UTC (rev 4545) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-18 08:41:40 UTC (rev 4546) @@ -5,8 +5,9 @@ using System.Windows.Forms; using MediaPortal.GUI.Library; using MediaPortal.Dialogs; +using System.Drawing; +using System.Drawing.Drawing2D; - namespace APODPlugin { public class APODPlugin : GUIWindow, ISetupForm @@ -120,17 +121,25 @@ void downloader_onDownloadComplete(object sender, downloadCompleteEventArgs e) { - //Scale bitmap - - e.bitmap.Save(System.IO.Path.GetTempPath() + "\\apod.jpg"); + Rectangle screenRect = Screen.PrimaryScreen.Bounds; + Bitmap resizedBitmap = new Bitmap(screenRect.Width, screenRect.Height); + Bitmap originalBitmap = (Bitmap)e.bitmap; + Brush brush = new SolidBrush(Color.Black); + float scale = Math.Min(screenRect.Width / originalBitmap.Width, screenRect.Height / originalBitmap.Height); + Graphics graph = Graphics.FromImage(resizedBitmap); + graph.InterpolationMode = InterpolationMode.High; + graph.CompositingQuality = CompositingQuality.HighQuality; + graph.SmoothingMode = SmoothingMode.AntiAlias; + + int scaleWidth = (int)(originalBitmap.Width * scale); + int scaleHeight = (int)(originalBitmap.Height * scale); + + graph.FillRectangle(brush, new RectangleF(0, 0, screenRect.Width, screenRect.Height)); + graph.DrawImage(originalBitmap, new Rectangle(((int)screenRect.Width - scaleWidth) / 2, ((int)screenRect.Height - scaleHeight) / 2, scaleWidth, scaleHeight)); + resizedBitmap.Save(System.IO.Path.GetTempPath() + "\\apod.jpg"); image.SetFileName(System.IO.Path.GetTempPath() + "\\apod.jpg"); - image.KeepAspectRatio = true; - image.HorizontalContentAlignment = MediaPortal.Drawing.HorizontalAlignment.Center; - image.HorizontalAlignment = MediaPortal.Drawing.HorizontalAlignment.Center; - image.VerticalAlignment = MediaPortal.Drawing.VerticalAlignment.Center; - image.BringIntoView(); image.Refresh(); GUIWaitCursor.Hide(); Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-03-18 08:42:21
|
Revision: 4547 http://sourceforge.net/p/mp-plugins/code/4547 Author: jmbillings Date: 2013-03-18 08:42:18 +0000 (Mon, 18 Mar 2013) Log Message: ----------- Commit installer Added Paths: ----------- trunk/plugins/APODPlugin/MPE/ trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 trunk/plugins/APODPlugin/MPE/M42-130202.jpg trunk/plugins/APODPlugin/MPE/update.xml Added: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 =================================================================== --- trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 2013-03-18 08:41:40 UTC (rev 4546) +++ trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 2013-03-18 08:42:18 UTC (rev 4547) Property changes on: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 =================================================================== --- trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 (rev 0) +++ trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-03-18 08:42:18 UTC (rev 4547) @@ -0,0 +1,278 @@ +<?xml version="1.0" encoding="utf-8"?> +<PackageClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <Version>2.0</Version> + <Groups> + <Items> + <GroupItem Name="Default"> + <ParentGroup /> + <DisplayName>Default</DisplayName> + <DefaulChecked>true</DefaulChecked> + <Description>Default</Description> + <Files> + <Items> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.dll</LocalFileName> + <ZipFileName>Installer{CopyFile}\{746296f1-824c-4cd3-8c66-7d1f0befd7cf}-APODPlugin.dll</ZipFileName> + <DestinationFilename>%Plugins%\Windows\APODPlugin.dll</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <ZipFileName>Installer{CopyFile}\{9bd9a2d2-9a0e-4f58-a88e-8342721fc6bb}-APODPlugin.xml</ZipFileName> + <DestinationFilename>%Skin%\Titan\APODPlugin.xml</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <ZipFileName>Installer{CopyFile}\{2e8ca333-8c7c-4698-8306-c471adc7df71}-APODPlugin.xml</ZipFileName> + <DestinationFilename>%Skin%\Default\APODPlugin.xml</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <ZipFileName>Installer{CopyFile}\{5fcfa3ae-4095-4fef-9110-c3a1d1a1865e}-APODPlugin.xml</ZipFileName> + <DestinationFilename>%Skin%\DefaultWide\APODPlugin.xml</DestinationFilename> + </FileItem> + </Items> + </Files> + </GroupItem> + </Items> + </Groups> + <Sections> + <Items> + <SectionItem Guid="a06a7afd-bf99-429f-96eb-1dd6bb1da855" Name="Welcome Screen" ConditionGroup=""> + <Params> + <Items> + <SectionParam Name="Header text"> + <Value>Welcome to the Extension Installer for [Name]</Value> + <ValueType>String</ValueType> + <Description /> + </SectionParam> + <SectionParam Name="Description"> + <Value>This will install [Name] version [Version] on your computer. +It is recommended that you close all other applications before continuing. +Click Next to continue or Cancel to exit Setup.</Value> + <ValueType>String</ValueType> + <Description /> + </SectionParam> + <SectionParam Name="Left part image"> + <Value /> + <ValueType>File</ValueType> + <Description /> + </SectionParam> + <SectionParam Name="Header image"> + <Value /> + <ValueType>File</ValueType> + <Description>Image in upper right part</Description> + </SectionParam> + </Items> + </Params> + <Actions> + <Items /> + </Actions> + <IncludedGroups /> + <PanelName>Welcome Screen</PanelName> + <WizardButtonsEnum>NextCancel</WizardButtonsEnum> + </SectionItem> + <SectionItem Guid="3928d4ec-d28c-4537-88a6-e82ce7ed6dec" Name="Install Section" ConditionGroup=""> + <Params> + <Items> + <SectionParam Name="Header Title"> + <Value /> + <ValueType>String</ValueType> + <Description>Header title</Description> + </SectionParam> + <SectionParam Name="Header description"> + <Value /> + <ValueType>String</ValueType> + <Description>Description of section, shown in under section title</Description> + </SectionParam> + <SectionParam Name="Header image"> + <Value /> + <ValueType>File</ValueType> + <Description>Image in upper right part</Description> + </SectionParam> + </Items> + </Params> + <Actions> + <Items> + <ActionItem Name="InstallFiles" ActionType="InstallFiles" ConditionGroup=""> + <Params> + <Items /> + </Params> + <ExecuteLocation>AfterPanelShow</ExecuteLocation> + </ActionItem> + </Items> + </Actions> + <IncludedGroups /> + <PanelName>Install Section</PanelName> + <WizardButtonsEnum>Next</WizardButtonsEnum> + </SectionItem> + <SectionItem Guid="2d517551-a818-45f3-8a57-4ab2882466ae" Name="Setup Complete" ConditionGroup=""> + <Params> + <Items> + <SectionParam Name="Header text"> + <Value>The Extension Installer Wizard has successfully installed [Name].</Value> + <ValueType>String</ValueType> + <Description /> + </SectionParam> + <SectionParam Name="Left part image"> + <Value /> + <ValueType>File</ValueType> + <Description /> + </SectionParam> + <SectionParam Name="Show radio buttons"> + <Value /> + <ValueType>Bool</ValueType> + <Description>Use radiobutton in place of combobox</Description> + </SectionParam> + <SectionParam Name="Header image"> + <Value /> + <ValueType>File</ValueType> + <Description>Image in upper right part</Description> + </SectionParam> + </Items> + </Params> + <Actions> + <Items /> + </Actions> + <IncludedGroups /> + <PanelName>Setup Complete</PanelName> + <WizardButtonsEnum>Finish</WizardButtonsEnum> + </SectionItem> + </Items> + </Sections> + <Dependencies> + <Items> + <DependencyItem> + <Type>MediaPortal</Type> + <Id /> + <MinVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MinVersion> + <MaxVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MaxVersion> + <WarnOnly>false</WarnOnly> + <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message> + <Name>MediaPortal</Name> + </DependencyItem> + </Items> + </Dependencies> + <PluginDependencies> + <Items> + <PluginDependencyItem AssemblyName="APODPlugin.dll"> + <CompatibleVersion> + <Items> + <CompatibleVersionItem> + <MinRequiredVersion>1.2.300.0</MinRequiredVersion> + <DesignedForVersion>1.2.300.0</DesignedForVersion> + </CompatibleVersionItem> + </Items> + </CompatibleVersion> + <SubSystemsUsed> + <Items> + <SubSystemItem Name="MP.Config" /> + <SubSystemItem Name="MP.SkinEngine" /> + </Items> + </SubSystemsUsed> + </PluginDependencyItem> + </Items> + </PluginDependencies> + <GeneralInfo> + <Name>APODPlugin</Name> + <Id>7d9c01e5-0408-4f1b-ba3a-e8afd66c22ab</Id> + <Author>jmbillings</Author> + <HomePage>http://www.team-mediaportal.com/extensions/other/apod-plugin</HomePage> + <ForumPage /> + <UpdateUrl>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=52</UpdateUrl> + <Version> + <Major>1</Major> + <Minor>0</Minor> + <Build>0</Build> + <Revision>0</Revision> + </Version> + <ExtensionDescription>Display the current APOD (Astronomy Picture of the Day) in Mediaportal</ExtensionDescription> + <VersionDescription /> + <DevelopmentStatus>Rc</DevelopmentStatus> + <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> + <ReleaseDate>2013-03-17T12:36:33.840161+00:00</ReleaseDate> + <Tags /> + <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> + <Params> + <Items> + <SectionParam Name="Icon"> + <Value>M42-130202.jpg</Value> + <ValueType>File</ValueType> + <Description>The icon file of the package (jpg,png,bmp)</Description> + </SectionParam> + <SectionParam Name="Online Icon"> + <Value>http://www.team-mediaportal.com/components/com_mtree/img/listings/s/1882.jpg</Value> + <ValueType>String</ValueType> + <Description>The icon file of the package stored online (jpg,png,bmp)</Description> + </SectionParam> + <SectionParam Name="Configuration file"> + <Value /> + <ValueType>Template</ValueType> + <Description>The file used to configure the extension. + If it has .exe extension the will be executed. + If it has .dll extension it's started like MP plugin configuration.</Description> + </SectionParam> + <SectionParam Name="Online Screenshots"> + <Value /> + <ValueType>String</ValueType> + <Description>Online stored screenshot urls separated by ; </Description> + </SectionParam> + <SectionParam Name="Force to uninstall on update"> + <Value>yes</Value> + <ValueType>Bool</ValueType> + <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description> + </SectionParam> + </Items> + </Params> + </GeneralInfo> + <UniqueFileList> + <Items> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.dll</LocalFileName> + <ZipFileName>Installer{CopyFile}\{746296f1-824c-4cd3-8c66-7d1f0befd7cf}-APODPlugin.dll</ZipFileName> + <DestinationFilename>%Plugins%\Windows\APODPlugin.dll</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <ZipFileName>Installer{CopyFile}\{9bd9a2d2-9a0e-4f58-a88e-8342721fc6bb}-APODPlugin.xml</ZipFileName> + <DestinationFilename>%Skin%\Titan\APODPlugin.xml</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="true" Modified="true"> + <Param1 /> + <UpdateOption>OverwriteIfOlder</UpdateOption> + <LocalFileName>M42-130202.jpg</LocalFileName> + <ZipFileName>Installer{CopyFile}\{46d26bb9-9853-400e-bb4d-ca3ad5017c7e}-M42-130202.jpg</ZipFileName> + <DestinationFilename /> + </FileItem> + </Items> + </UniqueFileList> + <ProjectSettings> + <FolderGroups /> + <ProjectFilename>APODPlugin.xmp2</ProjectFilename> + <UpdatePath1>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\update.xml</UpdatePath1> + <UpdatePath2 /> + <UpdatePath3 /> + </ProjectSettings> + <IsSkin>false</IsSkin> +</PackageClass> \ No newline at end of file Added: trunk/plugins/APODPlugin/MPE/M42-130202.jpg =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/MPE/M42-130202.jpg =================================================================== --- trunk/plugins/APODPlugin/MPE/M42-130202.jpg 2013-03-18 08:41:40 UTC (rev 4546) +++ trunk/plugins/APODPlugin/MPE/M42-130202.jpg 2013-03-18 08:42:18 UTC (rev 4547) Property changes on: trunk/plugins/APODPlugin/MPE/M42-130202.jpg ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/MPE/update.xml =================================================================== --- trunk/plugins/APODPlugin/MPE/update.xml (rev 0) +++ trunk/plugins/APODPlugin/MPE/update.xml 2013-03-18 08:42:18 UTC (rev 4547) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<ExtensionCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <Items> + <PackageClass> + <Version>2.0</Version> + <Groups> + <Items> + <GroupItem Name="Default"> + <DisplayName>Default</DisplayName> + <DefaulChecked>true</DefaulChecked> + <Description>Default</Description> + <Files> + <Items /> + </Files> + </GroupItem> + </Items> + </Groups> + <Sections> + <Items /> + </Sections> + <Dependencies> + <Items> + <DependencyItem> + <Type>MediaPortal</Type> + <Id /> + <MinVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MinVersion> + <MaxVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MaxVersion> + <WarnOnly>false</WarnOnly> + <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message> + <Name>MediaPortal</Name> + </DependencyItem> + </Items> + </Dependencies> + <PluginDependencies> + <Items> + <PluginDependencyItem AssemblyName="APODPlugin.dll"> + <CompatibleVersion> + <Items> + <CompatibleVersionItem> + <MinRequiredVersion>1.2.300.0</MinRequiredVersion> + <DesignedForVersion>1.2.300.0</DesignedForVersion> + </CompatibleVersionItem> + </Items> + </CompatibleVersion> + <SubSystemsUsed> + <Items> + <SubSystemItem Name="MP.Config" /> + <SubSystemItem Name="MP.SkinEngine" /> + </Items> + </SubSystemsUsed> + </PluginDependencyItem> + </Items> + </PluginDependencies> + <GeneralInfo> + <Name>APODPlugin</Name> + <Id>7d9c01e5-0408-4f1b-ba3a-e8afd66c22ab</Id> + <Author>jmbillings</Author> + <HomePage>http://www.team-mediaportal.com/extensions/other/apod-plugin</HomePage> + <ForumPage /> + <UpdateUrl>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=52</UpdateUrl> + <Version> + <Major>1</Major> + <Minor>0</Minor> + <Build>0</Build> + <Revision>0</Revision> + </Version> + <ExtensionDescription>Display the current APOD (Astronomy Picture of the Day) in Mediaportal</ExtensionDescription> + <VersionDescription /> + <DevelopmentStatus>Rc</DevelopmentStatus> + <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> + <ReleaseDate>2013-03-17T12:36:33.840161+00:00</ReleaseDate> + <Tags /> + <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> + <Params> + <Items> + <SectionParam Name="Online Icon"> + <Value>http://www.team-mediaportal.com/components/com_mtree/img/listings/s/1882.jpg</Value> + <ValueType>String</ValueType> + <Description>The icon file of the package stored online (jpg,png,bmp)</Description> + </SectionParam> + <SectionParam Name="Configuration file"> + <Value /> + <ValueType>Template</ValueType> + <Description>The file used to configure the extension. + If it has .exe extension the will be executed. + If it has .dll extension it's started like MP plugin configuration.</Description> + </SectionParam> + <SectionParam Name="Online Screenshots"> + <Value /> + <ValueType>String</ValueType> + <Description>Online stored screenshot urls separated by ; </Description> + </SectionParam> + <SectionParam Name="Force to uninstall on update"> + <Value>yes</Value> + <ValueType>Bool</ValueType> + <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description> + </SectionParam> + </Items> + </Params> + </GeneralInfo> + <UniqueFileList> + <Items /> + </UniqueFileList> + <ProjectSettings> + <FolderGroups /> + </ProjectSettings> + <IsSkin>false</IsSkin> + </PackageClass> + </Items> +</ExtensionCollection> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-03-19 11:07:53
|
Revision: 4548 http://sourceforge.net/p/mp-plugins/code/4548 Author: jmbillings Date: 2013-03-19 11:07:49 +0000 (Tue, 19 Mar 2013) Log Message: ----------- Fix resizing. Add keycode detect Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin.v11.suo Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-18 08:42:18 UTC (rev 4547) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-19 11:07:49 UTC (rev 4548) @@ -42,7 +42,7 @@ // show the setup dialog public void ShowPlugin() { - MessageBox.Show("Nothing to configure, this is just an example"); + MessageBox.Show("Nothing to see here."); } // Indicates whether plugin can be enabled/disabled @@ -83,7 +83,7 @@ /// <returns>true : plugin needs it's own button on home /// false : plugin does not need it's own button on home</returns> public bool GetHome(out string strButtonText, out string strButtonImage, - out string strButtonImageFocus, out string strPictureImage) + out string strButtonImageFocus, out string strPictureImage) { strButtonText = PluginName(); strButtonImage = String.Empty; @@ -119,6 +119,26 @@ downloader.GetImage(); } + public override void OnAction(MediaPortal.GUI.Library.Action action) + { + base.OnAction(action); + if (action.m_key.KeyCode == 37) + { + //User pressed Left + + } + else if (action.m_key.KeyCode == 39) + { + //User pressed right + + } + else if (action.m_key.KeyCode == 120) + { + //User pressed i + + } + } + void downloader_onDownloadComplete(object sender, downloadCompleteEventArgs e) { Rectangle screenRect = Screen.PrimaryScreen.Bounds; @@ -126,7 +146,7 @@ Bitmap originalBitmap = (Bitmap)e.bitmap; Brush brush = new SolidBrush(Color.Black); - float scale = Math.Min(screenRect.Width / originalBitmap.Width, screenRect.Height / originalBitmap.Height); + float scale = Math.Min((float)screenRect.Width / (float)originalBitmap.Width, (float)screenRect.Height / (float)originalBitmap.Height); Graphics graph = Graphics.FromImage(resizedBitmap); graph.InterpolationMode = InterpolationMode.High; Modified: trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-03-18 08:42:18 UTC (rev 4547) +++ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-03-19 11:07:49 UTC (rev 4548) @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.1.0")] +[assembly: AssemblyFileVersion("1.0.1.0")] Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-03-20 11:01:19
|
Revision: 4549 http://sourceforge.net/p/mp-plugins/code/4549 Author: jmbillings Date: 2013-03-20 11:01:17 +0000 (Wed, 20 Mar 2013) Log Message: ----------- Changes to allow viewing previous pictures. Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin.v11.suo trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 trunk/plugins/APODPlugin/MPE/update.xml Modified: trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-03-19 11:07:49 UTC (rev 4548) +++ trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-03-20 11:01:17 UTC (rev 4549) @@ -18,17 +18,21 @@ public delegate void downloadCompleteEvent(object sender, downloadCompleteEventArgs e); WebClient client; WebClient imageClient; + List<String> apodURLs; + int currentStep = 0; internal APODDownloader() { client = new WebClient(); - GetImage(); + apodURLs = new List<string>(); + apodURLs.Add(APODURL); } - internal void GetImage() + internal void GetImage(int step) { + currentStep = step; client.OpenReadCompleted += new OpenReadCompletedEventHandler(readComplete); - client.OpenReadAsync(new Uri(APODURL)); + client.OpenReadAsync(new Uri(apodURLs[step])); } private void readComplete(object sender, OpenReadCompletedEventArgs args) @@ -41,6 +45,7 @@ { try { + String imageURL = ""; Stream resultStream = args.Result; if (!resultStream.CanRead) return; @@ -57,13 +62,19 @@ Match sourceMatcher = Regex.Match(pagesource, "(?<=<IMG SRC=\")(.+?)(?=\")", RegexOptions.Singleline); if (sourceMatcher.Success) { - String imageURL = "http://apod.nasa.gov/apod/" + sourceMatcher.Value; + imageURL = "http://apod.nasa.gov/apod/" + sourceMatcher.Value; downloadImage(imageURL); } else { onDownloadError(this, new downloadErrorEventArgs(new Exception("Couldn't find image source :("))); } + + //Find the previous page URL as well... i.e. <a href="ap130319.html"><</a> + Match prevMatcher = Regex.Match(pagesource, "(?<=<a href=\")(.+?)(?=\"><</a>)"); + String prevURL = "http://apod.nasa.gov/apod/" + prevMatcher.Value; + if (!apodURLs.Contains(prevURL)) + apodURLs.Add(prevURL); } catch (Exception ex) { Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-19 11:07:49 UTC (rev 4548) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-20 11:01:17 UTC (rev 4549) @@ -14,7 +14,10 @@ { [SkinControlAttribute(4)] protected GUIImage image = null; - + int imageStep = 0; + APODDownloader downloader; + bool downloading = true; + public APODPlugin() { } @@ -113,24 +116,43 @@ protected override void OnPageLoad() { GUIWaitCursor.Show(); - APODDownloader downloader = new APODDownloader(); + downloader = new APODDownloader(); downloader.onDownloadError += downloader_onDownloadError; downloader.onDownloadComplete += downloader_onDownloadComplete; - downloader.GetImage(); + downloader.GetImage(imageStep); } public override void OnAction(MediaPortal.GUI.Library.Action action) { base.OnAction(action); + if (downloading) return; + if (action.m_key.KeyCode == 37) { //User pressed Left - + GUIWaitCursor.Show(); + downloading = true; + imageStep = imageStep + 1; + downloader.GetImage(imageStep); } else if (action.m_key.KeyCode == 39) { //User pressed right - + if (imageStep == 0) + { + GUIDialogOK dlgOK = (GUIDialogOK)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_OK); + if (dlgOK != null) + { + dlgOK.SetHeading("Info"); + dlgOK.SetLine(1, "This is the most recent image!"); + dlgOK.DoModal(this.GetWindowId()); + } + return; + } + GUIWaitCursor.Show(); + downloading = true; + imageStep = imageStep - 1; + downloader.GetImage(imageStep); } else if (action.m_key.KeyCode == 120) { @@ -158,10 +180,10 @@ graph.FillRectangle(brush, new RectangleF(0, 0, screenRect.Width, screenRect.Height)); graph.DrawImage(originalBitmap, new Rectangle(((int)screenRect.Width - scaleWidth) / 2, ((int)screenRect.Height - scaleHeight) / 2, scaleWidth, scaleHeight)); - resizedBitmap.Save(System.IO.Path.GetTempPath() + "\\apod.jpg"); - image.SetFileName(System.IO.Path.GetTempPath() + "\\apod.jpg"); + resizedBitmap.Save(System.IO.Path.GetTempPath() + "\\apod" + imageStep.ToString() + ".jpg"); + image.SetFileName(System.IO.Path.GetTempPath() + "\\apod" + imageStep.ToString() + ".jpg"); image.Refresh(); - + downloading = false; GUIWaitCursor.Hide(); } @@ -178,4 +200,4 @@ } } } -} +} \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 =================================================================== --- trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-03-19 11:07:49 UTC (rev 4548) +++ trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-03-20 11:01:17 UTC (rev 4549) @@ -201,9 +201,9 @@ <Major>1</Major> <Minor>0</Minor> <Build>0</Build> - <Revision>0</Revision> + <Revision>1</Revision> </Version> - <ExtensionDescription>Display the current APOD (Astronomy Picture of the Day) in Mediaportal</ExtensionDescription> + <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> <VersionDescription /> <DevelopmentStatus>Rc</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> @@ -262,7 +262,7 @@ <Param1 /> <UpdateOption>OverwriteIfOlder</UpdateOption> <LocalFileName>M42-130202.jpg</LocalFileName> - <ZipFileName>Installer{CopyFile}\{46d26bb9-9853-400e-bb4d-ca3ad5017c7e}-M42-130202.jpg</ZipFileName> + <ZipFileName>Installer{CopyFile}\{99c5a998-73b1-4821-9009-58eb172a777e}-M42-130202.jpg</ZipFileName> <DestinationFilename /> </FileItem> </Items> Modified: trunk/plugins/APODPlugin/MPE/update.xml =================================================================== --- trunk/plugins/APODPlugin/MPE/update.xml 2013-03-19 11:07:49 UTC (rev 4548) +++ trunk/plugins/APODPlugin/MPE/update.xml 2013-03-20 11:01:17 UTC (rev 4549) @@ -74,7 +74,7 @@ <Build>0</Build> <Revision>0</Revision> </Version> - <ExtensionDescription>Display the current APOD (Astronomy Picture of the Day) in Mediaportal</ExtensionDescription> + <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> <VersionDescription /> <DevelopmentStatus>Rc</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> @@ -116,5 +116,120 @@ </ProjectSettings> <IsSkin>false</IsSkin> </PackageClass> + <PackageClass> + <Version>2.0</Version> + <Groups> + <Items> + <GroupItem Name="Default"> + <DisplayName>Default</DisplayName> + <DefaulChecked>true</DefaulChecked> + <Description>Default</Description> + <Files> + <Items /> + </Files> + </GroupItem> + </Items> + </Groups> + <Sections> + <Items /> + </Sections> + <Dependencies> + <Items> + <DependencyItem> + <Type>MediaPortal</Type> + <Id /> + <MinVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MinVersion> + <MaxVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MaxVersion> + <WarnOnly>false</WarnOnly> + <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message> + <Name>MediaPortal</Name> + </DependencyItem> + </Items> + </Dependencies> + <PluginDependencies> + <Items> + <PluginDependencyItem AssemblyName="APODPlugin.dll"> + <CompatibleVersion> + <Items> + <CompatibleVersionItem> + <MinRequiredVersion>1.2.300.0</MinRequiredVersion> + <DesignedForVersion>1.2.300.0</DesignedForVersion> + </CompatibleVersionItem> + </Items> + </CompatibleVersion> + <SubSystemsUsed> + <Items> + <SubSystemItem Name="MP.Config" /> + <SubSystemItem Name="MP.SkinEngine" /> + </Items> + </SubSystemsUsed> + </PluginDependencyItem> + </Items> + </PluginDependencies> + <GeneralInfo> + <Name>APODPlugin</Name> + <Id>7d9c01e5-0408-4f1b-ba3a-e8afd66c22ab</Id> + <Author>jmbillings</Author> + <HomePage>http://www.team-mediaportal.com/extensions/other/apod-plugin</HomePage> + <ForumPage /> + <UpdateUrl>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=52</UpdateUrl> + <Version> + <Major>1</Major> + <Minor>0</Minor> + <Build>0</Build> + <Revision>1</Revision> + </Version> + <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> + <VersionDescription /> + <DevelopmentStatus>Rc</DevelopmentStatus> + <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> + <ReleaseDate>2013-03-17T12:36:33.840161+00:00</ReleaseDate> + <Tags /> + <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> + <Params> + <Items> + <SectionParam Name="Online Icon"> + <Value>http://www.team-mediaportal.com/components/com_mtree/img/listings/s/1882.jpg</Value> + <ValueType>String</ValueType> + <Description>The icon file of the package stored online (jpg,png,bmp)</Description> + </SectionParam> + <SectionParam Name="Configuration file"> + <Value /> + <ValueType>Template</ValueType> + <Description>The file used to configure the extension. + If it has .exe extension the will be executed. + If it has .dll extension it's started like MP plugin configuration.</Description> + </SectionParam> + <SectionParam Name="Online Screenshots"> + <Value /> + <ValueType>String</ValueType> + <Description>Online stored screenshot urls separated by ; </Description> + </SectionParam> + <SectionParam Name="Force to uninstall on update"> + <Value>yes</Value> + <ValueType>Bool</ValueType> + <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description> + </SectionParam> + </Items> + </Params> + </GeneralInfo> + <UniqueFileList> + <Items /> + </UniqueFileList> + <ProjectSettings> + <FolderGroups /> + </ProjectSettings> + <IsSkin>false</IsSkin> + </PackageClass> </Items> </ExtensionCollection> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-03-21 09:58:04
|
Revision: 4556 http://sourceforge.net/p/mp-plugins/code/4556 Author: jmbillings Date: 2013-03-21 09:57:58 +0000 (Thu, 21 Mar 2013) Log Message: ----------- Bugfix for left/right switching + updated MP installer Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin.v11.suo trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 trunk/plugins/APODPlugin/MPE/update.xml Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-20 19:55:34 UTC (rev 4555) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-03-21 09:57:58 UTC (rev 4556) @@ -127,7 +127,7 @@ base.OnAction(action); if (downloading) return; - if (action.m_key.KeyCode == 37) + if (action.wID == MediaPortal.GUI.Library.Action.ActionType.ACTION_MOVE_LEFT) { //User pressed Left GUIWaitCursor.Show(); @@ -135,7 +135,7 @@ imageStep = imageStep + 1; downloader.GetImage(imageStep); } - else if (action.m_key.KeyCode == 39) + else if (action.wID == MediaPortal.GUI.Library.Action.ActionType.ACTION_MOVE_RIGHT) { //User pressed right if (imageStep == 0) @@ -154,7 +154,7 @@ imageStep = imageStep - 1; downloader.GetImage(imageStep); } - else if (action.m_key.KeyCode == 120) + else if (action.wID == MediaPortal.GUI.Library.Action.ActionType.ACTION_SHOW_INFO) { //User pressed i Modified: trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-03-20 19:55:34 UTC (rev 4555) +++ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-03-21 09:57:58 UTC (rev 4556) @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")] Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 =================================================================== --- trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-03-20 19:55:34 UTC (rev 4555) +++ trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-03-21 09:57:58 UTC (rev 4556) @@ -195,13 +195,13 @@ <Id>7d9c01e5-0408-4f1b-ba3a-e8afd66c22ab</Id> <Author>jmbillings</Author> <HomePage>http://www.team-mediaportal.com/extensions/other/apod-plugin</HomePage> - <ForumPage /> + <ForumPage>http://forum.team-mediaportal.com/threads/apod-astronomy-picture-of-the-day-plugin.117456/</ForumPage> <UpdateUrl>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=52</UpdateUrl> <Version> <Major>1</Major> <Minor>0</Minor> - <Build>0</Build> - <Revision>1</Revision> + <Build>2</Build> + <Revision>0</Revision> </Version> <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> <VersionDescription /> @@ -262,7 +262,7 @@ <Param1 /> <UpdateOption>OverwriteIfOlder</UpdateOption> <LocalFileName>M42-130202.jpg</LocalFileName> - <ZipFileName>Installer{CopyFile}\{99c5a998-73b1-4821-9009-58eb172a777e}-M42-130202.jpg</ZipFileName> + <ZipFileName>Installer{CopyFile}\{fafbb8f2-5d96-4996-8359-c52dbcfd4d20}-M42-130202.jpg</ZipFileName> <DestinationFilename /> </FileItem> </Items> Modified: trunk/plugins/APODPlugin/MPE/update.xml =================================================================== --- trunk/plugins/APODPlugin/MPE/update.xml 2013-03-20 19:55:34 UTC (rev 4555) +++ trunk/plugins/APODPlugin/MPE/update.xml 2013-03-21 09:57:58 UTC (rev 4556) @@ -231,5 +231,120 @@ </ProjectSettings> <IsSkin>false</IsSkin> </PackageClass> + <PackageClass> + <Version>2.0</Version> + <Groups> + <Items> + <GroupItem Name="Default"> + <DisplayName>Default</DisplayName> + <DefaulChecked>true</DefaulChecked> + <Description>Default</Description> + <Files> + <Items /> + </Files> + </GroupItem> + </Items> + </Groups> + <Sections> + <Items /> + </Sections> + <Dependencies> + <Items> + <DependencyItem> + <Type>MediaPortal</Type> + <Id /> + <MinVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MinVersion> + <MaxVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MaxVersion> + <WarnOnly>false</WarnOnly> + <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message> + <Name>MediaPortal</Name> + </DependencyItem> + </Items> + </Dependencies> + <PluginDependencies> + <Items> + <PluginDependencyItem AssemblyName="APODPlugin.dll"> + <CompatibleVersion> + <Items> + <CompatibleVersionItem> + <MinRequiredVersion>1.2.300.0</MinRequiredVersion> + <DesignedForVersion>1.2.300.0</DesignedForVersion> + </CompatibleVersionItem> + </Items> + </CompatibleVersion> + <SubSystemsUsed> + <Items> + <SubSystemItem Name="MP.Config" /> + <SubSystemItem Name="MP.SkinEngine" /> + </Items> + </SubSystemsUsed> + </PluginDependencyItem> + </Items> + </PluginDependencies> + <GeneralInfo> + <Name>APODPlugin</Name> + <Id>7d9c01e5-0408-4f1b-ba3a-e8afd66c22ab</Id> + <Author>jmbillings</Author> + <HomePage>http://www.team-mediaportal.com/extensions/other/apod-plugin</HomePage> + <ForumPage>http://forum.team-mediaportal.com/threads/apod-astronomy-picture-of-the-day-plugin.117456/</ForumPage> + <UpdateUrl>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=52</UpdateUrl> + <Version> + <Major>1</Major> + <Minor>0</Minor> + <Build>2</Build> + <Revision>0</Revision> + </Version> + <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> + <VersionDescription /> + <DevelopmentStatus>Rc</DevelopmentStatus> + <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> + <ReleaseDate>2013-03-17T12:36:33.840161+00:00</ReleaseDate> + <Tags /> + <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> + <Params> + <Items> + <SectionParam Name="Online Icon"> + <Value>http://www.team-mediaportal.com/components/com_mtree/img/listings/s/1882.jpg</Value> + <ValueType>String</ValueType> + <Description>The icon file of the package stored online (jpg,png,bmp)</Description> + </SectionParam> + <SectionParam Name="Configuration file"> + <Value /> + <ValueType>Template</ValueType> + <Description>The file used to configure the extension. + If it has .exe extension the will be executed. + If it has .dll extension it's started like MP plugin configuration.</Description> + </SectionParam> + <SectionParam Name="Online Screenshots"> + <Value /> + <ValueType>String</ValueType> + <Description>Online stored screenshot urls separated by ; </Description> + </SectionParam> + <SectionParam Name="Force to uninstall on update"> + <Value>yes</Value> + <ValueType>Bool</ValueType> + <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description> + </SectionParam> + </Items> + </Params> + </GeneralInfo> + <UniqueFileList> + <Items /> + </UniqueFileList> + <ProjectSettings> + <FolderGroups /> + </ProjectSettings> + <IsSkin>false</IsSkin> + </PackageClass> </Items> </ExtensionCollection> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-07-01 16:07:12
|
Revision: 4584 http://sourceforge.net/p/mp-plugins/code/4584 Author: jmbillings Date: 2013-07-01 16:07:07 +0000 (Mon, 01 Jul 2013) Log Message: ----------- Move .ps1 to project folder. Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache trunk/plugins/APODPlugin/APODPlugin.v11.suo Added Paths: ----------- trunk/plugins/APODPlugin/APODPlugin/PostDeploy.ps1 Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-07-01 16:01:29 UTC (rev 4583) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-07-01 16:07:07 UTC (rev 4584) @@ -65,6 +65,11 @@ <SubType>Designer</SubType> </Content> </ItemGroup> + <ItemGroup> + <None Include="PostDeploy.ps1"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\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. Added: trunk/plugins/APODPlugin/APODPlugin/PostDeploy.ps1 =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/PostDeploy.ps1 (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/PostDeploy.ps1 2013-07-01 16:07:07 UTC (rev 4584) @@ -0,0 +1 @@ +print "test" \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt 2013-07-01 16:01:29 UTC (rev 4583) +++ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt 2013-07-01 16:07:07 UTC (rev 4584) @@ -37,3 +37,4 @@ C:\Users\james.billings\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.csprojResolveAssemblyReference.cache C:\Users\james.billings\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.dll C:\Users\james.billings\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.pdb +C:\Users\james.billings\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\PostDeploy.ps1 Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-07-08 14:59:12
|
Revision: 4599 http://sourceforge.net/p/mp-plugins/code/4599 Author: jmbillings Date: 2013-07-08 14:59:07 +0000 (Mon, 08 Jul 2013) Log Message: ----------- unversion .SUO Removed Paths: ------------- trunk/plugins/APODPlugin/APODPlugin.v11.suo Property Changed: ---------------- trunk/plugins/APODPlugin/ Index: trunk/plugins/APODPlugin =================================================================== --- trunk/plugins/APODPlugin 2013-07-08 08:11:17 UTC (rev 4598) +++ trunk/plugins/APODPlugin 2013-07-08 14:59:07 UTC (rev 4599) Property changes on: trunk/plugins/APODPlugin ___________________________________________________________________ Added: svn:ignore ## -0,0 +1 ## +APODPlugin.v11.suo Deleted: trunk/plugins/APODPlugin/APODPlugin.v11.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-07-16 09:53:50
|
Revision: 4607 http://sourceforge.net/p/mp-plugins/code/4607 Author: jmbillings Date: 2013-07-16 09:53:43 +0000 (Tue, 16 Jul 2013) Log Message: ----------- Update to start fixing skin issues. Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj trunk/plugins/APODPlugin/APODPlugin/Default/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 trunk/plugins/APODPlugin/MPE/update.xml Modified: trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-07-16 09:53:43 UTC (rev 4607) @@ -43,7 +43,7 @@ client.OpenReadAsync(new Uri(apodURLs[step])); return true; } - catch (IndexOutOfRangeException ex) + catch (IndexOutOfRangeException) { return false; //no image to get! } Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-07-16 09:53:43 UTC (rev 4607) @@ -12,6 +12,8 @@ { public class APODPlugin : GUIWindow, ISetupForm { + [SkinControlAttribute(0)] + protected GUIImage bgimage = null; [SkinControlAttribute(4)] protected GUIImage image = null; [SkinControlAttribute(5)] @@ -119,6 +121,8 @@ protected override void OnPageLoad() { + bgimage.DoUpdate(); + GUIWaitCursor.Show(); downloader = new APODDownloader(); downloader.onDownloadError += downloader_onDownloadError; Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-07-16 09:53:43 UTC (rev 4607) @@ -69,6 +69,7 @@ <SubType>Designer</SubType> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> + <Content Include="PureVisionHD 1080\APODPlugin.xml" /> <Content Include="Titan\APODPlugin.xml"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> <SubType>Designer</SubType> Modified: trunk/plugins/APODPlugin/APODPlugin/Default/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Default/APODPlugin.xml 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/Default/APODPlugin.xml 2013-07-16 09:53:43 UTC (rev 4607) @@ -1,4 +1,5 @@ <window> + <!--Default 720x576--> <id>3355</id> <defaultcontrol>4</defaultcontrol> <allowoverlay>yes</allowoverlay> @@ -8,25 +9,37 @@ <description>image</description> <type>image</type> <id>4</id> - <posX>0</posX> - <posY>0</posY> + <posX>16</posX> + <posY>48</posY> + <width>540</width> + <height>512</height> </control> - <control> + <description>title</description> + <type>textbox</type> + <id>6</id> + <posX>16</posX> + <posY>8</posY> + <width>540</width> + <height>40</height> + <font>font16</font> + <textcolor>ffffffff</textcolor> + <colordiffuse>ffffffff</colordiffuse> + </control> + <control> <description>info</description> <type>textboxscrollup</type> <id>5</id> - <posX>48</posX> + <posX>556</posX> <posY>48</posY> - <width>1824</width> - <height>256</height> - <font>font13</font> + <width>156</width> + <height>512</height> + <font>font14</font> <textcolor>ffffffff</textcolor> <colordiffuse>ffffffff</colordiffuse> <seperator>--------------------------------</seperator> <scrollStartDelaySec>3</scrollStartDelaySec> <spaceBetweenItems>4</spaceBetweenItems> </control> - </controls> </window> \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-07-16 09:53:43 UTC (rev 4607) @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.5.0")] -[assembly: AssemblyFileVersion("1.0.5.0")] +[assembly: AssemblyVersion("1.0.5.3")] +[assembly: AssemblyFileVersion("1.0.5.3")] Modified: trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml 2013-07-16 09:53:43 UTC (rev 4607) @@ -41,6 +41,15 @@ <scrollStartDelaySec>3</scrollStartDelaySec> <spaceBetweenItems>4</spaceBetweenItems> </control> - + <control> + <description>verticalbar</description> + <type>image</type> + <id>4</id> + <posX>1558</posX> + <posY>128</posY> + <width>1</width> + <height>920</height> + <texture>bar_vert.png</texture> + </control> </controls> </window> \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/APODPlugin.xml 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/APODPlugin.xml 2013-07-16 09:53:43 UTC (rev 4607) @@ -1,4 +1,5 @@ <window> + <!--Default 720x576--> <id>3355</id> <defaultcontrol>4</defaultcontrol> <allowoverlay>yes</allowoverlay> @@ -8,25 +9,37 @@ <description>image</description> <type>image</type> <id>4</id> - <posX>0</posX> - <posY>0</posY> + <posX>16</posX> + <posY>48</posY> + <width>540</width> + <height>512</height> </control> - <control> + <description>title</description> + <type>textbox</type> + <id>6</id> + <posX>16</posX> + <posY>8</posY> + <width>540</width> + <height>40</height> + <font>font16</font> + <textcolor>ffffffff</textcolor> + <colordiffuse>ffffffff</colordiffuse> + </control> + <control> <description>info</description> <type>textboxscrollup</type> <id>5</id> - <posX>48</posX> + <posX>556</posX> <posY>48</posY> - <width>1824</width> - <height>256</height> - <font>font13</font> + <width>156</width> + <height>512</height> + <font>font14</font> <textcolor>ffffffff</textcolor> <colordiffuse>ffffffff</colordiffuse> <seperator>--------------------------------</seperator> <scrollStartDelaySec>3</scrollStartDelaySec> <spaceBetweenItems>4</spaceBetweenItems> </control> - </controls> </window> \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml 2013-07-16 09:53:43 UTC (rev 4607) @@ -41,6 +41,15 @@ <scrollStartDelaySec>3</scrollStartDelaySec> <spaceBetweenItems>4</spaceBetweenItems> </control> - + <control> + <description>verticalbar</description> + <type>image</type> + <id>4</id> + <posX>1558</posX> + <posY>128</posY> + <width>1</width> + <height>920</height> + <texture>bar_vert.png</texture> + </control> </controls> </window> \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 =================================================================== --- trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-07-16 09:53:43 UTC (rev 4607) @@ -20,23 +20,23 @@ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> <Param1 /> <UpdateOption>AlwaysOverwrite</UpdateOption> - <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <LocalFileName>..\APODPlugin\bin\Debug\Default\APODPlugin.xml</LocalFileName> <ZipFileName>Installer{CopyFile}\{9bd9a2d2-9a0e-4f58-a88e-8342721fc6bb}-APODPlugin.xml</ZipFileName> - <DestinationFilename>%Skin%\Titan\APODPlugin.xml</DestinationFilename> + <DestinationFilename>%Skin%\Default\APODPlugin.xml</DestinationFilename> </FileItem> <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> <Param1 /> <UpdateOption>AlwaysOverwrite</UpdateOption> - <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <LocalFileName>..\APODPlugin\bin\Debug\DefaultWide\APODPlugin.xml</LocalFileName> <ZipFileName>Installer{CopyFile}\{2e8ca333-8c7c-4698-8306-c471adc7df71}-APODPlugin.xml</ZipFileName> - <DestinationFilename>%Skin%\Default\APODPlugin.xml</DestinationFilename> + <DestinationFilename>%Skin%\DefaultWide\APODPlugin.xml</DestinationFilename> </FileItem> <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> <Param1 /> <UpdateOption>AlwaysOverwrite</UpdateOption> - <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <LocalFileName>..\APODPlugin\bin\Debug\Titan\APODPlugin.xml</LocalFileName> <ZipFileName>Installer{CopyFile}\{5fcfa3ae-4095-4fef-9110-c3a1d1a1865e}-APODPlugin.xml</ZipFileName> - <DestinationFilename>%Skin%\DefaultWide\APODPlugin.xml</DestinationFilename> + <DestinationFilename>%Skin%\Titan\APODPlugin.xml</DestinationFilename> </FileItem> </Items> </Files> @@ -150,6 +150,25 @@ <Dependencies> <Items> <DependencyItem> + <Type>Skin</Type> + <Id /> + <MinVersion> + <Major>1</Major> + <Minor>1</Minor> + <Build>6</Build> + <Revision>27644</Revision> + </MinVersion> + <MaxVersion> + <Major>1</Major> + <Minor>4</Minor> + <Build>1</Build> + <Revision>1</Revision> + </MaxVersion> + <WarnOnly>true</WarnOnly> + <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message> + <Name>MediaPortal</Name> + </DependencyItem> + <DependencyItem> <Type>MediaPortal</Type> <Id /> <MinVersion> @@ -200,16 +219,14 @@ <Version> <Major>1</Major> <Minor>0</Minor> - <Build>4</Build> - <Revision>1</Revision> + <Build>5</Build> + <Revision>3</Revision> </Version> <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> - <VersionDescription>Fix bug where APOD video pages broke the plugin - -1.4.0 compatibility</VersionDescription> - <DevelopmentStatus>Rc</DevelopmentStatus> + <VersionDescription>New skin files, add display of info and title for image.</VersionDescription> + <DevelopmentStatus>Stable</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> - <ReleaseDate>2013-07-08T12:36:33</ReleaseDate> + <ReleaseDate>2013-07-14T12:36:33</ReleaseDate> <Tags /> <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> <Params> @@ -256,15 +273,29 @@ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> <Param1 /> <UpdateOption>AlwaysOverwrite</UpdateOption> - <LocalFileName>..\APODPlugin\bin\Debug\APODPlugin.xml</LocalFileName> + <LocalFileName>..\APODPlugin\bin\Debug\Default\APODPlugin.xml</LocalFileName> <ZipFileName>Installer{CopyFile}\{9bd9a2d2-9a0e-4f58-a88e-8342721fc6bb}-APODPlugin.xml</ZipFileName> + <DestinationFilename>%Skin%\Default\APODPlugin.xml</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>AlwaysOverwrite</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\DefaultWide\APODPlugin.xml</LocalFileName> + <ZipFileName>Installer{CopyFile}\{2e8ca333-8c7c-4698-8306-c471adc7df71}-APODPlugin.xml</ZipFileName> + <DestinationFilename>%Skin%\DefaultWide\APODPlugin.xml</DestinationFilename> + </FileItem> + <FileItem InstallType="CopyFile" SystemFile="false" Modified="true"> + <Param1 /> + <UpdateOption>AlwaysOverwrite</UpdateOption> + <LocalFileName>..\APODPlugin\bin\Debug\Titan\APODPlugin.xml</LocalFileName> + <ZipFileName>Installer{CopyFile}\{5fcfa3ae-4095-4fef-9110-c3a1d1a1865e}-APODPlugin.xml</ZipFileName> <DestinationFilename>%Skin%\Titan\APODPlugin.xml</DestinationFilename> </FileItem> <FileItem InstallType="CopyFile" SystemFile="true" Modified="true"> <Param1 /> <UpdateOption>OverwriteIfOlder</UpdateOption> <LocalFileName>M42-130202.jpg</LocalFileName> - <ZipFileName>Installer{CopyFile}\{5c23f5fb-2975-416c-9574-47721cd997de}-M42-130202.jpg</ZipFileName> + <ZipFileName>Installer{CopyFile}\{7fcacc68-9dad-4a8b-b50d-284477883368}-M42-130202.jpg</ZipFileName> <DestinationFilename /> </FileItem> </Items> Modified: trunk/plugins/APODPlugin/MPE/update.xml =================================================================== --- trunk/plugins/APODPlugin/MPE/update.xml 2013-07-13 10:35:40 UTC (rev 4606) +++ trunk/plugins/APODPlugin/MPE/update.xml 2013-07-16 09:53:43 UTC (rev 4607) @@ -21,7 +21,7 @@ <Dependencies> <Items> <DependencyItem> - <Type>MediaPortal</Type> + <Type>Skin</Type> <Id /> <MinVersion> <Major>1</Major> @@ -31,94 +31,14 @@ </MinVersion> <MaxVersion> <Major>1</Major> - <Minor>1</Minor> - <Build>6</Build> - <Revision>27644</Revision> + <Minor>4</Minor> + <Build>1</Build> + <Revision>1</Revision> </MaxVersion> - <WarnOnly>false</WarnOnly> + <WarnOnly>true</WarnOnly> <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message> <Name>MediaPortal</Name> </DependencyItem> - </Items> - </Dependencies> - <PluginDependencies> - <Items /> - </PluginDependencies> - <GeneralInfo> - <Name>APODPlugin</Name> - <Id>7d9c01e5-0408-4f1b-ba3a-e8afd66c22ab</Id> - <Author>jmbillings</Author> - <HomePage>http://www.team-mediaportal.com/extensions/other/apod-plugin</HomePage> - <ForumPage>http://forum.team-mediaportal.com/threads/apod-astronomy-picture-of-the-day-plugin.117456/</ForumPage> - <UpdateUrl>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=52</UpdateUrl> - <Version> - <Major>1</Major> - <Minor>0</Minor> - <Build>4</Build> - <Revision>0</Revision> - </Version> - <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> - <VersionDescription>Fix bug where APOD video pages broke the plugin -1.4.0 compatibility</VersionDescription> - <DevelopmentStatus>Rc</DevelopmentStatus> - <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> - <ReleaseDate>2013-07-08T12:36:33</ReleaseDate> - <Tags /> - <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> - <Params> - <Items> - <SectionParam Name="Online Icon"> - <Value>http://www.team-mediaportal.com/components/com_mtree/img/listings/s/1882.jpg</Value> - <ValueType>String</ValueType> - <Description>The icon file of the package stored online (jpg,png,bmp)</Description> - </SectionParam> - <SectionParam Name="Configuration file"> - <Value /> - <ValueType>Template</ValueType> - <Description>The file used to configure the extension. - If it has .exe extension the will be executed. - If it has .dll extension it's started like MP plugin configuration.</Description> - </SectionParam> - <SectionParam Name="Online Screenshots"> - <Value /> - <ValueType>String</ValueType> - <Description>Online stored screenshot urls separated by ; </Description> - </SectionParam> - <SectionParam Name="Force to uninstall on update"> - <Value>yes</Value> - <ValueType>Bool</ValueType> - <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description> - </SectionParam> - </Items> - </Params> - </GeneralInfo> - <UniqueFileList> - <Items /> - </UniqueFileList> - <ProjectSettings> - <FolderGroups /> - </ProjectSettings> - <IsSkin>false</IsSkin> - </PackageClass> - <PackageClass> - <Version>2.0</Version> - <Groups> - <Items> - <GroupItem Name="Default"> - <DisplayName>Default</DisplayName> - <DefaulChecked>true</DefaulChecked> - <Description>Default</Description> - <Files> - <Items /> - </Files> - </GroupItem> - </Items> - </Groups> - <Sections> - <Items /> - </Sections> - <Dependencies> - <Items> <DependencyItem> <Type>MediaPortal</Type> <Id /> @@ -170,16 +90,14 @@ <Version> <Major>1</Major> <Minor>0</Minor> - <Build>4</Build> - <Revision>1</Revision> + <Build>5</Build> + <Revision>3</Revision> </Version> <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> - <VersionDescription>Fix bug where APOD video pages broke the plugin - -1.4.0 compatibility</VersionDescription> - <DevelopmentStatus>Rc</DevelopmentStatus> + <VersionDescription>New skin files, add display of info and title for image.</VersionDescription> + <DevelopmentStatus>Stable</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> - <ReleaseDate>2013-07-08T12:36:33</ReleaseDate> + <ReleaseDate>2013-07-14T12:36:33</ReleaseDate> <Tags /> <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> <Params> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-07-17 09:13:12
|
Revision: 4610 http://sourceforge.net/p/mp-plugins/code/4610 Author: jmbillings Date: 2013-07-17 09:13:05 +0000 (Wed, 17 Jul 2013) Log Message: ----------- Push 1.0.5.4 Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 trunk/plugins/APODPlugin/MPE/update.xml Modified: trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-07-17 09:08:00 UTC (rev 4609) +++ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-07-17 09:13:05 UTC (rev 4610) @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.5.3")] -[assembly: AssemblyFileVersion("1.0.5.3")] +[assembly: AssemblyVersion("1.0.5.4")] +[assembly: AssemblyFileVersion("1.0.5.4")] Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.mpe1 =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 =================================================================== --- trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-07-17 09:08:00 UTC (rev 4609) +++ trunk/plugins/APODPlugin/MPE/APODPlugin.xmp2 2013-07-17 09:13:05 UTC (rev 4610) @@ -56,7 +56,9 @@ <SectionParam Name="Description"> <Value>This will install [Name] version [Version] on your computer. It is recommended that you close all other applications before continuing. -Click Next to continue or Cancel to exit Setup.</Value> +Click Next to continue or Cancel to exit Setup. + +Thanks to Catavolt for the assistance with skin layouts!</Value> <ValueType>String</ValueType> <Description /> </SectionParam> @@ -220,13 +222,13 @@ <Major>1</Major> <Minor>0</Minor> <Build>5</Build> - <Revision>3</Revision> + <Revision>4</Revision> </Version> <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> - <VersionDescription>New skin files, add display of info and title for image.</VersionDescription> + <VersionDescription>New skins, press up/down to view information about the image. Huge thanks to Catavolt for helping out!</VersionDescription> <DevelopmentStatus>Stable</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> - <ReleaseDate>2013-07-14T12:36:33</ReleaseDate> + <ReleaseDate>2013-07-17T12:36:33</ReleaseDate> <Tags /> <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> <Params> @@ -295,7 +297,7 @@ <Param1 /> <UpdateOption>OverwriteIfOlder</UpdateOption> <LocalFileName>M42-130202.jpg</LocalFileName> - <ZipFileName>Installer{CopyFile}\{7fcacc68-9dad-4a8b-b50d-284477883368}-M42-130202.jpg</ZipFileName> + <ZipFileName>Installer{CopyFile}\{2cc298d3-6a80-42ea-8d64-7f0ad8bf5f1a}-M42-130202.jpg</ZipFileName> <DestinationFilename /> </FileItem> </Items> Modified: trunk/plugins/APODPlugin/MPE/update.xml =================================================================== --- trunk/plugins/APODPlugin/MPE/update.xml 2013-07-17 09:08:00 UTC (rev 4609) +++ trunk/plugins/APODPlugin/MPE/update.xml 2013-07-17 09:13:05 UTC (rev 4610) @@ -91,13 +91,13 @@ <Major>1</Major> <Minor>0</Minor> <Build>5</Build> - <Revision>3</Revision> + <Revision>4</Revision> </Version> <ExtensionDescription>Display APOD (Astronomy Picture of the Day) pictures in Mediaportal</ExtensionDescription> - <VersionDescription>New skin files, add display of info and title for image.</VersionDescription> + <VersionDescription>New skins, press up/down to view information about the image. Huge thanks to Catavolt for helping out!</VersionDescription> <DevelopmentStatus>Stable</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=270&cf_id=24</OnlineLocation> - <ReleaseDate>2013-07-14T12:36:33</ReleaseDate> + <ReleaseDate>2013-07-17T12:36:33</ReleaseDate> <Tags /> <Location>C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\MPE\APODPlugin.mpe1</Location> <Params> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jmb...@us...> - 2013-07-23 08:45:22
|
Revision: 4613 http://sourceforge.net/p/mp-plugins/code/4613 Author: jmbillings Date: 2013-07-23 08:45:13 +0000 (Tue, 23 Jul 2013) Log Message: ----------- Add hover images Modified Paths: -------------- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Added Paths: ----------- trunk/plugins/APODPlugin/APODPlugin/Default/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/DefaultWide/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/ trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/APODPlugin.xml trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/Titan/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DefaultWide/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.dll trunk/plugins/APODPlugin/APODPlugin/bin/Debug/PureVisionHD 1080/hover_APOD.png trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/hover_APOD.png trunk/plugins/APODPlugin/debug.log Modified: trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/APODDownloader.cs 2013-07-23 08:45:13 UTC (rev 4613) @@ -104,7 +104,6 @@ else { onDownloadNoImageFound(this, new downloadNoImageEventArgs(direction)); - //onDownloadError(this, new downloadErrorEventArgs(new Exception("No image found, this one might have been a Video... :)"))); } } catch (Exception ex) @@ -198,4 +197,4 @@ scrollDirection = d; } } -} +} \ No newline at end of file Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.cs 2013-07-23 08:45:13 UTC (rev 4613) @@ -12,8 +12,10 @@ { public class APODPlugin : GUIWindow, ISetupForm { + [SkinControlAttribute(3)] + protected GUIImage bgimage = null; [SkinControlAttribute(0)] - protected GUIImage bgimage = null; + protected GUIImage infobgimage = null; [SkinControlAttribute(4)] protected GUIImage image = null; [SkinControlAttribute(5)] @@ -116,13 +118,20 @@ public override bool Init() { - return Load(GUIGraphicsContext.Skin + @"\APODPlugin.xml"); + bool ls = Load(GUIGraphicsContext.Skin + @"\APODPlugin.xml"); + base.InitControls(); + base.NeedRefresh(); + return ls; } + public override void DeInit() + { + base.DeInit(); + } + protected override void OnPageLoad() { - bgimage.DoUpdate(); - + image.Refresh(); GUIWaitCursor.Show(); downloader = new APODDownloader(); downloader.onDownloadError += downloader_onDownloadError; @@ -144,6 +153,19 @@ { doDownload(directions.RIGHT); } + else if (action.wID == MediaPortal.GUI.Library.Action.ActionType.ACTION_SHOW_INFO) + { + if (infobgimage.Visible) + { + infobgimage.Visible = false; + info.Visible = false; + } + else + { + infobgimage.Visible = true; + info.Visible = true; + } + } } private void doDownload(directions d) Modified: trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/APODPlugin.csproj 2013-07-23 08:45:13 UTC (rev 4613) @@ -65,17 +65,29 @@ <SubType>Designer</SubType> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> + <Content Include="DefaultWide\hover_APOD.png"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> <Content Include="Default\APODPlugin.xml"> <SubType>Designer</SubType> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> + <Content Include="Default\hover_APOD.png"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> <Content Include="PureVisionHD 1080\APODPlugin.xml"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> + <Content Include="PureVisionHD 1080\hover_APOD.png"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> <Content Include="Titan\APODPlugin.xml"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> <SubType>Designer</SubType> </Content> + <Content Include="Titan\hover_APOD.png"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> </ItemGroup> <ItemGroup> <Content Include="PostDeploy.ps1"> Added: trunk/plugins/APODPlugin/APODPlugin/Default/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/Default/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Default/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/Default/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/Default/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/DefaultWide/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/DefaultWide/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/DefaultWide/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/DefaultWide/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/DefaultWide/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/Properties/AssemblyInfo.cs 2013-07-23 08:45:13 UTC (rev 4613) @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.5.4")] -[assembly: AssemblyFileVersion("1.0.5.4")] +[assembly: AssemblyVersion("1.0.5.5")] +[assembly: AssemblyFileVersion("1.0.5.5")] Added: trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/APODPlugin.xml (rev 0) +++ trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/APODPlugin.xml 2013-07-23 08:45:13 UTC (rev 4613) @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<window> + <!--PureVisionHD 1080--> + <id>3355</id> + <defaultcontrol>4</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <controls> + <control> + <description>image</description> + <type>image</type> + <id>0</id> + <posX>0</posX> + <posY>0</posY> + <width>1920</width> + <height>1080</height> + <texture>black.jpg</texture> + </control> + <control> + <description>image</description> + <type>image</type> + <id>4</id> + <posX>0</posX> + <posY>0</posY> + <onup>2</onup> + <ondown>2</ondown> + </control> + <control> + <description>title</description> + <type>textbox</type> + <id>6</id> + <posX>0</posX> + <posY>10</posY> + <width>1920</width> + <height>45</height> + <font>Menutitle</font> + <textcolor>ffffffff</textcolor> + <textalign>center</textalign> + </control> + <control> + <description>image</description> + <type>image</type> + <id>0</id> + <posX>30</posX> + <posY>680</posY> + <width>1860</width> + <height>390</height> + <texture>menubg.png</texture> + <animation effect="fade" start="0" end="100" time="1000" reversible="true">visiblechange</animation> + <visible>control.hasfocus(2)</visible> + </control> + <control> + <description>info</description> + <type>textboxscrollup</type> + <id>5</id> + <posX>50</posX> + <posY>700</posY> + <width>1820</width> + <height>350</height> + <font>font11</font> + <textcolor>ffffffff</textcolor> + <scrollStartDelaySec>10</scrollStartDelaySec> + <animation effect="fade" start="0" end="100" time="1000" reversible="true">visiblechange</animation> + <visible>control.hasfocus(2)</visible> + </control> + <control> + <description>Show Text</description> + <type>button</type> + <id>2</id> + <posX>20</posX> + <posY>70</posY> + <width>240</width> + <label>Show Text</label> + </control> + </controls> +</window> Added: trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/PureVisionHD 1080/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/Titan/APODPlugin.xml 2013-07-23 08:45:13 UTC (rev 4613) @@ -7,7 +7,7 @@ <control> <description>image</description> <type>image</type> - <id>0</id> + <id>3</id> <posX>0</posX> <posY>0</posY> <width>1920</width> Added: trunk/plugins/APODPlugin/APODPlugin/Titan/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/Titan/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/Titan/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/Titan/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/Titan/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Default/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DefaultWide/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DefaultWide/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DefaultWide/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DefaultWide/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/DefaultWide/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.Shell.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.dll =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.dll =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.dll 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.dll 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Microsoft.WindowsAPICodePack.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/PureVisionHD 1080/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/PureVisionHD 1080/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/PureVisionHD 1080/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/PureVisionHD 1080/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/PureVisionHD 1080/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/APODPlugin.xml 2013-07-23 08:45:13 UTC (rev 4613) @@ -7,7 +7,7 @@ <control> <description>image</description> <type>image</type> - <id>0</id> + <id>3</id> <posX>0</posX> <posY>0</posY> <width>1920</width> Added: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/hover_APOD.png =================================================================== (Binary files differ) Index: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/hover_APOD.png =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/hover_APOD.png 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/hover_APOD.png 2013-07-23 08:45:13 UTC (rev 4613) Property changes on: trunk/plugins/APODPlugin/APODPlugin/bin/Debug/Titan/hover_APOD.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt =================================================================== --- trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt 2013-07-19 20:09:50 UTC (rev 4612) +++ trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.csproj.FileListAbsolute.txt 2013-07-23 08:45:13 UTC (rev 4613) @@ -38,8 +38,11 @@ C:\Users\james.billings\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.pdb C:\Users\james.billings\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\PostDeploy.ps1 C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\PostDeploy.ps1 -C:\Users\jamesb\Documents\Visual Studio 2012\Projects\APODPlugin\APODPlugin\obj\Debug\APODPlugin.csprojResolveAssemblyReference.cache C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\DefaultWide\APODPlugin.xml C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Default\APODPlugin.xml C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Titan\APODPlugin.xml C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\PureVisionHD 1080\APODPlugin.xml +C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Titan\hover_APOD.png +C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\DefaultWide\hover_APOD.png +C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\Default\hover_APOD.png +C:\Users\jamesb\documents\visual studio 2012\Projects\APODPlugin\APODPlugin\bin\Debug\PureVisionHD 1080\hover_APOD.png Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.dll =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/APODPlugin.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/APODPlugin/APODPlugin/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) Added: trunk/plugins/APODPlugin/debug.log =================================================================== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |