From d82c41bf2d33a83380a4e37f8876efa52925337e Mon Sep 17 00:00:00 2001 From: Andrew Kidd Date: Thu, 13 Oct 2016 23:27:41 +0100 Subject: [PATCH] Fix navigating to parent folder when depth>1 or path contains spaces --- .vs/rcloneExplorer/v14/.suo | Bin 79360 -> 89600 bytes .../rcloneExplorer.Core.ExploreHandler.cs | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vs/rcloneExplorer/v14/.suo b/.vs/rcloneExplorer/v14/.suo index 9ce797774aa9532e4153c056b239c6b2265be8db..26381783af293cbb56a59def38f50de4473798b0 100644 GIT binary patch delta 1676 zcmZ{kZA@EL7{~9q+?JNIGN6=q#(Rn~D9#WT<^ydFj1eZ)|#8n+vJ=ptdQEpTC$jnPWVNZ zBO`t=j%Nx2rUZr&`oBS)*U2BOkMCB6B=A^D(9RCZbV#f(JRYSf{-S}Kv4re$p%>jo&ZmRQkqIg&f5Yl5j+L9f-=BM zl|x#Bx)pNgVEqTGW+h>vuvVv+_sb<3XGaPf8mzB*ZWys6;3zl-J_aLzcb`{20X_krf|KAB z7zJbCGjJM=1D^l-M12jDE7VTYBw0)^Q+i%jK#p`bII}NGd|NC1@Mq6RTJ8vbtJ(!a zBhbUxXS9L@T^AChHp4f|y^7mL7kjqIwQ8qhlJ{QmJ0h7g$)aVM$jALzDM)QeFG!kI zM}+bqUlUtT6n)&%k)tBon6Us zcqFB>w~x8sv*1Kx5y}q@w`KIZV=gf%JH)9Tf?;IJ!$WF~+$_q6^>U|3JwwN6WK^S^ zl((y7he-0!fq>mR+7%}Eic~Q?txS)b!`%I1g(99=WK^-EOevf8F}K^wsC*%v`mX7f zz2ANmp=6wum?EA1NA3QVi3;;Bt-g?;!aPmvIqw=buxPq`*+kx%Kk53eDEWa% z?_L?BKknwy7vFj5m8&ImX3sp$wcMt~uf6oDeKYg(nNpK|zl|EM76;NAZj?a!QN`yLD=Wssux?4*IIC{Me@4l!z+&E=~pw(A+pSc$DIj|5)}lnuZd zQfK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Gt&OXj-fZGzwNbULhGn+;pylc9#*4aQ@ZwwF z6^K`qkb#$_H1SR$l;LS") { //seperate directories in string, rebuild array without last two, join back to string - rcloneExplorer.remoteCD = String.Join(" ", rcloneExplorer.remoteCD.Split('/').Take(rcloneExplorer.remoteCD.Split('/').Count() - 2).ToArray()); + rcloneExplorer.remoteCD = String.Join("/", rcloneExplorer.remoteCD.Split('/').Take(rcloneExplorer.remoteCD.Split('/').Count() - 2).ToArray()) + "/"; //populate lstview with new directory contents lblLoading.Visible = true; lblLoading.Refresh(); - populatelstExplorer(iniSettings.Read("rcloneRemote") + ":" + rcloneExplorer.remoteCD + "/"); + populatelstExplorer(iniSettings.Read("rcloneRemote") + ":\"" + rcloneExplorer.remoteCD + "/\""); lblLoading.Visible = false; } else @@ -235,7 +235,7 @@ public void streamMediaToolStripMenuItem_Click(object sender, EventArgs e) if (storedFilesizeHuman != "" && storedFilesizeHuman != "") { //we're on the honor system for filetypes - Process.Start("cmd.exe", "/c rclone.exe cat " + iniSettings.Read("rcloneRemote") + ":\"" + storedFilepath + "\" | ffplay -"); + Process.Start("cmd.exe", "/c rclone.exe cat " + iniSettings.Read("rcloneRemote") + ":\"" + storedFilepath + "\" | ffplay -window_title " + storedFilepath + " -"); } else {