SageTV Community  

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

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-11-2009, 10:43 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
Can't copy files to removable device

Hello,

By default, when I plug a removable device (USB key) into my Sage client, it will open a dialogue box and ask me if I want to copy files to or from the removable device.

This works fine and dandy in the default STV. I can browse to a file on one of my SageTV shares and then I can choose to copy it to the device. Conversely, I can browse to the device and copy it to my sage shares.

However, when I try to do this in SageMC it gives me an error and the copy takes place.

The error is as follows:

"The File Copy Process is done

Result: Error: Error: java.io.IOException: Error opening remote file of
NON_MEDIA"

This is the error from my client debug log:

"Sat 5/23 14:13:43.550 Requested file copy of \\CAPRICA\SageTV\Compressed to E:\
Sat 5/23 14:13:43.554 Transfer requested for files src=\\CAPRICA\SageTV\Compressed dest=E:\
Sat 5/23 14:13:43.582 Dir copy from \\CAPRICA\SageTV\Compressed to E:\ is 2 files
Sat 5/23 14:13:43.588 Total size of original source files for xfer: 839891709
Sat 5/23 14:13:43.589 processOptionsMenu optionsMenu=default:PRQST-1231450|OptionsMenu:CopyInProgress
Sat 5/23 14:13:43.590 Copying \\CAPRICA\SageTV\Compressed\StarTrek-TheCage-696252-0.mp4 to E:\Compressed\StarTrek-TheCage-696252-0.mp4
Sat 5/23 14:13:43.603 processOptionsMenu optionsMenu=default:PRQST-1231503|OptionsMenu:CopyComplete"

As you can see, the log says that the copy was complete. However, it was MUCH too fast to actually do anything.

I filed this with Sage support and they identified that the issue was with SageMC (they had me disable the STV and everything worked as expected).

Is this something that we can resolve? I think it is a really slick feature.
Reply With Quote
  #2  
Old 10-13-2009, 08:19 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
If no one has seen this issue is there anyway that I can look into it? I'm guessing that SageMC is just calling something incorrectly since it's working in the default STV.

Is it possible to further investigate this on my own? I'm not very familiar with coding for Sage but I have some programming experience.
Reply With Quote
  #3  
Old 10-13-2009, 09:33 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
Ok, so I managed to copy the proper portions out of the existing STV. The file copy works properly but when the dialog shows up the windows are blank. Just the text shows up (making it very hard to click anything).

I'm making progress but still trying to figure things out. If I do manage to find a "fix" is there a place I can post it so that it can be included in the next SageMC release? Is this an open source project?
Reply With Quote
  #4  
Old 10-16-2009, 05:45 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
I should be able to get this into the next pre-release.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #5  
Old 10-16-2009, 11:54 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
Quote:
Originally Posted by MeInMaui View Post
I should be able to get this into the next pre-release.

Aloha,
Mike
Wow! That's great! Thanks for the help. If you don't mind, could you send me a PM with a summary of how you'll actually do this? I'm curious about studio and I think it'll help me learn.
Reply With Quote
  #6  
Old 10-17-2009, 12:34 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Basically I just exported the contents of the StorageDeviceAdded hook from the default STV and imported it into a copy of the SageMC STV. Then after moving the new code in SageMC's StorageDeviceAdded hook, I went through and started replacing the themes with their equivalents in SageMC. I'm about halfway through this step.

I haven't had a chance to test anything yet beyond verifying that the file dialogs appear when they are supposed to. I'll have to dig out a flash drive to test it out over the weekend.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #7  
Old 10-19-2009, 12:21 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
Ahh

Ok, that makes sense. I tried exporting the hook and everything seemed to be working but the text was on a clear background. This made it really hard to select anything.

I'm guessing this was caused by me not changing the theme. Does this make sense?

Also, in the documentation I read that it's possible to set a default theme and have all dialogue boxes pick it up. Is SageMC using this functionality? I assumed it was so I assumed I wouldn't have to make any theme changes. Perhaps I misunderstood.

Thanks for your help.
Reply With Quote
  #8  
Old 10-30-2009, 01:59 PM
Comitizer Comitizer is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Calgary, Alberta, Canada
Posts: 174
Just tested on the latest and this is fixed. Thanks!
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
Auto copy sage recording to a portable device slimyosra SageTV Customizations 3 07-02-2009 02:34 AM
Can't copy files to USB stick Comitizer SageTV Beta Test Software 1 05-14-2009 04:48 PM
Copy Videos To Removable Drive squeed SageTV Software 1 08-07-2008 09:28 PM
Any way to copy files within Sage? Crashless SageTV Customizations 5 11-08-2004 08:35 PM
Another feature request: loading files on removable drives olyar15 SageTV Software 2 06-03-2003 08:03 AM


All times are GMT -6. The time now is 02:51 AM.


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