SageTV Community  

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

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #501  
Old 01-09-2017, 11:09 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Rob23 View Post
Thank you for your taking time to look at this and for your patience.

A point of clarification - I have never logged into a YouTube account as I don't use the download function of this plugin. I just stream the videos as I go.

Before the last log file that I uploaded yesterday, I had grabbed the latest youtube-dl and loaded it in the SageTV install directory, replacing the previous version. So, I don't think that is the issue.

It is definitely displaying the latest videos on my favorite channels; I just can't get anything to play.

Only other thing I can think of is that it could be a Windows 7 firewall issue. I have all of the Sage-related ports open and appear to be able to see videos that are on YouTube, but they just won't play.

Any other thoughts?
The log shows me that youtube-dl is not getting the URL for the video. I'll look into it more closely tomorrow (no time today.) What channel are you trying to watch?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #502  
Old 01-09-2017, 12:11 PM
Rob23 Rob23 is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 101
Quote:
Originally Posted by tmiranda View Post
The log shows me that youtube-dl is not getting the URL for the video. I'll look into it more closely tomorrow (no time today.) What channel are you trying to watch?
I think I may have attempted the MotorTrend channel when I generated this log, but I don't recall. I have attempted to watch many different channels, all with the same resulting error. I'm beginning to suspect it may be a permissions issue with Windows 7, but then again I would think that it wouldn't even be displaying the list of videos in my favorite channels if Sage wasn't able to get out through the firewall.

Thank you again for looking into this.
Reply With Quote
  #503  
Old 01-09-2017, 06:27 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Rob23 View Post
I think I may have attempted the MotorTrend channel when I generated this log, but I don't recall. I have attempted to watch many different channels, all with the same resulting error. I'm beginning to suspect it may be a permissions issue with Windows 7, but then again I would think that it wouldn't even be displaying the list of videos in my favorite channels if Sage wasn't able to get out through the firewall.

Thank you again for looking into this.
I also think it's something with your system. I just brought up Motor Trend and was able to watch the videos without difficulty.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #504  
Old 01-12-2017, 01:00 PM
Rob23 Rob23 is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 101
Quote:
Originally Posted by tmiranda View Post
I also think it's something with your system. I just brought up Motor Trend and was able to watch the videos without difficulty.
You were correct. I ended up tracking it down to an internet options setting that was preventing the communication with YouTube. Once I set it to allow an anonymous login, the plugin is working as expected. Thanks again for looking at my log file.
Reply With Quote
  #505  
