|
From: <gre...@us...> - 2007-04-26 00:24:40
|
Revision: 345
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=345&view=rev
Author: gregmac45
Date: 2007-04-25 17:24:38 -0700 (Wed, 25 Apr 2007)
Log Message:
-----------
Initial Import
Added Paths:
-----------
trunk/plugins/OnlinePhotos/
trunk/plugins/OnlinePhotos/AssemblyInfo.cs
trunk/plugins/OnlinePhotos/Flickr.cs
trunk/plugins/OnlinePhotos/FlickrNet.dll
trunk/plugins/OnlinePhotos/MyClass.cs
trunk/plugins/OnlinePhotos/OnlinePhotos.csproj
trunk/plugins/OnlinePhotos/OnlinePhotos.sln
trunk/plugins/OnlinePhotos/OnlinePhotos.suo
trunk/plugins/OnlinePhotos/bin/
trunk/plugins/OnlinePhotos/bin/Debug/
trunk/plugins/OnlinePhotos/bin/Release/
trunk/plugins/OnlinePhotos/myonlinephotos.xml
trunk/plugins/OnlinePhotos/obj/
trunk/plugins/OnlinePhotos/obj/Debug/
trunk/plugins/OnlinePhotos/obj/Release/
Added: trunk/plugins/OnlinePhotos/AssemblyInfo.cs
===================================================================
--- trunk/plugins/OnlinePhotos/AssemblyInfo.cs (rev 0)
+++ trunk/plugins/OnlinePhotos/AssemblyInfo.cs 2007-04-26 00:24:38 UTC (rev 345)
@@ -0,0 +1,31 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Information about this assembly is defined by the following
+// attributes.
+//
+// change them to the information which is associated with the assembly
+// you compile.
+
+[assembly: AssemblyTitle("OnlinePhotos")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("OnlinePhotos")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// This sets the default COM visibility of types in the assembly to invisible.
+// If you need to expose a type to COM, use [ComVisible(true)] on that type.
+[assembly: ComVisible(false)]
+
+// The assembly version has following format :
+//
+// Major.Minor.Build.Revision
+//
+// You can specify all values by your own or you can build default build and revision
+// numbers with the '*' character (the default):
+
+[assembly: AssemblyVersion("1.0.*")]
Added: trunk/plugins/OnlinePhotos/Flickr.cs
===================================================================
--- trunk/plugins/OnlinePhotos/Flickr.cs (rev 0)
+++ trunk/plugins/OnlinePhotos/Flickr.cs 2007-04-26 00:24:38 UTC (rev 345)
@@ -0,0 +1,92 @@
+/*
+ * Created by SharpDevelop.
+ * User: GZamor1
+ * Date: 4/24/2007
+ * Time: 10:44 AM
+ *
+ * To change this template use Tools | Options | Coding | Edit Standard Headers.
+ */
+
+using System;
+using FlickrNet;
+using System.Collections.Generic;
+namespace OnlinePhotos
+{
+ /// <summary>
+ /// Description of Flickr.
+ /// </summary>
+ public class MyFlickr
+ {
+ //public static MyFlickr instance = new MyFlickr();
+ private static Flickr _flickr = new Flickr("e48ef053dd76717cd30544475e36b2a6");
+
+ public static String getUserId(String username)
+ {
+ String userId = String.Empty;
+ try
+ {
+ FoundUser user= _flickr.PeopleFindByUsername(username);
+ userId = user.UserId;
+ }
+ catch (Exception)
+ {
+ }
+ return userId;
+ }
+ public static List<MyPhoto> getUserPhotos(String username)
+ {
+ List<MyPhoto> myPhotoList = new List<MyPhoto>();
+ String userID = getUserId(username);
+ if (userID == String.Empty)
+ {
+ return myPhotoList;
+ }
+ Photos userPhotos = _flickr.PhotosSearch(userID, "");
+ return loadMyPhotoList(userPhotos);
+
+
+ }
+ public static List<MyPhoto> getInterestingPhotos(){
+ PhotoSearchExtras extras = new PhotoSearchExtras();
+ Photos photos = _flickr.InterestingnessGetList(extras,50,1);
+ return loadMyPhotoList(photos);
+ }
+ public static List<MyPhoto> getRecentPhotos()
+ {
+ Photos photos = _flickr.PhotosGetRecent();
+ return loadMyPhotoList(photos);
+ }
+ public static List<MyPhoto> getPhotosByTag(String tag)
+ {
+ Photos photos = _flickr.PhotosSearch(tag,"");
+ return loadMyPhotoList(photos);
+ }
+ public static List<MyPhoto> getPhotosByText(String text)
+ {
+ Photos photos = _flickr.PhotosSearchText(text, "");
+ return loadMyPhotoList(photos);
+ }
+ private static List<MyPhoto> loadMyPhotoList(Photos photos)
+ {
+ List<MyPhoto> myPhotoList = new List<MyPhoto>();
+ MyPhoto myPhoto;
+ foreach (Photo photo in photos.PhotoCollection)
+ {
+ myPhoto = new MyPhoto();
+ myPhoto.id = photo.PhotoId;
+ myPhoto.Title = photo.Title;
+ myPhoto.largeUrl = photo.LargeUrl;
+ myPhoto.mediumUrl = photo.MediumUrl;
+ myPhoto.smallUrl = photo.SmallUrl;
+ myPhoto.thumbnailUrl = photo.ThumbnailUrl;
+ myPhotoList.Add(myPhoto);
+ //photo.;
+ }
+
+ return myPhotoList;
+
+ }
+
+
+ }
+}
Added: trunk/plugins/OnlinePhotos/FlickrNet.dll
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/OnlinePhotos/FlickrNet.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/OnlinePhotos/MyClass.cs
===================================================================
--- trunk/plugins/OnlinePhotos/MyClass.cs (rev 0)
+++ trunk/plugins/OnlinePhotos/MyClass.cs 2007-04-26 00:24:38 UTC (rev 345)
@@ -0,0 +1,537 @@
+/*
+ * Created by SharpDevelop.
+ * User: GZamor1
+ * Date: 4/24/2007
+ * Time: 10:42 AM
+ *
+ * To change this template use Tools | Options | Coding | Edit Standard Headers.
+ */
+using System;
+using MediaPortal;
+using MediaPortal.Util;
+using MediaPortal.GUI.Library;
+using MediaPortal.Dialogs;
+using MediaPortal.GUI.Pictures;
+using System.Collections.Generic;
+using System.Xml;
+using System.Net;
+using System.Web;
+using System.ComponentModel;
+
+namespace OnlinePhotos
+{
+ public class MyPhoto
+ {
+ private String title;
+ public String Title
+ {
+ get
+ {
+ return title;
+ }
+ set
+ {
+ title = value;
+ ThumbName = Utils.GetFilename(Utils.GetThumb(value));
+ }
+ }
+ public String id;
+ public String thumbnailUrl;
+ public String largeUrl;
+ public String mediumUrl;
+ public String smallUrl;
+ public String ThumbName;
+ }
+
+ /// <summary>
+ /// Description of MyClass.
+ /// </summary>
+ public class MyOnlinePhotos : GUIWindow, ISetupForm
+ {
+ [SkinControlAttribute(2)]
+ protected GUIButtonControl btnViewAs = null;
+ [SkinControlAttribute(3)]
+ protected GUIButtonControl btnSlide = null;
+ [SkinControlAttribute(50)]
+ protected GUIFacadeControl facadeView = null;
+ private State _CurrentState = State.home;
+ protected View currentView = View.List;
+ protected List<MyPhoto> CurrentPhotoList;
+ protected bool _imagesDone = true;
+ public enum State
+ {
+ home = 0,
+ categories = 1,
+ videos = 2
+ }
+ public enum View
+ {
+ List = 0,
+ Icons = 1,
+ LargeIcons = 2,
+ FilmStrip = 3
+ }
+
+ public string PluginName()
+ {
+
+ return "Online Photos";
+
+ }
+
+ // Returns the description of the plugin is shown in the plugin menu
+
+ public string Description()
+ {
+
+ return "Flickr and Google Photo Plugin";
+
+ }
+
+ // Returns the author of the plugin which is shown in the plugin menu
+
+ public string Author()
+ {
+
+ return "GregMac45";
+
+ }
+
+ // 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 ID of windowplugin belonging to this setup
+
+ public int GetWindowId()
+ {
+
+ return GetID;
+
+ }
+
+ // Indicates if plugin is enabled by default;
+
+ public bool DefaultEnabled()
+ {
+
+ return true;
+
+ }
+
+ // indicates if a plugin has its own setup screen
+
+ public bool HasSetup()
+ {
+
+ return false;
+
+ }
+ public override int GetID
+ {
+ get
+ {
+ return 5757;
+ }
+ set
+ {
+ }
+ }
+
+ public override bool Init()
+ {
+ LoadSettings();
+ return Load(GUIGraphicsContext.Skin + @"\myonlinephotos.xml");
+
+ }
+ 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;
+ }
+ public bool ShowDefaultHome()
+ {
+ return true;
+ }
+ protected override void OnPageLoad()
+ {
+ if (_CurrentState == State.home)
+ {
+ //_log.Info("onPageLoad state home");
+ GUIPropertyManager.SetProperty("#header.label", "Online Photos");
+ //DisplaySites();
+ }
+ currentView = View.Icons;
+ ChangeFacadeView();
+
+
+ base.OnPageLoad();
+ }
+
+ protected override void OnPageDestroy(int new_windowId)
+ {
+
+ base.OnPageDestroy(new_windowId);
+ }
+
+ protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType)
+ {
+ if (control == btnViewAs)
+ {
+ ChangeFacadeView();
+ }
+ else if (control == btnSlide)
+ {
+ OnSlideShow();
+ }
+ }
+ public void DisplayInterestingFlickrPhotos()
+ {
+ CurrentPhotoList =
+ MyFlickr.getInterestingPhotos();
+ DisplayCurrentPhotos();
+ }
+ public void DisplayRecentFlickrPhotos()
+ {
+ CurrentPhotoList = MyFlickr.getRecentPhotos();
+ DisplayCurrentPhotos();
+ }
+ public void DisplayFlickrPhotosWithTags(String tags)
+ {
+ CurrentPhotoList = MyFlickr.getPhotosByTag(tags);
+ DisplayCurrentPhotos();
+ }
+ public void DisplayCurrentPhotos()
+ {
+ facadeView.Clear();
+ GUIListItem item;
+ int i = 0;
+ List<String> ImageList = new List<string>();
+ foreach (MyPhoto photo in CurrentPhotoList)
+ {
+ item = new GUIListItem(photo.Title);
+ item.Path = photo.mediumUrl;
+ item.ItemId = i;
+ item.RetrieveArt = false;
+ item.OnRetrieveArt += new MediaPortal.GUI.Library.GUIListItem.RetrieveCoverArtHandler(OnRetrieveCoverArt);
+ item.OnItemSelected += new MediaPortal.GUI.Library.GUIListItem.ItemSelectedHandler(item_OnItemSelected);
+ ImageList.Add(photo.mediumUrl);
+ Log.Info("setting photo to url " + photo.mediumUrl);
+ facadeView.Add(item);
+ GUIWindowManager.Process();
+ i++;
+
+ }
+ BackgroundWorker worker = new BackgroundWorker();
+
+ worker.DoWork += new DoWorkEventHandler(downloadImages);
+ worker.RunWorkerAsync(ImageList);
+
+ using (WaitCursor cursor = new WaitCursor())
+ {
+ while (_imagesDone == false)
+ {
+ GUIWindowManager.Process();
+ }
+ }
+
+ }
+ private String GetThumbnail(String lsUrl)
+ {
+ string lsThumb = MediaPortal.Util.Utils.GetThumb(lsUrl);
+ lsThumb = System.IO.Path.GetFileName(lsThumb);
+ string lsThumbsDir = "C:\\Temp\\";
+ if (System.IO.Directory.Exists(lsThumbsDir) == false)
+ {
+ System.IO.Directory.CreateDirectory(lsThumbsDir);
+ }
+ lsThumb = lsThumbsDir + lsThumb;
+ //Log.Info(lsThumb);
+ if (System.IO.File.Exists(lsThumb) == false)
+ {
+ String lsFilename = System.IO.Path.GetFileName(lsThumb);
+ //moLog.Info("Filename will be {0}", lsFilename);
+ MediaPortal.Util.Utils.DownLoadImage(lsUrl, lsThumb);
+ }
+ if (System.IO.File.Exists(lsThumb))
+ {
+ //facadeView[liIdx].IconImageBig = lsThumb;
+ return lsThumb;
+ }
+ else
+ {
+ return "";
+ //facadeView[liIdx].IconImageBig = "";
+ }
+ }
+ public void downloadImages(object sender, DoWorkEventArgs e)
+ {
+ _imagesDone = false;
+ List<String> imageList = (List<String>)e.Argument;
+ WebClient client = new WebClient();
+ int i=0;
+ foreach (String url in imageList)
+ {
+ client.DownloadFile(url, "C:\\Temp\\" + CurrentPhotoList[i].ThumbName + ".jpg");
+ facadeView[i].RetrieveArt = true;
+ facadeView[i].RefreshCoverArt();
+ i++;
+ }
+ _imagesDone = true;
+ }
+ void OnRetrieveCoverArt(GUIListItem item)
+ {
+ item.ThumbnailImage = "C:\\Temp\\" + CurrentPhotoList[item.ItemId].ThumbName + ".jpg";
+ }
+
+ private void item_OnItemSelected(GUIListItem item, GUIControl parent)
+ {
+ GUIFilmstripControl filmstrip = parent as GUIFilmstripControl;
+ if (filmstrip == null)
+ return;
+ filmstrip.InfoImageFileName = item.ThumbnailImage;
+ }
+
+ private void ChangeFacadeView()
+ {
+
+
+ switch (currentView)
+ {
+ case View.List:
+ currentView = View.Icons;
+ facadeView.View = GUIFacadeControl.ViewMode.SmallIcons;
+ break;
+ case View.Icons:
+ currentView = View.LargeIcons;
+ facadeView.View = GUIFacadeControl.ViewMode.LargeIcons;
+ break;
+ case View.LargeIcons:
+ currentView = View.FilmStrip;
+ facadeView.View = GUIFacadeControl.ViewMode.Filmstrip;
+ break;
+ case View.FilmStrip:
+ currentView = View.List;
+ facadeView.View = GUIFacadeControl.ViewMode.List;
+ break;
+ }
+ GUIControl.FocusControl(GetID, facadeView.GetID);
+
+ string strLine = String.Empty;
+ View view = currentView;
+ switch (view)
+ {
+ case View.List:
+ strLine = GUILocalizeStrings.Get(101);
+ break;
+ case View.Icons:
+ strLine = GUILocalizeStrings.Get(100);
+ break;
+ case View.LargeIcons:
+ strLine = GUILocalizeStrings.Get(417);
+ break;
+ case View.FilmStrip:
+ strLine = GUILocalizeStrings.Get(733);
+ break;
+ }
+ GUIControl.SetControlLabel(GetID, btnViewAs.GetID, strLine);
+
+ }
+ private void LoadSettings()
+ {
+ XmlDocument doc = new XmlDocument();
+ try
+ {
+ doc.Load("OnlinePhotoSettings.xml");
+ /*
+ XmlNode filter = doc.SelectSingleNode("//settings/filter");
+ String lsFilter = filter.InnerText;
+ msFilterArray = lsFilter.Split(new char[] { ',' });
+ if (msFilterArray.Length == 1 && msFilterArray[0] == "")
+ {
+ msFilterArray = null;
+ }
+ XmlNode thumbNode = doc.SelectSingleNode("//settings/thumbLocation");
+ msThumbLocation = thumbNode.InnerText;
+
+ //lsFilterArray
+ //Log.Write("filter value {0}",filter.InnerText);
+
+ XmlNode root = doc.SelectSingleNode("//settings/sites/site");
+ XmlNodeList nodeList;
+ nodeList = root.SelectNodes("//settings/sites/site");
+ List<Site> loSiteList = new List<Site>();
+ Site loSite;
+ XmlNodeList RssNodeList;
+ RssLink loRssData;
+ bool lbDonwloadDirSet = false;
+ foreach (XmlNode chileNode in nodeList)
+ {
+ loSite = new Site();
+
+ XmlNode node = chileNode.SelectSingleNode("name");
+ loSite.name = node.InnerText;
+
+ node = chileNode.SelectSingleNode("id");
+ loSite.id = node.InnerText;
+
+ node = chileNode.SelectSingleNode("user");
+ if (node != null)
+ loSite.username = node.InnerText;
+
+ node = chileNode.SelectSingleNode("password");
+ if (node != null)
+ loSite.password = node.InnerText;
+
+ node = chileNode.SelectSingleNode("confirmAge");
+ if (node != null)
+ loSite.confirmAge = node.InnerText == "yes";
+
+ //Console.WriteLine("site Node:{0}", loSite.ToString());
+ RssNodeList = chileNode.SelectNodes("rss");
+ foreach (XmlNode RssNode in RssNodeList)
+ {
+ loRssData = new RssLink();
+ //node = chileNode.SelectSingleNode("d");
+
+ loRssData.name = RssNode.Attributes["name"].InnerText;
+ try
+ {
+ loRssData.isDynamic = RssNode.Attributes["dynamic"].InnerText.Equals("yes");
+ Log.Info("Found a dynamic category for site {0}", loSite.name);
+ }
+ catch (Exception) { }
+ loRssData.url = RssNode.InnerText;
+ if (lbDonwloadDirSet == false && loSite.id == "99")
+ {
+ msDownloadDir = loRssData.url;
+ lbDonwloadDirSet = true;
+ }
+ //Console.WriteLine("rss Node:{0}", loRssData.ToString());
+ loSite.RssList.Add(loRssData.name, loRssData);
+ }
+ moSiteList.Add(loSite.id, loSite);
+ }
+ * */
+ }
+
+ catch (Exception e)
+ {
+ //moLog.Error(e);
+ Log.Error(e);
+ }
+ }
+ private void DisplaySites()
+ {
+ //facadeView.Clear();
+ GUIControl.ClearControl(GetID, facadeView.GetID);
+
+ GUIListItem loListItem;
+ //foreach (Site loSite in moSiteList.Values)
+ //{
+ loListItem = new GUIListItem("Flickr");
+ loListItem.Path = "1";
+ loListItem.IsFolder = true;
+ MediaPortal.Util.Utils.SetDefaultIcons(loListItem);
+ facadeView.Add(loListItem);
+
+ loListItem = new GUIListItem("Picasa Web");
+ loListItem.Path = "2";
+ loListItem.IsFolder = true;
+ MediaPortal.Util.Utils.SetDefaultIcons(loListItem);
+ facadeView.Add(loListItem);
+ //}
+ //GUIPropertyManager.SetProperty("#itemcount", facadeView.Count-1 + "");
+ }
+ private void LoadFlickrCategories()
+ {
+ GUIControl.ClearControl(GetID, facadeView.GetID);
+
+ GUIListItem loListItem;
+ loListItem = new GUIListItem("..");
+ loListItem.IsFolder = true;
+ MediaPortal.Util.Utils.SetDefaultIcons(loListItem);
+ facadeView.Add(loListItem);
+
+ loListItem = new GUIListItem("Interesting Photos");
+ loListItem.Path = "1";
+ loListItem.IsFolder = true;
+ MediaPortal.Util.Utils.SetDefaultIcons(loListItem);
+ facadeView.Add(loListItem);
+
+ loListItem = new GUIListItem("Recent Photos");
+ loListItem.Path = "2";
+ loListItem.IsFolder = true;
+ MediaPortal.Util.Utils.SetDefaultIcons(loListItem);
+ facadeView.Add(loListItem);
+
+ loListItem = new GUIListItem("My Photos");
+ loListItem.Path = "3";
+ loListItem.IsFolder = true;
+ MediaPortal.Util.Utils.SetDefaultIcons(loListItem);
+ facadeView.Add(loListItem);
+
+
+ }
+ void OnSlideShow()
+ {
+ OnSlideShow(0);
+ }
+
+ void OnSlideShow(int iStartItem)
+ {
+
+ GUISlideShow SlideShow = (GUISlideShow)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_SLIDESHOW);
+ if (SlideShow == null)
+ return;
+
+ SlideShow.Reset();
+
+ if ((iStartItem < 0) || (iStartItem > CurrentPhotoList.Count))
+ iStartItem = 0;
+ int i = iStartItem;
+ do
+ {
+ GUIListItem item = facadeView[i];
+ if (!item.IsFolder && !item.IsRemote)
+ {
+ SlideShow.Add(CurrentPhotoList[i].smallUrl);
+ }
+
+ i++;
+ if (i >= CurrentPhotoList.Count)
+ {
+ i = 0;
+ }
+ }
+ while (i != iStartItem);
+
+ if (SlideShow.Count > 0)
+ {
+ SlideShow.StartSlideShow();
+ GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_SLIDESHOW);
+ }
+ }
+ }
+}
\ No newline at end of file
Added: trunk/plugins/OnlinePhotos/OnlinePhotos.csproj
===================================================================
--- trunk/plugins/OnlinePhotos/OnlinePhotos.csproj (rev 0)
+++ trunk/plugins/OnlinePhotos/OnlinePhotos.csproj 2007-04-26 00:24:38 UTC (rev 345)
@@ -0,0 +1,63 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <ProjectGuid>{3ADCC0C7-F12C-47A2-95D1-0845399E9984}</ProjectGuid>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <OutputType>Library</OutputType>
+ <RootNamespace>OnlinePhotos</RootNamespace>
+ <AssemblyName>OnlinePhotos</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+ <OutputPath>bin\Debug\</OutputPath>
+ <DebugSymbols>True</DebugSymbols>
+ <DebugType>Full</DebugType>
+ <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+ <OutputPath>..\..\..\Program Files\Team MediaPortal\MediaPortal\Plugins\Windows\</OutputPath>
+ <DebugSymbols>False</DebugSymbols>
+ <DebugType>None</DebugType>
+ <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
+ <DefineConstants>TRACE</DefineConstants>
+ </PropertyGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+ <ItemGroup>
+ <Reference Include="Core">
+ <HintPath>..\..\MediaPortal\Core\bin\Release\Core.DLL</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="Databases">
+ <HintPath>..\..\MediaPortal\Databases\bin\Release\Databases.DLL</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="Dialogs">
+ <HintPath>..\..\MediaPortal\Dialogs\bin\Release\Dialogs.DLL</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="FlickrNet">
+ <HintPath>FlickrNet.dll</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Xml" />
+ <Reference Include="Utils">
+ <HintPath>..\..\MediaPortal\Utils\bin\Release\Utils.DLL</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="WindowPlugins">
+ <HintPath>..\..\MediaPortal\WindowPlugins\bin\Release\WindowPlugins.dll</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="AssemblyInfo.cs" />
+ <Compile Include="Flickr.cs" />
+ <Compile Include="MyClass.cs" />
+ </ItemGroup>
+</Project>
\ No newline at end of file
Added: trunk/plugins/OnlinePhotos/OnlinePhotos.sln
===================================================================
--- trunk/plugins/OnlinePhotos/OnlinePhotos.sln (rev 0)
+++ trunk/plugins/OnlinePhotos/OnlinePhotos.sln 2007-04-26 00:24:38 UTC (rev 345)
@@ -0,0 +1,24 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+# SharpDevelop 2.1.0.2429
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnlinePhotos", "OnlinePhotos.csproj", "{3ADCC0C7-F12C-47A2-95D1-0845399E9984}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestRunner", "..\TestRunner\TestRunner.csproj", "{1EE2BACD-3C01-495E-A06E-F739D649A1ED}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3ADCC0C7-F12C-47A2-95D1-0845399E9984}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3ADCC0C7-F12C-47A2-95D1-0845399E9984}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3ADCC0C7-F12C-47A2-95D1-0845399E9984}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3ADCC0C7-F12C-47A2-95D1-0845399E9984}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1EE2BACD-3C01-495E-A06E-F739D649A1ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1EE2BACD-3C01-495E-A06E-F739D649A1ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1EE2BACD-3C01-495E-A06E-F739D649A1ED}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1EE2BACD-3C01-495E-A06E-F739D649A1ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ EndGlobalSection
+EndGlobal
Added: trunk/plugins/OnlinePhotos/OnlinePhotos.suo
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/OnlinePhotos/OnlinePhotos.suo
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/OnlinePhotos/myonlinephotos.xml
===================================================================
--- trunk/plugins/OnlinePhotos/myonlinephotos.xml (rev 0)
+++ trunk/plugins/OnlinePhotos/myonlinephotos.xml 2007-04-26 00:24:38 UTC (rev 345)
@@ -0,0 +1,35 @@
+<window>
+ <id>4755</id>
+ <defaultcontrol>50</defaultcontrol>
+ <allowoverlay>yes</allowoverlay>
+ <define>#header.label:MyOnlinePhotos</define>
+ <controls>
+ <import>common.window.xml</import>
+ <import>common.facade.xml</import>
+ <control>
+ <description>group element</description>
+ <type>group</type>
+ <animation effect="fade" time="250">WindowOpen</animation>
+ <animation effect="fade" time="500">WindowClose</animation>
+ <animation effect="slide" time="250" start="-300,0">WindowOpen</animation>
+ <animation effect="slide" time="500" end="0,-300">WindowClose</animation>
+ <posX>60</posX>
+ <posY>97</posY>
+ <layout>StackLayout</layout>
+ <control>
+ <type>button</type>
+ <description>View button</description>
+ <id>2</id>
+ <onright>50</onright>
+ <label>101</label>
+ </control>
+ <control>
+ <type>button</type>
+ <description>slideshow button</description>
+ <id>3</id>
+ <onright>50</onright>
+ <label>Slideshow</label>
+ </control>
+ </control>
+ </controls>
+</window>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|