SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Phoenix
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-27-2011, 02:24 AM
taylormadearmy taylormadearmy is offline
Sage Advanced User
 
Join Date: Jan 2004
Posts: 201
Browse File System

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
Reply With Quote
  #2  
Old 06-27-2011, 05:29 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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.
Reply With Quote
  #3  
Old 06-27-2011, 05:53 AM
taylormadearmy taylormadearmy is offline
Sage Advanced User
 
Join Date: Jan 2004
Posts: 201
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
Reply With Quote
  #4  
Old 06-27-2011, 06:05 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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...
Reply With Quote
  #5  
Old 06-27-2011, 06:42 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
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.
Reply With Quote
  #6  
Old 06-29-2011, 02:41 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
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.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #7  
Old 07-06-2011, 09:40 PM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 512
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69
i agree the inability to browse the filesystem has me currently using diamond
Reply With Quote
  #8  
Old 07-06-2011, 10:40 PM
crusing crusing is offline
Sage Advanced User
 
Join Date: Sep 2010
Location: Kennewick, WA
Posts: 160
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.

Code:
<?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 on how to add it to the video menu if you prefer.

Hope this helps.
Reply With Quote
  #9  
Old 07-07-2011, 04:26 PM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 512
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69
Where does the fragment go exactly
Reply With Quote
  #10  
Old 07-07-2011, 05:26 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
Quote:
Originally Posted by wbarber69 View Post
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
when building a new system, what happens to the registration file? tvmaster2 SageTV Software 2 10-21-2009 06:45 PM
Browse and Play Other Video File - Option Missing glparker4 SageMC Custom Interface 2 04-26-2009 10:41 AM
File System View image chrisc983 SageMC Custom Interface 1 02-19-2009 02:33 AM
Error Accessing the File System? Steve52 SageTV Software 4 09-16-2006 04:35 PM
help with sage file system ccerj8 SageTV Software 2 05-02-2004 09:45 PM


All times are GMT -6. The time now is 01:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.