SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-11-2017, 05:12 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Problems with Hangups Browsing Videos

Okay, this is driving me a bit nuts. Browsing through imported videos in Android MiniClient using Gemstone, the cursor suddenly stops on one video folder (different one every time) and Sage becomes completely unresponsive (this client only). No keys work (the long-press menu will appear but not do anything Sage-related, just exit). After a minute or so the screen goes blank and the MiniClient exits.

Any idea what's going wrong? If I go back in straight away to the MiniClient it will do it again, but if I clear out GeneratedThumbnails first it's okay.

I'm attaching a server log, just a short 3-minute one, where it happened. MiniClient involved is 4f424f464853 (although it happens on others too).

Any ideas where the issue is? Thanks!
Attached Files
File Type: zip sagetv_0.zip (272.3 KB, 142 views)
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #2  
Old 12-11-2017, 09:24 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Maybe this?

https://forums.sagetv.com/forums/sho...510#post612510
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 12-12-2017, 02:33 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Ah, that looks like it, thanks. It's weird though, the folders I see it hang up on, I don't see any really long filenames. Can it be caching a different folder than the one you're on?
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #4  
Old 12-12-2017, 06:55 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
As I recall it seemed really random on which folder it froze. Maybe it is doing some pre-caching or something.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #5  
Old 12-12-2017, 07:05 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by KarylFStein View Post
As I recall it seemed really random on which folder it froze. Maybe it is doing some pre-caching or something.
That would make sense. Do we know what the limit is? How many characters?
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #6  
Old 12-12-2017, 07:55 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by rickgillyon View Post
That would make sense. Do we know what the limit is? How many characters?
The problem is that Android has a max filename limit of 256 chars. Ultimately the fix for this requires that the client advertise what it's filesystem limits are to the server, and then the server can ensure that any filename it sends is less than this.

I tried to "fix" this on the miniclient, but, it's too complicated, since I need to keep the original name that sagetv sends me, to send it back to the server, so there is a lot of mapping going on.

When sagetv sends filenames to the miniclient for images, it includes the full path of that file, so, if you have a filename like,

c:/programfiles/sagetv/images/some_really_long_name_with_complete_epside_information.jpg

then that entire path (including the directory) is converted to a filename and sent as the unique filename for the image... so this where you can quite easily start to go over the 256 character limit.
Reply With Quote
  #7  
Old 12-12-2017, 08:01 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Thanks. Can I tell Sage/Client/Gemstone/Phoenix or everywhere to not bother with thumbnails? The images I already get are fine for me.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #8  
Old 12-12-2017, 09:27 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by stuckless View Post
The problem is that Android has a max filename limit of 256 chars. Ultimately the fix for this requires that the client advertise what it's filesystem limits are to the server, and then the server can ensure that any filename it sends is less than this.

I tried to "fix" this on the miniclient, but, it's too complicated, since I need to keep the original name that sagetv sends me, to send it back to the server, so there is a lot of mapping going on.

When sagetv sends filenames to the miniclient for images, it includes the full path of that file, so, if you have a filename like,

c:/programfiles/sagetv/images/some_really_long_name_with_complete_epside_information.jpg

then that entire path (including the directory) is converted to a filename and sent as the unique filename for the image... so this where you can quite easily start to go over the 256 character limit.
Is it not possible to just add some error checking on the mini-client that checks the length of the file name and just skips it or displays a placeholder image (like a broken link on a web page) if it is too long?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
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
HD300 is slow browsing videos only jpaddock3000 SageTV Media Extender 10 03-22-2012 11:34 PM
Browsing My Videos on client is slow phareous SageMC Custom Interface 4 12-08-2009 09:42 AM
Cursor keeps jumping to top of screen when browsing imported videos OverClock SageTV Software 7 04-10-2009 10:44 PM
Browsing non-SageTV videos otakucode SageMC Custom Interface 0 06-22-2008 04:45 PM
Browsing imported videos, have to click OK twice just to view... travisbell SageTV Software 1 02-26-2007 01:17 AM


All times are GMT -6. The time now is 01:41 AM.


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