View Full Version : Browse File System
taylormadearmy
06-27-2011, 02:24 AM
Hi All,
Is it possible to add a menu to allow me to browse the file system? I occaisonally use this in the stock STV to play things that have not yet been scanned or that for whatever reason are not in the correct place to be picked up by a scan.
Many thanks!
T
wrems
06-27-2011, 05:29 AM
To me, browsing the file system is rather cumbersome...
Maybe structuring your import library to be more accommodating would be better?? You can structure your views to be almost like a windows explorer and you can navigate them much more efficiently than the stocks navigate directories.
taylormadearmy
06-27-2011, 05:53 AM
Agreed - though that won't help when their are new items in the import library has not been scanned... Its just a useful fallback that I use occaisionally.
Thanks
T
wrems
06-27-2011, 06:05 AM
Well, you can always decrease the automatic intervals that Sage looks for new media. Or, you can always initiate a manual scan.
I would think the time it takes to initiate/complete a library scan vs the time it takes to navigate the structure the other way would be about the same if not faster...
stuckless
06-27-2011, 06:42 AM
It is possible, but you'd have to provide starting directory, and I'm not 100% sure it would allow your to play video files, since I've never used it.
You can try creating a view using the "filesystem" source and set the "dir" option to be the starting directory.
If you need more help to get to started, then let me know.
dinki
06-29-2011, 02:41 PM
I'd also like the ability to browse the file system. Reason is that I sometimes have something I've downloaded that I just want to watch once OR maybe it's something that I don't want others (eg kids) to watch.
wbarber69
07-06-2011, 09:40 PM
i agree the inability to browse the filesystem has me currently using diamond
crusing
07-06-2011, 10:40 PM
This menu fragment will add the default browse file system link to the Admin Tools sub menu in the Options menu. I wanted it there to provide a backdoor when needed without loading the default UI.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE menus SYSTEM "menus.dtd">
<menus>
<fragment parentMenu="phoenix.menu.options.admin" insertAfter="phoenix.menu.options.admin">
<menuItem label="File Browser" name="file_browser" visible="true">
<description>File Browser</description>
<eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile())</eval>
<eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval>
<eval>AddGlobalContext("gTargetMenuName", "Browser - Files")</eval>
<eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval>
<eval>LoadSTVFile(GetDefaultSTVFile())</eval>
<screen name="Phoenix Universal Media Browser" />
</menuItem>
</fragment>
</menus>
Credit for this goes to dflachbart. There is an example in this thread (http://forums.sagetv.com/forums/showthread.php?p=507055&postcount=4) on how to add it to the video menu if you prefer.
Hope this helps.
wbarber69
07-07-2011, 04:26 PM
Where does the fragment go exactly
wrems
07-07-2011, 05:26 PM
Where does the fragment go exactly
You'll place it in your Sage_Home directory:
Userdata>Phoenix>Menus
Place it in a file named anything as long as it has the .xml extension.
Chances are the Menus folder does not exist in your userdata area just create one. Create one for VFS too.
You'll use these two folders to place your menu and custom vfs. They are then injected into Phoenix's default menus and vfs respectively.
vBulletin® v3.7.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.