Old 01-12-2017, 01:21 PM
Rob23 Rob23 is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 101
Quote:
Originally Posted by tmiranda View Post
OK, I know what's going on. Since you have downloaded it and not imported it as a video or TV recording the plugin does not know where to look for the downloaded video. I remember this case when I was coding the plugin and decided that finding the downloaded video would be "hit or miss" (because the user can choose to download the video anywhere) so I decided just to re-download it.
After spending a great deal of time pouring through a verbose log file (trace wasn't telling the whole story), I think I now better understand why I continue to have intermittent error messages indicating that previously watched video files are no longer available on disk.

I am using this in the same way starfire was (i.e. not setting the videos to download and import as recordings). Often, if I return to watch a video that I have watched before, I get an error indicating the file is no longer available on disk.

I believe the issue is that the files are being downloaded into a temporary file, that I understand should be deleted when Sage exits. However, in reading the error log, it appears that the YT plugin is attempting to locate the original downloaded file:
Wed 1/11 21:44:15.999 [AWT-EventQueue-0@1b8935b] YT: About to play 7mYK4o_kK3E
Wed 1/11 21:44:16.001 [AWT-EventQueue-0@1b8935b] YT: Util.fileIsDownloaded: Found file: OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4
Wed 1/11 21:44:16.001 [AWT-EventQueue-0@1b8935b] YT: Video has been previously downloaded. C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4
Wed 1/11 21:44:16.008 [AsyncWatch@1228794] Returning null format for zero-length file
Wed 1/11 21:44:16.008 [AsyncWatch@1228794] Returning null format for zero-length file
Wed 1/11 21:44:16.009 [AsyncWatch@1228794] Increased StringBuffer pool to size=1
Wed 1/11 21:44:16.009 [AsyncWatch@1228794] VideoFrame.watch(A[1000000004,1000000002,"OnlineVideo-7mYK4o_kK3E-335951711658898144",0@0108.11:57,0,V])
Wed 1/11 21:44:16.010 [AsyncWatch@1228794] watchThisFile=MediaFile[id=0 A[1000000004,1000000002,"OnlineVideo-7mYK4o_kK3E-335951711658898144",0@0108.11:57,0,V] mask=V host=Rob-PC encodedBy= format=null C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4, Seg0[Sun 1/8 11:57:51.320-Sun 1/8 11:57:51.321]]
Wed 1/11 21:44:16.014 [AsyncWatch@1228794] MediaFile failing verify testFile=C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4 isFile=true len=0 isTV=false isRecording=false
Wed 1/11 21:44:16.014 [AsyncWatch@1228794] BAD WATCH Selected watch failed file verification.
Wed 1/11 21:44:16.014 [AsyncWatch@1228794] cleanupLocalFile called for MediaFile[id=0 A[1000000004,1000000002,"OnlineVideo-7mYK4o_kK3E-335951711658898144",0@0108.11:57,0,V] mask=V host=Rob-PC encodedBy= format=null C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4, Seg0[Sun 1/8 11:57:51.320-Sun 1/8 11:57:51.321]]
Wed 1/11 21:44:16.014 [BGLoader2-SAGETV_PROCESS_LOCAL_UI@d62450] Loading RawImage of size 1280x720 for url http://i.ytimg.com/vi/yFiBVIelJsQ/maxresdefault.jpg fileSize=118636
Wed 1/11 21:44:16.015 [AsyncWatch@1228794] processOptionsMenu optionsMenu=default:TMIR-91968|OptionsMenu: Display Message Dialog
Is there a way that the plugin can be modified such that the YT: Util.fileIsDownloaded process is never run? My objective is for the plugin to never look to determine if the file was previously downloaded and to always re-download a file when a video is selected for playback. Is this possible in the API? Or, should I be running some type of properties cleanup to ensure that the YT: Util.fileIsDownloaded process never sees that a file has been previously downloaded?
Reply With Quote
  #506  
Old 01-12-2017, 02:06 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Rob23 View Post
After spending a great deal of time pouring through a verbose log file (trace wasn't telling the whole story), I think I now better understand why I continue to have intermittent error messages indicating that previously watched video files are no longer available on disk.

I am using this in the same way starfire was (i.e. not setting the videos to download and import as recordings). Often, if I return to watch a video that I have watched before, I get an error indicating the file is no longer available on disk.

I believe the issue is that the files are being downloaded into a temporary file, that I understand should be deleted when Sage exits. However, in reading the error log, it appears that the YT plugin is attempting to locate the original downloaded file:
Wed 1/11 21:44:15.999 [AWT-EventQueue-0@1b8935b] YT: About to play 7mYK4o_kK3E
Wed 1/11 21:44:16.001 [AWT-EventQueue-0@1b8935b] YT: Util.fileIsDownloaded: Found file: OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4
Wed 1/11 21:44:16.001 [AWT-EventQueue-0@1b8935b] YT: Video has been previously downloaded. C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4
Wed 1/11 21:44:16.008 [AsyncWatch@1228794] Returning null format for zero-length file
Wed 1/11 21:44:16.008 [AsyncWatch@1228794] Returning null format for zero-length file
Wed 1/11 21:44:16.009 [AsyncWatch@1228794] Increased StringBuffer pool to size=1
Wed 1/11 21:44:16.009 [AsyncWatch@1228794] VideoFrame.watch(A[1000000004,1000000002,"OnlineVideo-7mYK4o_kK3E-335951711658898144",0@0108.11:57,0,V])
Wed 1/11 21:44:16.010 [AsyncWatch@1228794] watchThisFile=MediaFile[id=0 A[1000000004,1000000002,"OnlineVideo-7mYK4o_kK3E-335951711658898144",0@0108.11:57,0,V] mask=V host=Rob-PC encodedBy= format=null C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4, Seg0[Sun 1/8 11:57:51.320-Sun 1/8 11:57:51.321]]
Wed 1/11 21:44:16.014 [AsyncWatch@1228794] MediaFile failing verify testFile=C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4 isFile=true len=0 isTV=false isRecording=false
Wed 1/11 21:44:16.014 [AsyncWatch@1228794] BAD WATCH Selected watch failed file verification.
Wed 1/11 21:44:16.014 [AsyncWatch@1228794] cleanupLocalFile called for MediaFile[id=0 A[1000000004,1000000002,"OnlineVideo-7mYK4o_kK3E-335951711658898144",0@0108.11:57,0,V] mask=V host=Rob-PC encodedBy= format=null C:\Users\Rob\AppData\Local\Temp\OnlineVideo-7mYK4o_kK3E-335951711658898144.mp4, Seg0[Sun 1/8 11:57:51.320-Sun 1/8 11:57:51.321]]
Wed 1/11 21:44:16.014 [BGLoader2-SAGETV_PROCESS_LOCAL_UI@d62450] Loading RawImage of size 1280x720 for url http://i.ytimg.com/vi/yFiBVIelJsQ/maxresdefault.jpg fileSize=118636
Wed 1/11 21:44:16.015 [AsyncWatch@1228794] processOptionsMenu optionsMenu=default:TMIR-91968|OptionsMenu: Display Message Dialog
Is there a way that the plugin can be modified such that the YT: Util.fileIsDownloaded process is never run? My objective is for the plugin to never look to determine if the file was previously downloaded and to always re-download a file when a video is selected for playback. Is this possible in the API? Or, should I be running some type of properties cleanup to ensure that the YT: Util.fileIsDownloaded process never sees that a file has been previously downloaded?
The plugin will always try to play it if it's been previously downloaded. I'll have to update the plugin to add the option to skip that check.

It looks like the file is still on the disk but is zero length?

One thing you can do is make sure the file is completely deleted from the disk and then start an imported video re-scan. This should make sure the plugin does not try to play the deleted file.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #507  
Old 01-12-2017, 02:24 PM
Rob23 Rob23 is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 101
Quote:
Originally Posted by tmiranda View Post
The plugin will always try to play it if it's been previously downloaded. I'll have to update the plugin to add the option to skip that check.

It looks like the file is still on the disk but is zero length?

One thing you can do is make sure the file is completely deleted from the disk and then start an imported video re-scan. This should make sure the plugin does not try to play the deleted file.
Thank you. I would like the option to skip that check.

I'm not sure I'm clear as to why the imported video re-scan would apply as I'm not importing the videos as recordings. I just navigate to my favorite channels and play the videos from there.

Regarding the zero length file, it almost seems like there is an issue with the way the temp files are being deleted when Sage exits. Clearly, the file name still resides in the temp directory, but it seems as though the bulk of the data is deleted. Perhaps the solution lies in looking at how the temp file deletion process is being executed. Im not sure.
Reply With Quote
  #508  
Old 01-12-2017, 08:03 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Rob23 View Post
Thank you. I would like the option to skip that check.

I'm not sure I'm clear as to why the imported video re-scan would apply as I'm not importing the videos as recordings. I just navigate to my favorite channels and play the videos from there.

Regarding the zero length file, it almost seems like there is an issue with the way the temp files are being deleted when Sage exits. Clearly, the file name still resides in the temp directory, but it seems as though the bulk of the data is deleted. Perhaps the solution lies in looking at how the temp file deletion process is being executed. Im not sure.
The re-scan may help because in order to play a video the plugin creates a temporary MediaFile Object, plays the video, then deletes the MediaFile Object. I'm thinking the re-scan may be needed to clear the MediaFile Object from the sage database. If the plugin doesn't find the MediaFile Object, it won't look for the physical file.

The temp files are being created using standard java methods. They should be deleted when the sage java VM exits, if not there is a bug with java or Windows.

If you manually delete the files from the temp directory the plugin should work. That's the theory anyway
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #509  
Old 01-12-2017, 09:19 PM
Rob23 Rob23 is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 101
Quote:
Originally Posted by tmiranda View Post
The re-scan may help because in order to play a video the plugin creates a temporary MediaFile Object, plays the video, then deletes the MediaFile Object. I'm thinking the re-scan may be needed to clear the MediaFile Object from the sage database. If the plugin doesn't find the MediaFile Object, it won't look for the physical file.

The temp files are being created using standard java methods. They should be deleted when the sage java VM exits, if not there is a bug with java or Windows.

If you manually delete the files from the temp directory the plugin should work. That's the theory anyway
Interesting. When I went to the temp file directory, I found a handful of MPEG-4 files with file sizes of 0 KB, including the one in the error log referenced above. After manually deleting these files and running a Scan Imported Media in Sage, the above video is able to play in Sage. I am going to monitor the temp file directory to see if I can identify a build-up of these zero length files. Thank you again for your help.
__________________
Sage Server: Core 2 Quad Q9550 2.83GHz, Windows 7 x64, Hauppauge WinTV-quadHD, AverMedia M780. HD200 Extender.
Reply With Quote
  #510  
Old 01-13-2017, 01:22 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Rob23 View Post
Interesting. When I went to the temp file directory, I found a handful of MPEG-4 files with file sizes of 0 KB, including the one in the error log referenced above. After manually deleting these files and running a Scan Imported Media in Sage, the above video is able to play in Sage. I am going to monitor the temp file directory to see if I can identify a build-up of these zero length files. Thank you again for your help.
Glad it's now working. Let me know if you see a pattern with those zero length files. I should probably put a check for that in the code.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #511  
Old 01-25-2017, 02:15 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
I was checking the SageTV folder structure because it was reporting that it was over 270GB. The culprit was the youtube_downloads folder. I realize this is supposed to be a temporary place for videos as they are being streamed or downloaded, but it seems that it doesn't always clean up after itself. I know this kind of thing can be a little tricky because you don't want to delete something someone is still playing back for example, but some active management of this folder like removal of cached videos that are over a few days old if the used disk space exceeds a threshold would be desirable at least to me.
__________________
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
  #512  
Old 01-25-2017, 03:42 PM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 532
Quote:
Originally Posted by EnterNoEscape View Post
I was checking the SageTV folder structure because it was reporting that it was over 270GB. The culprit was the youtube_downloads folder.
you must be doing something wrong...
my Sagetv/youtube_downloads folder is always empty...
not a file in sight...
spotless even...

of course, it seems for some reason that the plugin is just dumping the files in /sageTV for me...

why did it even make a folder if it wasn't going to use it?

is the location of where Youtub(2015) dumps files configurable? not that it really matters, as long as it plays the files, I am happy
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply With Quote
  #513  
Old 01-25-2017, 04:26 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
This is really just a humble request. I normally don't download much from YouTube and like this plugin a lot for the few times I visit. I think some of the problems came from the fact that I had added a favorite channel and set it to download everything when I meant to tell it to only download new things. Needless to say I got a lot of content rather quickly. Since this content was being copied into my recordings, I didn't think about the temporary files hanging around.
__________________
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
  #514  
Old 01-25-2017, 06:14 PM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
Quote:
Originally Posted by EnterNoEscape View Post
This is really just a humble request. I normally don't download much from YouTube and like this plugin a lot for the few times I visit. I think some of the problems came from the fact that I had added a favorite channel and set it to download everything when I meant to tell it to only download new things. Needless to say I got a lot of content rather quickly. Since this content was being copied into my recordings, I didn't think about the temporary files hanging around.
I use it for a few shows a week, and once in a while it just hangs (I think because they can't finish the download?) and leaves files there.

I do wish he'd add a custom "recording" path, so my SSD wouldn't be used. ;-)
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
Reply With Quote
  #515  
Old 01-25-2017, 07:09 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by EnterNoEscape View Post
This is really just a humble request. I normally don't download much from YouTube and like this plugin a lot for the few times I visit. I think some of the problems came from the fact that I had added a favorite channel and set it to download everything when I meant to tell it to only download new things. Needless to say I got a lot of content rather quickly. Since this content was being copied into my recordings, I didn't think about the temporary files hanging around.
It should cleanup after itself. Do you have any logfiles that show something being downloaded?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #516  
Old 01-25-2017, 07:58 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by tmiranda View Post
It should cleanup after itself. Do you have any logfiles that show something being downloaded?
The downloads all happened last week, so I might not have corresponding logs, but I'll check. Should it be cleaning itself up immediately after downloading the files or when SageTV shuts down?

Edit: I don't have the logs from when the files were downloaded.
__________________
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

Last edited by EnterNoEscape; 01-25-2017 at 08:03 PM.
Reply With Quote
  #517  
Old 01-26-2017, 06:47 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by EnterNoEscape View Post
The downloads all happened last week, so I might not have corresponding logs, but I'll check. Should it be cleaning itself up immediately after downloading the files or when SageTV shuts down?

Edit: I don't have the logs from when the files were downloaded.
It should delete them immediately. It downloads the video to the youtube_downloads directory then moves or copies the file to the final destination. If it copies the file the original should be deleted.

Is your target download directory on the same or different filesystem?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #518  
Old 01-26-2017, 07:59 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by tmiranda View Post
It should delete them immediately. It downloads the video to the youtube_downloads directory then moves or copies the file to the final destination. If it copies the file the original should be deleted.

Is your target download directory on the same or different filesystem?
Same system. I'm using the Docker container on unRAID. The recordings definitely showed up, the temporary files just didn't get removed. Would restarting SageTV while a video is downloading be enough to trip things up?
__________________
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
  #519  
Old 01-26-2017, 06:27 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by EnterNoEscape View Post
Same system. I'm using the Docker container on unRAID. The recordings definitely showed up, the temporary files just didn't get removed. Would restarting SageTV while a video is downloading be enough to trip things up?
Restarting should not matter. I wonder if the issue is docker specific? Can you download something and send me the log?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #520  
Old 01-26-2017, 06:53 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by tmiranda View Post
Restarting should not matter. I wonder if the issue is docker specific? Can you download something and send me the log?
No problem. It will probably be tomorrow. I'm getting some target invocation errors related to the plugin that implies that for some reason the .jar didn't load, so I'll be restarting SageTV after tonight's recordings to see if it fixes itself. I don't think this means anything is wrong with the plugin, but in case you're interested, here's the logs from that.

Edit: It looks like the plugin isn't loading. I uploaded another attachment with the failure log.
Attached Files
File Type: zip sagetv_0.zip (485.2 KB, 95 views)
File Type: zip sagetv_0_failure.zip (118.4 KB, 104 views)
__________________
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

Last edited by EnterNoEscape; 01-26-2017 at 07:03 PM.
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
Plex Hacked July 1, 2015 tvmaster2 General Discussion 5 07-08-2015 02:43 AM
Will 2015 leap second effect SageTV? Paul H SageTV Software 10 01-16-2015 07:43 AM
Merry Christmas & Happy New Year 2015 SHS General Discussion 25 01-01-2015 08:59 PM
Plugin request for SageTV Windows Client: Autofrequency plugin mkanet SageTV v7 Customizations 3 11-12-2011 09:33 AM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM


All times are GMT -6. The time now is 03:35 AM.


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