You can subscribe to this list here.
2007 |
Jan
(36) |
Feb
(79) |
Mar
(123) |
Apr
(95) |
May
(119) |
Jun
(172) |
Jul
(124) |
Aug
(100) |
Sep
(83) |
Oct
(52) |
Nov
(97) |
Dec
(87) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(131) |
Feb
(80) |
Mar
(163) |
Apr
(178) |
May
(73) |
Jun
(54) |
Jul
(106) |
Aug
(118) |
Sep
(50) |
Oct
(125) |
Nov
(100) |
Dec
(99) |
2009 |
Jan
(104) |
Feb
(99) |
Mar
(68) |
Apr
(81) |
May
(52) |
Jun
(87) |
Jul
(67) |
Aug
(33) |
Sep
(27) |
Oct
(37) |
Nov
(60) |
Dec
(116) |
2010 |
Jan
(82) |
Feb
(79) |
Mar
(38) |
Apr
(50) |
May
(45) |
Jun
(53) |
Jul
(23) |
Aug
(86) |
Sep
(22) |
Oct
(96) |
Nov
(97) |
Dec
(73) |
2011 |
Jan
(24) |
Feb
(45) |
Mar
(28) |
Apr
(31) |
May
(42) |
Jun
(25) |
Jul
|
Aug
(12) |
Sep
(28) |
Oct
(13) |
Nov
(43) |
Dec
(13) |
2012 |
Jan
(62) |
Feb
(28) |
Mar
(6) |
Apr
(16) |
May
(7) |
Jun
|
Jul
(16) |
Aug
(2) |
Sep
(1) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
2013 |
Jan
(5) |
Feb
|
Mar
(34) |
Apr
(9) |
May
(6) |
Jun
(10) |
Jul
(32) |
Aug
(8) |
Sep
(11) |
Oct
(35) |
Nov
(24) |
Dec
(22) |
2014 |
Jan
(44) |
Feb
(9) |
Mar
(9) |
Apr
(15) |
May
(25) |
Jun
(34) |
Jul
(16) |
Aug
(11) |
Sep
(7) |
Oct
(6) |
Nov
(1) |
Dec
(12) |
2015 |
Jan
(33) |
Feb
(19) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(5) |
From: <che...@us...> - 2007-06-28 17:50:57
|
Revision: 648 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=648&view=rev Author: chef_koch Date: 2007-06-28 10:50:10 -0700 (Thu, 28 Jun 2007) Log Message: ----------- If a listControl contains only 1 item, the itemcount shows now '1 Object' instead of '1 Objects' needs latest svn Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-27 22:28:10 UTC (rev 647) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-28 17:50:10 UTC (rev 648) @@ -973,8 +973,8 @@ if (lastApp != null) facadeView.Sort(new ProgramSort(CurrentSortMethod, CurrentSortAsc)); - string itemCountText = String.Format("{0} {1}", TotalItems, GUILocalizeStrings.Get(632)); - GUIPropertyManager.SetProperty("#itemcount", itemCountText); + //set object count label + GUIPropertyManager.SetProperty("#itemcount", Utils.GetObjectCountLabel(TotalItems)); if (selectedItemIndex >= 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-27 22:28:27
|
Revision: 647 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=647&view=rev Author: northern_sky Date: 2007-06-27 15:28:10 -0700 (Wed, 27 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-27 21:53:13 UTC (rev 646) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-27 22:28:10 UTC (rev 647) @@ -34,10 +34,8 @@ ---------------- BUGS: - AllGame-Import - -> Do we want to import the Name of the game, too? :Will add some more options under save later.. so user can choose to owerwrite title. - -> some decsriptions contain characters which are not displayed in details view, try to look up 'World Series of Poker: Tournament of Champions' <-- PC Game - More info about this one. You mean the file-details view in config tool?. try, but can see all values here with that game. - + -> Do we want to import the Name of the game, too? --Will add some more options under save later.. so user can choose to overwrite title. + -> strange char in overview... will look into this later on noticed that to now "World Series of Poker: Tournament of Champions" - fileinfodetails : fixup - plugin is always starting in Genre View -> not sure, i will have a look at it. -chef This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-27 21:53:16
|
Revision: 646 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=646&view=rev Author: northern_sky Date: 2007-06-27 14:53:13 -0700 (Wed, 27 Jun 2007) Log Message: ----------- more ramblings Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-27 21:50:31 UTC (rev 645) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-27 21:53:13 UTC (rev 646) @@ -34,10 +34,10 @@ ---------------- BUGS: - AllGame-Import - -> rating is not imported correctly - -> Do we want to import the Name of the game, too? - -> a " in Title cause display issues, try to look up 'Grand Theft Auto San Andreas' <-- PC Game + -> Do we want to import the Name of the game, too? :Will add some more options under save later.. so user can choose to owerwrite title. -> some decsriptions contain characters which are not displayed in details view, try to look up 'World Series of Poker: Tournament of Champions' <-- PC Game + More info about this one. You mean the file-details view in config tool?. try, but can see all values here with that game. + - fileinfodetails : fixup - plugin is always starting in Genre View -> not sure, i will have a look at it. -chef @@ -128,10 +128,9 @@ -myEmu maybe... there already is myEmulators--- but this would be the most fitting maybe, as i plan to add a lot of preconfigs for this kind of stuff. -myProgramsV2 ...boring -myProgramsRemix -- nope --myOHmy -- i'm tired and need to go to bed +What do you feel is the best? - - What about an BackUp feature? - Don't worry should not backup all stuff, just save in any fileformat you want: - filepath and filename: to identify the file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-27 21:50:42
|
Revision: 645 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=645&view=rev Author: northern_sky Date: 2007-06-27 14:50:31 -0700 (Wed, 27 Jun 2007) Log Message: ----------- fixed " and rating. Adda basic lexicon method for htmlconvert char that we will fill with some more later Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/AllGameScraper.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/AllGameScraper.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/AllGameScraper.cs 2007-06-27 15:10:29 UTC (rev 644) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/AllGameScraper.cs 2007-06-27 21:50:31 UTC (rev 645) @@ -48,10 +48,10 @@ #region Variables List<FileItemInfo> gameList = new List<FileItemInfo>(); //list of games - + string allGameUrlStart = "http://www.allgame.com/cg/agg.dll"; //first part of url string allGameUrlEnd = "P=agg&opt1=31&sql="; - + string regexpTableRow = @"((<tr\sclass=""visible""\sid=""trlink"").*?</tr>)"; string regexpTableCell = @"<td\s.*?</td>"; string regexpRelevance = @"width:(?<relevance>\d+)p"; @@ -61,7 +61,8 @@ string regexpGameStyle = @">(?<style>.*?)<"; string regexpGenre = @">(?<genre>.*?)<"; string regexpPlatform = @">(?<platform>.*?)<"; - string regexpRating = @"st_r(?<rating>\d)"; + //string regexpRating = @"st_r(?<rating>\d)"; + string regexpRating = @"title="""+@"(?<rating>((\d\.\d)|(\d)))"; string regexpDeveloper = @"(developer).*?<a(.*?)>(?<developer>.*?)</a>"; string regexpBoxart = @"http://166.90.203.162/00/agg/cov200/.*?jpg"; string regexpSynopsis = @"synopsis.*?<p>(?<synopsis>.*?)</p>"; @@ -129,7 +130,7 @@ while (match.Success) { - tableCell[z] = match.Value; + tableCell[z] = ConvertHtmlSpecialChar(match.Value); z++; match = match.NextMatch(); } @@ -181,6 +182,21 @@ match = Regex.Match(tableData[8], regexpRating, RegexOptions.IgnoreCase); newGame.RatingOrig = match.Groups["rating"].Value; + //the rating can be 0-5 , but also in halfstepmodes... so to fit into old model + //with 10 rating and no decimals, we just double the value. + + if (newGame.RatingOrig != "") + { + newGame.RatingOrig = (newGame.RatingOrig).Replace('.', ','); + } + else + { + newGame.RatingOrig = "0"; + } + + newGame.RatingNorm = (int)(Convert.ToDouble(newGame.RatingOrig) * 2); + + newGame.RelevanceNorm = (ProgramUtils.StringToInteger(newGame.RelevanceOrig, -1) + 44); gameList.Add(newGame); @@ -264,6 +280,26 @@ #region Private Methods + /// <summary> + /// Supposed to be an ever growing lexicon for replacing html special chars.. + /// Fill out this methtod as needed. + /// </summary> + /// <param name="inputString"></param> + /// <param name="outputString"></param> + /// <returns></returns> + private string ConvertHtmlSpecialChar(string inputString) + { + + //" + inputString = Regex.Replace(inputString, """, "\""); + + //& + inputString = Regex.Replace(inputString, "&", "&"); + //..add some more if needed... + return inputString; + } + + private string PostHTTP(string strURL, string strData) { string page = string.Empty; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-27 15:10:35
|
Revision: 644 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=644&view=rev Author: chef_koch Date: 2007-06-27 08:10:29 -0700 (Wed, 27 Jun 2007) Log Message: ----------- first try to using MP's thumb dir, no change in config, so it is still possible to change that by user Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-26 20:47:39 UTC (rev 643) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-27 15:10:29 UTC (rev 644) @@ -24,14 +24,16 @@ #endregion using System; -using System.IO; using System.Collections.Generic; using System.Diagnostics; +using System.IO; using System.Xml; using SQLite.NET; + +using MediaPortal.Configuration; +using MediaPortal.GUI.Library; +using MediaPortal.Player; using MediaPortal.Ripper; -using MediaPortal.Player; -using MediaPortal.GUI.Library; using MediaPortal.Util; using GUIPrograms; @@ -128,6 +130,20 @@ get { return filename; } set { filename = value; } } + public string Imagefile + { + get + { + if (File.Exists(imageFile)) + return imageFile; + else + return MediaPortal.Util.Utils.GetCoverArtName( + Config.GetSubFolder(Config.Dir.Thumbs, @"MyProgramsAlt"), + this.Title + ); + } + set { imageFile = value; } + } public string Arguments { @@ -257,11 +273,6 @@ imageDirs[i] = imageDirs[i].TrimEnd('\\'); } } - public string Imagefile - { - get { return imageFile; } - set { imageFile = value; } - } public string Source { get { return sourceFile; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-26 20:47:43
|
Revision: 643 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=643&view=rev Author: northern_sky Date: 2007-06-26 13:47:39 -0700 (Tue, 26 Jun 2007) Log Message: ----------- some bits Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-26 20:34:51 UTC (rev 642) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-26 20:47:39 UTC (rev 643) @@ -61,7 +61,6 @@ DB redesign/restructure: - small changes - use parameters in queries?? heah? ;) could you explain this more? =) we take it on icq=) - - only saving filename without " . We add them if use qoutes is enabled when we create the procInfo ThumbnailSupport: - [low] rating: thumbs for 0-10 maybe as stylish numbers or maybe as smileys :( -> :| -> :), so that the user could choose it for himself @@ -80,6 +79,7 @@ --------------------- Comment: lets fix some more of the above issues and then head for these? +--------------------------------------------------------------------------------- - How do we want to handle images in future? - Currently it is really strange for example if we need to recreate the db from the scratch, you always have to set up the whole stuff. What do you think about it, i know how we can handle most of these stuff. It's just a question, whether we agree both to it. ;) @@ -108,8 +108,10 @@ cons: - it's a bit coding work ;) - after renaming an item, file must be renamed, too --> can also be don by code +-------------------------------------------------------------------------------------- +Above: mabey add an advanced option for the user. In short, allowing a merge between "easy setup" (as above) +and total control filepaths etc. - - What should be the name for the plugin, when we will release it? - Imo MyProgramsAlt sounds a bit uggly. I think it should not be too long and complicated. - MyProgramsV2 @@ -122,7 +124,14 @@ What about using a complete new name? something with Games or Emu? +-myGemu --nahh +-myEmu maybe... there already is myEmulators--- but this would be the most fitting maybe, as i plan to add a lot of preconfigs for this kind of stuff. +-myProgramsV2 ...boring +-myProgramsRemix -- nope +-myOHmy -- i'm tired and need to go to bed + + - What about an BackUp feature? - Don't worry should not backup all stuff, just save in any fileformat you want: - filepath and filename: to identify the file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-26 20:34:54
|
Revision: 642 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=642&view=rev Author: northern_sky Date: 2007-06-26 13:34:51 -0700 (Tue, 26 Jun 2007) Log Message: ----------- DB: - 3 fields removed (external_id,manualfilename,shortitle) + code - no more quotes around filename in db,parsed instead Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemList.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/GamebaseImport.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -49,7 +49,6 @@ int appID; int fatherID; string title; - string shortTitle; string filename; string arguments; @@ -123,11 +122,7 @@ get { return title; } set { title = value; } } - public string ShortTitle - { - get { return shortTitle; } - set { shortTitle = value; } - } + public string Filename { get { return filename; } @@ -340,7 +335,6 @@ appID = -1; fatherID = -1; title = ""; - shortTitle = ""; filename = ""; arguments = ""; windowStyle = ProcessWindowStyle.Normal; @@ -436,9 +430,9 @@ // filename of the application procStart.FileName = this.Filename; - // avoid double quotes around the filename-argument..... + // double quotes around the filename-argument..... if (UseQuotes) - curFilename = "\"" + (curFileItem.Filename.TrimStart('\"')).TrimEnd('\"') + "\""; + curFilename = "\"" + curFileItem.Filename + "\""; // set the arguments: one of the arguments is the fileitem-filename if (this.Arguments.Contains("%FILEnoPATHnoEXT%")) @@ -463,7 +457,14 @@ { // application has no launch-file // => try to make a correct launch using the current FILE object - procStart.FileName = curFileItem.Filename; + if (UseQuotes) + { + procStart.FileName = "\"" + curFileItem.Filename + "\""; + } + else + { + procStart.FileName = curFileItem.Filename; + } // set WorkingDirectory if (this.StartupDir == "") @@ -859,7 +860,6 @@ appid, fatherID, title, - shorttitle, filename, arguments, windowstyle, @@ -888,7 +888,6 @@ '"+ AppID + @"', '"+ FatherID + @"', '"+ ProgramUtils.Encode(Title) +@"', - '"+ ProgramUtils.Encode(ShortTitle) +@"', '"+ ProgramUtils.Encode(Filename) +@"', '"+ ProgramUtils.Encode(Arguments) + @"', '"+ ProgramUtils.WindowStyleToStr(WindowStyle) +@"', @@ -938,7 +937,6 @@ tblApplicationItem SET title = '" + ProgramUtils.Encode(Title) + @"', - shorttitle = '" + ProgramUtils.Encode(ShortTitle) + @"', filename = '" + ProgramUtils.Encode(Filename) + @"', arguments = '" + ProgramUtils.Encode(Arguments) + @"', windowstyle = '" + ProgramUtils.WindowStyleToStr(WindowStyle) + @"', @@ -1114,7 +1112,6 @@ this.AppID = sourceApp.AppID; this.FatherID = sourceApp.FatherID; this.Title = sourceApp.Title; - this.ShortTitle = sourceApp.ShortTitle; this.Filename = sourceApp.Filename; this.Arguments = sourceApp.Arguments; this.WindowStyle = sourceApp.WindowStyle; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -156,15 +156,10 @@ curFile.Title = fileInfo.Name; curFile.Title = curFile.TitleNormalized; curFile.Filename = fileInfo.FullName; - if (this.UseQuotes) - { - curFile.Filename = "\"" + curFile.Filename + "\""; - } curFile.Imagefile = GetThumbsFile(fileInfo, curFile.TitleNormalized); // not imported properties => set default values - curFile.ManualFilename = ""; curFile.LastTimeLaunched = DateTime.MinValue; curFile.LaunchCount = 0; curFile.Write(); @@ -186,14 +181,9 @@ this.Files.Load(AppID, ""); foreach (FileItem DBfile in this.Files) { - if (this.UseQuotes && !DBfile.IsFolder) - { - TheFileName = DBfile.Filename.Substring(1, DBfile.Filename.Length - 2); - } - else - { - TheFileName = DBfile.Filename; - } + + TheFileName = DBfile.Filename; + if (!DBfile.IsFolder) { if (!File.Exists(TheFileName)) { DBfile.Delete(); } @@ -224,8 +214,7 @@ foreach (FileItem DBfile in this.Files) { - if ((((this.UseQuotes) && (DBfile.Filename == "\"" + fileInDir.FullName + "\"")) - || ((!this.UseQuotes) && (DBfile.Filename == fileInDir.FullName)))) + if (DBfile.Filename == fileInDir.FullName) { FileExists = true; break;//ugly Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemList.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemList.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemList.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -61,7 +61,6 @@ newApp.AppID = ProgramUtils.GetIntDef(results, recordIndex, "appid", -1); newApp.FatherID = ProgramUtils.GetIntDef(results, recordIndex, "fatherID", -1); newApp.Title = ProgramUtils.Get(results, recordIndex, "title"); - newApp.ShortTitle = ProgramUtils.Get(results, recordIndex, "shorttitle"); newApp.Filename = ProgramUtils.Get(results, recordIndex, "filename"); newApp.Arguments = ProgramUtils.Get(results, recordIndex, "arguments"); newApp.WindowStyle = ProgramUtils.GetProcessWindowStyle(results, recordIndex, "windowstyle"); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -46,8 +46,9 @@ public class DatabaseHandler { public static SQLiteClient sqlDB = null; - static ApplicationItemList applicationItemList = null; + static ApplicationItemList dbHandlerApplicationItemList = null; static private ProgramViewHandler viewHandler = null; + private const string DATABASEFILE = "myProgramsAltDatabaseV1.db3"; // singleton. Dont allow any instance of this class private DatabaseHandler() { } @@ -63,8 +64,8 @@ } catch (Exception) { } - sqlDB = new SQLiteClient(Config.GetFile(Config.Dir.Database, "myProgramsAltDatabaseV1.db3")); - MediaPortal.Database.DatabaseUtility.SetPragmas(sqlDB); + sqlDB = new SQLiteClient(Config.GetFile(Config.Dir.Database, DATABASEFILE )); + DatabaseUtility.SetPragmas(sqlDB); // make sure the DB-structure is complete CreateDBTables(); @@ -74,14 +75,13 @@ { Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); } - ViewHandler = new ProgramViewHandler(); - applicationItemList = new ApplicationItemList(sqlDB, new ApplicationItem.FilelinkLaunchEventHandler(LaunchFilelink)); + dbHandlerApplicationItemList = new ApplicationItemList(sqlDB, new ApplicationItem.FilelinkLaunchEventHandler(LaunchFilelink)); } static void LaunchFilelink(FilelinkItem curLink, bool MPGUIMode) { - ApplicationItem targetApp = applicationItemList.GetAppByID(curLink.TargetAppID); + ApplicationItem targetApp = dbHandlerApplicationItemList.GetAppByID(curLink.TargetAppID); if (targetApp != null) { targetApp.LaunchFile(curLink, MPGUIMode); @@ -97,8 +97,8 @@ if (sqlDB == null) return false; - DatabaseUtility.AddTable(sqlDB, "tblApplicationItem", "CREATE TABLE tblApplicationItem (appid integer primary key, fatherID integer, title text, shorttitle text, filename text, arguments text, windowstyle text, startupdir text, useshellexecute text, usequotes text, source_type text, source text, imagefile text, filedirectory text, imagedirectory text, validextensions text, enabled text, importvalidimagesonly text, iposition integer, enableGUIRefresh text, GUIRefreshPossible text, contentID integer, systemdefault text, waitforexit text, preLaunch text, postLaunch text)"); - DatabaseUtility.AddTable(sqlDB, "tblFileItem", "CREATE TABLE tblFileItem (fileid integer primary key, appid integer, title text, filename text, imagefile text, mainGenre text, subGenre text, country text, manufacturer text, year integer, rating integer, overview text, system text, import_flag integer, manualfilename text, lastTimeLaunched text, launchcount integer, isfolder text, external_id integer, uppertitle text, tagdata text, categorydata text, gameInfoUrl text)"); + DatabaseUtility.AddTable(sqlDB, "tblApplicationItem", "CREATE TABLE tblApplicationItem (appid integer primary key, fatherID integer, title text, filename text, arguments text, windowstyle text, startupdir text, useshellexecute text, usequotes text, source_type text, source text, imagefile text, filedirectory text, imagedirectory text, validextensions text, enabled text, importvalidimagesonly text, iposition integer, enableGUIRefresh text, GUIRefreshPossible text, contentID integer, systemdefault text, waitforexit text, preLaunch text, postLaunch text)"); + DatabaseUtility.AddTable(sqlDB, "tblFileItem", "CREATE TABLE tblFileItem (fileid integer primary key, appid integer, title text, filename text, imagefile text, mainGenre text, subGenre text, country text, manufacturer text, year integer, rating integer, overview text, system text, import_flag integer, lastTimeLaunched text, launchcount integer, isfolder text, uppertitle text, tagdata text, categorydata text, gameInfoUrl text)"); DatabaseUtility.AddTable(sqlDB, "tblFilterItem", "CREATE TABLE tblFilterItem (appid integer, grouperAppID integer, fileID integer, filename text, tag integer)"); DatabaseUtility.AddTable(sqlDB, "tblSetting", "CREATE TABLE tblSetting (settingid integer primary key, key text, value text)"); @@ -109,6 +109,7 @@ return true; } + #region dbsettings static public string ReadSetting(string Key) { SQLiteResultSet results; @@ -188,6 +189,7 @@ { sqlDB.Execute("DELETE FROM tblSetting WHERE key = '" + Key + "'"); } + #endregion dbsettings public static ProgramViewHandler ViewHandler { @@ -200,7 +202,7 @@ { get { - return applicationItemList; + return dbHandlerApplicationItemList; } } } Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -54,8 +54,8 @@ applicationArgumentsTextBox.Text = curApp.Arguments; SetWindowStyle(curApp.WindowStyle); startupDirComboBox.Text = curApp.StartupDir; - shellexecuteCheckBox.Checked = (curApp.UseShellExecute); - quoteCheckBox.Checked = (curApp.UseQuotes); + shellexecuteCheckBox.Checked = curApp.UseShellExecute; + quoteCheckBox.Checked = curApp.UseQuotes; waitExitCheckBox.Checked = (curApp.WaitForExit); applicationImageTextBox.Text = curApp.Imagefile; allowRefreshCheckBox.Checked = curApp.EnableGUIRefresh; @@ -71,9 +71,9 @@ curApp.Arguments = applicationArgumentsTextBox.Text; curApp.WindowStyle = GetSelectedWindowStyle(); curApp.StartupDir = startupDirComboBox.Text; - curApp.UseShellExecute = (shellexecuteCheckBox.Checked); - curApp.UseQuotes = (quoteCheckBox.Checked); - curApp.WaitForExit = (waitExitCheckBox.Checked); + curApp.UseShellExecute = shellexecuteCheckBox.Checked; + curApp.UseQuotes = quoteCheckBox.Checked; + curApp.WaitForExit = waitExitCheckBox.Checked; curApp.SourceType = ApplicationType.DIRCACHE; curApp.Imagefile = applicationImageTextBox.Text; curApp.EnableGUIRefresh = (allowRefreshCheckBox.Checked); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -86,9 +86,9 @@ curApp.Arguments = this.applicationArgumentsTextBox.Text; curApp.WindowStyle = GetSelectedWindowStyle(); curApp.StartupDir = this.startupDirComboBox.Text; - curApp.UseShellExecute = (this.shellexecuteCheckBox.Checked); - curApp.UseQuotes = (this.quoteCheckBox.Checked); - curApp.WaitForExit = (this.waitExitCheckBox.Checked); + curApp.UseShellExecute = this.shellexecuteCheckBox.Checked; + curApp.UseQuotes = this.quoteCheckBox.Checked; + curApp.WaitForExit = this.waitExitCheckBox.Checked; curApp.SourceType = ApplicationType.GAMEBASE; curApp.Imagefile = this.applicationImageTextBox.Text; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -60,11 +60,10 @@ int rating; string overview; string system; - string manualFilename; DateTime lastTimeLaunched; int launchCount; - int extFileID; + string tagData; string categoryData; bool isFolder; @@ -104,11 +103,9 @@ rating = -1; overview = ""; system = ""; - manualFilename = ""; isFolder = false; lastTimeLaunched = DateTime.MinValue; launchCount = 0; - extFileID = -1; tagData = ""; categoryData = ""; gameInfoURL = string.Empty; @@ -315,17 +312,7 @@ system = value; } } - public string ManualFilename - { - get - { - return manualFilename; - } - set - { - manualFilename = value; - } - } + public DateTime LastTimeLaunched { get @@ -349,17 +336,7 @@ } } - public int ExtFileID - { - get - { - return extFileID; - } - set - { - extFileID = value; - } - } + public string TagData { get @@ -575,11 +552,9 @@ rating, overview, system, - manualfilename, lastTimeLaunched, launchcount, isfolder, - external_id, uppertitle, tagdata, categorydata, @@ -601,11 +576,9 @@ '" + Rating+ @"', '" + ProgramUtils.Encode(Overview)+ @"', '" + ProgramUtils.Encode(System_)+ @"', - '" + ProgramUtils.Encode(ManualFilename)+ @"', '" + LastTimeLaunched.ToString()+ @"', '" + LaunchCount.ToString()+ @"', '" + ProgramUtils.BooleanToStr(IsFolder)+ @"', - '" + ExtFileID+ @"', '" + ProgramUtils.Encode(Title.ToUpper())+ @"', '" + ProgramUtils.Encode(TagData)+ @"', '" + ProgramUtils.Encode(CategoryData))+ @"', Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -83,7 +83,6 @@ newFile.Rating = ProgramUtils.GetIntDef(results, iRecord, "rating", 5); newFile.Overview = ProgramUtils.Get(results, iRecord, "overview"); newFile.System_ = ProgramUtils.Get(results, iRecord, "system"); - newFile.ExtFileID = ProgramUtils.GetIntDef(results, iRecord, "external_id", -1); newFile.LastTimeLaunched = ProgramUtils.GetDateDef(results, iRecord, "lastTimeLaunched", DateTime.MinValue); newFile.LaunchCount = ProgramUtils.GetIntDef(results, iRecord, "launchcount", 0); newFile.IsFolder = ProgramUtils.GetBool(results, iRecord, "isfolder"); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -63,7 +63,6 @@ newLink.Rating = ProgramUtils.GetIntDef(results, iRecord, "rating", 5); newLink.Overview = ProgramUtils.Get(results, iRecord, "overview"); newLink.System_ = ProgramUtils.Get(results, iRecord, "system"); - newLink.ExtFileID = ProgramUtils.GetIntDef(results, iRecord, "external_id", -1); newLink.LastTimeLaunched = ProgramUtils.GetDateDef(results, iRecord, "lastTimeLaunched", DateTime.MinValue); newLink.LaunchCount = ProgramUtils.GetIntDef(results, iRecord, "launchcount", 0); newLink.IsFolder = ProgramUtils.GetBool(results, iRecord, "isfolder"); @@ -102,12 +101,10 @@ overview, system, import_flag, - manualFilename, lastTimeLaunched, launchCount, - isFolder, - external_id - + isFolder + FROM tblFileItem f, tblFilterItem fi Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/GamebaseImport.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/GamebaseImport.cs 2007-06-26 19:02:52 UTC (rev 641) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Imports/GamebaseImport.cs 2007-06-26 20:34:51 UTC (rev 642) @@ -89,7 +89,6 @@ curFile.Overview = myReader["MemoText"].ToString(); curFile.System_ = applicationItem.Title; // not imported properties => set default values - curFile.ManualFilename = ""; curFile.LastTimeLaunched = DateTime.MinValue; curFile.LaunchCount = 0; curFile.Write(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-26 19:02:54
|
Revision: 641 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=641&view=rev Author: northern_sky Date: 2007-06-26 12:02:52 -0700 (Tue, 26 Jun 2007) Log Message: ----------- query working again (i hope=) Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs 2007-06-26 13:28:59 UTC (rev 640) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FilelinkList.cs 2007-06-26 19:02:52 UTC (rev 641) @@ -75,7 +75,7 @@ if (sqlDB == null) return; try - { + { Clear(); if (null == sqlDB) return; @@ -84,9 +84,43 @@ // filePath = strPath; // applicationItem. // SPECIAL: the current application IS NOT the application with the launchinfo! - strSQL = String.Format( - "SELECT fi.appid AS targetappid, fi.grouperappid AS grouperappid, f.fileid AS fileid, title, uppertitle, f.filename as filename, imagefile, mainGenre, subGenre, country, manufacturer, YEAR, rating, overview, SYSTEM, import_flag, manualfilename, lasttimelaunched, launchcount, isfolder, external_id FROM tblFileItem f, tblFilterItem fi WHERE f.fileid = fi.fileid AND grouperappid = {0} ORDER BY fileName, uppertitle", nAppID); - results = sqlDB.Execute(strSQL); + strSQL =@" + SELECT + fi.appid AS targetAppId, + fi.grouperAppId AS grouperAppId, + f.fileId AS fileId, + title, + upperTitle, + f.filename AS filename, + imagefile, + mainGenre, + subGenre, + country, + manufacturer, + year, + rating, + overview, + system, + import_flag, + manualFilename, + lastTimeLaunched, + launchCount, + isFolder, + external_id + + FROM + tblFileItem f, + tblFilterItem fi + + WHERE + f.fileId = fi.fileId + AND + grouperAppId = " + nAppID + @" + + ORDER BY f.fileName, uppertitle + "; + + results = sqlDB.Execute(strSQL); if (results.Rows.Count == 0) return; for (int iRow = 0; iRow < results.Rows.Count; iRow++) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-26 13:29:01
|
Revision: 640 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=640&view=rev Author: chef_koch Date: 2007-06-26 06:28:59 -0700 (Tue, 26 Jun 2007) Log Message: ----------- added many new ideas Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-26 00:47:40 UTC (rev 639) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-26 13:28:59 UTC (rev 640) @@ -33,8 +33,14 @@ .: To-do next :. ---------------- BUGS: - - AllGame-Import: rating is not imported correctly + - AllGame-Import + -> rating is not imported correctly + -> Do we want to import the Name of the game, too? + -> a " in Title cause display issues, try to look up 'Grand Theft Auto San Andreas' <-- PC Game + -> some decsriptions contain characters which are not displayed in details view, try to look up 'World Series of Poker: Tournament of Champions' <-- PC Game - fileinfodetails : fixup + - plugin is always starting in Genre View + -> not sure, i will have a look at it. -chef - cleanup for old/obsolete view/sort/db code -> ApplicationItem.cs: old db-sort code (replaced by ProgramSort) -> remove (maybe) obsolete DatabaseSorter.cs, replaced by ProgramSort.cs @@ -74,7 +80,56 @@ --------------------- Comment: lets fix some more of the above issues and then head for these? + - How do we want to handle images in future? - +Currently it is really strange for example if we need to recreate the db from the scratch, you always have to set up the whole stuff. +What do you think about it, i know how we can handle most of these stuff. It's just a question, whether we agree both to it. ;) +-> ApplicationItems + - Filename: for the image of ApplicationItem is parsed by ApplicationItem Title + - Filepath: GetSubfolder(Config.Dir.Thumbs, "MyProgramsAlt") + - database: remove 'imagefile' in tblApplicationItem + - config: remove the App.Picture label and textbox + maybe add a label as a hint, which the contain the filename, the plugin is searching for + this sample is created on the fly by Title + Example: Nintendo 64 - "C:\Program Files\Team MediaPortal\Thumbs\MyProgramsAlt\Nintendo 64.png" +-> FileItems + - Filename: for the image of FileItem is parsed by FileItem Title, and is only the base filename, + this means that we can append out counter _1 _2 or anything else to have more than image per fileitem + - Filepath: GetSubfolder(Config.Dir.Thumbs, @"MyProgramsAlt\" + FatherApplicationItemTitle) + - database: remove 'imagefile' in tblFileItem + - config: remove the image label and textbox in fileDetailsForm + maybe add a label as a hint, which the contain two sample filenames, the plugin is searching for + these samples are created on the fly by Title + Example: Nintendo 64 Mario Kart 64 - "C:\Program Files\Team MediaPortal\Thumbs\MyProgramsAlt\Nintendo 64\Mario Kart 64_1.png" + "C:\Program Files\Team MediaPortal\Thumbs\MyProgramsAlt\Nintendo 64\Mario Kart 64_2.png" + +pros: - no need to config paths for imagesDirs, appitems or fileitems + - no need to store the paths in database -> which is not working correct atm + +cons: - it's a bit coding work ;) + - after renaming an item, file must be renamed, too --> can also be don by code + + + - What should be the name for the plugin, when we will release it? - +Imo MyProgramsAlt sounds a bit uggly. I think it should not be too long and complicated. + - MyProgramsV2 + - MyProgramsAlt + - MyProgramsAlternative + - NewMyPrograms + - NewPrograms + ..... + could contain: new, alt +What about using a complete new name? + something with Games or Emu? + + + - What about an BackUp feature? - +Don't worry should not backup all stuff, just save in any fileformat you want: + - filepath and filename: to identify the file + - Launchcount + - LastTimeLaunched + + Add some more specific emulator support.. - using system and emulator ids??? can be used for - filter in fileinfoscraperForm This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-26 00:47:42
|
Revision: 639 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=639&view=rev Author: chef_koch Date: 2007-06-25 17:47:40 -0700 (Mon, 25 Jun 2007) Log Message: ----------- added PM3 skin-file Modified Paths: -------------- trunk/plugins/MySimon/readme.txt Added Paths: ----------- trunk/plugins/MySimon/Release/skin/Project Mayhem 3/ trunk/plugins/MySimon/Release/skin/Project Mayhem 3/MySimon.xml Added: trunk/plugins/MySimon/Release/skin/Project Mayhem 3/MySimon.xml =================================================================== --- trunk/plugins/MySimon/Release/skin/Project Mayhem 3/MySimon.xml (rev 0) +++ trunk/plugins/MySimon/Release/skin/Project Mayhem 3/MySimon.xml 2007-06-26 00:47:40 UTC (rev 639) @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<window> + <id>04071975</id> + <defaultcontrol>2</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <autohidetopbar>yes</autohidetopbar> + <controls> + <import>common.time.xml</import> + <control> + <description>BackGround</description> + <type>image</type> + <id>1</id> + <width>720</width> + <height>576</height> + <texture>background3.png</texture> + </control> + <control> + <description>header label</description> + <type>label</type> + <id>1</id> + <posX>190</posX> + <posY>70</posY> + <label>#header_label</label> + <font>font18</font> + <align>Left</align> + <textcolor>ffffffff</textcolor> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + <control> + <description>button group</description> + <type>group</type> + <animation>FlyInFromLeft</animation> + <posX>5</posX> + <posY>125</posY> + <layout>StackLayout</layout> + <control> + <description>Start</description> + <type>button</type> + <id>2</id> + <onleft>2</onleft> + <onright>2</onright> + <onup>6</onup> + <ondown>3</ondown> + <alignY>center</alignY> + </control> + <control> + <description>Level</description> + <type>button</type> + <id>3</id> + <onleft>3</onleft> + <onright>3</onright> + <onup>2</onup> + <ondown>4</ondown> + <alignY>center</alignY> + </control> + <control> + <description>Sounds</description> + <type>togglebutton</type> + <id>4</id> + <onleft>4</onleft> + <onright>4</onright> + <onup>3</onup> + <ondown>6</ondown> + <width>190</width> + <height>32</height> + <AltTextureFocus>togglebutton-off-focus.png</AltTextureFocus> + <AltTextureNoFocus>togglebutton-off-nofocus.png</AltTextureNoFocus> + <textureFocus>togglebutton-on-focus.png</textureFocus> + <textureNoFocus>togglebutton-on-nofocus.png</textureNoFocus> + <alignY>center</alignY> + </control> + <control> + <description>Round</description> + <type>button</type> + <id>1</id> + <label>#Round</label> + <font>font12</font> + <enabled>false</enabled> + <textureFocus>-</textureFocus> + <textureNoFocus>-</textureNoFocus> + <alignY>center</alignY> + </control> + <control> + <description>Player: / GameOver</description> + <type>button</type> + <id>1</id> + <label>#Player</label> + <font>font12</font> + <enabled>false</enabled> + <textureFocus>-</textureFocus> + <textureNoFocus>-</textureNoFocus> + <alignY>center</alignY> + </control> + <control> + <description>What is this?</description> + <type>button</type> + <id>6</id> + <onleft>6</onleft> + <onright>6</onright> + <onup>4</onup> + <ondown>2</ondown> + <alignY>center</alignY> + </control> + </control> + <control> + <type>button</type> + <id>101</id> + <posX>380</posX> + <posY>160</posY> + <width>172</width> + <height>137</height> + <textureFocus>#Senso1</textureFocus> + <textureNoFocus>#Senso1</textureNoFocus> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + <control> + <type>button</type> + <id>102</id> + <posX>466</posX> + <posY>210</posY> + <width>137</width> + <height>172</height> + <textureFocus>#Senso2</textureFocus> + <textureNoFocus>#Senso2</textureNoFocus> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + <control> + <type>button</type> + <id>103</id> + <posX>329</posX> + <posY>211</posY> + <width>137</width> + <height>172</height> + <textureFocus>#Senso3</textureFocus> + <textureNoFocus>#Senso3</textureNoFocus> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + <control> + <type>button</type> + <id>104</id> + <posX>380</posX> + <posY>297</posY> + <width>172</width> + <height>137</height> + <textureFocus>#Senso4</textureFocus> + <textureNoFocus>#Senso4</textureNoFocus> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + </controls> +</window> \ No newline at end of file Modified: trunk/plugins/MySimon/readme.txt =================================================================== --- trunk/plugins/MySimon/readme.txt 2007-06-26 00:42:56 UTC (rev 638) +++ trunk/plugins/MySimon/readme.txt 2007-06-26 00:47:40 UTC (rev 639) @@ -1,8 +1,25 @@ Visit the forum http://forum.team-mediaportal.com/new_game_simon_say-t19473.html +SimonSay +------------------------ + +V0.5 + + - MediaPortal 0.2.3.0 ready + - added option to enable/disable sounds, while playing + - plugin should be full localisable now + - minor improvements + - added skin-file: BlueTwo wide + - added skin-file: Project Mayhem 3 + +regards +chefkoch + +------------------------------------------ + V0.4 ----- + -turn design of the board 45 degrees , thanks to Mikael -make it possible to test the buttons (before start) -playable with arrow keys @@ -12,6 +29,8 @@ Greetz kroko +------------------------------------------ + V0.3.1 ------ -added time display on skin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-26 00:42:58
|
Revision: 638 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=638&view=rev Author: chef_koch Date: 2007-06-25 17:42:56 -0700 (Mon, 25 Jun 2007) Log Message: ----------- yet another fix Modified Paths: -------------- trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml Modified: trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml =================================================================== --- trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml 2007-06-26 00:18:11 UTC (rev 637) +++ trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml 2007-06-26 00:42:56 UTC (rev 638) @@ -30,8 +30,7 @@ <control> <description>button group</description> <type>group</type> - <animation effect="fade" time="150">WindowOpen</animation> - <animation effect="fade" time="150">WindowClose</animation> + <animation>FlyInFromLeft</animation> <posX>5</posX> <posY>125</posY> <layout>StackLayout</layout> @@ -86,6 +85,7 @@ <type>button</type> <id>1</id> <label>#Round</label> + <font>font12</font> <enabled>false</enabled> <textureFocus>-</textureFocus> <textureNoFocus>-</textureNoFocus> @@ -96,6 +96,7 @@ <type>button</type> <id>1</id> <label>#Player</label> + <font>font12</font> <enabled>false</enabled> <textureFocus>-</textureFocus> <textureNoFocus>-</textureNoFocus> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-26 00:18:12
|
Revision: 637 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=637&view=rev Author: chef_koch Date: 2007-06-25 17:18:11 -0700 (Mon, 25 Jun 2007) Log Message: ----------- fixed pm3 skin file Modified Paths: -------------- trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml Modified: trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml =================================================================== --- trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml 2007-06-25 22:44:23 UTC (rev 636) +++ trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml 2007-06-26 00:18:11 UTC (rev 637) @@ -43,6 +43,7 @@ <onright>301</onright> <onup>6</onup> <ondown>3</ondown> + <alignY>center</alignY> </control> <control> <description>Mode</description> @@ -52,6 +53,7 @@ <onright>301</onright> <onup>2</onup> <ondown>4</ondown> + <alignY>center</alignY> </control> <control> <description>Level</description> @@ -61,6 +63,7 @@ <onright>301</onright> <onup>3</onup> <ondown>5</ondown> + <alignY>center</alignY> </control> <control> <description>Sounds</description> @@ -70,26 +73,33 @@ <onright>301</onright> <onup>4</onup> <ondown>6</ondown> + <width>190</width> + <height>32</height> + <AltTextureFocus>togglebutton-off-focus.png</AltTextureFocus> + <AltTextureNoFocus>togglebutton-off-nofocus.png</AltTextureNoFocus> + <textureFocus>togglebutton-on-focus.png</textureFocus> + <textureNoFocus>togglebutton-on-nofocus.png</textureNoFocus> + <alignY>center</alignY> </control> <control> <description>Round</description> <type>button</type> <id>1</id> <label>#Round</label> - <font>font12</font> <enabled>false</enabled> <textureFocus>-</textureFocus> <textureNoFocus>-</textureNoFocus> + <alignY>center</alignY> </control> <control> <description>Player: / GameOver</description> <type>button</type> <id>1</id> <label>#Player</label> - <font>font12</font> <enabled>false</enabled> <textureFocus>-</textureFocus> <textureNoFocus>-</textureNoFocus> + <alignY>center</alignY> </control> <control> <description>What is this?</description> @@ -99,6 +109,7 @@ <onright>301</onright> <onup>5</onup> <ondown>2</ondown> + <alignY>center</alignY> </control> </control> <control> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-25 22:44:26
|
Revision: 636 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=636&view=rev Author: chef_koch Date: 2007-06-25 15:44:23 -0700 (Mon, 25 Jun 2007) Log Message: ----------- reverted back the last id change to prevent probs with skins Modified Paths: -------------- trunk/plugins/MySimon/Release/skin/BlueTwo/MySimon.xml trunk/plugins/MySimon/Release/skin/SimpleMP/MySimon.xml trunk/plugins/MySimon/Source/SimonSay/MySimon.cs trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj Modified: trunk/plugins/MySimon/Release/skin/BlueTwo/MySimon.xml =================================================================== --- trunk/plugins/MySimon/Release/skin/BlueTwo/MySimon.xml 2007-06-25 22:00:55 UTC (rev 635) +++ trunk/plugins/MySimon/Release/skin/BlueTwo/MySimon.xml 2007-06-25 22:44:23 UTC (rev 636) @@ -10,8 +10,6 @@ <description>BackGround</description> <type>image</type> <id>1</id> - <posX>0</posX> - <posY>0</posY> <width>720</width> <height>576</height> <texture>background.png</texture> @@ -55,14 +53,14 @@ <onleft>3</onleft> <onright>3</onright> <onup>2</onup> - <ondown>5</ondown> + <ondown>4</ondown> </control> <control> <description>Sounds</description> <type>togglebutton</type> - <id>5</id> - <onleft>5</onleft> - <onright>5</onright> + <id>4</id> + <onleft>4</onleft> + <onright>4</onright> <onup>3</onup> <ondown>6</ondown> </control> @@ -92,7 +90,7 @@ <id>6</id> <onleft>6</onleft> <onright>6</onright> - <onup>5</onup> + <onup>4</onup> <ondown>2</ondown> </control> </control> Modified: trunk/plugins/MySimon/Release/skin/SimpleMP/MySimon.xml =================================================================== --- trunk/plugins/MySimon/Release/skin/SimpleMP/MySimon.xml 2007-06-25 22:00:55 UTC (rev 635) +++ trunk/plugins/MySimon/Release/skin/SimpleMP/MySimon.xml 2007-06-25 22:44:23 UTC (rev 636) @@ -10,8 +10,6 @@ <description>BackGround</description> <type>image</type> <id>1</id> - <posX>0</posX> - <posY>0</posY> <width>720</width> <height>576</height> <texture>background.png</texture> @@ -66,14 +64,14 @@ <onleft>3</onleft> <onright>3</onright> <onup>2</onup> - <ondown>5</ondown> + <ondown>4</ondown> </control> <control> <description>Sounds</description> <type>togglebutton</type> - <id>5</id> - <onleft>5</onleft> - <onright>5</onright> + <id>4</id> + <onleft>4</onleft> + <onright>4</onright> <onup>3</onup> <ondown>6</ondown> </control> @@ -103,7 +101,7 @@ <id>6</id> <onleft>6</onleft> <onright>6</onright> - <onup>5</onup> + <onup>4</onup> <ondown>2</ondown> </control> </control> Modified: trunk/plugins/MySimon/Source/SimonSay/MySimon.cs =================================================================== --- trunk/plugins/MySimon/Source/SimonSay/MySimon.cs 2007-06-25 22:00:55 UTC (rev 635) +++ trunk/plugins/MySimon/Source/SimonSay/MySimon.cs 2007-06-25 22:44:23 UTC (rev 636) @@ -55,7 +55,7 @@ protected GUIButtonControl btnStart = null; [SkinControlAttribute(3)] protected GUIButtonControl btnLevel = null; - [SkinControlAttribute(5)] + [SkinControlAttribute(4)] protected GUIToggleButtonControl btnSound = null; [SkinControlAttribute(6)] protected GUIButtonControl btnWhatsThis = null; Modified: trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj =================================================================== --- trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj 2007-06-25 22:00:55 UTC (rev 635) +++ trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj 2007-06-25 22:44:23 UTC (rev 636) @@ -65,8 +65,4 @@ <Target Name="AfterBuild"> </Target> --> - <PropertyGroup> - <PostBuildEvent> - </PostBuildEvent> - </PropertyGroup> </Project> \ 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: <che...@us...> - 2007-06-25 22:00:59
|
Revision: 635 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=635&view=rev Author: chef_koch Date: 2007-06-25 15:00:55 -0700 (Mon, 25 Jun 2007) Log Message: ----------- removed stupid postbuild stuff, sorry ;) Modified Paths: -------------- trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj Removed Paths: ------------- trunk/plugins/MySimon/Source/postbuild.bat Modified: trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj =================================================================== --- trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj 2007-06-25 21:04:32 UTC (rev 634) +++ trunk/plugins/MySimon/Source/SimonSay/MySimon.csproj 2007-06-25 22:00:55 UTC (rev 635) @@ -66,7 +66,7 @@ </Target> --> <PropertyGroup> - <PostBuildEvent>cd "$(SolutionDir)" -call postbuild.bat "$(TargetPath)" "$(TargetFileName)"</PostBuildEvent> + <PostBuildEvent> + </PostBuildEvent> </PropertyGroup> </Project> \ No newline at end of file Deleted: trunk/plugins/MySimon/Source/postbuild.bat =================================================================== --- trunk/plugins/MySimon/Source/postbuild.bat 2007-06-25 21:04:32 UTC (rev 634) +++ trunk/plugins/MySimon/Source/postbuild.bat 2007-06-25 22:00:55 UTC (rev 635) @@ -1,8 +0,0 @@ -set TargetPath=%1 -set TargetFile=%2 - -rem echo %TargetPath% > log.txt -rem echo %TargetFile% >> log.txt - -copy %TargetPath% "%ProgramFiles%\Team MediaPortal\MediaPortal\plugins\Windows\*" -copy %TargetPath% "..\Release\plugins\Windows\*" \ 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: <che...@us...> - 2007-06-25 21:04:45
|
Revision: 634 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=634&view=rev Author: chef_koch Date: 2007-06-25 14:04:32 -0700 (Mon, 25 Jun 2007) Log Message: ----------- removed stupid postbuild stuff Modified Paths: -------------- trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.csproj Removed Paths: ------------- trunk/plugins/My Connect4/Source/postbuild.bat Modified: trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.csproj =================================================================== --- trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.csproj 2007-06-25 21:02:25 UTC (rev 633) +++ trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.csproj 2007-06-25 21:04:32 UTC (rev 634) @@ -69,7 +69,7 @@ </Target> --> <PropertyGroup> - <PostBuildEvent>cd "$(SolutionDir)" -call postbuild.bat "$(TargetPath)" "$(TargetFileName)"</PostBuildEvent> + <PostBuildEvent> + </PostBuildEvent> </PropertyGroup> </Project> \ No newline at end of file Deleted: trunk/plugins/My Connect4/Source/postbuild.bat =================================================================== --- trunk/plugins/My Connect4/Source/postbuild.bat 2007-06-25 21:02:25 UTC (rev 633) +++ trunk/plugins/My Connect4/Source/postbuild.bat 2007-06-25 21:04:32 UTC (rev 634) @@ -1,8 +0,0 @@ -set TargetPath=%1 -set TargetFile=%2 - -rem echo %TargetPath% > log.txt -rem echo %TargetFile% >> log.txt - -copy %TargetPath% "%ProgramFiles%\Team MediaPortal\MediaPortal\plugins\Windows\*" -copy %TargetPath% "..\Release\plugins\Windows\*" \ 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: <che...@us...> - 2007-06-25 21:02:28
|
Revision: 633 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=633&view=rev Author: chef_koch Date: 2007-06-25 14:02:25 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/My Connect4/readme.txt Modified: trunk/plugins/My Connect4/readme.txt =================================================================== --- trunk/plugins/My Connect4/readme.txt 2007-06-25 21:02:08 UTC (rev 632) +++ trunk/plugins/My Connect4/readme.txt 2007-06-25 21:02:25 UTC (rev 633) @@ -7,11 +7,11 @@ v0.3 - MediaPortal 0.2.3.0 ready - - added option to enable/disable sounds on the fly + - added option to enable/disable sounds, while playing - plugin should be full localisable now - minor improvements - - added skin file: BlueTwo wide - thx to Technec - - skinners, pls have a look at the button-ids ... + - added skin-file: BlueTwo wide + - added skin-file: Project Mayhem 3 regards chefkoch This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-25 21:02:12
|
Revision: 632 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=632&view=rev Author: chef_koch Date: 2007-06-25 14:02:08 -0700 (Mon, 25 Jun 2007) Log Message: ----------- added skin-file for Project Mayhem 3 minor changes in skin-files Modified Paths: -------------- trunk/plugins/My Connect4/Release/skin/BlueTwo/MyConnect4.xml trunk/plugins/My Connect4/Release/skin/BlueTwo wide/MyConnect4.xml trunk/plugins/My Connect4/Release/skin/SimpleMP/MyConnect4.xml Added Paths: ----------- trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/ trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml Modified: trunk/plugins/My Connect4/Release/skin/BlueTwo/MyConnect4.xml =================================================================== --- trunk/plugins/My Connect4/Release/skin/BlueTwo/MyConnect4.xml 2007-06-25 20:35:11 UTC (rev 631) +++ trunk/plugins/My Connect4/Release/skin/BlueTwo/MyConnect4.xml 2007-06-25 21:02:08 UTC (rev 632) @@ -145,6 +145,7 @@ <posY>70</posY> <width>40</width> <height>40</height> + <onleft>2</onleft> <onright>302</onright> <onup>301</onup> <ondown>301</ondown> Modified: trunk/plugins/My Connect4/Release/skin/BlueTwo wide/MyConnect4.xml =================================================================== --- trunk/plugins/My Connect4/Release/skin/BlueTwo wide/MyConnect4.xml 2007-06-25 20:35:11 UTC (rev 631) +++ trunk/plugins/My Connect4/Release/skin/BlueTwo wide/MyConnect4.xml 2007-06-25 21:02:08 UTC (rev 632) @@ -121,7 +121,6 @@ </control> <control> <description>game group</description> - <type>group</type> <animation effect="fade" time="250">WindowOpen</animation> <animation effect="fade" time="500">WindowClose</animation> @@ -146,6 +145,7 @@ <posY>210</posY> <width>40</width> <height>40</height> + <onleft>2</onleft> <onright>302</onright> <onup>301</onup> <ondown>301</ondown> Added: trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml =================================================================== --- trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml (rev 0) +++ trunk/plugins/My Connect4/Release/skin/Project Mayhem 3/MyConnect4.xml 2007-06-25 21:02:08 UTC (rev 632) @@ -0,0 +1,611 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<window> + <id>22031969</id> + <defaultcontrol>2</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <autohidetopbar>yes</autohidetopbar> + <controls> + <import>common.time.xml</import> + <control> + <description>BackGround</description> + <type>image</type> + <id>1</id> + <width>720</width> + <height>576</height> + <texture>background3.png</texture> + </control> + <control> + <description>header label</description> + <type>label</type> + <id>1</id> + <posX>190</posX> + <posY>70</posY> + <label>#header_label</label> + <font>font18</font> + <align>Left</align> + <textcolor>ffffffff</textcolor> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + <control> + <description>button group</description> + <type>group</type> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + <posX>5</posX> + <posY>125</posY> + <layout>StackLayout</layout> + <control> + <description>Start</description> + <type>button</type> + <id>2</id> + <onleft>2</onleft> + <onright>301</onright> + <onup>6</onup> + <ondown>3</ondown> + </control> + <control> + <description>Mode</description> + <type>button</type> + <id>3</id> + <onleft>3</onleft> + <onright>301</onright> + <onup>2</onup> + <ondown>4</ondown> + </control> + <control> + <description>Level</description> + <type>button</type> + <id>4</id> + <onleft>4</onleft> + <onright>301</onright> + <onup>3</onup> + <ondown>5</ondown> + </control> + <control> + <description>Sounds</description> + <type>togglebutton</type> + <id>5</id> + <onleft>5</onleft> + <onright>301</onright> + <onup>4</onup> + <ondown>6</ondown> + </control> + <control> + <description>Round</description> + <type>button</type> + <id>1</id> + <label>#Round</label> + <font>font12</font> + <enabled>false</enabled> + <textureFocus>-</textureFocus> + <textureNoFocus>-</textureNoFocus> + </control> + <control> + <description>Player: / GameOver</description> + <type>button</type> + <id>1</id> + <label>#Player</label> + <font>font12</font> + <enabled>false</enabled> + <textureFocus>-</textureFocus> + <textureNoFocus>-</textureNoFocus> + </control> + <control> + <description>What is this?</description> + <type>button</type> + <id>6</id> + <onleft>6</onleft> + <onright>301</onright> + <onup>5</onup> + <ondown>2</ondown> + </control> + </control> + <control> + <description>BackGround Game</description> + <type>image</type> + <id>15</id> + <posX>260</posX> + <posY>160</posY> + <width>405</width> + <height>350</height> + <texture>MyConnBack.png</texture> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + </control> + <control> + <description>game group</description> + <type>group</type> + <animation effect="fade" time="150">WindowOpen</animation> + <animation effect="fade" time="150">WindowClose</animation> + + <control> + <description>text label</description> + <type>label</type> + <id>18</id> + <posX>260</posX> + <posY>530</posY> + <label>#Status</label> + <font>font16</font> + <align>Left</align> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>Pointer 01</description> + <type>button</type> + <id>301</id> + <posX>280</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>2</onleft> + <onright>302</onright> + <onup>301</onup> + <ondown>301</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 02</description> + <type>button</type> + <id>302</id> + <posX>335</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>301</onleft> + <onright>303</onright> + <onup>302</onup> + <ondown>302</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 03</description> + <type>button</type> + <id>303</id> + <posX>390</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>302</onleft> + <onright>304</onright> + <onup>303</onup> + <ondown>303</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 04</description> + <type>button</type> + <id>304</id> + <posX>445</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>303</onleft> + <onright>305</onright> + <onup>304</onup> + <ondown>304</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 05</description> + <type>button</type> + <id>305</id> + <posX>500</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>304</onleft> + <onright>306</onright> + <onup>305</onup> + <ondown>305</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 06</description> + <type>button</type> + <id>306</id> + <posX>555</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>305</onleft> + <onright>307</onright> + <onup>306</onup> + <ondown>306</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 07</description> + <type>button</type> + <id>307</id> + <posX>610</posX> + <posY>120</posY> + <width>35</width> + <height>35</height> + <onleft>306</onleft> + <onright>301</onright> + <onup>307</onup> + <ondown>307</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <type>image</type> + <id>101</id> + <posX>280</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_1</texture> + </control> + <control> + <type>image</type> + <id>102</id> + <posX>335</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_2</texture> + </control> + <control> + <type>image</type> + <id>103</id> + <posX>390</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_3</texture> + </control> + <control> + <type>image</type> + <id>104</id> + <posX>445</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_4</texture> + </control> + <control> + <type>image</type> + <id>105</id> + <posX>500</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_5</texture> + </control> + <control> + <type>image</type> + <id>106</id> + <posX>555</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_6</texture> + </control> + <control> + <type>image</type> + <id>107</id> + <posX>610</posX> + <posY>180</posY> + <width>35</width> + <height>35</height> + <texture>#Con_1_7</texture> + </control> + <control> + <type>image</type> + <id>111</id> + <posX>280</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_1</texture> + </control> + <control> + <type>image</type> + <id>112</id> + <posX>335</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_2</texture> + </control> + <control> + <type>image</type> + <id>113</id> + <posX>390</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_3</texture> + </control> + <control> + <type>image</type> + <id>114</id> + <posX>445</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_4</texture> + </control> + <control> + <type>image</type> + <id>115</id> + <posX>500</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_5</texture> + </control> + <control> + <type>image</type> + <id>116</id> + <posX>555</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_6</texture> + </control> + <control> + <type>image</type> + <id>117</id> + <posX>610</posX> + <posY>235</posY> + <width>35</width> + <height>35</height> + <texture>#Con_2_7</texture> + </control> + <control> + <type>image</type> + <id>121</id> + <posX>280</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_1</texture> + </control> + <control> + <type>image</type> + <id>122</id> + <posX>335</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_2</texture> + </control> + <control> + <type>image</type> + <id>123</id> + <posX>390</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_3</texture> + </control> + <control> + <type>image</type> + <id>124</id> + <posX>445</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_4</texture> + </control> + <control> + <type>image</type> + <id>125</id> + <posX>500</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_5</texture> + </control> + <control> + <type>image</type> + <id>126</id> + <posX>555</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_6</texture> + </control> + <control> + <type>image</type> + <id>127</id> + <posX>610</posX> + <posY>290</posY> + <width>35</width> + <height>35</height> + <texture>#Con_3_7</texture> + </control> + <control> + <type>image</type> + <id>131</id> + <posX>280</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_1</texture> + </control> + <control> + <type>image</type> + <id>132</id> + <posX>335</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_2</texture> + </control> + <control> + <type>image</type> + <id>133</id> + <posX>390</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_3</texture> + </control> + <control> + <type>image</type> + <id>134</id> + <posX>445</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_4</texture> + </control> + <control> + <type>image</type> + <id>135</id> + <posX>500</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_5</texture> + </control> + <control> + <type>image</type> + <id>136</id> + <posX>555</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_6</texture> + </control> + <control> + <type>image</type> + <id>137</id> + <posX>610</posX> + <posY>345</posY> + <width>35</width> + <height>35</height> + <texture>#Con_4_7</texture> + </control> + <control> + <type>image</type> + <id>141</id> + <posX>280</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_1</texture> + </control> + <control> + <type>image</type> + <id>142</id> + <posX>335</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_2</texture> + </control> + <control> + <type>image</type> + <id>143</id> + <posX>390</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_3</texture> + </control> + <control> + <type>image</type> + <id>144</id> + <posX>445</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_4</texture> + </control> + <control> + <type>image</type> + <id>145</id> + <posX>500</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_5</texture> + </control> + <control> + <type>image</type> + <id>146</id> + <posX>555</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_6</texture> + </control> + <control> + <type>image</type> + <id>147</id> + <posX>610</posX> + <posY>400</posY> + <width>35</width> + <height>35</height> + <texture>#Con_5_7</texture> + </control> + <control> + <type>image</type> + <id>151</id> + <posX>280</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_1</texture> + </control> + <control> + <type>image</type> + <id>152</id> + <posX>335</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_2</texture> + </control> + <control> + <type>image</type> + <id>153</id> + <posX>390</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_3</texture> + </control> + <control> + <type>image</type> + <id>154</id> + <posX>445</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_4</texture> + </control> + <control> + <type>image</type> + <id>155</id> + <posX>500</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_5</texture> + </control> + <control> + <type>image</type> + <id>156</id> + <posX>555</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_6</texture> + </control> + <control> + <type>image</type> + <id>157</id> + <posX>610</posX> + <posY>455</posY> + <width>35</width> + <height>35</height> + <texture>#Con_6_7</texture> + </control> + </control> + </controls> +</window> \ No newline at end of file Modified: trunk/plugins/My Connect4/Release/skin/SimpleMP/MyConnect4.xml =================================================================== --- trunk/plugins/My Connect4/Release/skin/SimpleMP/MyConnect4.xml 2007-06-25 20:35:11 UTC (rev 631) +++ trunk/plugins/My Connect4/Release/skin/SimpleMP/MyConnect4.xml 2007-06-25 21:02:08 UTC (rev 632) @@ -9,7 +9,7 @@ <control> <description>BackGround</description> <type>image</type> - <id>10</id> + <id>1</id> <posX>0</posX> <posY>0</posY> <width>720</width> @@ -43,8 +43,8 @@ <animation effect="fade" time="150">WindowClose</animation> </control> <control> + <description>button group</description> <type>group</type> - <description>group element</description> <animation effect="fade" time="150">WindowOpen</animation> <animation effect="fade" time="150">WindowClose</animation> <posX>60</posX> @@ -107,7 +107,7 @@ <textureNoFocus>-</textureNoFocus> </control> <control> - <description>Whatsthis</description> + <description>What is this?</description> <type>button</type> <id>6</id> <onleft>6</onleft> @@ -129,11 +129,121 @@ <animation effect="fade" time="150">WindowClose</animation> </control> <control> + <description>game group</description> <type>group</type> - <description>group element</description> <animation effect="fade" time="150">WindowOpen</animation> <animation effect="fade" time="150">WindowClose</animation> + <control> + <description>text label</description> + <type>label</type> + <id>18</id> + <posX>260</posX> + <posY>510</posY> + <label>#Status</label> + <font>font16</font> + <align>Left</align> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>Pointer 01</description> + <type>button</type> + <id>301</id> + <posX>280</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>2</onleft> + <onright>302</onright> + <onup>301</onup> + <ondown>301</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 02</description> + <type>button</type> + <id>302</id> + <posX>340</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>301</onleft> + <onright>303</onright> + <onup>302</onup> + <ondown>302</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 03</description> + <type>button</type> + <id>303</id> + <posX>400</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>302</onleft> + <onright>304</onright> + <onup>303</onup> + <ondown>303</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 04</description> + <type>button</type> + <id>304</id> + <posX>460</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>303</onleft> + <onright>305</onright> + <onup>304</onup> + <ondown>304</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 05</description> + <type>button</type> + <id>305</id> + <posX>520</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>304</onleft> + <onright>306</onright> + <onup>305</onup> + <ondown>305</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 06</description> + <type>button</type> + <id>306</id> + <posX>580</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>305</onleft> + <onright>307</onright> + <onup>306</onup> + <ondown>306</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> + <description>Pointer 07</description> + <type>button</type> + <id>307</id> + <posX>640</posX> + <posY>70</posY> + <width>40</width> + <height>40</height> + <onleft>306</onleft> + <onright>301</onright> + <onup>307</onup> + <ondown>307</ondown> + <textureFocus>MyConn4Cur.png</textureFocus> + </control> + <control> <type>image</type> <id>101</id> <posX>280</posX> @@ -511,101 +621,6 @@ <height>40</height> <texture>#Con_6_7</texture> </control> - <control> - <description>text label</description> - <type>label</type> - <id>18</id> - <posX>260</posX> - <posY>510</posY> - <label>#Status</label> - <font>font16</font> - <align>Left</align> - <textcolor>ffffffff</textcolor> - </control> - <control> - <description>Pointer 01</description> - <type>button</type> - <id>301</id> - <posX>280</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>2</onleft> - <onright>302</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> - <control> - <description>Pointer 02</description> - <type>button</type> - <id>302</id> - <posX>340</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>301</onleft> - <onright>303</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> - <control> - <description>Pointer 03</description> - <type>button</type> - <id>303</id> - <posX>400</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>302</onleft> - <onright>304</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> - <control> - <description>Pointer 04</description> - <type>button</type> - <id>304</id> - <posX>460</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>303</onleft> - <onright>305</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> - <control> - <description>Pointer 05</description> - <type>button</type> - <id>305</id> - <posX>520</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>304</onleft> - <onright>306</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> - <control> - <description>Pointer 06</description> - <type>button</type> - <id>306</id> - <posX>580</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>305</onleft> - <onright>307</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> - <control> - <description>Pointer 07</description> - <type>button</type> - <id>307</id> - <posX>640</posX> - <posY>70</posY> - <width>40</width> - <height>40</height> - <onleft>306</onleft> - <onright>307</onright> - <textureFocus>MyConn4Cur.png</textureFocus> - </control> </control> </controls> -</window> +</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. |
From: <nor...@us...> - 2007-06-25 20:36:15
|
Revision: 631 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=631&view=rev Author: northern_sky Date: 2007-06-25 13:35:11 -0700 (Mon, 25 Jun 2007) Log Message: ----------- removed fixed stuff Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-25 20:33:27 UTC (rev 630) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-25 20:35:11 UTC (rev 631) @@ -56,9 +56,6 @@ - small changes - use parameters in queries?? heah? ;) could you explain this more? =) we take it on icq=) - only saving filename without " . We add them if use qoutes is enabled when we create the procInfo - - Do we need those Database patches on start anymore? - PatchEmptyValues for example (maybe some more): we always insert the files now with dateTime.MinValue and launchCount 0, - i implented this in original MyPrograms just to update old Databases, but we use now completly new, so obsolete imo. ThumbnailSupport: - [low] rating: thumbs for 0-10 maybe as stylish numbers or maybe as smileys :( -> :| -> :), so that the user could choose it for himself This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-25 20:33:53
|
Revision: 630 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=630&view=rev Author: northern_sky Date: 2007-06-25 13:33:27 -0700 (Mon, 25 Jun 2007) Log Message: ----------- dbsettings merged in dbhandler Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj Removed Paths: ------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseSettings.cs Deleted: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseSettings.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseSettings.cs 2007-06-25 20:28:17 UTC (rev 629) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseSettings.cs 2007-06-25 20:33:27 UTC (rev 630) @@ -1,126 +0,0 @@ -#region Copyright (C) 2005-2007 Team MediaPortal - -/* - * Copyright (C) 2005-2007 Team MediaPortal - * http://www.team-mediaportal.com - * - * This Program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This Program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with GNU Make; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * http://www.gnu.org/copyleft/gpl.html - * - */ - -#endregion - -using System; -using System.Collections; -using SQLite.NET; - - -namespace GUIPrograms.Database -{ - /// <summary> - /// Summary description for DatabaseSettings. - /// </summary> - public class DatabaseSettings - { - static public SQLiteClient sqlDB = null; - static public ProgramViewHandler viewHandler = null; - - // singleton. Dont allow any instance of this class - private DatabaseSettings() { } - - static DatabaseSettings() { } - - static public string ReadSetting(string Key) - { - SQLiteResultSet results; - string res = null; - string SQL = @" - SELECT - value - - FROM - tblSetting - - WHERE - key ='" + Key + "'"; - - results = sqlDB.Execute(SQL); - - if (results != null && results.Rows.Count > 0) - { - SQLiteResultSet.Row arr = results.Rows[0]; - res = arr.fields[0]; - } - //Log.Info("dw read setting key:{0}\nvalue:{1}", Key, applicationItem); - return res; - } - - static int CountKey(string Key) - { - SQLiteResultSet results; - int res = 0; - results = sqlDB.Execute(@" - SELECT - COUNT(*) - - FROM - tblSetting - - WHERE key ='" + Key + "'"); - - if (results != null && results.Rows.Count > 0) - { - SQLiteResultSet.Row arr = results.Rows[0]; - res = Int32.Parse(arr.fields[0]); - } - return res; - } - - static public bool KeyExists(string Key) - { - return (CountKey(Key) > 0); - } - - static public void WriteSetting(string Key, string Value) - { - if (KeyExists(Key)) - { - sqlDB.Execute(@" - UPDATE - tblSetting - - SET - value = '" + Value + @"' - - WHERE - key = '" + Key + "'"); - } - else - { - sqlDB.Execute(@" - INSERT INTO - tblSetting (key, value) - - VALUES('" + Key + "', '" + Value + "')"); - } - } - - static public void DeleteSetting(string Key) - { - sqlDB.Execute("DELETE FROM tblSetting WHERE key = '" + Key + "'"); - } - } -} Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-25 20:28:17 UTC (rev 629) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-25 20:33:27 UTC (rev 630) @@ -62,7 +62,6 @@ <Compile Include="ApplicationItems\ApplicationItemList.cs" /> <Compile Include="ApplicationItems\ApplicationItemMame.cs" /> <Compile Include="Database\DatabaseHandler.cs" /> - <Compile Include="Database\DatabaseSettings.cs" /> <Compile Include="Database\DatabaseSorter.cs" /> <Compile Include="Design\AppFilesImportProgress.cs"> <SubType>UserControl</SubType> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-25 20:29:13
|
Revision: 629 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=629&view=rev Author: northern_sky Date: 2007-06-25 13:28:17 -0700 (Mon, 25 Jun 2007) Log Message: ----------- db: removed unneccesary patches. merged dbsetting and dbhandler Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramUtils.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs 2007-06-25 13:58:05 UTC (rev 628) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Database/DatabaseHandler.cs 2007-06-25 20:28:17 UTC (rev 629) @@ -41,15 +41,14 @@ namespace GUIPrograms.Database { /// <summary> - /// Summary description for DBPrograms. + /// DBhandling methods /// </summary> public class DatabaseHandler { public static SQLiteClient sqlDB = null; static ApplicationItemList applicationItemList = null; - static ProgramViewHandler viewHandler = null; + static private ProgramViewHandler viewHandler = null; - // singleton. Dont allow any instance of this class private DatabaseHandler() { } @@ -65,36 +64,19 @@ catch (Exception) { } sqlDB = new SQLiteClient(Config.GetFile(Config.Dir.Database, "myProgramsAltDatabaseV1.db3")); - MediaPortal.Database.DatabaseUtility.SetPragmas(sqlDB); - DatabaseSettings.sqlDB = sqlDB; // make sure the DB-structure is complete - CreateObjects(); - // patch old ContentID values... - PatchContentID(); + CreateDBTables(); - - // patch old values, which were made empty by old versions... - PatchEmptyValues(); - - // patch genre-values - PatchGenreValues(); - // remove trigger - PatchAppTrigger(); - // add PreLaunch / PostLaunch fields - PatchPrePostLaunch(); - // dirty hack: propagate the sqliteClient to the singleton objects... - DatabaseSettings.sqlDB = sqlDB; } catch (SQLiteException ex) { Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); } - viewHandler = new ProgramViewHandler(); - DatabaseSettings.viewHandler = viewHandler; - applicationItemList = new ApplicationItemList(sqlDB, new ApplicationItem.FilelinkLaunchEventHandler(LaunchFilelink)); + ViewHandler = new ProgramViewHandler(); + applicationItemList = new ApplicationItemList(sqlDB, new ApplicationItem.FilelinkLaunchEventHandler(LaunchFilelink)); } static void LaunchFilelink(FilelinkItem curLink, bool MPGUIMode) @@ -106,175 +88,114 @@ } } - - static bool ObjectExists(string strName, string strType) + /// <summary> + /// Create db tables etc,if not already exist + /// </summary> + /// <returns></returns> + static bool CreateDBTables() { - SQLiteResultSet results; - bool res = false; - - results = sqlDB.Execute(@" - SELECT - name - - FROM - sqlite_master - - WHERE - name='" + strName + @"' - - AND type='" + strType + @"' - - UNION ALL - - SELECT - name - - FROM - sqlite_temp_master - - WHERE - type='" + strType + @"' - - ORDER BY name"); - - if (results != null && results.Rows.Count > 0) - { - if (results.Rows.Count == 1) - { - SQLiteResultSet.Row arr = results.Rows[0]; - if (arr.fields.Count == 1) - { - if (arr.fields[0] == strName) - { - res = true; - } - } - } - } - return res; - } - - - static bool AddObject(string strName, string strType, string strSQL) - // checks if object exists and returns true if it newly added the object - { if (sqlDB == null) return false; - if (ObjectExists(strName, strType)) - return false; - try - { - sqlDB.Execute(strSQL); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - return false; - } - return true; - } - - static bool CreateObjects() - { - bool skipPrePostPatch = false; - - if (sqlDB == null) - return false; - - skipPrePostPatch = DatabaseUtility.AddTable(sqlDB, "tblApplicationItem", "CREATE TABLE tblApplicationItem (appid integer primary key, fatherID integer, title text, shorttitle text, filename text, arguments text, windowstyle text, startupdir text, useshellexecute text, usequotes text, source_type text, source text, imagefile text, filedirectory text, imagedirectory text, validextensions text, enabled text, importvalidimagesonly text, iposition integer, enableGUIRefresh text, GUIRefreshPossible text, contentID integer, systemdefault text, waitforexit text, preLaunch text, postLaunch text)"); + DatabaseUtility.AddTable(sqlDB, "tblApplicationItem", "CREATE TABLE tblApplicationItem (appid integer primary key, fatherID integer, title text, shorttitle text, filename text, arguments text, windowstyle text, startupdir text, useshellexecute text, usequotes text, source_type text, source text, imagefile text, filedirectory text, imagedirectory text, validextensions text, enabled text, importvalidimagesonly text, iposition integer, enableGUIRefresh text, GUIRefreshPossible text, contentID integer, systemdefault text, waitforexit text, preLaunch text, postLaunch text)"); DatabaseUtility.AddTable(sqlDB, "tblFileItem", "CREATE TABLE tblFileItem (fileid integer primary key, appid integer, title text, filename text, imagefile text, mainGenre text, subGenre text, country text, manufacturer text, year integer, rating integer, overview text, system text, import_flag integer, manualfilename text, lastTimeLaunched text, launchcount integer, isfolder text, external_id integer, uppertitle text, tagdata text, categorydata text, gameInfoUrl text)"); DatabaseUtility.AddTable(sqlDB, "tblFilterItem", "CREATE TABLE tblFilterItem (appid integer, grouperAppID integer, fileID integer, filename text, tag integer)"); DatabaseUtility.AddTable(sqlDB, "tblSetting", "CREATE TABLE tblSetting (settingid integer primary key, key text, value text)"); + DatabaseUtility.AddIndex(sqlDB, "idxFile1", "CREATE INDEX idxFile1 ON tblFileItem(appid)"); DatabaseUtility.AddIndex(sqlDB, "idxApp1", "CREATE INDEX idxApp1 ON tblApplicationItem(fatherID)"); DatabaseUtility.AddIndex(sqlDB, "idxFilterItem1", "CREATE UNIQUE INDEX idxFilterItem1 ON tblFilterItem(appID, fileID, grouperAppID)"); - if (skipPrePostPatch) - { - // don't need to add prelaunch / postlaunch anymore if table was created above - DatabaseSettings.WriteSetting(ProgramUtils.cPREPOST_PATCH, "DONE"); - } - return true; } - static void PatchContentID() + static public string ReadSetting(string Key) { - if (sqlDB == null) - return; + SQLiteResultSet results; + string res = null; + string SQL = @" + SELECT + value + + FROM + tblSetting + + WHERE + key ='" + Key + "'"; - if (!DatabaseSettings.KeyExists(ProgramUtils.cCONTENT_PATCH)) + results = sqlDB.Execute(SQL); + + if (results != null && results.Rows.Count > 0) { - Log.Info("myPrograms: applying contentID-patch"); - sqlDB.Execute("UPDATE tblApplicationItem SET contentID = 100 WHERE contentID IS NULL"); - sqlDB.Execute("UPDATE tblApplicationItem SET contentID = 100 WHERE contentID <= 0"); - DatabaseSettings.WriteSetting(ProgramUtils.cCONTENT_PATCH, "DONE"); + SQLiteResultSet.Row arr = results.Rows[0]; + res = arr.fields[0]; } + //Log.Info("dw read setting key:{0}\nvalue:{1}", Key, applicationItem); + return res; } - static void PatchEmptyValues() + static int CountKey(string Key) { - if (sqlDB == null) - return; + SQLiteResultSet results; + int res = 0; + results = sqlDB.Execute(@" + SELECT + COUNT(*) + + FROM + tblSetting + + WHERE key ='" + Key + "'"); - Log.Info("myPrograms: applying empty-value-patch"); - sqlDB.Execute("UPDATE tblFileItem SET launchcount = 0 WHERE launchcount = ''"); - sqlDB.Execute("UPDATE tblFileItem SET launchcount = 0 WHERE launchcount <= 0"); - sqlDB.Execute("UPDATE tblFileItem SET lastTimeLaunched = '01.01.0001 00:00:00' WHERE lastTimeLaunched = ''"); + if (results != null && results.Rows.Count > 0) + { + SQLiteResultSet.Row arr = results.Rows[0]; + res = Int32.Parse(arr.fields[0]); + } + return res; } - static void PatchGenreValues() + static public bool KeyExists(string Key) { - if (sqlDB == null) - return; - if (!DatabaseSettings.KeyExists(ProgramUtils.cGENRE_PATCH)) - { - Log.Info("myPrograms: applying genre-patch"); - sqlDB.Execute("UPDATE tblFileItem SET mainGenre = '' WHERE mainGenre IS NULL"); - sqlDB.Execute("UPDATE tblFileItem SET subGenre = '' WHERE subGenre IS NULL"); - DatabaseSettings.WriteSetting(ProgramUtils.cGENRE_PATCH, "DONE"); - } + return (CountKey(Key) > 0); } - // trigger prevents sqlitev3 client from deleting globalApplicationList.... - static void PatchAppTrigger() + static public void WriteSetting(string Key, string Value) { - if (sqlDB == null) - return; - if (ObjectExists("td_application", "trigger")) + if (KeyExists(Key)) { - try - { - sqlDB.Execute("drop trigger td_application"); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - } + sqlDB.Execute(@" + UPDATE + tblSetting + + SET + value = '" + Value + @"' + + WHERE + key = '" + Key + "'"); } + else + { + sqlDB.Execute(@" + INSERT INTO + tblSetting (key, value) + + VALUES('" + Key + "', '" + Value + "')"); + } } - static void PatchPrePostLaunch() + static public void DeleteSetting(string Key) { - if (sqlDB == null) - return; - if (!DatabaseSettings.KeyExists(ProgramUtils.cPREPOST_PATCH)) - { - try - { - Log.Info("myPrograms: adding preLaunch / postLaunch fields"); - sqlDB.Execute("ALTER TABLE tblApplicationItem ADD COLUMN preLaunch TEXT"); - sqlDB.Execute("ALTER TABLE tblApplicationItem ADD COLUMN postLaunch TEXT"); - DatabaseSettings.WriteSetting(ProgramUtils.cPREPOST_PATCH, "DONE"); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - } - } + sqlDB.Execute("DELETE FROM tblSetting WHERE key = '" + Key + "'"); } + public static ProgramViewHandler ViewHandler + { + get { return viewHandler; } + set { viewHandler = value; } + } + + static public ApplicationItemList ApplicationItemList { get Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs 2007-06-25 13:58:05 UTC (rev 628) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs 2007-06-25 20:28:17 UTC (rev 629) @@ -88,7 +88,7 @@ public override bool AppItemToForm(ApplicationItem curApp) { base.AppItemToForm(curApp); - titleTextBox.Text = DatabaseSettings.ReadSetting(ProgramUtils.cPLUGINTITLE); + titleTextBox.Text = DatabaseHandler.ReadSetting(ProgramUtils.cPLUGINTITLE); if (titleTextBox.Text == "") { // PluginTitle.Text = GUILocalizeStrings.Get(0); @@ -104,11 +104,11 @@ { if ((titleTextBox.Text != "")) { - DatabaseSettings.WriteSetting(ProgramUtils.cPLUGINTITLE, titleTextBox.Text); + DatabaseHandler.WriteSetting(ProgramUtils.cPLUGINTITLE, titleTextBox.Text); } else { - DatabaseSettings.DeleteSetting(ProgramUtils.cPLUGINTITLE); + DatabaseHandler.DeleteSetting(ProgramUtils.cPLUGINTITLE); } } } Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs 2007-06-25 13:58:05 UTC (rev 628) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItem.cs 2007-06-25 20:28:17 UTC (rev 629) @@ -627,7 +627,12 @@ { strYear = String.Format("{0}", Year); } + else + { + strYear = "-1"; + } + try { string strSQL = String.Format( Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs 2007-06-25 13:58:05 UTC (rev 628) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/FileItems/FileItemList.cs 2007-06-25 20:28:17 UTC (rev 629) @@ -147,7 +147,7 @@ //Debugger.Launch(); if (sqlDB == null) return; - if (DatabaseSettings.viewHandler == null) + if (DatabaseHandler.ViewHandler == null) return; try @@ -157,7 +157,7 @@ return; SQLiteResultSet results; filePath = pathSubfolders; - string sqlQuery = DatabaseSettings.viewHandler.BuildQuery(appID, pathSubfolders); + string sqlQuery = DatabaseHandler.ViewHandler.BuildQuery(appID, pathSubfolders); // Log.Info("dw \n{0}", sqlQuery); results = sqlDB.Execute(sqlQuery); if (results.Rows.Count == 0) @@ -165,7 +165,7 @@ for (int curRow = 0; curRow < results.Rows.Count; curRow++) { - if (DatabaseSettings.viewHandler.IsFilterQuery) + if (DatabaseHandler.ViewHandler.IsFilterQuery) { ProgramFilterItem curFilter = DBGetFilterItem(results, curRow); Add(curFilter); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-25 13:58:05 UTC (rev 628) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-25 20:28:17 UTC (rev 629) @@ -69,7 +69,7 @@ /// false : plugin does not need its own button on home</returns> public bool GetHome(out string strButtonText, out string strButtonImage, out string strButtonImageFocus, out string strPictureImage) { - string strText = DatabaseSettings.ReadSetting(ProgramUtils.cPLUGINTITLE); + string strText = DatabaseHandler.ReadSetting(ProgramUtils.cPLUGINTITLE); if ((strText != "") && (strText != null)) { strButtonText = strText; @@ -278,7 +278,7 @@ } xmlwriter.SetValue("myprograms", "lastAppID", mapSettings.LastAppID.ToString()); // xmlwriter.SetValue("myprograms", "lastViewLevel", mapSettings.LastViewLevel.ToString()); - xmlwriter.SetValue("myprograms", "lastViewLevel", DatabaseSettings.viewHandler.CurrentLevel); + xmlwriter.SetValue("myprograms", "lastViewLevel", DatabaseHandler.ViewHandler.CurrentLevel); xmlwriter.SetValue("myprograms", "sortby", mapSettings.SortBy); // avoid bool conversion...... don't wanna know why it doesn't work! :-( if (mapSettings.SortAscending) @@ -306,7 +306,7 @@ void LoadSettings() { - string _slideSpeed = DatabaseSettings.ReadSetting(ProgramUtils.cSLIDESPEED); + string _slideSpeed = DatabaseHandler.ReadSetting(ProgramUtils.cSLIDESPEED); if ((_slideSpeed != "") && (_slideSpeed != null)) { slideSpeed = int.Parse(_slideSpeed); @@ -452,7 +452,7 @@ lastFilepath = lastApp.DefaultFilepath(); lastApp.CurrentSortIndex = mapSettings.SortBy; lastApp.CurrentSortIsAscending = mapSettings.SortAscending; - DatabaseSettings.viewHandler.CurrentLevel = mapSettings.LastViewLevel; + DatabaseHandler.ViewHandler.CurrentLevel = mapSettings.LastViewLevel; } else { @@ -523,12 +523,12 @@ {//maybe we can remove this property, not sure if we would need it get { - if (DatabaseSettings.viewHandler.View == null) + if (DatabaseHandler.ViewHandler.View == null) return Layout.List; if (layout == null) { - layout = new Layout[DatabaseSettings.viewHandler.Views.Count, 50]; + layout = new Layout[DatabaseHandler.ViewHandler.Views.Count, 50]; List<String> viewStrings = new List<String>(); viewStrings.Add("List"); @@ -536,11 +536,11 @@ viewStrings.Add("Big Icons"); viewStrings.Add("Filmstrip"); - for (int i = 0; i < DatabaseSettings.viewHandler.Views.Count; ++i) + for (int i = 0; i < DatabaseHandler.ViewHandler.Views.Count; ++i) { - for (int j = 0; j < DatabaseSettings.viewHandler.Views[i].Filters.Count; ++j) + for (int j = 0; j < DatabaseHandler.ViewHandler.Views[i].Filters.Count; ++j) { - FilterDefinition def = (FilterDefinition)DatabaseSettings.viewHandler.Views[i].Filters[j]; + FilterDefinition def = (FilterDefinition)DatabaseHandler.ViewHandler.Views[i].Filters[j]; int defaultView = viewStrings.IndexOf(def.DefaultView); if (defaultView != -1) @@ -551,11 +551,11 @@ } } - return layout[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel]; + return layout[DatabaseHandler.ViewHandler.Views.IndexOf(DatabaseHandler.ViewHandler.View), DatabaseHandler.ViewHandler.CurrentLevel]; } set { - layout[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel] = value; + layout[DatabaseHandler.ViewHandler.Views.IndexOf(DatabaseHandler.ViewHandler.View), DatabaseHandler.ViewHandler.CurrentLevel] = value; } } @@ -563,28 +563,28 @@ { get { - if (DatabaseSettings.viewHandler.View == null) + if (DatabaseHandler.ViewHandler.View == null) return true; if (sortasc == null) { - sortasc = new bool[DatabaseSettings.viewHandler.Views.Count, 50]; + sortasc = new bool[DatabaseHandler.ViewHandler.Views.Count, 50]; - for (int i = 0; i < DatabaseSettings.viewHandler.Views.Count; ++i) + for (int i = 0; i < DatabaseHandler.ViewHandler.Views.Count; ++i) { - for (int j = 0; j < DatabaseSettings.viewHandler.Views[i].Filters.Count; ++j) + for (int j = 0; j < DatabaseHandler.ViewHandler.Views[i].Filters.Count; ++j) { - FilterDefinition def = (FilterDefinition)DatabaseSettings.viewHandler.Views[i].Filters[j]; + FilterDefinition def = (FilterDefinition)DatabaseHandler.ViewHandler.Views[i].Filters[j]; sortasc[i, j] = def.SortAscending; } } } - return sortasc[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel]; + return sortasc[DatabaseHandler.ViewHandler.Views.IndexOf(DatabaseHandler.ViewHandler.View), DatabaseHandler.ViewHandler.CurrentLevel]; } set { - sortasc[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel] = value; + sortasc[DatabaseHandler.ViewHandler.Views.IndexOf(DatabaseHandler.ViewHandler.View), DatabaseHandler.ViewHandler.CurrentLevel] = value; } } @@ -592,12 +592,12 @@ { get { - if (DatabaseSettings.viewHandler.View == null) + if (DatabaseHandler.ViewHandler.View == null) return ProgramSort.SortMethod.Name; if (sortby == null) { - sortby = new ProgramSort.SortMethod[DatabaseSettings.viewHandler.Views.Count, 50]; + sortby = new ProgramSort.SortMethod[DatabaseHandler.ViewHandler.Views.Count, 50]; List<String> sortStrings = new List<String>(); sortStrings.Add("Name"); @@ -607,11 +607,11 @@ sortStrings.Add("LaunchCount"); sortStrings.Add("LastTimeLaunched"); - for (int i = 0; i < DatabaseSettings.viewHandler.Views.Count; ++i) + for (int i = 0; i < DatabaseHandler.ViewHandler.Views.Count; ++i) { - for (int j = 0; j < DatabaseSettings.viewHandler.Views[i].Filters.Count; ++j) + for (int j = 0; j < DatabaseHandler.ViewHandler.Views[i].Filters.Count; ++j) { - FilterDefinition def = (FilterDefinition)DatabaseSettings.viewHandler.Views[i].Filters[j]; + FilterDefinition def = (FilterDefinition)DatabaseHandler.ViewHandler.Views[i].Filters[j]; int defaultSort = sortStrings.IndexOf(def.DefaultSort); if (defaultSort != -1) @@ -622,11 +622,11 @@ } } - return sortby[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel]; + return sortby[DatabaseHandler.ViewHandler.Views.IndexOf(DatabaseHandler.ViewHandler.View), DatabaseHandler.ViewHandler.CurrentLevel]; } set { - sortby[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel] = value; + sortby[DatabaseHandler.ViewHandler.Views.IndexOf(DatabaseHandler.ViewHandler.View), DatabaseHandler.ViewHandler.CurrentLevel] = value; } } @@ -698,7 +698,7 @@ protected override void OnPageLoad() { string view = CurrentView; - DatabaseSettings.viewHandler.CurrentView = view; + DatabaseHandler.ViewHandler.CurrentView = view; base.OnPageLoad(); InitMyPrograms(); } @@ -860,16 +860,16 @@ void UpdateButtons() { - GUIPropertyManager.SetProperty("#view", DatabaseSettings.viewHandler.LocalizedCurrentView); + GUIPropertyManager.SetProperty("#view", DatabaseHandler.ViewHandler.LocalizedCurrentView); btnViewAs.Label = mapSettings.ViewAsText; btnRefresh.IsVisible = RefreshButtonVisible(); // display apptitle if available..... if (lastApp != null) { - if ((DatabaseSettings.viewHandler.CurrentView != null) && (DatabaseSettings.viewHandler.MaxLevels > 0)) + if ((DatabaseHandler.ViewHandler.CurrentView != null) && (DatabaseHandler.ViewHandler.MaxLevels > 0)) { - GUIPropertyManager.SetProperty("#curheader", DatabaseSettings.viewHandler.LocalizedCurrentView); + GUIPropertyManager.SetProperty("#curheader", DatabaseHandler.ViewHandler.LocalizedCurrentView); } else { @@ -878,7 +878,7 @@ } else { - string strText = DatabaseSettings.ReadSetting(ProgramUtils.cPLUGINTITLE); + string strText = DatabaseHandler.ReadSetting(ProgramUtils.cPLUGINTITLE); if ((strText != "") && (strText != null)) { GUIPropertyManager.SetProperty("#curheader", strText); @@ -1043,13 +1043,13 @@ void SaveItemIndex(string value, ApplicationItem app, string pathSub) { - string key = BuildHistoryKey(app, DatabaseSettings.viewHandler.CurrentLevel, pathSub); + string key = BuildHistoryKey(app, DatabaseHandler.ViewHandler.CurrentLevel, pathSub); itemHistory.Set(value, key); } void RestoreItemIndex(ApplicationItem app, string pathSub) { - string key = BuildHistoryKey(app, DatabaseSettings.viewHandler.CurrentLevel, pathSub); + string key = BuildHistoryKey(app, DatabaseHandler.ViewHandler.CurrentLevel, pathSub); string itemHist = itemHistory.Get(key); if (itemHist != "") { @@ -1077,14 +1077,14 @@ } else { - if (DatabaseSettings.viewHandler.RemoveFilterItem()) + if (DatabaseHandler.ViewHandler.RemoveFilterItem()) { ProgramFilterItem curFilter; // force reload, this will load the next filter-level..... lastApp.LoadFiles(); // auto-remove filters if there is only ONE EMPTY Filteritem // displaying - bool doAutoRemove = ((lastApp.Files.Count == 1) && (DatabaseSettings.viewHandler.IsFilterQuery)); + bool doAutoRemove = ((lastApp.Files.Count == 1) && (DatabaseHandler.ViewHandler.IsFilterQuery)); while (doAutoRemove) { doAutoRemove = false; @@ -1093,10 +1093,10 @@ curFilter = lastApp.Files[0] as ProgramFilterItem; if ((curFilter.Title == "") && (curFilter.Title2 == "")) { - if (DatabaseSettings.viewHandler.RemoveFilterItem()) + if (DatabaseHandler.ViewHandler.RemoveFilterItem()) { lastApp.LoadFiles(); - doAutoRemove = ((lastApp.Files.Count == 1) && (DatabaseSettings.viewHandler.IsFilterQuery)); + doAutoRemove = ((lastApp.Files.Count == 1) && (DatabaseHandler.ViewHandler.IsFilterQuery)); } } } @@ -1158,7 +1158,7 @@ lastApp = candidate; mapSettings.LastAppID = lastApp.AppID; lastFilepath = lastApp.DefaultFilepath(); - DatabaseSettings.viewHandler.CurrentLevel = 0; + DatabaseHandler.ViewHandler.CurrentLevel = 0; } else if (item.MusicTag is FileItem) @@ -1197,14 +1197,14 @@ { ProgramFilterItem curFilter; SaveItemIndex(GetSelectedItemNo().ToString(), lastApp, lastFilepath); - DatabaseSettings.viewHandler.AddFilterItem(item.MusicTag as ProgramFilterItem); + DatabaseHandler.ViewHandler.AddFilterItem(item.MusicTag as ProgramFilterItem); if (lastApp != null) { // force reload, this will load the next filter-level..... lastApp.LoadFiles(); // check if the next filter is only displaying ONE EMPTY item // if yes, autoselect this filteritem - bool doAutoSelect = ((lastApp.Files.Count == 1) && (DatabaseSettings.viewHandler.IsFilterQuery)); + bool doAutoSelect = ((lastApp.Files.Count == 1) && (DatabaseHandler.ViewHandler.IsFilterQuery)); while (doAutoSelect) { doAutoSelect = false; @@ -1213,9 +1213,9 @@ curFilter = lastApp.Files[0] as ProgramFilterItem; if ((curFilter.Title == "") && (curFilter.Title2 == "")) { - DatabaseSettings.viewHandler.AddFilterItem(curFilter); + DatabaseHandler.ViewHandler.AddFilterItem(curFilter); lastApp.LoadFiles(); - doAutoSelect = ((lastApp.Files.Count == 1) && (DatabaseSettings.viewHandler.IsFilterQuery)); + doAutoSelect = ((lastApp.Files.Count == 1) && (DatabaseHandler.ViewHandler.IsFilterQuery)); } } } @@ -1393,7 +1393,7 @@ dlg.Reset(); dlg.SetHeading(499); // Actions dlg.Add(GUILocalizeStrings.Get(100000 + GetID)); // Files - foreach (ViewDefinition view in DatabaseSettings.viewHandler.Views) + foreach (ViewDefinition view in DatabaseHandler.ViewHandler.Views) { dlg.Add(view.LocalizedName); } @@ -1404,7 +1404,7 @@ int nNewWindow = (int)Window.WINDOW_FILES; StartWindow = nNewWindow; CurrentView = ""; - DatabaseSettings.viewHandler.CurrentView = null; + DatabaseHandler.ViewHandler.CurrentView = null; if (nNewWindow != GetID) { GUIWindowManager.ReplaceWindow(nNewWindow); @@ -1412,9 +1412,9 @@ } else { - ViewDefinition selectedView = (ViewDefinition)DatabaseSettings.viewHandler.Views[dlg.SelectedLabel - 1]; + ViewDefinition selectedView = (ViewDefinition)DatabaseHandler.ViewHandler.Views[dlg.SelectedLabel - 1]; CurrentView = selectedView.Name; - DatabaseSettings.viewHandler.CurrentView = selectedView.Name; + DatabaseHandler.ViewHandler.CurrentView = selectedView.Name; int nNewWindow = (int)Window.WINDOW_FILES; if (GetID != nNewWindow) { Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramUtils.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramUtils.cs 2007-06-25 13:58:05 UTC (rev 628) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramUtils.cs 2007-06-25 20:28:17 UTC (rev 629) @@ -107,10 +107,8 @@ public const string cSLIDESPEED = "SLIDESPEED"; public const string cPLUGINTITLE = "PLUGINTITLE"; - public const string cCONTENT_PATCH = "CONTENTPATCH"; - public const string cGENRE_PATCH = "GENREPATCH"; - public const string cPREPOST_PATCH = "PREPOSTPATCH"; + #endregion Variables #region Constructor This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <an...@us...> - 2007-06-25 13:58:07
|
Revision: 628 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=628&view=rev Author: and-81 Date: 2007-06-25 06:58:05 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/TVServerStatus/TVServerStatus.cs Modified: trunk/plugins/TVServerStatus/TVServerStatus.cs =================================================================== --- trunk/plugins/TVServerStatus/TVServerStatus.cs 2007-06-24 16:44:13 UTC (rev 627) +++ trunk/plugins/TVServerStatus/TVServerStatus.cs 2007-06-25 13:58:05 UTC (rev 628) @@ -146,8 +146,8 @@ } string status = "TV Server" + StatusText(); - if (status.Length > 64) - status = status.Substring(0, 60) + " ..."; + if (status.Length >= 64) + status = status.Substring(0, 60) + "..."; _notifyIcon.Text = status; } @@ -170,9 +170,7 @@ if (!_controller.Enabled(cardID)) continue; - outputString.Append("\r\n"); - outputString.Append(cardID.ToString()); - outputString.Append(" - "); + outputString.AppendFormat("\r\n{0} ", cardID); User user; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <an...@us...> - 2007-06-24 16:44:15
|
Revision: 627 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=627&view=rev Author: and-81 Date: 2007-06-24 09:44:13 -0700 (Sun, 24 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs Modified: trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs 2007-06-24 16:35:08 UTC (rev 626) +++ trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs 2007-06-24 16:44:13 UTC (rev 627) @@ -228,7 +228,7 @@ writer.WriteStartElement("settings"); // <settings> writer.WriteAttributeString("RepeatDelay", _repeatDelay.ToString()); - writer.WriteAttributeString("BlastRepeats", _serialPortName); + writer.WriteAttributeString("SerialPortName", _serialPortName); writer.WriteEndElement(); // </settings> writer.WriteEndDocument(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-24 16:35:10
|
Revision: 626 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=626&view=rev Author: chef_koch Date: 2007-06-24 09:35:08 -0700 (Sun, 24 Jun 2007) Log Message: ----------- added some notes Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-24 16:28:13 UTC (rev 625) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-24 16:35:08 UTC (rev 626) @@ -56,9 +56,11 @@ - small changes - use parameters in queries?? heah? ;) could you explain this more? =) we take it on icq=) - only saving filename without " . We add them if use qoutes is enabled when we create the procInfo + - Do we need those Database patches on start anymore? + PatchEmptyValues for example (maybe some more): we always insert the files now with dateTime.MinValue and launchCount 0, + i implented this in original MyPrograms just to update old Databases, but we use now completly new, so obsolete imo. ThumbnailSupport: - - [high] general: using thumbs in all views, if you browse files, not in all views the files/games, show their thumbnail - [low] rating: thumbs for 0-10 maybe as stylish numbers or maybe as smileys :( -> :| -> :), so that the user could choose it for himself - [low] genre: thumbs for genre, for example it could be created on AllGame lookup, for first file with this genre - ....... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-24 16:28:17
|
Revision: 625 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=625&view=rev Author: chef_koch Date: 2007-06-24 09:28:13 -0700 (Sun, 24 Jun 2007) Log Message: ----------- added restriction to MostRecentlyLaunched filter Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs 2007-06-24 16:20:49 UTC (rev 624) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs 2007-06-24 16:28:13 UTC (rev 625) @@ -72,7 +72,7 @@ //manufacturer ViewDefinition viewManufacturer = new ViewDefinition(); - viewManufacturer.Name = "13031"; + viewManufacturer.Name = "13031"; // Manufacturer filter1 = new FilterDefinition(); filter1.Where = "manufacturer"; ; filter1.SortAscending = true; filter2 = new FilterDefinition(); filter2.Where = "filename"; ; filter2.SortAscending = true; viewManufacturer.Filters.Add(filter1); @@ -80,7 +80,7 @@ //Alphabetical ViewDefinition viewAlphabetical = new ViewDefinition(); - viewAlphabetical.Name = "13034"; + viewAlphabetical.Name = "13034"; // Alphabetical / All Games filter1 = new FilterDefinition(); filter1.Where = "title"; filter1.SqlOperator = "group by"; @@ -94,7 +94,7 @@ //genre ViewDefinition viewGenre = new ViewDefinition(); - viewGenre.Name = "135"; + viewGenre.Name = "135"; // Genre filter1 = new FilterDefinition(); filter1.Where = "mainGenre"; ; filter1.SortAscending = true; filter2 = new FilterDefinition(); filter2.Where = "subGenre"; ; filter2.SortAscending = true; filter3 = new FilterDefinition(); filter3.Where = "filename"; ; filter3.SortAscending = true; @@ -105,7 +105,7 @@ //rating ViewDefinition viewRating = new ViewDefinition(); - viewRating.Name = "931"; + viewRating.Name = "931"; // Rating filter1 = new FilterDefinition(); filter1.Where = "rating"; ; filter1.SortAscending = false; filter2 = new FilterDefinition(); filter2.Where = "filename"; ; filter2.SortAscending = true; viewRating.Filters.Add(filter1); @@ -113,7 +113,7 @@ //year ViewDefinition viewYear = new ViewDefinition(); - viewYear.Name = "987"; + viewYear.Name = "987"; // Year filter1 = new FilterDefinition(); filter1.Where = "year"; ; filter1.SortAscending = true; filter2 = new FilterDefinition(); filter2.Where = "filename"; ; filter2.SortAscending = true; viewYear.Filters.Add(filter1); @@ -121,14 +121,14 @@ //most launched ViewDefinition viewMostLaunched = new ViewDefinition(); - viewMostLaunched.Name = "13032"; + viewMostLaunched.Name = "13032"; // LaunchCount filter1 = new FilterDefinition(); filter1.Where = "launchcount"; filter1.SqlOperator = ">"; filter1.Restriction = "0"; filter1.SortAscending = false; viewMostLaunched.Filters.Add(filter1); //most recently launched ViewDefinition viewMostRecentlyLaunched = new ViewDefinition(); - viewMostRecentlyLaunched.Name = "13033"; - filter1 = new FilterDefinition(); filter1.Where = "lastTimeLaunched"; ; filter1.SortAscending = false; + viewMostRecentlyLaunched.Name = "13033"; // Most Recently Launched + filter1 = new FilterDefinition(); filter1.Where = "lastTimeLaunched"; filter1.SqlOperator = ">"; filter1.Restriction = DateTime.MinValue.ToString(); filter1.SortAscending = false; filter1.Limit = 100; viewMostRecentlyLaunched.Filters.Add(filter1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-24 16:20:56
|
Revision: 624 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=624&view=rev Author: chef_koch Date: 2007-06-24 09:20:49 -0700 (Sun, 24 Jun 2007) Log Message: ----------- when creating default views, localized codes are used now Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs Removed Paths: ------------- trunk/plugins/myGUIProgramsAlt/myProgramsAltViews_example.xml Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs 2007-06-24 15:51:37 UTC (rev 623) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ProgramViewHandler.cs 2007-06-24 16:20:49 UTC (rev 624) @@ -72,7 +72,7 @@ //manufacturer ViewDefinition viewManufacturer = new ViewDefinition(); - viewManufacturer.Name = "Manufacturer"; + viewManufacturer.Name = "13031"; filter1 = new FilterDefinition(); filter1.Where = "manufacturer"; ; filter1.SortAscending = true; filter2 = new FilterDefinition(); filter2.Where = "filename"; ; filter2.SortAscending = true; viewManufacturer.Filters.Add(filter1); @@ -80,7 +80,7 @@ //Alphabetical ViewDefinition viewAlphabetical = new ViewDefinition(); - viewAlphabetical.Name = "Alphabetical"; + viewAlphabetical.Name = "13034"; filter1 = new FilterDefinition(); filter1.Where = "title"; filter1.SqlOperator = "group by"; @@ -94,7 +94,7 @@ //genre ViewDefinition viewGenre = new ViewDefinition(); - viewGenre.Name = "Genre"; + viewGenre.Name = "135"; filter1 = new FilterDefinition(); filter1.Where = "mainGenre"; ; filter1.SortAscending = true; filter2 = new FilterDefinition(); filter2.Where = "subGenre"; ; filter2.SortAscending = true; filter3 = new FilterDefinition(); filter3.Where = "filename"; ; filter3.SortAscending = true; @@ -105,7 +105,7 @@ //rating ViewDefinition viewRating = new ViewDefinition(); - viewRating.Name = "Rating"; + viewRating.Name = "931"; filter1 = new FilterDefinition(); filter1.Where = "rating"; ; filter1.SortAscending = false; filter2 = new FilterDefinition(); filter2.Where = "filename"; ; filter2.SortAscending = true; viewRating.Filters.Add(filter1); @@ -113,7 +113,7 @@ //year ViewDefinition viewYear = new ViewDefinition(); - viewYear.Name = "Year"; + viewYear.Name = "987"; filter1 = new FilterDefinition(); filter1.Where = "year"; ; filter1.SortAscending = true; filter2 = new FilterDefinition(); filter2.Where = "filename"; ; filter2.SortAscending = true; viewYear.Filters.Add(filter1); @@ -121,13 +121,13 @@ //most launched ViewDefinition viewMostLaunched = new ViewDefinition(); - viewMostLaunched.Name = "Most Launched"; + viewMostLaunched.Name = "13032"; filter1 = new FilterDefinition(); filter1.Where = "launchcount"; filter1.SqlOperator = ">"; filter1.Restriction = "0"; filter1.SortAscending = false; viewMostLaunched.Filters.Add(filter1); //most recently launched ViewDefinition viewMostRecentlyLaunched = new ViewDefinition(); - viewMostRecentlyLaunched.Name = "Most Recently Launched"; + viewMostRecentlyLaunched.Name = "13033"; filter1 = new FilterDefinition(); filter1.Where = "lastTimeLaunched"; ; filter1.SortAscending = false; filter1.Limit = 100; viewMostRecentlyLaunched.Filters.Add(filter1); Deleted: trunk/plugins/myGUIProgramsAlt/myProgramsAltViews_example.xml =================================================================== --- trunk/plugins/myGUIProgramsAlt/myProgramsAltViews_example.xml 2007-06-24 15:51:37 UTC (rev 623) +++ trunk/plugins/myGUIProgramsAlt/myProgramsAltViews_example.xml 2007-06-24 16:20:49 UTC (rev 624) @@ -1,277 +0,0 @@ -<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> -<SOAP-ENV:Body> -<a1:ArrayList id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-2"/> -<_size>7</_size> -<_version>7</_version> -</a1:ArrayList> -<SOAP-ENC:Array id="ref-2" SOAP-ENC:arrayType="xsd:anyType[8]"> -<item href="#ref-3"/> -<item href="#ref-4"/> -<item href="#ref-5"/> -<item href="#ref-6"/> -<item href="#ref-7"/> -<item href="#ref-8"/> -<item href="#ref-9"/> -</SOAP-ENC:Array> -<a3:ViewDefinition id="ref-3" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-11"/> -<name id="ref-12">13031</name> -</a3:ViewDefinition> -<a3:ViewDefinition id="ref-4" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-13"/> -<name id="ref-14">135</name> -</a3:ViewDefinition> -<a3:ViewDefinition id="ref-5" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-15"/> -<name id="ref-16">931</name> -</a3:ViewDefinition> -<a3:ViewDefinition id="ref-6" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-17"/> -<name id="ref-18">987</name> -</a3:ViewDefinition> -<a3:ViewDefinition id="ref-7" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-19"/> -<name id="ref-20">13032</name> -</a3:ViewDefinition> -<a3:ViewDefinition id="ref-8" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-21"/> -<name id="ref-22">13033</name> -</a3:ViewDefinition> -<a3:ViewDefinition id="ref-9" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<listFilters href="#ref-23"/> -<name id="ref-24">13034</name> -</a3:ViewDefinition> -<a1:ArrayList id="ref-11" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-25"/> -<_size>2</_size> -<_version>143</_version> -</a1:ArrayList> -<a1:ArrayList id="ref-13" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-26"/> -<_size>3</_size> -<_version>168</_version> -</a1:ArrayList> -<a1:ArrayList id="ref-15" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-27"/> -<_size>2</_size> -<_version>173</_version> -</a1:ArrayList> -<a1:ArrayList id="ref-17" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-28"/> -<_size>2</_size> -<_version>146</_version> -</a1:ArrayList> -<a1:ArrayList id="ref-19" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-29"/> -<_size>1</_size> -<_version>179</_version> -</a1:ArrayList> -<a1:ArrayList id="ref-21" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-30"/> -<_size>1</_size> -<_version>129</_version> -</a1:ArrayList> -<a1:ArrayList id="ref-23" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Collections"> -<_items href="#ref-31"/> -<_size>2</_size> -<_version>111</_version> -</a1:ArrayList> -<SOAP-ENC:Array id="ref-25" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-32"/> -<item href="#ref-33"/> -</SOAP-ENC:Array> -<SOAP-ENC:Array id="ref-26" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-34"/> -<item href="#ref-35"/> -<item href="#ref-36"/> -</SOAP-ENC:Array> -<SOAP-ENC:Array id="ref-27" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-37"/> -<item href="#ref-38"/> -</SOAP-ENC:Array> -<SOAP-ENC:Array id="ref-28" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-39"/> -<item href="#ref-40"/> -</SOAP-ENC:Array> -<SOAP-ENC:Array id="ref-29" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-41"/> -</SOAP-ENC:Array> -<SOAP-ENC:Array id="ref-30" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-42"/> -</SOAP-ENC:Array> -<SOAP-ENC:Array id="ref-31" SOAP-ENC:arrayType="xsd:anyType[4]"> -<item href="#ref-43"/> -<item href="#ref-44"/> -</SOAP-ENC:Array> -<a3:FilterDefinition id="ref-32" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction id="ref-45"></restriction> -<whereClause id="ref-46">manufacturer</whereClause> -<fromStatement id="ref-47"></fromStatement> -<sqloperator href="#ref-45"/> -<whereValue id="ref-48">*</whereValue> -<selectedValue href="#ref-47"/> -<defaultView id="ref-49">List</defaultView> -<defaultSort id="ref-50">Name</defaultSort> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-33" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause id="ref-51">title</whereClause> -<fromStatement href="#ref-47"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-48"/> -<selectedValue href="#ref-47"/> -<defaultView href="#ref-49"/> -<defaultSort id="ref-52">Title</defaultSort> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-34" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause id="ref-53">mainGenre</whereClause> -<fromStatement href="#ref-47"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-48"/> -<selectedValue href="#ref-47"/> -<defaultView id="ref-54">List</defaultView> -<defaultSort href="#ref-50"/> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-35" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-47"/> -<whereClause id="ref-55">subGenre</whereClause> -<fromStatement href="#ref-47"/> -<sqloperator href="#ref-47"/> -<whereValue href="#ref-48"/> -<selectedValue href="#ref-47"/> -<defaultView id="ref-56">List</defaultView> -<defaultSort id="ref-57">Name</defaultSort> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-36" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause id="ref-58">title</whereClause> -<fromStatement href="#ref-47"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-48"/> -<selectedValue href="#ref-47"/> -<defaultView href="#ref-54"/> -<defaultSort href="#ref-52"/> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-37" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>false</sortAscending> -<restriction href="#ref-45"/> -<whereClause id="ref-59">rating</whereClause> -<fromStatement href="#ref-45"/> -<sqloperator href="#ref-45"/> -<whereValue id="ref-60">*</whereValue> -<selectedValue href="#ref-45"/> -<defaultView href="#ref-54"/> -<defaultSort id="ref-61">Rating</defaultSort> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-38" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause href="#ref-58"/> -<fromStatement href="#ref-45"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-60"/> -<selectedValue href="#ref-45"/> -<defaultView href="#ref-54"/> -<defaultSort href="#ref-52"/> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-39" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause id="ref-62">year</whereClause> -<fromStatement href="#ref-45"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-60"/> -<selectedValue href="#ref-45"/> -<defaultView href="#ref-54"/> -<defaultSort href="#ref-50"/> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-40" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause href="#ref-58"/> -<fromStatement href="#ref-45"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-60"/> -<selectedValue href="#ref-45"/> -<defaultView href="#ref-54"/> -<defaultSort href="#ref-52"/> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-41" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>false</sortAscending> -<restriction id="ref-63">0</restriction> -<whereClause id="ref-64">launchcount</whereClause> -<fromStatement href="#ref-45"/> -<sqloperator id="ref-65">></sqloperator> -<whereValue href="#ref-60"/> -<selectedValue href="#ref-45"/> -<defaultView id="ref-66">List</defaultView> -<defaultSort id="ref-67">LaunchCount</defaultSort> -<limit>100</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-42" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>false</sortAscending> -<restriction id="ref-68">01.01.0001 00:00:00</restriction> -<whereClause id="ref-69">lastTimeLaunched</whereClause> -<fromStatement href="#ref-45"/> -<sqloperator id="ref-70">></sqloperator> -<whereValue href="#ref-60"/> -<selectedValue href="#ref-45"/> -<defaultView id="ref-71">List</defaultView> -<defaultSort id="ref-72">LastTimeLaunched</defaultSort> -<limit>100</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-43" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction id="ref-73">1</restriction> -<whereClause id="ref-74">title</whereClause> -<fromStatement href="#ref-45"/> -<sqloperator id="ref-75">group by</sqloperator> -<whereValue id="ref-76">*</whereValue> -<selectedValue href="#ref-45"/> -<defaultView id="ref-77">List</defaultView> -<defaultSort id="ref-78">Name</defaultSort> -<limit>-1</limit> -</a3:FilterDefinition> -<a3:FilterDefinition id="ref-44" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/MediaPortal.GUI.View/Core%2C%20Version%3D0.2.2.9991%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull"> -<distinct>false</distinct> -<sortAscending>true</sortAscending> -<restriction href="#ref-45"/> -<whereClause href="#ref-74"/> -<fromStatement href="#ref-45"/> -<sqloperator href="#ref-45"/> -<whereValue href="#ref-76"/> -<selectedValue href="#ref-45"/> -<defaultView href="#ref-77"/> -<defaultSort id="ref-79">Name</defaultSort> -<limit>-1</limit> -</a3:FilterDefinition> -</SOAP-ENV:Body> -</SOAP-ENV:Envelope> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |