SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-26-2016, 11:11 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Leave Spaces In Filenames

Since it's no longer 1990 spaces are ok in filenames. I was poking around in the code to see if I could change the way SageTV names recordings. I noticed that there is a property called "extended_filenames" that when set to "true" tells SageTV to leave all the spaces in and even adds spaces to the dividers.

However, there doesn't appear to be any option to set that property in Detailed Setup.

Personally, I would like to make "extended_filenames=true" be the default option. In this day and age we shouldn't be scared to have spaces in our filenames. For those that don't care for the spaces it would be nice if there was an option in Detailed Settings->Customize to change this option. I'm not familiar with STV programming so I have no idea how to add an option to set a property. I would like some help adding this option to Detailed Settings.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #2  
Old 10-26-2016, 11:13 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Taddeusz View Post
Since it's no longer 1990 spaces are ok in filenames. I was poking around in the code to see if I could change the way SageTV names recordings. I noticed that there is a property called "extended_filenames" that when set to "true" tells SageTV to leave all the spaces in and even adds spaces to the dividers.

However, there doesn't appear to be any option to set that property in Detailed Setup.

Personally, I would like to make "extended_filenames=true" be the default option. In this day and age we shouldn't be scared to have spaces in our filenames. For those that don't care for the spaces it would be nice if there was an option in Detailed Settings->Customize to change this option. I'm not familiar with STV programming so I have no idea how to add an option to set a property. I would like some help adding this option to Detailed Settings.
That's a good idea... maybe add an issue to GitHub and maybe someone with STV skills cound find it and fix it.
Reply With Quote
  #3  
Old 10-26-2016, 12:40 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
extended_filenames does more than just simply leaves spaces in. Is it advisable to have both it and allow_unicode_characters_in_generated_filenames set to true? Or does it matter?

Nevermind, looking at the code I answered my own question.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD

Last edited by Taddeusz; 10-26-2016 at 12:47 PM.
Reply With Quote
  #4  
Old 10-28-2016, 08:50 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
What was the answer?
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #5  
Old 10-28-2016, 08:56 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by bcjenkins View Post
What was the answer?
It doesn't matter. In the code it forks between whether or not you have unicode enabled. Then test in either case if you have extended_filenames enabled.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
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
Apostrophe's in metadata now have two trailing spaces? peternm22 Batch Metadata Tools 8 10-18-2015 10:17 AM
Storage Spaces fast enough? eobiont SageTV Software 3 02-19-2013 06:02 PM
Can I leave my tv on like I leave my pc monitor on? Mtlca401 General Discussion 11 03-09-2008 01:18 AM
Do you leave it on? jbarr SageTV Software 32 10-07-2006 12:44 PM
Separate tuning spaces and overrides for each TV tuner Para SageTV Software 0 01-28-2006 09:06 PM


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


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