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
  #101  
Old 05-23-2016, 08:47 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by KryptoNyte View Post
The Amazon vids are coming down at 720x404 on SageTV V7 with this plugin. Are you saying there is a way to pull a higher quality video?
Yes, 720p, but you'd have to upgrade SageTV to v9, and set up the custom user-agent to spoof XBMC to get it.

(with any current v9 install, setting custom_user_agent=UPnP/1.0 DLNADOC/1.50 XBMC in sage.properties should cause PlayOn to stream 720p)
__________________
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

Last edited by Fuzzy; 05-23-2016 at 08:56 AM.
Reply With Quote
  #102  
Old 05-23-2016, 05:52 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Awww crap. I guess I'm going to have to move to V9 eventually.

Thanks.
Reply With Quote
  #103  
Old 05-24-2016, 01:38 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by KryptoNyte View Post
Awww crap. I guess I'm going to have to move to V9 eventually.

Thanks.
Can't think of any reason not to.
__________________
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
  #104  
Old 06-13-2016, 08:15 AM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
How does this add-on know when to stop recording? I'm curious because I've noticed a couple of times where a show cuts off before it's actually over and I don't know whether it's PlayON or the tool thinking 22 minutes is up so I'm stopping now.


I seem to remember the other Playon plugin padding the end time in order to avoid this so I wondered if it might be the plugin.

By the way I really like this plugin and have replaced the old one with this one on my main home system.
Reply With Quote
  #105  
Old 06-13-2016, 12:19 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by sacrament055 View Post
How does this add-on know when to stop recording? I'm curious because I've noticed a couple of times where a show cuts off before it's actually over and I don't know whether it's PlayON or the tool thinking 22 minutes is up so I'm stopping now.


I seem to remember the other Playon plugin padding the end time in order to avoid this so I wondered if it might be the plugin.

By the way I really like this plugin and have replaced the old one with this one on my main home system.
It asks PlayOn how long the video is and then downloads the entire file that PlayOn provides. I do remember the other plugin did some padding but I'm not sure of the logic it used to determine how much, if any, padding was necessary.
__________________

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
  #106  
Old 06-13-2016, 01:38 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Ok, I think I get it then. Playon knows the video is say 22 minutes long for a 30 minute show but the variable is the amount of commercials that might get tossed in. Seems like that's why the other one added 10 minutes or something. I think in the end it could be manually configured if a larger padding was preferred.

Guess it makes sense then. I'll have to try streaming directly from PlayON using their app on my phone and see if it does the same.

