From: <eda...@us...> - 2013-12-09 20:06:11
|
Revision: 4704 http://sourceforge.net/p/mp-plugins/code/4704 Author: edalex86 Date: 2013-12-09 20:06:07 +0000 (Mon, 09 Dec 2013) Log Message: ----------- Added: - Compatibility with Mediaportal 1.2.0 alpha and after - Windows-based network browsing - Ability to add MP-TVSeries import path from FIle Explorer - Ability to add MP-TVSeries import path from FIle Explorer - Default and DefaultWide skins thx to catavolt - Titan skin thx to powermarcel10 Modified Paths: -------------- trunk/plugins/File Explorer/Constants.cs trunk/plugins/File Explorer/DrivesView.cs trunk/plugins/File Explorer/File Explorer.csproj trunk/plugins/File Explorer/LocalizeStrings.cs trunk/plugins/File Explorer/Properties/AssemblyInfo.cs trunk/plugins/File Explorer/Setup.cs Added Paths: ----------- trunk/plugins/File Explorer/Compression/Compression.dll trunk/plugins/File Explorer/Language/strings_it.xml trunk/plugins/File Explorer/MpeRelease/File Explorer.xml trunk/plugins/File Explorer/Skin/Default/ trunk/plugins/File Explorer/Skin/Default/File Explorer_dialog.xml trunk/plugins/File Explorer/Skin/Default/File Explorer_main.xml trunk/plugins/File Explorer/Skin/Default/File Explorer_modulepreview.xml trunk/plugins/File Explorer/Skin/Default/File Explorer_musicpreview.xml trunk/plugins/File Explorer/Skin/Default/File Explorer_textpreview.xml trunk/plugins/File Explorer/Skin/DefaultWide/ trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_dialog.xml trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_main.xml trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_modulepreview.xml trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_musicpreview.xml trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_textpreview.xml trunk/plugins/File Explorer/Skin/Titan/ trunk/plugins/File Explorer/Skin/Titan/File Explorer.xml trunk/plugins/File Explorer/Skin/Titan/File Explorer_dialog.xml trunk/plugins/File Explorer/Skin/Titan/File Explorer_main.xml trunk/plugins/File Explorer/Skin/Titan/File Explorer_textpreview.xml trunk/plugins/File Explorer/Skin/Titan/hover_file explorer.png Added: trunk/plugins/File Explorer/Compression/Compression.dll =================================================================== (Binary files differ) Index: trunk/plugins/File Explorer/Compression/Compression.dll =================================================================== --- trunk/plugins/File Explorer/Compression/Compression.dll 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/Compression/Compression.dll 2013-12-09 20:06:07 UTC (rev 4704) Property changes on: trunk/plugins/File Explorer/Compression/Compression.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/File Explorer/Constants.cs =================================================================== --- trunk/plugins/File Explorer/Constants.cs 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/Constants.cs 2013-12-09 20:06:07 UTC (rev 4704) @@ -341,6 +341,7 @@ public static readonly string REMOVEABLE = LocalizeStrings.Get((int)LocalizedMessages.Removeable); public static readonly string MENU = LocalizeStrings.Get((int)LocalizedMessages.Menu); public static readonly string SELECTDRIVE = LocalizeStrings.Get((int)LocalizedMessages.SelectDrive); + public static readonly string BROWSENETWORK = "Browse Network"; public static readonly string RENAME = LocalizeStrings.Get((int)LocalizedMessages.Rename); public static readonly string CREATEDIR = LocalizeStrings.Get((int)LocalizedMessages.CreateDir); public static readonly string ENCRYPT2 = LocalizeStrings.Get((int)LocalizedMessages.Encrypt2); Modified: trunk/plugins/File Explorer/DrivesView.cs =================================================================== --- trunk/plugins/File Explorer/DrivesView.cs 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/DrivesView.cs 2013-12-09 20:06:07 UTC (rev 4704) @@ -25,6 +25,9 @@ using System; using System.Collections; +using System.Linq; +using System.Reflection; +using System.Collections.Generic; using MediaPortal.GUI.Library; using MediaPortal.Util; using MediaPortal.Dialogs; @@ -34,6 +37,10 @@ using System.Runtime.InteropServices; using MediaPortal.Configuration; using MediaPortal.GUI.Pictures; +using WindowPlugins.GUITVSeries; +using MediaPortal.Plugins.MovingPictures; +using System.Management; +using System.DirectoryServices; namespace FileExplorer { @@ -132,10 +139,10 @@ private string currentPath = null; private string currentDrive = null; - private ArrayList drives = null; - private ArrayList currentPathList = null; + private List<Drive> drives = null; + private List<Info> currentPathList = null; - private ArrayList selectedList = null; + private List<Info> selectedList = null; private bool showExtensions; private bool trashcan; @@ -146,7 +153,7 @@ private DrivesView secondView = null; - private ArrayList lstFiles = null; + private List<string> lstFiles = null; private GUIDialogOperation dlgOp = null; @@ -171,7 +178,7 @@ #region private members private void CreateDrivesList() { - drives = new ArrayList(); + drives = new List<Drive>(); foreach (string d in Environment.GetLogicalDrives()) { @@ -265,7 +272,7 @@ return false; } - currentPathList = new ArrayList(); + currentPathList = new List<Info>(); foreach (string s in files) { @@ -311,7 +318,7 @@ currentPathList.Add(info); } - + currentPathList = currentPathList.OrderBy(e => e.Path.Name).ThenBy(y=>y.File.Name).ToList(); return true; } @@ -426,23 +433,24 @@ private struct MenuIDs { public const int SelectDrive = 0; - public const int Copy = 1; - public const int Move = 2; - public const int Delete = 3; - public const int Rename = 4; - public const int CreateDirectory = 5; - public const int EncryptDecrypt = 6; - public const int CompressUncomopress = 7; - public const int HideUnhide = 8; - public const int ReadOnlyFlag = 9; - public const int AudioPlaylist = 10; - public const int VideoPlayList = 11; - public const int AddToAudioPlaylist = 12; - public const int AddToVideoPlaylist = 13; - public const int SelectAll = 14; - public const int DisableSelections = 15; - public const int SelectionMode = 16; - public const int EmptyRecycleBin = 17; + public const int BrowseNetwrok = 1; + public const int Copy = 2; + public const int Move = 3; + public const int Delete = 4; + public const int Rename = 5; + public const int CreateDirectory = 6; + public const int EncryptDecrypt = 7; + public const int CompressUncomopress = 8; + public const int HideUnhide = 9; + public const int ReadOnlyFlag = 10; + public const int AudioPlaylist = 11; + public const int VideoPlayList = 12; + public const int AddToAudioPlaylist = 13; + public const int AddToVideoPlaylist = 14; + public const int SelectAll = 15; + public const int DisableSelections = 16; + public const int SelectionMode = 17; + public const int EmptyRecycleBin = 18; } #endregion @@ -463,6 +471,7 @@ mnu.Add("Add/Remove readonly flag"); */ mnu.SetHeading(Constants.View.MENU); mnu.Add(Constants.View.SELECTDRIVE); + mnu.Add(Constants.View.BROWSENETWORK); mnu.Add(Constants.Dialog.COPY); // was already defined in Dialog mnu.Add(Constants.Dialog.MOVE); // was already defined in Dialog mnu.Add(Constants.Dialog.DELETE); // was already defined in Dialog @@ -514,15 +523,43 @@ mnu.Add(Constants.Dialog.EMPTYRECYCLEBIN); + if (selectedList == null) + { + if (IsMPTVSeriesEnabled()) + { + mnu.Add("Add MPTV-Series Import Path"); + } + if (IsMovPicsEnabled()) + { + mnu.Add("Add MovingPictures Import Path"); + } + } + mnu.DoModal(GUIWindowManager.ActiveWindow); + if (mnu.SelectedLabelText == "Add MPTV-Series Import Path") + { + + AddToMPTVSeries(); + } + if (mnu.SelectedLabelText == "Add MovingPictures Import Path") + { + + AddToMovPics(); + } switch (mnu.SelectedLabel) { + case MenuIDs.SelectDrive: { SelectDrive(); break; } + case MenuIDs.BrowseNetwrok: + { + BrowseNetwork(); + break; + } case MenuIDs.Copy: { Copy(); @@ -675,6 +712,49 @@ } #endregion + #region Browse Netwrok routines + private void BrowseNetwork() + { + GUIDialogMenu dlg = (GUIDialogMenu)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_MENU); + dlg.Reset(); + dlg.SetHeading(Constants.View.BROWSENETWORK); + SelectQuery query = new SelectQuery("Win32_ComputerSystem"); + ManagementObjectSearcher searcher = new ManagementObjectSearcher(query); + string Workgroup = ""; + foreach (ManagementObject mo in searcher.Get()) + { + Workgroup = mo["domain"] as string; + } + DirectoryEntry entryPC; + entryPC = new DirectoryEntry(); + entryPC.Path = "WinNT://" + Workgroup; + foreach (DirectoryEntry child in entryPC.Children) + { + if (child.Name != "Schema") + dlg.Add(child.Name); + } + dlg.DoModal(GUIWindowManager.ActiveWindow); + + string PCName = dlg.SelectedLabelText; + dlg.Reset(); + dlg.SetHeading("Select Share"); + var path = string.Format(@"\\{0}\root\cimv2", PCName); + var q = "select * from win32_share"; + var worker = new ManagementObjectSearcher(path, q); + var shares = worker.Get(); + foreach (ManagementObject share in shares) + { + dlg.Add(share["Name"].ToString()); + } + dlg.DoModal(GUIWindowManager.ActiveWindow); + currentDrive = string.Format("\\\\{0}\\{1}", PCName, dlg.SelectedLabelText); + currentPath = string.Format("\\\\{0}\\{1}", PCName, dlg.SelectedLabelText); + LoadPath(); + FillListControl(); + + } + #endregion + #region Copy routines private void Copy() { @@ -1240,7 +1320,7 @@ GUIListItem item = null; Info info; - selectedList = new ArrayList(); + selectedList = new List<Info>(); int count = GUIControl.GetItemCount(winId, lstId); for (int i = 0; i < count; i++) @@ -1947,7 +2027,7 @@ private void CreateAudioPlaylist(string path, string plsFilename, bool subfolders) { /*ArrayList*/ - lstFiles = new ArrayList(); + lstFiles = new List<string>(); //dlgOp.SetCurrentFile(GetFilename("Reading files . . .")); // dlgOp.SetText("Reading files . . ."); dlgOp.SetText(Constants.Dialog.READFILE); @@ -1993,7 +2073,7 @@ if (!keyboard.IsConfirmed) return; - lstFiles = new ArrayList(); + lstFiles = new List<string>(); ShowDialogOperation(GUIDialogOperation.DialogType.AUDIO_PLAYLIST_CREATE); // dlgOp.SetText("Reading files . . ."); @@ -2094,7 +2174,7 @@ private void CreateVideoPlaylist(string path, string plsFilename, bool subfolders) { /*ArrayList*/ - lstFiles = new ArrayList(); + lstFiles = new List<string>(); //dlgOp.SetCurrentFile("Reading files . . ."); // dlgOp.SetText("Reading files . . ."); dlgOp.SetText(Constants.Dialog.READFILE); @@ -2139,7 +2219,7 @@ if (!keyboard.IsConfirmed) return; - lstFiles = new ArrayList(); + lstFiles = new List<string>(); ShowDialogOperation(GUIDialogOperation.DialogType.VIDEO_PLAYLIST_CREATE); // dlgOp.SetText("Reading files . . ."); @@ -2235,7 +2315,7 @@ if (item.IsFolder) { - lstFiles = new ArrayList(); + lstFiles = new List<string>(); ShowDialogOperation(GUIDialogOperation.DialogType.AUDIO_PLAYLIST_ADD); //dlgOp.Show(winId); ReadDirectories(item.Path, true, Utils.AudioExtensions); @@ -2304,7 +2384,7 @@ if ((mnu.SelectedLabel >= 0) && (mnu.SelectedLabel < files.Length)) { - lstFiles = new ArrayList(); + lstFiles = new List<string>(); ShowDialogOperation(GUIDialogOperation.DialogType.AUDIO_PLAYLIST_ADD); // dlgOp.SetText("Reading files . . ."); @@ -2395,7 +2475,7 @@ if (item.IsFolder) { - lstFiles = new ArrayList(); + lstFiles = new List<string>(); ShowDialogOperation(GUIDialogOperation.DialogType.AUDIO_PLAYLIST_ADD); //dlgOp.Show(winId); ReadDirectories(item.Path, true, Utils.AudioExtensions); @@ -2464,7 +2544,7 @@ if ((mnu.SelectedLabel >= 0) && (mnu.SelectedLabel < files.Length)) { - lstFiles = new ArrayList(); + lstFiles = new List<string>(); ShowDialogOperation(GUIDialogOperation.DialogType.AUDIO_PLAYLIST_ADD); // dlgOp.SetText("Reading files . . ."); @@ -2584,6 +2664,72 @@ } } #endregion + + private void AddToMPTVSeries() + { + + GUIListItem item = GUIControl.GetSelectedListItem(winId, lstId); + if (item.IsFolder) + { + DBImportPath[] pathes = DBImportPath.GetAll(); + + if (pathes.Select(p => p[DBImportPath.cPath].ToString().ToLowerInvariant()).Contains(item.Path.ToLowerInvariant())) + { + GUIDialogNotify dlg = (GUIDialogNotify)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_NOTIFY); + if (dlg == null) return; + dlg.SetHeading("Warning"); + dlg.SetText("Import path already exists"); + dlg.DoModal(GUIWindowManager.ActiveWindow); + } + else + { + DeviceManager.StopMonitor(); + DBImportPath path = new DBImportPath(); + path[DBImportPath.cEnabled] = "1"; + path[DBImportPath.cIndex] = pathes.Length; + path[DBImportPath.cPath] = item.Path; + path.Commit(); + GUIDialogNotify dialog = (GUIDialogNotify)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_NOTIFY); + if (dialog == null) return; + dialog.SetHeading("Success"); + dialog.SetText("Import path added"); + dialog.DoModal(GUIWindowManager.ActiveWindow); + DeviceManager.StartMonitor(); + } + } + } + + private void AddToMovPics() + { + + GUIListItem item = GUIControl.GetSelectedListItem(winId, lstId); + if (item.IsFolder) + { + + List<MediaPortal.Plugins.MovingPictures.Database.DBImportPath> pathes = MediaPortal.Plugins.MovingPictures.Database.DBImportPath.GetAllUserDefined(); + + if (pathes.Select(p => p.FullPath.ToLowerInvariant()).Contains(item.Path.ToLowerInvariant())) + { + GUIDialogNotify dlg = (GUIDialogNotify)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_NOTIFY); + if (dlg == null) return; + dlg.SetHeading("Warning"); + dlg.SetText("Import path already exists"); + dlg.DoModal(GUIWindowManager.ActiveWindow); + } + else + { + MovingPicturesCore.Importer.Stop(); + MediaPortal.Plugins.MovingPictures.Database.DBImportPath path = MediaPortal.Plugins.MovingPictures.Database.DBImportPath.Get(item.Path); + path.Commit(); + GUIDialogNotify dialog = (GUIDialogNotify)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_NOTIFY); + if (dialog == null) return; + dialog.SetHeading("Success"); + dialog.SetText("Import path added"); + dialog.DoModal(GUIWindowManager.ActiveWindow); + MovingPicturesCore.Importer.RestartScanner(); + } + } + } #endregion #region Events @@ -2633,7 +2779,7 @@ item.IsRemote = true; - if (selectedList == null) selectedList = new ArrayList(); + if (selectedList == null) selectedList = new List<Info>(); selectedList.Add((Info)item.MusicTag); @@ -2907,6 +3053,39 @@ #endregion #region Utils + + private bool IsMPTVSeriesEnabled() + { + Assembly[] all = AppDomain.CurrentDomain.GetAssemblies(); + try + { + if (all.Where(e => e.GetName().Name == "MP-TVSeries").Count() > 0) + { + return true; + } + } + catch + { + return false; + } + return false; + } + private bool IsMovPicsEnabled() + { + Assembly[] all = AppDomain.CurrentDomain.GetAssemblies(); + try + { + if (all.Where(e => e.GetName().Name == "Moving Pictures").Count() > 0) + { + return true; + } + } + catch + { + return false; + } + return false; + } private string SanitizePath(string path) { if ((path.EndsWith("\\")) || (path.EndsWith("/"))) Modified: trunk/plugins/File Explorer/File Explorer.csproj =================================================================== --- trunk/plugins/File Explorer/File Explorer.csproj 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/File Explorer.csproj 2013-12-09 20:06:07 UTC (rev 4704) @@ -45,16 +45,30 @@ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> </PropertyGroup> <ItemGroup> - <Reference Include="Common.Utils"> - <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\Common.Utils.dll</HintPath> + <Reference Include="Common.Utils, Version=1.5.100.0, Culture=neutral, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\Common.Utils.dll</HintPath> </Reference> - <Reference Include="Core"> - <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\Core.dll</HintPath> + <Reference Include="Core, Version=1.5.100.0, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\Core.dll</HintPath> </Reference> + <Reference Include="Cornerstone, Version=1.5.1.1487, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\Cornerstone.dll</HintPath> + </Reference> <Reference Include="Dialogs"> - <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\Dialogs.dll</HintPath> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\Dialogs.dll</HintPath> </Reference> + <Reference Include="MovingPictures"> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\MovingPictures.dll</HintPath> + </Reference> + <Reference Include="MP-TVSeries"> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\MP-TVSeries.dll</HintPath> + </Reference> <Reference Include="System" /> + <Reference Include="System.DirectoryServices" /> + <Reference Include="System.Management" /> <Reference Include="System.Xml" /> <Reference Include="System.Drawing"> <Private>False</Private> @@ -64,10 +78,10 @@ </Reference> <Reference Include="Microsoft.VisualBasic" /> <Reference Include="Utils"> - <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\Utils.dll</HintPath> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\Utils.dll</HintPath> </Reference> <Reference Include="WindowPlugins"> - <HintPath>C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\WindowPlugins.dll</HintPath> + <HintPath>..\..\..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\WindowPlugins.dll</HintPath> </Reference> </ItemGroup> <ItemGroup> Added: trunk/plugins/File Explorer/Language/strings_it.xml =================================================================== --- trunk/plugins/File Explorer/Language/strings_it.xml (rev 0) +++ trunk/plugins/File Explorer/Language/strings_it.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="utf-8"?> +<Language name="English" characters="255"> + <Section name="unmapped"> + <String id="0">Gestione Risorse</String> + <String id="1">Configurazione Gestione Risorse</String> + <String id="2">Gestione Risorse</String> + <String id="3">Estensioni</String> + <String id="4">Cestino</String> + <String id="5">Tutti i files</String> + <String id="6">Files di sistema</String> + <String id="7">Cartelle di sistema</String> + <String id="8">Mostra estensione files</String> + <String id="9">Alla cancellazione copia i files nel cestino</String> + <String id="10">Mostra tutti i files</String> + <String id="11">Mostra files di sistema</String> + <String id="12">Mostra cartelle di sistema</String> + <String id="13">Applica</String> + <String id="14">Annulla</String> + <String id="15">Errore</String> + <String id="16">Errore sconosciuto!</String> + <String id="17">Accesso negato!</String> + <String id="18">Compressione/criptaggio file o cartella non possibile</String> + <String id="19">su un drive non NTFS.</String> + <String id="20">Lettura scrittura drive non possibile</String> + <String id="21">file o cartella.</String> + <String id="22">Crea playlist audio</String> + <String id="23">Aggiungi File: </String> + <String id="24">Percorso: </String> + <String id="25">Compressione</String> + <String id="26">Compressione file: </String> + <String id="27">Copia</String> + <String id="28">File: </String> + <String id="29">A: </String> + <String id="30">Decripta</String> + <String id="31">Cancella</String> + <String id="32">Cripta</String> + <String id="33">Nascondi</String> + <String id="34">Sposta</String> + <String id="35">Imposta l'attributo di sola lettura</String> + <String id="36">Rimuovi l'attributo di sola lettura</String> + <String id="37">Decompressione</String> + <String id="38">Mostra</String> + <String id="39">Crea playlist video</String> + <String id="40">Aggiungi alla playlist audio</String> + <String id="41">Lettura files . . . </String> + <String id="42">Aggiungi alla playlist video</String> + <String id="43">Menu 1</String> + <String id="44">Menu 2</String> + <String id="45">Cartella: </String> + <String id="46">Lettore CD/DVD</String> + <String id="47">HDD</String> + <String id="48">RamDisk</String> + <String id="49">Drive di rete</String> + <String id="50">Dispositivo rimovibile</String> + <String id="51">Menu</String> + <String id="52">Seleziona drive</String> + <String id="53">Rinomina</String> + <String id="54">Crea cartella</String> + <String id="55">Cripta/decripta (solo NTFS)</String> + <String id="56">Comprimi/decomprimi (solo NTFS)</String> + <String id="57">Nascondi/mostra</String> + <String id="58">Modifica attributo di sola lettura</String> + <String id="59">Crea playlist audio dalla cartella</String> + <String id="60">Crea playlist video dalla cartella</String> + <String id="61">Crea playlist audio dai files/cartelle selezionate</String> + <String id="62">Crea playlist video dai files/cartelle selezionate</String> + <String id="63">Aggiungi i files/cartelle selezionate alla plsylist audio</String> + <String id="64">Aggiungi i files/cartelle selezionate alla plsylist video</String> + <String id="65">Seleziona tutto</String> + <String id="66">Disabilita selezioni</String> + <String id="67">Disabilita modo selezione</String> + <String id="68">Abilita modo selezione</String> + <String id="69">Anteprima file</String> + <String id="70">Nessun plug-in di anteprima trovato per</String> + <String id="71">Aprire utilizzando l'anteprima testo?</String> + <String id="72">Attributi:</String> + <String id="73"> Nascosto;</String> + <String id="74"> Sola lettura;</String> + <String id="75"> File di sistema;</String> + <String id="76"> Compresso;</String> + <String id="77"> Criptato;</String> + <String id="78"> Nessuno</String> + <String id="79">Creato il: </String> + <String id="80">Ultimo accesso: </String> + <String id="81">Ultima scrittura: </String> + <String id="82"> cartella di sistema;</String> + <String id="83">Copia file </String> + <String id="84">da: </String> + <String id="85">Copia cartella </String> + <String id="86">Copia file in corso</String> + <String id="87">Il file </String> + <String id="88">esiste già!</String> + <String id="89">Vuoi sovrascrivere?</String> + <String id="90">Sposta file </String> + <String id="91">Sposta cartella </String> + <String id="92">Sposta file</String> + <String id="93">Sposta cartella</String> + <String id="94">La cartella </String> + <String id="95">Elimina cartella</String> + <String id="96">Vuoi veramente eliminare</String> + <String id="97">Dopo la cancellazione la cartella NON PUO' ESSERE RIPRISTINATA!</String> + <String id="98">Elimina file</String> + <String id="99">Errore</String> + <String id="100">Impossibile rinominare la cartella </String> + <String id="101">Impossibile rinominare il file </String> + <String id="102">Nuova cartella</String> + <String id="103">Creazione cartella non possibile </String> + <String id="104">Criptazione/decriptazione</String> + <String id="105">Vuoi modificare lo stato di criptazione</String> + <String id="106">per tutte le sotto-cartelle ed i files nella</String> + <String id="107">cartella?</String> + <String id="108">Vuoi modificare lo stato di compressione</String> + <String id="109">Nascondi/mostra i files/cartelle selezionate</String> + <String id="110">Nascondi i files selezionati</String> + <String id="111">Mostra i files selezionati</String> + <String id="112">Vuoi modificare lo stato di visualizzazione</String> + <String id="113">Modifica l'attributo di sola lettura dei files/cartelle selezionate</String> + <String id="114">Imposta l'attributo di sola lettura</String> + <String id="115">Rimuovi l'attributo di sola lettura</String> + <String id="116">Modifica l'attributo di sola lettura</String> + <String id="117">Vuoi modificare l'attributo di sola lettura</String> + <String id="118">Nuova playlist audio</String> + <String id="119">Vuoi includere tutti i files audio di</String> + <String id="120">le sotto-cartelle della cartella corrente?</String> + <String id="121">Nessun file audio trovato!</String> + <String id="122">Nuova playlist video</String> + <String id="123">Vuoi includere tutti i files video di</String> + <String id="124">No video files found!</String> + <String id="125">Nessuna playlist trovata</String> + <String id="126">Nessuna playlist trovata nella cartella</String> + <String id="127">Seleziona playlist</String> + <String id="128">Cartella predefinita per menu 1:</String> + <String id="129">Cartella predefinita per menu 2:</String> + <String id="130">Sfoglia</String> + <String id="131">Svuota cestino</String> + <String id="132">Conferma</String> + <String id="133">Svuotamento cestino non possibile</String> + </Section> +</Language> \ No newline at end of file Modified: trunk/plugins/File Explorer/LocalizeStrings.cs =================================================================== --- trunk/plugins/File Explorer/LocalizeStrings.cs 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/LocalizeStrings.cs 2013-12-09 20:06:07 UTC (rev 4704) @@ -82,24 +82,35 @@ //[Obsolete("This method has changed", true)] static public bool Load(string language) { - bool isPrefixEnabled = true; + try + { + bool isPrefixEnabled = true; - using (MediaPortal.Profile.Settings reader = new MediaPortal.Profile.Settings(MediaPortal.Configuration.Config.GetFile(MediaPortal.Configuration.Config.Dir.Config, "MediaPortal.xml"))) - { - isPrefixEnabled = reader.GetValueAsBool("gui", "myprefix", true); - language = reader.GetValueAsString("gui", "language", "English"); - } + using (MediaPortal.Profile.Settings reader = new MediaPortal.Profile.Settings(MediaPortal.Configuration.Config.GetFile(MediaPortal.Configuration.Config.Dir.Config, "MediaPortal.xml"))) + { + isPrefixEnabled = reader.GetValueAsBool("gui", "myprefix", true); + language = reader.GetValueAsString("gui", "language", "English"); + } - string directory = MediaPortal.Configuration.Config.GetSubFolder(MediaPortal.Configuration.Config.Dir.Language, "File Explorer"); - string cultureName = null; - if (language != null) - cultureName = GetCultureName(language); + string directory = MediaPortal.Configuration.Config.GetSubFolder(MediaPortal.Configuration.Config.Dir.Language, "File Explorer"); + string cultureName = null; + if (language != null) + cultureName = GetCultureName(language); - Log.Info("File Explorer: Loading localised Strings - Path: {0} Culture: {1} Language: {2} Prefix: {3}", directory, cultureName, language, isPrefixEnabled); + Log.Info("File Explorer: Loading localised Strings - Path: {0} Culture: {1} Language: {2} Prefix: {3}", directory, cultureName, language, isPrefixEnabled); - _stringProvider = new LocalisationProvider(directory, cultureName, isPrefixEnabled); + _stringProvider = new LocalisationProvider(directory, cultureName, isPrefixEnabled); - return true; + return true; + } + catch(Exception e) + { + Log.Error("File Explorer: Failed to load language file!"); + Log.Error(e); + + return false; + } + } /// <summary> @@ -279,7 +290,14 @@ for (int i = 0; i < cultureList.Length; i++) { + if(_cultures.ContainsKey(cultureList[i].EnglishName)) + { + Log.Error("duplicate culture"); + } + else + { _cultures.Add(cultureList[i].EnglishName, cultureList[i].Name); + } } } Added: trunk/plugins/File Explorer/MpeRelease/File Explorer.xml =================================================================== --- trunk/plugins/File Explorer/MpeRelease/File Explorer.xml (rev 0) +++ trunk/plugins/File Explorer/MpeRelease/File Explorer.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<profile> + <section name="explorer"> + <entry name="Extensions">yes</entry> + <entry name="Trashbin">yes</entry> + <entry name="AllFiles">yes</entry> + <entry name="SystemFiles">no</entry> + <entry name="SystemDirs">no</entry> + <entry name="Default folder for left menu :"></entry> + <entry name="Default folder for right menu :"></entry> + <entry name="Prullenbak">yes</entry> + <entry name="Alle bestanden">yes</entry> + <entry name="Systeem bestanden">no</entry> + <entry name="Systeemstations">no</entry> + <entry name="Standaard map voor linkder menu :"></entry> + <entry name="Standaard map voor rechter menu :"></entry> + </section> +</profile> \ No newline at end of file Modified: trunk/plugins/File Explorer/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/File Explorer/Properties/AssemblyInfo.cs 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/Properties/AssemblyInfo.cs 2013-12-09 20:06:07 UTC (rev 4704) @@ -29,9 +29,8 @@ // You can specify all values by your own or you can build default build and revision // numbers with the '*' character (the default): -[assembly: AssemblyVersion("1.6.0.0")] +[assembly: AssemblyVersion("1.6.1.0")] // MediaPortal plugin version compatibility -[assembly: CompatibleVersion("1.1.7.0")] -[assembly: UsesSubsystem("MP.SkinEngine")] -[assembly: UsesSubsystem("MP.Config")] +//[assembly: CompatibleVersion("1.1.6.27644")] +[assembly: CompatibleVersion("1.1.6.27644")] \ No newline at end of file Modified: trunk/plugins/File Explorer/Setup.cs =================================================================== --- trunk/plugins/File Explorer/Setup.cs 2013-12-06 21:12:34 UTC (rev 4703) +++ trunk/plugins/File Explorer/Setup.cs 2013-12-09 20:06:07 UTC (rev 4704) @@ -78,7 +78,8 @@ /// <returns></returns> public string PluginName() { - return Constants.PlugInInfo.NAME; + return "FileExplorer"; + //return Constants.PlugInInfo.NAME; } /// <summary> @@ -87,7 +88,8 @@ /// <returns></returns> public string Description() { - return Constants.PlugInInfo.DESCRIPTION; + return "File managing plugin"; + //return Constants.PlugInInfo.DESCRIPTION; } /// <summary> @@ -96,7 +98,8 @@ /// <returns></returns> public string Author() { - return Constants.PlugInInfo.AUTHOR; + return "Andreas Groß, framug, SilentException, -ltb- (gfx)"; + //return Constants.PlugInInfo.AUTHOR; } /// <summary> Added: trunk/plugins/File Explorer/Skin/Default/File Explorer_dialog.xml =================================================================== --- trunk/plugins/File Explorer/Skin/Default/File Explorer_dialog.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/Default/File Explorer_dialog.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557316</id> + <defaultcontrol>10</defaultcontrol> + <allowoverlay>no</allowoverlay> + <controls> + <control> + <type>image</type> + <id>0</id> + <width>960</width> + <height>720</height> + <texture>black.png</texture> + <colordiffuse>70ffffff</colordiffuse> + </control> + <control> + <type>image</type> + <id>0</id> + <posX>210</posX> + <posY>243</posY> + <width>515</width> + <height>280</height> + <texture>menu.png</texture> + </control> + <control> + <description>dialog Heading</description> + <type>label</type> + <id>2</id> + <posX>210</posX> + <posY>277</posY> + <width>515</width> + <label>-</label> + <font>Menutitle</font> + <textcolor>fff5deb3</textcolor> + <align>center</align> + </control> + <control> + <description>dialog line 1</description> + <type>label</type> + <id>3</id> + <posX>244</posX> + <posY>314</posY> + <label>-</label> + <width>456</width> + <font>font13</font> + <textcolor>white</textcolor> + </control> + <control> + <description>dialog line 2</description> + <type>label</type> + <id>4</id> + <posX>244</posX> + <posY>344</posY> + <label>-</label> + <width>456</width> + <font>font13</font> + <textcolor>white</textcolor> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/Default/File Explorer_main.xml =================================================================== --- trunk/plugins/File Explorer/Skin/Default/File Explorer_main.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/Default/File Explorer_main.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,161 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557311</id> + <defaultcontrol>3</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <define>#header.label:7</define> + <define>#itemcount:</define> + <controls> + <control> + <description>BG</description> + <type>image</type> + <id>1</id> + <texture>Background.png</texture> + <width>960</width> + <height>720</height> + </control> + <import>common.window.xml</import> + <import>common.time.xml</import> + <control> + <description>General Overlay</description> + <id>0</id> + <type>image</type> + <posX>0</posX> + <posY>30</posY> + <width>960</width> + <height>720</height> + <texture>general_overlay.png</texture> + </control> + <control> + <description>Menu left</description> + <type>button</type> + <id>11</id> + <posX>150</posX> + <posY>122</posY> + <label>Menu left</label> + <onleft>3</onleft> + <onright>2</onright> + <onup>17</onup> + <ondown>3</ondown> + </control> + <control> + <description>Menu right</description> + <type>button</type> + <id>2</id> + <posX>600</posX> + <posY>122</posY> + <label>Menu right</label> + <onleft>11</onleft> + <onright>4</onright> + <onup>17</onup> + <ondown>4</ondown> + </control> + <control> + <description>file listcontrol</description> + <type>listcontrol</type> + <id>3</id> + <posX>42</posX> + <posY>196</posY> + <height>350</height> + <width>393</width> + <onright>4</onright> + <onleft>11</onleft> + <onup>3</onup> + <ondown>3</ondown> + <spinPosX>1231</spinPosX> + <spinPosY>1888</spinPosY> + <spinCanFocus>no</spinCanFocus> + <scrollbarHeight>400</scrollbarHeight> + <scrollbarbg>bar_vert.png</scrollbarbg> + <scrollbartop>mouse_left_horizontal.png</scrollbartop> + <scrollbarbottom>mouse_right_horizontal.png</scrollbarbottom> + <scrollbarXOff>4</scrollbarXOff> + <scrollbarYOff>0</scrollbarYOff> + <showScrollbar>yes</showScrollbar> + <scrollbarwidth>5</scrollbarwidth> + </control> + <control> + <description>divider</description> + <type>image</type> + <id>0</id> + <posX>472</posX> + <posY>160</posY> + <height>455</height> + <width>0</width> + <texture>slider_vertical.png</texture> + <colordiffuse>darkgray</colordiffuse> + </control> + <control> + <description>file listcontrol</description> + <type>listcontrol</type> + <id>4</id> + <posX>491</posX> + <posY>196</posY> + <height>350</height> + <width>393</width> + <onright>2</onright> + <onleft>3</onleft> + <onup>4</onup> + <ondown>4</ondown> + <spinPosX>1167</spinPosX> + <spinPosY>1888</spinPosY> + <spinCanFocus>no</spinCanFocus> + <scrollbarHeight>400</scrollbarHeight> + <scrollbarbg>bar_vert.png</scrollbarbg> + <scrollbartop>mouse_left_horizontal.png</scrollbartop> + <scrollbarbottom>mouse_right_horizontal.png</scrollbarbottom> + <scrollbarXOff>4</scrollbarXOff> + <scrollbarYOff>0</scrollbarYOff> + <showScrollbar>yes</showScrollbar> + <scrollbarwidth>5</scrollbarwidth> + </control> + <control> + <description>label left</description> + <type>label</type> + <id>6</id> + <posX>42</posX> + <posY>520</posY> + <label>Test</label> + <font>font9</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + <control> + <description>label right</description> + <type>label</type> + <id>7</id> + <posX>491</posX> + <posY>520</posY> + <label>Test</label> + <font>font9</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + <control> + <description>labeldir left</description> + <type>label</type> + <id>9</id> + <posX>42</posX> + <posY>159</posY> + <label>Test</label> + <width>351</width> + <font>font14</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + <control> + <description>labeldir right</description> + <type>label</type> + <id>10</id> + <posX>491</posX> + <posY>159</posY> + <label>Test</label> + <width>351</width> + <font>font14</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/Default/File Explorer_modulepreview.xml =================================================================== --- trunk/plugins/File Explorer/Skin/Default/File Explorer_modulepreview.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/Default/File Explorer_modulepreview.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557313</id> + <defaultcontrol>10</defaultcontrol> + <allowoverlay>no</allowoverlay> + <controls> + <control> + <type>image</type> + <id>0</id> + <posX>123</posX> + <posY>210</posY> + <width>286</width> + <height>189</height> + <texture>dialog_background.png</texture> + </control> + <control> + <description>dialog Heading</description> + <type>label</type> + <id>2</id> + <posX>133</posX> + <posY>215</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 1</description> + <type>label</type> + <id>3</id> + <posX>133</posX> + <posY>243</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 2</description> + <type>label</type> + <id>4</id> + <posX>133</posX> + <posY>262</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>OK button</description> + <type>button</type> + <id>10</id> + <posX>305</posX> + <posY>332</posY> + <textXOff>6</textXOff> + <textYOff>6</textYOff> + <width>73</width> + <height>35</height> + <textureFocus>small_button_focus.png</textureFocus> + <textureNoFocus>small_button_nofocus.png</textureNoFocus> + <label>186</label> + <onleft>10</onleft> + <onright>10</onright> + <onup>10</onup> + <ondown>10</ondown> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/Default/File Explorer_musicpreview.xml =================================================================== --- trunk/plugins/File Explorer/Skin/Default/File Explorer_musicpreview.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/Default/File Explorer_musicpreview.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557314</id> + <defaultcontrol>10</defaultcontrol> + <allowoverlay>no</allowoverlay> + <controls> + <control> + <type>image</type> + <id>0</id> + <posX>123</posX> + <posY>210</posY> + <width>286</width> + <height>189</height> + <texture>dialog_background.png</texture> + </control> + <control> + <description>dialog Heading</description> + <type>label</type> + <id>2</id> + <posX>133</posX> + <posY>215</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 1</description> + <type>label</type> + <id>3</id> + <posX>133</posX> + <posY>243</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 2</description> + <type>label</type> + <id>4</id> + <posX>133</posX> + <posY>262</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>OK button</description> + <type>button</type> + <id>10</id> + <posX>305</posX> + <posY>332</posY> + <textXOff>6</textXOff> + <textYOff>6</textYOff> + <width>73</width> + <height>35</height> + <textureFocus>small_button_focus.png</textureFocus> + <textureNoFocus>small_button_nofocus.png</textureNoFocus> + <label>186</label> + <onleft>10</onleft> + <onright>10</onright> + <onup>10</onup> + <ondown>10</ondown> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/Default/File Explorer_textpreview.xml =================================================================== --- trunk/plugins/File Explorer/Skin/Default/File Explorer_textpreview.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/Default/File Explorer_textpreview.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557312</id> + <defaultcontrol>2</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <define>#header.label:7</define> + <define>#itemcount:</define> + <controls> + <control> + <description>BG</description> + <type>image</type> + <id>1</id> + <texture>Background.png</texture> + <width>960</width> + <height>720</height> + </control> + <import>common.window.xml</import> + <import>common.time.xml</import> + <control> + <description>General Overlay</description> + <id>0</id> + <type>image</type> + <posX>0</posX> + <posY>30</posY> + <width>960</width> + <height>720</height> + <texture>general_overlay.png</texture> + </control> + <control> + <type>textbox</type> + <id>2</id> + <posX>229</posX> + <posY>166</posY> + <width>549</width> + <height>480</height> + <font>font12</font> + <textcolor>ivory</textcolor> + <spinPosX>249</spinPosX> + <spinPosY>633</spinPosY> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_dialog.xml =================================================================== --- trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_dialog.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_dialog.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557316</id> + <defaultcontrol>10</defaultcontrol> + <allowoverlay>no</allowoverlay> + <controls> + <control> + <type>image</type> + <id>0</id> + <width>1280</width> + <height>720</height> + <texture>black.png</texture> + <colordiffuse>70ffffff</colordiffuse> + </control> + <control> + <type>image</type> + <id>0</id> + <posX>280</posX> + <posY>243</posY> + <width>687</width> + <height>280</height> + <texture>menu.png</texture> + </control> + <control> + <description>dialog Heading</description> + <type>label</type> + <id>2</id> + <posX>280</posX> + <posY>277</posY> + <width>687</width> + <label>-</label> + <font>Menutitle</font> + <textcolor>fff5deb3</textcolor> + <align>center</align> + </control> + <control> + <description>dialog line 1</description> + <type>label</type> + <id>3</id> + <posX>326</posX> + <posY>314</posY> + <label>-</label> + <width>608</width> + <font>font13</font> + <textcolor>white</textcolor> + </control> + <control> + <description>dialog line 2</description> + <type>label</type> + <id>4</id> + <posX>326</posX> + <posY>344</posY> + <label>-</label> + <width>608</width> + <font>font13</font> + <textcolor>white</textcolor> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_main.xml =================================================================== --- trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_main.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_main.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,161 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557311</id> + <defaultcontrol>3</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <define>#header.label:7</define> + <define>#itemcount:</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> + <description>General Overlay</description> + <id>0</id> + <type>image</type> + <posX>0</posX> + <posY>30</posY> + <width>1280</width> + <height>720</height> + <texture>general_overlay.png</texture> + </control> + <control> + <description>Menu left</description> + <type>button</type> + <id>11</id> + <posX>200</posX> + <posY>122</posY> + <label>Menu left</label> + <onleft>3</onleft> + <onright>2</onright> + <onup>17</onup> + <ondown>3</ondown> + </control> + <control> + <description>Menu right</description> + <type>button</type> + <id>2</id> + <posX>800</posX> + <posY>122</posY> + <label>Menu right</label> + <onleft>11</onleft> + <onright>4</onright> + <onup>17</onup> + <ondown>4</ondown> + </control> + <control> + <description>file listcontrol</description> + <type>listcontrol</type> + <id>3</id> + <posX>56</posX> + <posY>196</posY> + <height>350</height> + <width>524</width> + <onright>4</onright> + <onleft>11</onleft> + <onup>3</onup> + <ondown>3</ondown> + <spinPosX>1642</spinPosX> + <spinPosY>1888</spinPosY> + <spinCanFocus>no</spinCanFocus> + <scrollbarHeight>400</scrollbarHeight> + <scrollbarbg>bar_vert.png</scrollbarbg> + <scrollbartop>mouse_left_horizontal.png</scrollbartop> + <scrollbarbottom>mouse_right_horizontal.png</scrollbarbottom> + <scrollbarXOff>6</scrollbarXOff> + <scrollbarYOff>0</scrollbarYOff> + <showScrollbar>yes</showScrollbar> + <scrollbarwidth>5</scrollbarwidth> + </control> + <control> + <description>divider</description> + <type>image</type> + <id>0</id> + <posX>630</posX> + <posY>160</posY> + <height>455</height> + <width>1</width> + <texture>slider_vertical.png</texture> + <colordiffuse>darkgray</colordiffuse> + </control> + <control> + <description>file listcontrol</description> + <type>listcontrol</type> + <id>4</id> + <posX>655</posX> + <posY>196</posY> + <height>350</height> + <width>524</width> + <onright>2</onright> + <onleft>3</onleft> + <onup>4</onup> + <ondown>4</ondown> + <spinPosX>1556</spinPosX> + <spinPosY>1888</spinPosY> + <spinCanFocus>no</spinCanFocus> + <scrollbarHeight>400</scrollbarHeight> + <scrollbarbg>bar_vert.png</scrollbarbg> + <scrollbartop>mouse_left_horizontal.png</scrollbartop> + <scrollbarbottom>mouse_right_horizontal.png</scrollbarbottom> + <scrollbarXOff>6</scrollbarXOff> + <scrollbarYOff>0</scrollbarYOff> + <showScrollbar>yes</showScrollbar> + <scrollbarwidth>5</scrollbarwidth> + </control> + <control> + <description>label left</description> + <type>label</type> + <id>6</id> + <posX>56</posX> + <posY>520</posY> + <label>Test</label> + <font>font9</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + <control> + <description>label right</description> + <type>label</type> + <id>7</id> + <posX>655</posX> + <posY>520</posY> + <label>Test</label> + <font>font9</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + <control> + <description>labeldir left</description> + <type>label</type> + <id>9</id> + <posX>56</posX> + <posY>159</posY> + <label>Test</label> + <width>468</width> + <font>font14</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + <control> + <description>labeldir right</description> + <type>label</type> + <id>10</id> + <posX>655</posX> + <posY>159</posY> + <label>Test</label> + <width>468</width> + <font>font14</font> + <align>left</align> + <textcolor>fff5deb3</textcolor> + </control> + + </controls> +</window> Added: trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_modulepreview.xml =================================================================== --- trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_modulepreview.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_modulepreview.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557313</id> + <defaultcontrol>10</defaultcontrol> + <allowoverlay>no</allowoverlay> + <controls> + <control> + <type>image</type> + <id>0</id> + <posX>165</posX> + <posY>210</posY> + <width>382</width> + <height>189</height> + <texture>dialog_background.png</texture> + </control> + <control> + <description>dialog Heading</description> + <type>label</type> + <id>2</id> + <posX>178</posX> + <posY>215</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 1</description> + <type>label</type> + <id>3</id> + <posX>178</posX> + <posY>243</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 2</description> + <type>label</type> + <id>4</id> + <posX>178</posX> + <posY>262</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>OK button</description> + <type>button</type> + <id>10</id> + <posX>407</posX> + <posY>332</posY> + <textXOff>9</textXOff> + <textYOff>6</textYOff> + <width>98</width> + <height>35</height> + <textureFocus>small_button_focus.png</textureFocus> + <textureNoFocus>small_button_nofocus.png</textureNoFocus> + <label>186</label> + <onleft>10</onleft> + <onright>10</onright> + <onup>10</onup> + <ondown>10</ondown> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_musicpreview.xml =================================================================== --- trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_musicpreview.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_musicpreview.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557314</id> + <defaultcontrol>10</defaultcontrol> + <allowoverlay>no</allowoverlay> + <controls> + <control> + <type>image</type> + <id>0</id> + <posX>165</posX> + <posY>210</posY> + <width>382</width> + <height>189</height> + <texture>dialog_background.png</texture> + </control> + <control> + <description>dialog Heading</description> + <type>label</type> + <id>2</id> + <posX>178</posX> + <posY>215</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 1</description> + <type>label</type> + <id>3</id> + <posX>178</posX> + <posY>243</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>dialog line 2</description> + <type>label</type> + <id>4</id> + <posX>178</posX> + <posY>262</posY> + <label /> + <font>font13</font> + <textcolor>ffffffff</textcolor> + </control> + <control> + <description>OK button</description> + <type>button</type> + <id>10</id> + <posX>407</posX> + <posY>332</posY> + <textXOff>9</textXOff> + <textYOff>6</textYOff> + <width>98</width> + <height>35</height> + <textureFocus>small_button_focus.png</textureFocus> + <textureNoFocus>small_button_nofocus.png</textureNoFocus> + <label>186</label> + <onleft>10</onleft> + <onright>10</onright> + <onup>10</onup> + <ondown>10</ondown> + </control> + </controls> +</window> \ No newline at end of file Added: trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_textpreview.xml =================================================================== --- trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_textpreview.xml (rev 0) +++ trunk/plugins/File Explorer/Skin/DefaultWide/File Explorer_textpreview.xml 2013-12-09 20:06:07 UTC (rev 4704) @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<!--version="1.0" encoding="utf-8" standalone="yes"--> +<window> + <id>557312</id> + <defaultcontrol>2</defaultcontrol> + <allowoverlay>yes</allowoverlay> + <define>#header.label:7</define> + <define>#itemcount:</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> + <description>General Overlay</description> + <id>0</id> + <type>image</type> + <posX>0</posX> + <posY>30</posY> + <width>1280</width> + <height>720</height> + <texture>general_overlay.png</texture> + </control> + <control> + <type>textbox</type> + <id>2</id> + <posX>306</posX> + <posY>166</posY> + <width>733</width> + <height>480</height> + <font>font12</font> + <textcolor>ivory</textcolor> + <spinPosX>333</spinPosX> + <spinPosY>633</spinPosY> + </control> + </controls> +</window> Added: trunk/plugins/F... [truncated message content] |