SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-14-2017, 12:11 PM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Recording start time is off for some archived shows

Hello,

I moved some TV recordings to a different drive so I could archive them and free up recording space. The shows I moved had a 5 minute padding on the end of each recording. So if the show aired at 9pm it would record from 9 to 10:05pm.

However, once I moved the show to a different drive, SageTV now shows it as having the five minute padding in the beginning. So the show's recorded time is 8:55pm to 10pm. The entire show is there and I just have to rewind five minutes to start at the beginning but it seems odd.

Does anyone know of a way to fix this or know what caused it?
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #2  
Old 06-14-2017, 12:20 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
I would be interested also.
Happens for all our recordings that have padding also (at start and/or end) since they record on the sagetv pc then get moved to unRaid box

Last edited by graywolf; 06-14-2017 at 12:22 PM.
Reply With Quote
  #3  
Old 06-14-2017, 12:42 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
I think when it doesn't have any better clues about start time, it goes based on the creation date of the file.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #4  
Old 06-14-2017, 06:04 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
This problem (feature?) has existed since at least v6 SageTV for me.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #5  
Old 06-14-2017, 09:02 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by EnterNoEscape View Post
I think when it doesn't have any better clues about start time, it goes based on the creation date of the file.
Sort of.. It think it uses the files lastmodified, and sets the end of the airing to that time. This explains why the end of the recording is lined up with the end of the airing, and the beginning floats 5 minutes earlier.
__________________
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
Reply With Quote
  #6  
Old 06-15-2017, 06:59 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I think it also likes to use the creation date of the file regardless of whether it has other metadata. I have a process where I archive shows externally from SageTV using Handbrake, but I was keeping the file ID number in the filename which was allowing it to keep the metadata. But it was giving me timeline issues until I added some code to change the file creation time on the archived file to be the same as the file creation time on the original SageTV file.

If anybody wants to they could play around with this by changing the file creation time in Windows - but I think you need a utility to do this as it isn't possible, or at least not easy to do, in Windows or from a CLI. I am not sure how to do this in Linux - maybe with chattr?
__________________
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
Reply With Quote
  #7  
Old 06-15-2017, 07:24 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Linux it would be the touch cmd
Would have to look up the syntax
Reply With Quote
  #8  
Old 06-15-2017, 07:29 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by graywolf View Post
Linux it would be the touch cmd
Would have to look up the syntax
Touch changes the last accessed property - I don't know if it can also change the file created property.
__________________
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
Reply With Quote
  #9  
Old 06-15-2017, 08:39 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Checked. The touch cmd can modify the access (last time read), modify (last time content modified), or change (last time file metadata changed [ie permissions])

Maybe sagetv linux uses the modify date/time. Just a guess
Reply With Quote
  #10  
Old 06-15-2017, 09:53 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by graywolf View Post
Checked. The touch cmd can modify the access (last time read), modify (last time content modified), or change (last time file metadata changed [ie permissions])

Maybe sagetv linux uses the modify date/time. Just a guess
Pretty sure it doesn't matter windows or linux, the Java File object only has a method for returning the lastmodified time, so I'm pretty sure that's what sage uses no matter what platform it's on. I don't think actual created time is used for anything. (it can be done via readAttributes, but it is more complicated, and I don't remember seeing that anywhere in seeker.java, or anywhere in sage at all).
__________________
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
Reply With Quote
  #11  
Old 06-19-2017, 11:35 AM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Quote:
Originally Posted by Fuzzy View Post
I don't think actual created time is used for anything. (it can be done via readAttributes, but it is more complicated, and I don't remember seeing that anywhere in seeker.java, or anywhere in sage at all).
Hmm, what if we removed the metadata from the file completely. The timeline should work fine then, correct?
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
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
TV shows start at current time instead of where I last stopped watching popechild SageMC Custom Interface 8 01-06-2009 09:14 PM
Recording Fails to start at set time ullms SageTV Software 4 05-08-2008 05:43 PM
Adjust Start Time/End Time for consecutive shows GreggP SageTV Software 5 10-16-2007 07:40 AM
Manual recording kept old epg start time? Alex0230 SageTV Software 1 05-22-2004 05:26 PM
Shows start recording in sage recordings Mateo SageTV Beta Test Software 4 02-10-2004 05:59 AM


All times are GMT -6. The time now is 03:18 PM.


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