![]() |
|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Getting a file on the server from a windows client
I seem to recall that something changed which allows Comskip to read files on the server better from a client (windows only perhaps). I have an Import issue in gemstone that used to work in v7 so something around this changed.
Can someone point me in the right direction of how I should be getting a file that is on the server from a windows client? k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#2
|
||||
|
||||
Comskip got changed to use IsFilePath() and GetFileAsString()
John |
#3
|
|||
|
|||
I was already using GetFileAsString but I added IsFilePath which does return true.
Further digging FINALLY found the issue....my remote file is too large! java.io WriteUTF has a limit of 65535 bytes and my file was slightly larger so it fails. This looks like a major rewrite to work around that so I will look at splitting the export/import files (part1, part2, etc.) so they stay smaller than the max unless someone has a better solution for me. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#4
|
||||
|
||||
I had to do various things in SageTV to work around that stupid writeUTF limitation...you'll find a few implementations of writeUTF (and readUTF) inside of SageTV that all behave the same way where it'll use an extended length field for UTF strings to work around that issue.
__________________
Jeffrey Kardatzke Founder of SageTV |
#5
|
||||
|
||||
I think any 'workaroud/fix' should probably be done in the sage api level instead. Is there a way to use a different process for grabbing large files? I mean, a String should have no problem holding more than 64Kb, we just need to get it there.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#6
|
|||
|
|||
Quote:
thanks
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#7
|
|||
|
|||
@jusjoken - If you are referring to the Import settings option on Gemstone - on SageTV client I was never able to successfully import settings from a server file under V7, but that may have been due to the 64k issue. I remember discussing this with you on the forums.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#8
|
|||
|
|||
Quote:
Jeff has pointed me in the right direction and it looks doable. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#9
|
|||
|
|||
I just copied the settings file from the server to the client and then Imported from a local file.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#10
|
|||
|
|||
Quote:
![]()
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#11
|
|||
|
|||
Very true but it wasn't a big deal. I think we discussed this before but it would be nice to have a setting to allow you to use one Gemstone settings file that is a master and that is used by all miniclients and clients. Whenever the (mini)client starts up it could apply this file. When you make a change to your menus, filters or whatever it can be a pain to have to go to all (mini)clients to update.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#12
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
setting up windows file server problem - hd300 | cat6man | SageTV Media Extender | 1 | 10-12-2010 08:21 PM |
PlaybackException - Linux Server, Windows Client | talvey | SageTV Linux | 7 | 03-14-2009 10:07 AM |
Mac client on Windows server | aadon | SageTV Software | 3 | 09-26-2008 07:35 AM |
Linux Server Windows Client DVD Playback | harrijay | SageTV Linux | 2 | 05-11-2007 08:49 AM |
V5 Linux as a Client to Windows Server? | plawlor | SageTV Linux | 6 | 05-24-2006 05:30 PM |