|
From: <Sil...@us...> - 2010-05-07 09:36:14
|
Revision: 3585
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3585&view=rev
Author: SilentException
Date: 2010-05-07 09:36:03 +0000 (Fri, 07 May 2010)
Log Message:
-----------
Additional optimizations and improvements
Buttons with id 4 5 changed to select buttons
Added code to prevent locking when no music is available
Modified Paths:
--------------
trunk/plugins/MusicTrivia/Languages/en-US.xml
trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs
trunk/plugins/MusicTrivia/MusicTrivia/Translation.cs
trunk/plugins/MusicTrivia/Skin/Blue3wide/MusicTrivia.xml
Modified: trunk/plugins/MusicTrivia/Languages/en-US.xml
===================================================================
--- trunk/plugins/MusicTrivia/Languages/en-US.xml 2010-05-06 21:54:04 UTC (rev 3584)
+++ trunk/plugins/MusicTrivia/Languages/en-US.xml 2010-05-07 09:36:03 UTC (rev 3585)
@@ -67,6 +67,7 @@
<string Field="TimesUp">Time's Up!</string>
<string Field="Timer">Timer</string>
<string Field="TimeLeft">Time left</string>
+ <string Field="Timeout">Error (timeout) getting next track\nfor the game.\nIs your music available?</string>
<!-- U -->
@@ -78,6 +79,6 @@
<!-- Y -->
<string Field="YouEarnedPoints">You've earned {0} points.</string>
- <string Field="YouDontHaveEnoughSongs">You don't have enough songs\nof selected genre ({0})\nin your music database for the game!\nSelect different genre.</string>
+ <string Field="YouDontHaveEnoughSongs">You don't have enough tracks\nof selected genre ({0})\nin your music database for the game!\nSelect different genre.</string>
</strings>
Modified: trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs
===================================================================
--- trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs 2010-05-06 21:54:04 UTC (rev 3584)
+++ trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs 2010-05-07 09:36:03 UTC (rev 3585)
@@ -17,9 +17,14 @@
[SkinControlAttribute(3)]
GUIButtonControl stopBtn = null;
[SkinControlAttribute(4)]
- GUIButtonControl triesBtn = null;
+ GUISelectButtonControl triesBtn = null;
[SkinControlAttribute(5)]
- GUIButtonControl timerBtn = null;
+ GUISelectButtonControl timerBtn = null;
+ //optional - TODO
+ //[SkinControlAttribute(6)]
+ //GUIButtonControl genreSelectionButton = null;
+ //[SkinControlAttribute(7)]
+ //GUIButtonControl playerSelectionButton = null;
[SkinControlAttribute(11)]
GUILabelControl timerLabel = null;
@@ -65,6 +70,7 @@
private int scorePlayer1 = 0;
private int scorePlayer2 = 0;
private System.Windows.Forms.Timer countDownTimer = new System.Windows.Forms.Timer();
+ private System.Windows.Forms.Timer preventLockTimer = new System.Windows.Forms.Timer();
private System.Threading.Thread updateThread = null;
private int timerDelay;
private int tries;
@@ -78,6 +84,11 @@
private int answers;
private bool disableEvent = false;
private const string emptyGenreFilter = "SELECT * FROM tracks WHERE strGenre like '%| |%' ORDER BY strTitle ASC";
+ private const string checkValidSongsLastGenreDEF = "***";
+ private string checkValidSongsLastGenre = checkValidSongsLastGenreDEF;
+ private bool checkValidSongsLastResult = false;
+ private int[] validTries = { 1, 2, 3 };
+ private int[] validTimerDelays = { 10, 15, 30, 60 };
#endregion
#region Constructor
@@ -142,17 +153,20 @@
#region GUIWindow overrides
public override bool Init()
{
+ preventLockTimer.Interval = 5000;
Translation.TranslateSkin();
return Load(GUIGraphicsContext.Skin + "\\MusicTrivia.xml");
}
protected override void OnPageDestroy(int new_windowId)
{
- doStop();
+ doStop(false);
countDownTimer.Tick -= doCountDownTimer;
+ preventLockTimer.Tick -= doPreventLockTimer;
g_Player.PlayBackStopped -= g_Player_PlayBackStopped;
+ g_Player.PlayBackChanged -= g_Player_PlayBackChanged;
if (settingsChanged == true)
{
@@ -166,15 +180,22 @@
{
GUIPropertyManager.SetProperty("#currentmodule", "Music Trivia");
+ triesBtn.RestoreSelection = false;
+ timerBtn.RestoreSelection = false;
+
doStopSkinActions();
listBox.Clear();
listBox.Disabled = true;
countDownTimer.Tick += doCountDownTimer;
+ preventLockTimer.Tick += doPreventLockTimer;
g_Player.PlayBackStopped += new g_Player.StoppedHandler(g_Player_PlayBackStopped);
+ g_Player.PlayBackChanged += new g_Player.ChangedHandler(g_Player_PlayBackChanged);
+ checkValidSongsLastGenre = checkValidSongsLastGenreDEF;
+
gameType = "1p";
timerDelay = 15;
tries = 2;
@@ -185,6 +206,7 @@
loadSettings();
settingsChanged = false;
+ initSelectButtons();
timerBtn.Label = String.Format(Translation.Time, timerDelay.ToString());
triesBtn.Label = String.Format(Translation.Tries, tries.ToString());
@@ -208,6 +230,33 @@
setupText();
}
+ private void initSelectButtons()
+ {
+ int selected, i;
+
+ i = 0;
+ selected = 0;
+ foreach (int validTry in validTries)
+ {
+ GUIControl.AddItemLabelControl(GetID, triesBtn.GetID, String.Format(Translation.Tries, validTry.ToString()));
+ if (validTry == tries)
+ selected = i;
+ i++;
+ }
+ GUIControl.SelectItemControl(GetID, triesBtn.GetID, selected);
+
+ i = 0;
+ selected = 0;
+ foreach (int validTimerDelay in validTimerDelays)
+ {
+ GUIControl.AddItemLabelControl(GetID, timerBtn.GetID, String.Format(Translation.Time, validTimerDelay.ToString()));
+ if (validTimerDelay == timerDelay)
+ selected = i;
+ i++;
+ }
+ GUIControl.SelectItemControl(GetID, timerBtn.GetID, selected);
+ }
+
protected override void OnClicked(int controlId, MediaPortal.GUI.Library.GUIControl control, MediaPortal.GUI.Library.Action.ActionType actionType)
{
if (control == startBtn)
@@ -233,12 +282,19 @@
if (control == stopBtn)
{
- doStop();
+ doStop(true);
GUIControl.FocusControl(GetID, startBtn.GetID);
}
if (control == timerBtn)
{
+ GUIControl.SelectItemControl(GetID, timerBtn.GetID, timerBtn.SelectedItem);
+ timerDelay = validTimerDelays[timerBtn.SelectedItem];
+ timerBtn.Label = String.Format(Translation.Time, timerDelay.ToString());
+ settingsChanged = true;
+ clearStatistics();
+
+ /*
switch (timerDelay)
{
case 60:
@@ -257,10 +313,18 @@
timerBtn.Label = String.Format(Translation.Time, timerDelay.ToString());
settingsChanged = true;
clearStatistics();
+ */
}
if (control == triesBtn)
{
+ GUIControl.SelectItemControl(GetID, triesBtn.GetID, triesBtn.SelectedItem);
+ tries = validTries[triesBtn.SelectedItem];
+ triesBtn.Label = String.Format(Translation.Tries, tries.ToString());
+ settingsChanged = true;
+ clearStatistics();
+
+ /*
switch (tries)
{
case 1:
@@ -276,6 +340,7 @@
triesBtn.Label = String.Format(Translation.Tries, tries.ToString());
settingsChanged = true;
clearStatistics();
+ */
}
base.OnClicked(controlId, control, actionType);
@@ -727,18 +792,27 @@
}
}
- private void doStop()
+ private void doStop(bool alwaysStopGPlayer)
{
+ bool haveToStopGPlayer = isPlaying();
+
GUIPropertyManager.SetProperty("#MusicTrivia.Game.InProgress", false.ToString());
+ doStopCommonActions();
+
+ if (alwaysStopGPlayer || haveToStopGPlayer)
+ stopGPlayer();
+
+ doStopSkinActions();
+ clearGameLabels();
+ }
+
+ private void doStopCommonActions()
+ {
if (updateThread != null && updateThread.IsAlive)
updateThread.Abort();
countDownTimer.Stop();
- stopGPlayer();
-
- doStopSkinActions();
- clearGameLabels();
}
private void doStopSkinActions()
@@ -774,11 +848,19 @@
MediaPortal.Music.Database.Song randomwrong2 = new MediaPortal.Music.Database.Song();
MediaPortal.Music.Database.Song randomwrong3 = new MediaPortal.Music.Database.Song();
+ preventLockTimer.Start();
if (currGenre == Translation._ALL)
{
MediaPortal.Music.Database.MusicDatabase.Instance.GetRandomSong(ref randomPlayingSong);
while (randomPlayingSong.Duration < timerDelay * 2 || !System.IO.File.Exists(randomPlayingSong.FileName))
{
+ if (!preventLockTimer.Enabled)
+ {
+ doStop(true);
+ ShowOKDialog(Translation.Warning, Translation.Timeout);
+ return;
+ }
+ System.Windows.Forms.Application.DoEvents(); //timer
MediaPortal.Music.Database.MusicDatabase.Instance.GetRandomSong(ref randomPlayingSong);
}
@@ -791,6 +873,13 @@
randomPlayingSong = genreSongs[randomNum.Next(0, genreSongs.Count - 1)];
while (randomPlayingSong.Duration < timerDelay * 2 || !System.IO.File.Exists(randomPlayingSong.FileName))
{
+ if (!preventLockTimer.Enabled)
+ {
+ doStop(true);
+ ShowOKDialog(Translation.Warning, Translation.Timeout);
+ return;
+ }
+ System.Windows.Forms.Application.DoEvents(); //timer
randomPlayingSong = genreSongs[randomNum.Next(0, genreSongs.Count - 1)];
}
@@ -798,6 +887,7 @@
randomwrong2 = genreSongs[randomNum.Next(0, genreSongs.Count - 1)];
randomwrong3 = genreSongs[randomNum.Next(0, genreSongs.Count - 1)];
}
+ preventLockTimer.Stop();
System.Collections.ArrayList choices = new System.Collections.ArrayList();
choices.Add(randomPlayingSong);
@@ -985,6 +1075,11 @@
doStart();
}
+ private void doPreventLockTimer(object source, EventArgs e)
+ {
+ preventLockTimer.Stop();
+ }
+
private string getThumb(MediaPortal.Music.Database.Song song)
{
string thumb = string.Empty;
@@ -1006,6 +1101,9 @@
private bool checkValidSongs(string currentGenre, bool useDialog)
{
+ if (checkValidSongsLastGenre == currentGenre)
+ return checkValidSongsLastResult;
+
int foundSongs = 0;
List<MediaPortal.Music.Database.Song> songs = new List<MediaPortal.Music.Database.Song>();
@@ -1038,14 +1136,17 @@
}
}
+ checkValidSongsLastGenre = currentGenre;
if (foundSongs < 4)
{
if (useDialog)
{
ShowOKDialog(Translation.Warning, String.Format(Translation.YouDontHaveEnoughSongs, currentGenre));
}
+ checkValidSongsLastResult = false;
return false;
}
+ checkValidSongsLastResult = true;
return true;
}
@@ -1096,11 +1197,32 @@
private void playbackStoppedActions()
{
- doStop();
- GUIWindowManager.Process();
- GUIControl.DisableControl(GetID, listBox.GetID);
- GUIControl.FocusControl(GetID, 500);
+ if (isPlaying())
+ {
+ doStop(false);
+ GUIWindowManager.Process();
+ GUIControl.DisableControl(GetID, listBox.GetID);
+ GUIControl.FocusControl(GetID, 500);
+ }
}
+
+ void g_Player_PlayBackChanged(g_Player.MediaType type, int stoptime, string filename)
+ {
+ if (isPlaying())
+ {
+ doStopCommonActions();
+ doStopSkinActions();
+ clearGameLabels();
+ }
+ }
+
+ private static bool isPlaying()
+ {
+ string playing = GUIPropertyManager.GetProperty("#MusicTrivia.Game.InProgress");
+ if (!string.IsNullOrEmpty(playing) && playing == true.ToString())
+ return true;
+ return false;
+ }
#endregion
}
}
Modified: trunk/plugins/MusicTrivia/MusicTrivia/Translation.cs
===================================================================
--- trunk/plugins/MusicTrivia/MusicTrivia/Translation.cs 2010-05-06 21:54:04 UTC (rev 3584)
+++ trunk/plugins/MusicTrivia/MusicTrivia/Translation.cs 2010-05-07 09:36:03 UTC (rev 3585)
@@ -256,6 +256,7 @@
public static string TimesUp = "Time's Up!";
public static string Timer = "Timer";
public static string TimeLeft = "Time left";
+ public static string Timeout = "Error (timeout) getting next track\nfor the game.\nIs your music available?";
// U
@@ -267,7 +268,7 @@
// Y
public static string YouEarnedPoints = "You've earned {0} points.";
- public static string YouDontHaveEnoughSongs = "You don't have enough songs\nof selected genre ({0})\nin your music database for the game!\nSelect different genre.";
+ public static string YouDontHaveEnoughSongs = "You don't have enough tracks\nof selected genre ({0})\nin your music database for the game!\nSelect different genre.";
#endregion
}
}
\ No newline at end of file
Modified: trunk/plugins/MusicTrivia/Skin/Blue3wide/MusicTrivia.xml
===================================================================
--- trunk/plugins/MusicTrivia/Skin/Blue3wide/MusicTrivia.xml 2010-05-06 21:54:04 UTC (rev 3584)
+++ trunk/plugins/MusicTrivia/Skin/Blue3wide/MusicTrivia.xml 2010-05-07 09:36:03 UTC (rev 3585)
@@ -32,7 +32,7 @@
</control>
<control>
<description>Tries</description>
- <type>button</type>
+ <type>selectbutton</type>
<id>4</id>
<posX>60</posX>
<posY>201</posY>
@@ -44,7 +44,7 @@
</control>
<control>
<description>Time</description>
- <type>button</type>
+ <type>selectbutton</type>
<id>5</id>
<posX>60</posX>
<posY>241</posY>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <Sil...@us...> - 2010-05-25 09:25:32
|
Revision: 3604
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3604&view=rev
Author: SilentException
Date: 2010-05-25 09:25:25 +0000 (Tue, 25 May 2010)
Log Message:
-----------
Added Danish translation (thanks 1stdead)
Added German translation (thanks tomtom21000)
Added Blue3 skin file (thanks Dadeo)
Added setting of #selecteditem2 property (with currently selected artist)
Modified Paths:
--------------
trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs
Added Paths:
-----------
trunk/plugins/MusicTrivia/Languages/da.xml
trunk/plugins/MusicTrivia/Languages/de.xml
trunk/plugins/MusicTrivia/Skin/Blue3/
trunk/plugins/MusicTrivia/Skin/Blue3/MusicTrivia.xml
Added: trunk/plugins/MusicTrivia/Languages/da.xml
===================================================================
--- trunk/plugins/MusicTrivia/Languages/da.xml (rev 0)
+++ trunk/plugins/MusicTrivia/Languages/da.xml 2010-05-25 09:25:25 UTC (rev 3604)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Music Trivia translation file -->
+<!-- Danish (DA) -->
+<!-- Note: English is the fallback for any strings not found in other languages -->
+<strings>
+ <!-- # -->
+ <string Field="_ALL">*ALLE*</string>
+ <string Field="_EMPTY">*TOM*</string>
+
+ <!-- A -->
+
+ <!-- B -->
+
+ <!-- C -->
+ <string Field="ChooseGenre">V\xE6lg genre</string>
+ <string Field="ChangeGameType">\xC6ndre spiltype</string>
+ <string Field="ChooseNumberOfPlayers">V\xE6lg antal spillere</string>
+ <string Field="Correct">Korrekt!</string>
+ <string Field="CorrectClean">Korrekte</string>
+
+ <!-- D -->
+
+ <!-- E -->
+
+ <!-- F -->
+
+ <!-- G -->
+ <string Field="GameSetup">Spilleregler</string>
+
+ <!-- H -->
+
+ <!-- I -->
+ <string Field="Incorrect">Forkert!</string>
+ <string Field="IncorrectClean">Forkert</string>
+
+ <!-- L -->
+
+ <!-- M -->
+
+ <!-- N -->
+ <string Field="NewGame">Nyt spil</string>
+
+ <!-- O -->
+ <string Field="OnePlayer">En spiller</string>
+
+ <!-- P -->
+ <string Field="PlayerEarnedPoints">Spiller {0} tjente {1} point.</string>
+ <string Field="PlayerOne">Spiller 1</string>
+ <string Field="PlayerTwo">Spiller 2</string>
+ <string Field="Points">Points</string>
+ <string Field="PointsLower">points</string>
+ <string Field="Player">Spiller</string>
+
+ <!-- R -->
+ <string Field="RestrictGenreTo">Indskr\xE6nk genre til: {0}</string>
+
+ <!-- S -->
+ <string Field="StopGame">Stop spil</string>
+ <string Field="Score">Score</string>
+
+ <!-- T -->
+ <string Field="Tries">Fors\xF8g: {0}</string>
+ <string Field="Time">Tid: {0}</string>
+ <string Field="TwoPlayersSimultaneous">To spillere samtidig</string>
+ <string Field="TwoPlayersAlternating">To spillere skiftevis</string>
+ <string Field="TheCorrectAnswerWasSongByArtist">Det korrekte svar var {0} af {1}</string>
+ <string Field="TimesUp">Tiden er udl\xF8bet!</string>
+ <string Field="Timer">Timer</string>
+ <string Field="TimeLeft">Tid tilbage</string>
+ <string Field="Timeout">Fejl (timeout) i afspilning af\nn\xE6ste nummer i spillet.\nEr musikken tilg\xE6ngelig?</string>
+
+ <!-- U -->
+
+ <!-- V -->
+
+ <!-- W -->
+ <string Field="WrongClean">Forkerte</string>
+ <string Field="Warning">Advarsel</string>
+
+ <!-- Y -->
+ <string Field="YouEarnedPoints">Du tjente {0} points.</string>
+ <string Field="YouDontHaveEnoughSongs">Du har ikke nok numre i den\nvalge genre ({0})\ni din musikdatebase!\nV\xE6lg en anden genre.</string>
+
+</strings>
Added: trunk/plugins/MusicTrivia/Languages/de.xml
===================================================================
--- trunk/plugins/MusicTrivia/Languages/de.xml (rev 0)
+++ trunk/plugins/MusicTrivia/Languages/de.xml 2010-05-25 09:25:25 UTC (rev 3604)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Music Trivia translation file -->
+<!-- German -->
+<!-- Note: English is the fallback for any strings not found in other languages -->
+<strings>
+ <!-- # -->
+ <string Field="_ALL">*ALLE*</string>
+ <string Field="_EMPTY">*LEER*</string>
+
+ <!-- A -->
+
+ <!-- B -->
+
+ <!-- C -->
+ <string Field="ChooseGenre">W\xE4hle Genre</string>
+ <string Field="ChangeGameType">Spielart wechseln</string>
+ <string Field="ChooseNumberOfPlayers">Anzahl Spieler w\xE4hlen</string>
+ <string Field="Correct">Richtig!</string>
+ <string Field="CorrectClean">Richtig</string>
+
+ <!-- D -->
+
+ <!-- E -->
+
+ <!-- F -->
+
+ <!-- G -->
+ <string Field="GameSetup">Spieleinstellungen</string>
+
+ <!-- H -->
+
+ <!-- I -->
+ <string Field="Incorrect">Falsch!</string>
+ <string Field="IncorrectClean">Falsch</string>
+
+ <!-- L -->
+
+ <!-- M -->
+
+ <!-- N -->
+ <string Field="NewGame">Neues Spiel</string>
+
+ <!-- O -->
+ <string Field="OnePlayer">Ein Spieler</string>
+
+ <!-- P -->
+ <string Field="PlayerEarnedPoints">Spieler {0} erzielte {1} Punkte.</string>
+ <string Field="PlayerOne">Spieler 1</string>
+ <string Field="PlayerTwo">Spieler 2</string>
+ <string Field="Points">Punkte</string>
+ <string Field="PointsLower">Punkte</string>
+ <string Field="Player">Spieler</string>
+
+ <!-- R -->
+ <string Field="RestrictGenreTo">Genre eingrenzen auf: {0}</string>
+
+ <!-- S -->
+ <string Field="StopGame">Spiel beenden</string>
+ <string Field="Score">Ergebnis</string>
+
+ <!-- T -->
+ <string Field="Tries">Versuche: {0}</string>
+ <string Field="Time">Zeit: {0}</string>
+ <string Field="TwoPlayersSimultaneous">2 Spieler gleichzeitig</string>
+ <string Field="TwoPlayersAlternating">2 Spieler abwechselnd</string>
+ <string Field="TheCorrectAnswerWasSongByArtist">Die richtige Antwort war {0} von {1}</string>
+ <string Field="TimesUp">Zeit um!</string>
+ <string Field="Timer">Zeit</string>
+ <string Field="TimeLeft">verbleibende Zeit</string>
+ <string Field="Timeout">Fehler (Zeit\xFCberschreitung) hole den n\xE4chsten Titel\nf\xFCr das Spiel.\nIst Deine Musik verf\xFCgbar?</string>
+
+ <!-- U -->
+
+ <!-- V -->
+
+ <!-- W -->
+ <string Field="WrongClean">Falsch</string>
+ <string Field="Warning">Warnung</string>
+
+ <!-- Y -->
+ <string Field="YouEarnedPoints">Du hast {0} Punkte erzielt.</string>
+ <string Field="YouDontHaveEnoughSongs">Du hast nicht gen\xFCgend Lieder\naus dem gew\xE4hlten Genre ({0})\nin Deiner Musiksammlung f\xFCr das Spiel!\nW\xE4hle ein anderes Genre.</string>
+
+</strings>
Modified: trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs
===================================================================
--- trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs 2010-05-24 20:08:44 UTC (rev 3603)
+++ trunk/plugins/MusicTrivia/MusicTrivia/MusicTriviaGUI.cs 2010-05-25 09:25:25 UTC (rev 3604)
@@ -230,31 +230,20 @@
setupText();
}
- private void initSelectButtons()
- {
- int selected, i;
-
- i = 0;
- selected = 0;
- foreach (int validTry in validTries)
- {
- GUIControl.AddItemLabelControl(GetID, triesBtn.GetID, String.Format(Translation.Tries, validTry.ToString()));
- if (validTry == tries)
- selected = i;
- i++;
+ public override bool OnMessage(GUIMessage message) {
+ switch (message.Message) {
+ case GUIMessage.MessageType.GUI_MSG_ITEM_FOCUS_CHANGED: {
+ int iControl = message.SenderControlId;
+ if (iControl == listBox.GetID) {
+ GUIListItem item = GUIControl.GetSelectedListItem(GetID, listBox.GetID);
+ if (item != null && item.MusicTag != null) {
+ GUIPropertyManager.SetProperty("#selecteditem2", (string)item.MusicTag);
+ }
+ }
+ break;
+ }
}
- GUIControl.SelectItemControl(GetID, triesBtn.GetID, selected);
-
- i = 0;
- selected = 0;
- foreach (int validTimerDelay in validTimerDelays)
- {
- GUIControl.AddItemLabelControl(GetID, timerBtn.GetID, String.Format(Translation.Time, validTimerDelay.ToString()));
- if (validTimerDelay == timerDelay)
- selected = i;
- i++;
- }
- GUIControl.SelectItemControl(GetID, timerBtn.GetID, selected);
+ return base.OnMessage(message);
}
protected override void OnClicked(int controlId, MediaPortal.GUI.Library.GUIControl control, MediaPortal.GUI.Library.Action.ActionType actionType)
@@ -819,6 +808,7 @@
{
//listBox.Clear();
listBox.Disabled = true;
+ GUIPropertyManager.SetProperty("#selecteditem2", " ");
startBtn.Disabled = false;
stopBtn.Disabled = true;
@@ -909,21 +899,25 @@
GUIListItem choice1 = new GUIListItem();
choice1.Label = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[0]]).Title;
+ choice1.MusicTag = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[0]]).Artist;
choice1.Label3 = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[0]]).Artist + "\n" + ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[0]]).Album;
choice1.IconImage = getThumb((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[0]]);
// choice1.ItemId = 0
GUIListItem choice2 = new GUIListItem();
choice2.Label = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[1]]).Title;
+ choice2.MusicTag = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[1]]).Artist;
choice2.Label3 = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[1]]).Artist + "\n" + ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[1]]).Album;
choice2.IconImage = getThumb((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[1]]);
//choice2.ItemId = 1
GUIListItem choice3 = new GUIListItem();
choice3.Label = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[2]]).Title;
+ choice3.MusicTag = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[2]]).Artist;
choice3.Label3 = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[2]]).Artist + "\n" + ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[2]]).Album;
choice3.IconImage = getThumb((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[2]]);
// choice3.ItemId = 2
GUIListItem choice4 = new GUIListItem();
choice4.Label = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[3]]).Title;
+ choice4.MusicTag = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[3]]).Artist;
choice4.Label3 = ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[3]]).Artist + "\n" + ((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[3]]).Album;
choice4.IconImage = getThumb((MediaPortal.Music.Database.Song)choices[(int)randomNumbers[3]]);
// choice4.ItemId = 3
@@ -1223,6 +1217,33 @@
return true;
return false;
}
+
+ private void initSelectButtons()
+ {
+ int selected, i;
+
+ i = 0;
+ selected = 0;
+ foreach (int validTry in validTries)
+ {
+ GUIControl.AddItemLabelControl(GetID, triesBtn.GetID, String.Format(Translation.Tries, validTry.ToString()));
+ if (validTry == tries)
+ selected = i;
+ i++;
+ }
+ GUIControl.SelectItemControl(GetID, triesBtn.GetID, selected);
+
+ i = 0;
+ selected = 0;
+ foreach (int validTimerDelay in validTimerDelays)
+ {
+ GUIControl.AddItemLabelControl(GetID, timerBtn.GetID, String.Format(Translation.Time, validTimerDelay.ToString()));
+ if (validTimerDelay == timerDelay)
+ selected = i;
+ i++;
+ }
+ GUIControl.SelectItemControl(GetID, timerBtn.GetID, selected);
+ }
#endregion
}
}
Added: trunk/plugins/MusicTrivia/Skin/Blue3/MusicTrivia.xml
===================================================================
--- trunk/plugins/MusicTrivia/Skin/Blue3/MusicTrivia.xml (rev 0)
+++ trunk/plugins/MusicTrivia/Skin/Blue3/MusicTrivia.xml 2010-05-25 09:25:25 UTC (rev 3604)
@@ -0,0 +1,348 @@
+<window>
+ <id>6622</id>
+ <defaultcontrol>2</defaultcontrol>
+ <allowoverlay>no</allowoverlay>
+ <define>#header.label:MusicTrivia</define>
+ <controls>
+ <import>common.window.xml</import>
+ <import>common.time.xml</import>
+ <control>
+ <type>label</type>
+ <description>Header</description>
+ <id>1</id>
+ <posX>56</posX>
+ <posY>30</posY>
+ <label>MusicTrivia</label>
+ <font>dingbats</font>
+ <textcolor>ffffffff</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>group</type>
+ <description>groupelement</description>
+ <layout>StackLayout</layout>
+ <animation effect="fade" time="200">WindowClose</animation>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <posX>56</posX>
+ <posY>88</posY>
+ <control>
+ <description>Start Button</description>
+ <type>button</type>
+ <id>2</id>
+ <label>#MusicTrivia.Translation.NewGame.Label</label>
+ <onleft>2</onleft>
+ <onright>50</onright>
+ <onup>17</onup>
+ <ondown>3</ondown>
+ </control>
+ <control>
+ <description>Stop</description>
+ <type>button</type>
+ <id>3</id>
+ <label>#MusicTrivia.Translation.StopGame.Label</label>
+ <onleft>3</onleft>
+ <onright>50</onright>
+ <onup>2</onup>
+ <ondown>4</ondown>
+ </control>
+ <control>
+ <description>Tries</description>
+ <type>selectbutton</type>
+ <id>4</id>
+ <label></label>
+ <onleft>4</onleft>
+ <onright>50</onright>
+ <onup>3</onup>
+ <ondown>5</ondown>
+ </control>
+ <control>
+ <description>Time</description>
+ <type>selectbutton</type>
+ <id>5</id>
+ <label></label>
+ <onleft>5</onleft>
+ <onright>50</onright>
+ <onup>4</onup>
+ <ondown>901</ondown>
+ </control>
+ <control>
+ <description>Options</description>
+ <type>button</type>
+ <id>901</id>
+ <label>496</label>
+ <action>106</action>
+ <onleft>901</onleft>
+ <onright>50</onright>
+ <onup>5</onup>
+ <ondown>2</ondown>
+ </control>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Timer value label</description>
+ <id>11</id>
+ <posX>690</posX>
+ <posY>490</posY>
+ <label>:00</label>
+ <font>font32</font>
+ <align>right</align>
+ <textcolor>ffffffff</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Points label</description>
+ <id>0</id>
+ <posX>295</posX>
+ <posY>505</posY>
+ <label>#MusicTrivia.Translation.Points.Label:</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Points value label</description>
+ <id>12</id>
+ <posX>395</posX>
+ <posY>505</posY>
+ <label></label>
+ <font>font18</font>
+ <align>right</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+
+ <control>
+ <type>label</type>
+ <description>Player 1 label</description>
+ <id>510</id>
+ <posX>60</posX>
+ <posY>260</posY>
+ <label>#MusicTrivia.Translation.PlayerOne.Label</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>511</id>
+ <posX>75</posX>
+ <posY>290</posY>
+ <label>#MusicTrivia.Translation.CorrectClean.Label:</label>
+ <font>font11</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>512</id>
+ <posX>165</posX>
+ <posY>290</posY>
+ <label></label>
+ <font>font11</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>513</id>
+ <posX>75</posX>
+ <posY>320</posY>
+ <label>#MusicTrivia.Translation.WrongClean.Label:</label>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>514</id>
+ <posX>165</posX>
+ <posY>320</posY>
+ <label/>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>515</id>
+ <posX>60</posX>
+ <posY>345</posY>
+ <label>#MusicTrivia.Translation.Score.Label:</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>516</id>
+ <posX>165</posX>
+ <posY>345</posY>
+ <label></label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+
+ <control>
+ <type>label</type>
+ <description>Player 2 label</description>
+ <id>520</id>
+ <posX>60</posX>
+ <posY>395</posY>
+ <label>#MusicTrivia.Translation.PlayerTwo.Label</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <description>p2 correct: label</description>
+ <id>521</id>
+ <posX>75</posX>
+ <posY>435</posY>
+ <label>#MusicTrivia.Translation.CorrectClean.Label:</label>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>522</id>
+ <description>p2 number of correct label</description>
+ <posX>165</posX>
+ <posY>435</posY>
+ <label></label>
+ <font>font11</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>523</id>
+ <description>p2 wrong: label</description>
+ <posX>75</posX>
+ <posY>465</posY>
+ <label>#MusicTrivia.Translation.WrongClean.Label:</label>
+ <font>font11</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>524</id>
+ <description>p2 number wrong label</description>
+ <posX>165</posX>
+ <posY>465</posY>
+ <label></label>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>525</id>
+ <description>p2 score: label</description>
+ <posX>60</posX>
+ <posY>490</posY>
+ <label>#MusicTrivia.Translation.Score.Label:</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>526</id>
+ <description>p2 number score label</description>
+ <posX>165</posX>
+ <posY>490</posY>
+ <label></label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+
+ <control>
+ <type>listcontrol</type>
+ <description>scheduler recordings listcontrol</description>
+ <id>50</id>
+ <posX>295</posX>
+ <posY>88</posY>
+ <height>600</height>
+ <width>400</width>
+ <onleft>3</onleft>
+ <onright>50</onright>
+ <font>font14</font>
+ <font2>font10</font2>
+ <font3>font11</font3>
+ <textXOff>27</textXOff>
+ <textXOff2>0</textXOff2>
+ <textXOff3>99</textXOff3>
+ <textYOff>11</textYOff>
+ <textYOff2>88</textYOff2>
+ <textYOff3>40</textYOff3>
+ <IconXOff>22</IconXOff>
+ <IconYOff>16</IconYOff>
+ <textcolor2>ffa9d0f7</textcolor2>
+ <textcolor3>ffa9d0f7</textcolor3>
+ <itemHeight>60</itemHeight>
+ <itemWidth>60</itemWidth>
+ <textureHeight>100</textureHeight>
+ <keepaspectratio>yes</keepaspectratio>
+ </control>
+
+ <control>
+ <description>DUMMY BUTTON - optional for hidden menu visibility</description>
+ <type>button</type>
+ <id>500</id>
+ <posX>480</posX>
+ <posY>0</posY>
+ <width>800</width>
+ <height>720</height>
+ <label></label>
+ <onright>50</onright>
+ <onleft>2</onleft>
+ <onup>500</onup>
+ <ondown>500</ondown>
+ <textureFocus>-</textureFocus>
+ <textureNoFocus>-</textureNoFocus>
+ <!--<visible>!String.Contains(#MusicTrivia.Game.InProgress,rue)</visible>-->
+ <visible>no</visible>
+ </control>
+
+ </controls>
+</window>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <Sil...@us...> - 2011-06-11 23:21:22
|
Revision: 4245
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4245&view=rev
Author: SilentException
Date: 2011-06-11 23:21:15 +0000 (Sat, 11 Jun 2011)
Log Message:
-----------
MusicTrivia
- MediaPortal v1.2 compatibility
- MpeRelease
Modified Paths:
--------------
trunk/plugins/MusicTrivia/MusicTrivia/MusicTrivia.csproj
trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs
trunk/plugins/MusicTrivia/MusicTrivia.suo
Added Paths:
-----------
trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2
trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2010.mpe1
trunk/plugins/MusicTrivia/MpeRelease/update.xml
trunk/plugins/MusicTrivia/Skin/Default/
trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml
trunk/plugins/MusicTrivia/Skin/DefaultWide/
trunk/plugins/MusicTrivia/Skin/DefaultWide/MusicTrivia.xml
Added: trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2
===================================================================
--- trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2 (rev 0)
+++ trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2 2011-06-11 23:21:15 UTC (rev 4245)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PackageClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Plugin">
+ <ParentGroup />
+ <DisplayName>Plugin</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Plugin</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\MusicTrivia\bin\Release\MusicTrivia.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{40cf90bb-7a82-49b2-89c7-d138b7b3ca60}-MusicTrivia.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\windows\MusicTrivia.dll</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Languages">
+ <ParentGroup />
+ <DisplayName>Languages</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Languages</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Languages\da.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{0e423139-03d6-4771-a93f-3118d1a5ece4}-da.xml</ZipFileName>
+ <DestinationFilename>%Language%\MusicTrivia\da.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Languages\de.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{ad9fd9c3-2159-4ec1-bd74-888ebdb3845c}-de.xml</ZipFileName>
+ <DestinationFilename>%Language%\MusicTrivia\de.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Languages\en-US.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{0cf87367-e2f2-4694-81db-348d9f005cc8}-en-US.xml</ZipFileName>
+ <DestinationFilename>%Language%\MusicTrivia\en-US.xml</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Skin">
+ <ParentGroup />
+ <DisplayName>Skin</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Skin</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Skin\Default\MusicTrivia.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{2e5fd1f9-ae95-4572-ae61-e3ee83fa6ce7}-MusicTrivia.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Default\MusicTrivia.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Skin\DefaultWide\MusicTrivia.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{011a90bd-5b50-4876-9f8c-32f0d28b8bee}-MusicTrivia.xml</ZipFileName>
+ <DestinationFilename>%Skin%\DefaultWide\MusicTrivia.xml</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items>
+ <SectionItem Guid="4dd76812-7cf5-4935-8d0c-763023fc344f" Name="Welcome Screen" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header text">
+ <Value>Welcome to the Extension Installer for [Name]</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Description">
+ <Value>This will install [Name] version [Version] on your computer.
+It is recommended that you close all other applications before continuing.
+Click Next to continue or Cancel to exit Setup.</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Left part image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items />
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Welcome Screen</PanelName>
+ <WizardButtonsEnum>NextCancel</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="ce3dfcbc-10e8-41e9-9b07-fdf0fd94076d" Name="Install Section" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header Title">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Header title</Description>
+ </SectionParam>
+ <SectionParam Name="Header description">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Description of section, shown in under section title</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items>
+ <ActionItem Name="InstallFiles" ActionType="InstallFiles" ConditionGroup="">
+ <Params>
+ <Items />
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ </Items>
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Install Section</PanelName>
+ <WizardButtonsEnum>Next</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="ff4c3a73-3310-4e5e-8192-85f3c7f53716" Name="Setup Complete" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header text">
+ <Value>The Extension Installer Wizard has successfully installed [Name].</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Left part image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Show radio buttons">
+ <Value />
+ <ValueType>Bool</ValueType>
+ <Description>Use radiobutton in place of combobox</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items />
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Setup Complete</PanelName>
+ <WizardButtonsEnum>Finish</WizardButtonsEnum>
+ </SectionItem>
+ </Items>
+ </Sections>
+ <Dependencies>
+ <Items>
+ <DependencyItem>
+ <Type>MediaPortal</Type>
+ <Id />
+ <MinVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>0</Build>
+ <Revision>6</Revision>
+ </MinVersion>
+ <MaxVersion>
+ <Major>999999</Major>
+ <Minor>999999</Minor>
+ <Build>999999</Build>
+ <Revision>999999</Revision>
+ </MaxVersion>
+ <WarnOnly>true</WarnOnly>
+ <Message>This version of Music Trivia requires MediaPortal 1.2 Beta or newer!</Message>
+ <Name>MediaPortal</Name>
+ </DependencyItem>
+ </Items>
+ </Dependencies>
+ <GeneralInfo>
+ <Name>Music Trivia</Name>
+ <Id>33cb85e4-85e3-477e-a10a-bdddf217a6ec</Id>
+ <Author>jburnette, SilentException</Author>
+ <HomePage />
+ <ForumPage>http://forum.team-mediaportal.com/mediaportal-plugins-47/music-trivia-27431/</ForumPage>
+ <UpdateUrl>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/update.xml</UpdateUrl>
+ <Version>
+ <Major>2</Major>
+ <Minor>0</Minor>
+ <Build>1</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>Music Trivia plays a random song and you have to pick the song that is playing from a list of other songs</ExtensionDescription>
+ <VersionDescription>2.0.1.0 release</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2010.mpe1</OnlineLocation>
+ <ReleaseDate>2011-06-12T00:59:50.2288644+02:00</ReleaseDate>
+ <Tags>music, trivia, game</Tags>
+ <Location>d:\developing\#maintained\#games\MusicTrivia\MpeRelease\MusicTrivia_2010.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Icon">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>The icon file of the package (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Online Icon">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If have .exe extension the will be executed
+ If have .dll extension used like MP plugin configuration</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Online stored screenshot urls separated by ; </Description>
+ </SectionParam>
+ <SectionParam Name="Force to uninstall on update">
+ <Value>yes</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ </GeneralInfo>
+ <UniqueFileList>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\MusicTrivia\bin\Release\MusicTrivia.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{40cf90bb-7a82-49b2-89c7-d138b7b3ca60}-MusicTrivia.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\windows\MusicTrivia.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Languages\da.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{0e423139-03d6-4771-a93f-3118d1a5ece4}-da.xml</ZipFileName>
+ <DestinationFilename>%Language%\MusicTrivia\da.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Languages\de.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{ad9fd9c3-2159-4ec1-bd74-888ebdb3845c}-de.xml</ZipFileName>
+ <DestinationFilename>%Language%\MusicTrivia\de.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Languages\en-US.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{0cf87367-e2f2-4694-81db-348d9f005cc8}-en-US.xml</ZipFileName>
+ <DestinationFilename>%Language%\MusicTrivia\en-US.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Skin\Default\MusicTrivia.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{2e5fd1f9-ae95-4572-ae61-e3ee83fa6ce7}-MusicTrivia.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Default\MusicTrivia.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>AlwaysOverwrite</UpdateOption>
+ <LocalFileName>..\Skin\DefaultWide\MusicTrivia.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{011a90bd-5b50-4876-9f8c-32f0d28b8bee}-MusicTrivia.xml</ZipFileName>
+ <DestinationFilename>%Skin%\DefaultWide\MusicTrivia.xml</DestinationFilename>
+ </FileItem>
+ </Items>
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups />
+ <ProjectFilename>D:\developing\#maintained\#games\MusicTrivia\MpeRelease\MusicTrivia.xmp2</ProjectFilename>
+ <UpdatePath1>d:\developing\#maintained\#games\MusicTrivia\MpeRelease\update.xml</UpdatePath1>
+ <UpdatePath2 />
+ <UpdatePath3 />
+ </ProjectSettings>
+</PackageClass>
\ No newline at end of file
Added: trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2010.mpe1
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2010.mpe1
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MusicTrivia/MpeRelease/update.xml
===================================================================
--- trunk/plugins/MusicTrivia/MpeRelease/update.xml (rev 0)
+++ trunk/plugins/MusicTrivia/MpeRelease/update.xml 2011-06-11 23:21:15 UTC (rev 4245)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ExtensionCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Items>
+ <PackageClass>
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Plugin">
+ <DisplayName>Plugin</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Plugin</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Languages">
+ <DisplayName>Languages</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Languages</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Skin">
+ <DisplayName>Skin</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Skin</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items />
+ </Sections>
+ <Dependencies>
+ <Items>
+ <DependencyItem>
+ <Type>MediaPortal</Type>
+ <Id />
+ <MinVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>0</Build>
+ <Revision>6</Revision>
+ </MinVersion>
+ <MaxVersion>
+ <Major>999999</Major>
+ <Minor>999999</Minor>
+ <Build>999999</Build>
+ <Revision>999999</Revision>
+ </MaxVersion>
+ <WarnOnly>true</WarnOnly>
+ <Message>This version of Music Trivia requires MediaPortal 1.2 Beta or newer!</Message>
+ <Name>MediaPortal</Name>
+ </DependencyItem>
+ </Items>
+ </Dependencies>
+ <GeneralInfo>
+ <Name>Music Trivia</Name>
+ <Id>33cb85e4-85e3-477e-a10a-bdddf217a6ec</Id>
+ <Author>jburnette, SilentException</Author>
+ <HomePage />
+ <ForumPage>http://forum.team-mediaportal.com/mediaportal-plugins-47/music-trivia-27431/</ForumPage>
+ <UpdateUrl>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/update.xml</UpdateUrl>
+ <Version>
+ <Major>2</Major>
+ <Minor>0</Minor>
+ <Build>1</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>Music Trivia plays a random song and you have to pick the song that is playing from a list of other songs</ExtensionDescription>
+ <VersionDescription>2.0.1.0 release</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2010.mpe1</OnlineLocation>
+ <ReleaseDate>2011-06-12T00:59:50.2288644+02:00</ReleaseDate>
+ <Tags>music, trivia, game</Tags>
+ <Location>d:\developing\#maintained\#games\MusicTrivia\MpeRelease\MusicTrivia_2010.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Icon">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>The icon file of the package (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Online Icon">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If have .exe extension the will be executed
+ If have .dll extension used like MP plugin configuration</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Online stored screenshot urls separated by ; </Description>
+ </SectionParam>
+ <SectionParam Name="Force to uninstall on update">
+ <Value>yes</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ </GeneralInfo>
+ <UniqueFileList>
+ <Items />
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups />
+ </ProjectSettings>
+ </PackageClass>
+ </Items>
+</ExtensionCollection>
\ No newline at end of file
Modified: trunk/plugins/MusicTrivia/MusicTrivia/MusicTrivia.csproj
===================================================================
--- trunk/plugins/MusicTrivia/MusicTrivia/MusicTrivia.csproj 2011-06-11 21:44:07 UTC (rev 4244)
+++ trunk/plugins/MusicTrivia/MusicTrivia/MusicTrivia.csproj 2011-06-11 23:21:15 UTC (rev 4245)
@@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
+ <ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{6F77E3A1-EB60-490E-9213-BA2A49EBA86C}</ProjectGuid>
<OutputType>Library</OutputType>
@@ -31,6 +31,11 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="Common.Utils, Version=1.1.7.27931, Culture=neutral, processorArchitecture=x86">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>c:\Program Files\Team MediaPortal\MediaPortal\Common.Utils.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
<Reference Include="Core, Version=1.0.6.28732, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Team MediaPortal\MediaPortal\Core.dll</HintPath>
Modified: trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs
===================================================================
--- trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs 2011-06-11 21:44:07 UTC (rev 4244)
+++ trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs 2011-06-11 23:21:15 UTC (rev 4245)
@@ -1,6 +1,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using MediaPortal.Common.Utils;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
@@ -32,5 +33,9 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
+[assembly: AssemblyVersion("2.0.1.0")]
+[assembly: AssemblyFileVersion("2.0.1.0")]
+
+// MediaPortal plugin version compatibility
+[assembly: CompatibleVersion("1.1.7.0")]
+[assembly: UsesSubsystem("MP.SkinEngine")]
Modified: trunk/plugins/MusicTrivia/MusicTrivia.suo
===================================================================
(Binary files differ)
Added: trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml
===================================================================
--- trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml (rev 0)
+++ trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml 2011-06-11 23:21:15 UTC (rev 4245)
@@ -0,0 +1,348 @@
+<window>
+ <id>6622</id>
+ <defaultcontrol>2</defaultcontrol>
+ <allowoverlay>no</allowoverlay>
+ <define>#header.label:MusicTrivia</define>
+ <controls>
+ <import>common.window.xml</import>
+ <import>common.time.xml</import>
+ <control>
+ <type>label</type>
+ <description>Header</description>
+ <id>1</id>
+ <posX>56</posX>
+ <posY>30</posY>
+ <label>MusicTrivia</label>
+ <font>dingbats</font>
+ <textcolor>ffffffff</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>group</type>
+ <description>groupelement</description>
+ <layout>StackLayout</layout>
+ <animation effect="fade" time="200">WindowClose</animation>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <posX>56</posX>
+ <posY>88</posY>
+ <control>
+ <description>Start Button</description>
+ <type>button</type>
+ <id>2</id>
+ <label>#MusicTrivia.Translation.NewGame.Label</label>
+ <onleft>2</onleft>
+ <onright>50</onright>
+ <onup>17</onup>
+ <ondown>3</ondown>
+ </control>
+ <control>
+ <description>Stop</description>
+ <type>button</type>
+ <id>3</id>
+ <label>#MusicTrivia.Translation.StopGame.Label</label>
+ <onleft>3</onleft>
+ <onright>50</onright>
+ <onup>2</onup>
+ <ondown>4</ondown>
+ </control>
+ <control>
+ <description>Tries</description>
+ <type>selectbutton</type>
+ <id>4</id>
+ <label></label>
+ <onleft>4</onleft>
+ <onright>50</onright>
+ <onup>3</onup>
+ <ondown>5</ondown>
+ </control>
+ <control>
+ <description>Time</description>
+ <type>selectbutton</type>
+ <id>5</id>
+ <label></label>
+ <onleft>5</onleft>
+ <onright>50</onright>
+ <onup>4</onup>
+ <ondown>901</ondown>
+ </control>
+ <control>
+ <description>Options</description>
+ <type>button</type>
+ <id>901</id>
+ <label>496</label>
+ <action>106</action>
+ <onleft>901</onleft>
+ <onright>50</onright>
+ <onup>5</onup>
+ <ondown>2</ondown>
+ </control>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Timer value label</description>
+ <id>11</id>
+ <posX>690</posX>
+ <posY>490</posY>
+ <label>:00</label>
+ <font>font32</font>
+ <align>right</align>
+ <textcolor>ffffffff</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Points label</description>
+ <id>0</id>
+ <posX>295</posX>
+ <posY>505</posY>
+ <label>#MusicTrivia.Translation.Points.Label:</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Points value label</description>
+ <id>12</id>
+ <posX>395</posX>
+ <posY>505</posY>
+ <label></label>
+ <font>font18</font>
+ <align>right</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+
+ <control>
+ <type>label</type>
+ <description>Player 1 label</description>
+ <id>510</id>
+ <posX>60</posX>
+ <posY>260</posY>
+ <label>#MusicTrivia.Translation.PlayerOne.Label</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>511</id>
+ <posX>75</posX>
+ <posY>290</posY>
+ <label>#MusicTrivia.Translation.CorrectClean.Label:</label>
+ <font>font11</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>512</id>
+ <posX>165</posX>
+ <posY>290</posY>
+ <label></label>
+ <font>font11</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>513</id>
+ <posX>75</posX>
+ <posY>320</posY>
+ <label>#MusicTrivia.Translation.WrongClean.Label:</label>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>514</id>
+ <posX>165</posX>
+ <posY>320</posY>
+ <label/>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>515</id>
+ <posX>60</posX>
+ <posY>345</posY>
+ <label>#MusicTrivia.Translation.Score.Label:</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <id>516</id>
+ <posX>165</posX>
+ <posY>345</posY>
+ <label></label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+
+ <control>
+ <type>label</type>
+ <description>Player 2 label</description>
+ <id>520</id>
+ <posX>60</posX>
+ <posY>395</posY>
+ <label>#MusicTrivia.Translation.PlayerTwo.Label</label>
+ <font>font18</font>
+ <align>left</align>
+ <textcolor>White</textcolor>
+ <animation effect="fade" time="200">WindowOpen</animation>
+ <animation effect="fade" time="200">WindowClose</animation>
+ </control>
+ <control>
+ <type>label</type>
+ <description>...
[truncated message content] |
|
From: <Sil...@us...> - 2011-06-13 07:57:55
|
Revision: 4247
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4247&view=rev
Author: SilentException
Date: 2011-06-13 07:57:48 +0000 (Mon, 13 Jun 2011)
Log Message:
-----------
MyDailyComics
- 2.0.2.0 release
- updated skin files
Modified Paths:
--------------
trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2
trunk/plugins/MusicTrivia/MpeRelease/update.xml
trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs
trunk/plugins/MusicTrivia/MusicTrivia.suo
trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml
trunk/plugins/MusicTrivia/Skin/DefaultWide/MusicTrivia.xml
Added Paths:
-----------
trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2020.mpe1
Modified: trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2
===================================================================
--- trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2 2011-06-12 16:44:33 UTC (rev 4246)
+++ trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia.xmp2 2011-06-13 07:57:48 UTC (rev 4247)
@@ -214,16 +214,16 @@
<Version>
<Major>2</Major>
<Minor>0</Minor>
- <Build>1</Build>
+ <Build>2</Build>
<Revision>0</Revision>
</Version>
<ExtensionDescription>Music Trivia plays a random song and you have to pick the song that is playing from a list of other songs</ExtensionDescription>
- <VersionDescription>2.0.1.0 release</VersionDescription>
+ <VersionDescription>2.0.2.0 release</VersionDescription>
<DevelopmentStatus>Stable</DevelopmentStatus>
- <OnlineLocation>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2010.mpe1</OnlineLocation>
- <ReleaseDate>2011-06-12T00:59:50.2288644+02:00</ReleaseDate>
+ <OnlineLocation>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2020.mpe1</OnlineLocation>
+ <ReleaseDate>2011-06-13T00:00:00</ReleaseDate>
<Tags>music, trivia, game</Tags>
- <Location>d:\developing\#maintained\#games\MusicTrivia\MpeRelease\MusicTrivia_2010.mpe1</Location>
+ <Location>d:\developing\#maintained\#games\MusicTrivia\MpeRelease\MusicTrivia_2020.mpe1</Location>
<Params>
<Items>
<SectionParam Name="Icon">
Added: trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2020.mpe1
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2020.mpe1
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/plugins/MusicTrivia/MpeRelease/update.xml
===================================================================
--- trunk/plugins/MusicTrivia/MpeRelease/update.xml 2011-06-12 16:44:33 UTC (rev 4246)
+++ trunk/plugins/MusicTrivia/MpeRelease/update.xml 2011-06-13 07:57:48 UTC (rev 4247)
@@ -116,5 +116,120 @@
<FolderGroups />
</ProjectSettings>
</PackageClass>
+ <PackageClass>
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Plugin">
+ <DisplayName>Plugin</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Plugin</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Languages">
+ <DisplayName>Languages</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Languages</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Skin">
+ <DisplayName>Skin</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Skin</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items />
+ </Sections>
+ <Dependencies>
+ <Items>
+ <DependencyItem>
+ <Type>MediaPortal</Type>
+ <Id />
+ <MinVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>0</Build>
+ <Revision>6</Revision>
+ </MinVersion>
+ <MaxVersion>
+ <Major>999999</Major>
+ <Minor>999999</Minor>
+ <Build>999999</Build>
+ <Revision>999999</Revision>
+ </MaxVersion>
+ <WarnOnly>true</WarnOnly>
+ <Message>This version of Music Trivia requires MediaPortal 1.2 Beta or newer!</Message>
+ <Name>MediaPortal</Name>
+ </DependencyItem>
+ </Items>
+ </Dependencies>
+ <GeneralInfo>
+ <Name>Music Trivia</Name>
+ <Id>33cb85e4-85e3-477e-a10a-bdddf217a6ec</Id>
+ <Author>jburnette, SilentException</Author>
+ <HomePage />
+ <ForumPage>http://forum.team-mediaportal.com/mediaportal-plugins-47/music-trivia-27431/</ForumPage>
+ <UpdateUrl>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/update.xml</UpdateUrl>
+ <Version>
+ <Major>2</Major>
+ <Minor>0</Minor>
+ <Build>2</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>Music Trivia plays a random song and you have to pick the song that is playing from a list of other songs</ExtensionDescription>
+ <VersionDescription>2.0.2.0 release</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation>http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MusicTrivia/MpeRelease/MusicTrivia_2020.mpe1</OnlineLocation>
+ <ReleaseDate>2011-06-13T00:00:00</ReleaseDate>
+ <Tags>music, trivia, game</Tags>
+ <Location>d:\developing\#maintained\#games\MusicTrivia\MpeRelease\MusicTrivia_2020.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Icon">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>The icon file of the package (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Online Icon">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If have .exe extension the will be executed
+ If have .dll extension used like MP plugin configuration</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Online stored screenshot urls separated by ; </Description>
+ </SectionParam>
+ <SectionParam Name="Force to uninstall on update">
+ <Value>yes</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ </GeneralInfo>
+ <UniqueFileList>
+ <Items />
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups />
+ </ProjectSettings>
+ </PackageClass>
</Items>
</ExtensionCollection>
\ No newline at end of file
Modified: trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs
===================================================================
--- trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs 2011-06-12 16:44:33 UTC (rev 4246)
+++ trunk/plugins/MusicTrivia/MusicTrivia/Properties/AssemblyInfo.cs 2011-06-13 07:57:48 UTC (rev 4247)
@@ -33,8 +33,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.0.1.0")]
-[assembly: AssemblyFileVersion("2.0.1.0")]
+[assembly: AssemblyVersion("2.0.2.0")]
+[assembly: AssemblyFileVersion("2.0.2.0")]
// MediaPortal plugin version compatibility
[assembly: CompatibleVersion("1.1.7.0")]
Modified: trunk/plugins/MusicTrivia/MusicTrivia.suo
===================================================================
(Binary files differ)
Modified: trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml
===================================================================
--- trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml 2011-06-12 16:44:33 UTC (rev 4246)
+++ trunk/plugins/MusicTrivia/Skin/Default/MusicTrivia.xml 2011-06-13 07:57:48 UTC (rev 4247)
@@ -4,6 +4,14 @@
<allowoverlay>no</allowoverlay>
<define>#header.label:MusicTrivia</define>
<controls>
+ <control>
+ <description>BG</description>
+ <type>image</type>
+ <id>1</id>
+ <texture>Background.png</texture>
+ <width>720</width>
+ <height>576</height>
+ </control>
<import>common.window.xml</import>
<import>common.time.xml</import>
<control>
@@ -224,7 +232,7 @@
<posX>75</posX>
<posY>435</posY>
<label>#MusicTrivia.Translation.CorrectClean.Label:</label>
- <font>font12</font>
+ <font>font11</font>
<align>left</align>
<textcolor>White</textcolor>
<animation effect="fade" time="200">WindowOpen</animation>
Modified: trunk/plugins/MusicTrivia/Skin/DefaultWide/MusicTrivia.xml
===================================================================
--- trunk/plugins/MusicTrivia/Skin/DefaultWide/MusicTrivia.xml 2011-06-12 16:44:33 UTC (rev 4246)
+++ trunk/plugins/MusicTrivia/Skin/DefaultWide/MusicTrivia.xml 2011-06-13 07:57:48 UTC (rev 4247)
@@ -4,6 +4,14 @@
<allowoverlay>no</allowoverlay>
<define>#header.label:MusicTrivia</define>
<controls>
+ <control>
+ <description>BG</description>
+ <type>image</type>
+ <id>1</id>
+ <texture>Background.png</texture>
+ <width>1280</width>
+ <height>720</height>
+ </control>
<import>common.window.xml</import>
<import>common.time.xml</import>
<control>
@@ -214,7 +222,7 @@
<posX>75</posX>
<posY>525</posY>
<label>#MusicTrivia.Translation.CorrectClean.Label:</label>
- <font>font12</font>
+ <font>font11</font>
<align>left</align>
<textcolor>White</textcolor>
<animation effect="fade" time="200">WindowOpen</animation>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|