Might need to add padding here in the end as well (assuming that's doable)
Reply With Quote
  #107  
Old 06-14-2016, 01:25 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by sacrament055 View Post
Ok, I think I get it then. Playon knows the video is say 22 minutes long for a 30 minute show but the variable is the amount of commercials that might get tossed in. Seems like that's why the other one added 10 minutes or something. I think in the end it could be manually configured if a larger padding was preferred.

Guess it makes sense then. I'll have to try streaming directly from PlayON using their app on my phone and see if it does the same.

Might need to add padding here in the end as well (assuming that's doable)
Yes, I believe that is the issue (reported length is NOT the total length it needs to record, because of commercials).
__________________
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
  #108  
Old 06-14-2016, 06:24 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
Yes, I believe that is the issue (reported length is NOT the total length it needs to record, because of commercials).
I'll have to figure out how to handle this since I don't really "record" anything, I just download the file that PlayOn provides. I'm not sure how to download more than is there
__________________

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
  #109  
Old 06-14-2016, 07:11 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Does the connection just disconnect when you reach the designated end of the stream? When you get files in HTTP, if the length is known, before you get to the actual data, it's included in the metadata. I know in my experience with the HDHomeRun that it doesn't tell you what the length is and that's why if you click on the links for any of the channels in a normal browser, it just downloads forever.

I don't recall if the HTTP implementation in Java will automatically disconnect you when you hit the size specified in the metadata. Can you just tell SageTV that the video is longer than it really is?
__________________
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
  #110  
Old 06-21-2016, 10:52 AM
moldmaker78 moldmaker78 is offline
Sage User
 
Join Date: Jun 2011
Location: aurora
Posts: 11
playon

We watch Hulu and HBO now.
Hulu has commercial and HBO doesn't.
Both cut off early when watching.
We have to record the show after it cuts off to watch the end.
If you just record the show without watching it, it records the whole show.
Reply With Quote
  #111  
Old 06-23-2016, 06:18 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by moldmaker78 View Post
We watch Hulu and HBO now.
Hulu has commercial and HBO doesn't.
Both cut off early when watching.
We have to record the show after it cuts off to watch the end.
If you just record the show without watching it, it records the whole show.
Thanks for the info. I'll add this to the "to do" list.
__________________

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
  #112  
Old 06-25-2016, 03: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 moldmaker78 View Post
We watch Hulu and HBO now.
Hulu has commercial and HBO doesn't.
Both cut off early when watching.
We have to record the show after it cuts off to watch the end.
If you just record the show without watching it, it records the whole show.
I'm pretty sure I know why this is happening but I do not know how to fix it. Maybe somebody has some ideas.

The basic problem is that some sources supply the length of the show without commercials. Without knowing the amount of commercial time "throw in" I have no way to tell the total run time of the show.
__________________

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
  #113  
Old 06-25-2016, 06:08 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by tmiranda View Post
I'm pretty sure I know why this is happening but I do not know how to fix it. Maybe somebody has some ideas.

The basic problem is that some sources supply the length of the show without commercials. Without knowing the amount of commercial time "throw in" I have no way to tell the total run time of the show.
Why not add a setup for end padding? You could enter this in minutes, but it might make more sense to be a percentage of reported show length. Would it cause problems if you had this too long (other than wasting some space)?
__________________
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
  #114  
Old 06-25-2016, 06:41 AM
samgreco samgreco is offline
Sage Expert
 
Join Date: Jul 2004
Location: Villa Park, IL (Outside Chicago)
Posts: 617
I know with Evil's plugin, there were many times that I had black for minutes at the end of a show. But better that than missing the last 5 minutes.

As too how much time to add, I don't know the right answer. But I have seen it vary from network to network. In fact, I would swear that on one network (I'd have to check this again to verify) if you binge watched, they would ad more commercial time to every episode.
Reply With Quote
  #115  
Old 06-25-2016, 02:47 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 499
Quote:
Originally Posted by tmiranda View Post
I'm pretty sure I know why this is happening but I do not know how to fix it. Maybe somebody has some ideas.

The basic problem is that some sources supply the length of the show without commercials. Without knowing the amount of commercial time "throw in" I have no way to tell the total run time of the show.
May I ask what the consequences are for simply adding padding, other than it is not the ideal solution? Does the file size continue to grow at the same rate if the stream has ended?
Reply With Quote
  #116  
Old 06-25-2016, 06:39 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I can easily add "a chunk" of padding (a fixed amount or a % of the total time), but that just seems so ugly.

Maybe I can add a "Watch with Padding" choice on the menu and let the user select the padding. It will get the job done by putting the amount of ugly in the hands of the user
__________________

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
  #117  
Old 06-25-2016, 07:45 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Honestly, I just wish PlayOn would change their writing mechanism to allow other programs to read the PlayLater recorded file while it's being written, instead of having to go through UPnP at all. I've asked and they state that they HAVE to lock the file when writing it out, but I can't see how that is necessary. They should be able to lock it for writing, but still allow other programs to open it for reading only - which is all we need. Then we could simply trigger PlayLater to record the show, and sage would be able to play back the 'recording' progressively, just like any other SageTV recording.
__________________
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
  #118  
Old 06-25-2016, 08:13 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
Honestly, I just wish PlayOn would change their writing mechanism to allow other programs to read the PlayLater recorded file while it's being written, instead of having to go through UPnP at all. I've asked and they state that they HAVE to lock the file when writing it out, but I can't see how that is necessary. They should be able to lock it for writing, but still allow other programs to open it for reading only - which is all we need. Then we could simply trigger PlayLater to record the show, and sage would be able to play back the 'recording' progressively, just like any other SageTV recording.
That would make my life easier. I don't think I'll be holding my breath

While you're at it, why not just ask them to tell us the duration with commercials
__________________

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
  #119  
Old 06-25-2016, 08:44 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
You're more than welcome to do that.. for me, I just PlayLater it, and have a script that extracts the chapter marks and turns them into an .EDL file. Just can't watch 'live'.
__________________
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
  #120  
Old 06-26-2016, 06:58 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
While you're at it, why not just ask them to tell us the duration with commercials
I don't think you're going to find an elegant solution to this. PlayOn is telling you what it knows based on what the website told it, PlayOn often records the screen that says it's buffering the video, it often records random splash screens/logos injected by the networks into the stream and I'm sure you'll agree that it can't possibly know how many commercials will be injected or how long they will be. With all of these additions not being accounted for by the playback length on the website, even HBO without any commercials is probably going to be off.

I really think the best solution if you want to keep it at clean as possible would be to find a way to keep adding a few minutes during playback to the timebar so long as data is still coming in from PlayOn. This is never going to be as clean as a broadcast where the timeslots are mostly accurate.

Edit: Just as an example, I just recorded an episode of Bob's Burgers on PlayOn using PlayLater. The interface reported that the show length is 21:38 the resulting file was 26:57.
__________________
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; 06-26-2016 at 07:13 AM.
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
UPnP Browser: The Video List is Downloading mogrinz SageTV v7 Customizations 16 08-20-2015 07:15 PM
UPnP Browser Error! Unable to find UPnP Device (PlayON), select this to try a longer hawkmoon SageTV v7 Customizations 8 01-22-2014 08:54 AM
Online Services Plugin :: UPnP Browser evilpenguin SageTV v7 Customizations 82 06-07-2010 02:14 PM
UPnP Browser showing no videos found jpaddock3000 SageTV v7 Customizations 1 05-20-2010 01:29 PM
UPNP Playon stutters like crazy dinki SageTV HD Theater - Media Player 6 10-02-2009 05:55 AM


All times are GMT -6. The time now is 06:55 PM.


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