SageTV Community  

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

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-08-2007, 05:22 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Question about the Sage Copy File Api's

StartFileCopy and StartFileDownload do not specifically say they are only for media files but when I use them from Java to copy a non media file like an .edl file I get the following error:
Code:
Fri 6/8 18:08:24.054 Download requested for files server=null src=\\htpc-cr\SageTVRecordings$\Bewitched-2007-05-16-EWAM(407)-799614-0.edl dest=V:\VideoEditing\Bewitched-2007-05-16-EWAM(407)-799614-0.edl
Fri 6/8 18:08:24.056 ERROR with file download of:java.io.IOException: Error opening remote file of:NON_MEDIA
So my question is: Do they only work with media files or should I look for something else in my Java code? This works when I just copy the media file!
Reply With Quote
  #2  
Old 06-10-2007, 12:29 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
SageTV's MediaServer only allows downloading files that are imported into the SageTV Library. It's a security precaution - we don't want SageTV opening up access to the entire file system; that'd be a major security hole.

You can edit which files are allowed; but you can only add individual filenames through the property:
media_server/extra_allowed_files

It expects a semicolon delimited list of absolute file paths (or relative to the SageTV install directory).

If you use the StartFileDownload API with http or ftp URLs then it'll allow downloading of anything.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
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
Video file played in WMP plays very jerky in Sage LehighBri SageTV Software 5 03-05-2007 09:07 AM
Question about replacing a SageTV recording BobPhoenix SageTV Studio 3 12-14-2006 11:18 PM
Started using Sage as a Service Question cmaffia SageTV Software 5 05-27-2006 07:51 AM
AUUUGH I Give UP!!! TripleTapper SageTV Media Extender 46 01-03-2006 02:35 PM
Sage client network routing etk29321 SageTV Software 4 12-07-2005 02:31 PM


All times are GMT -6. The time now is 06:25 PM.


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