|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
UPnP (PlayOn) Browser
Here is the first rough draft of a new PlayOn plugin I've been working on. It has minimal functionality right now and the videos must be downloaded before they can be played.
Unzip and then copy the attached manifest to the install directory of your SageTV server then look for a UI Mod plugin called "UPnP (PlayOn) Browser". After installation go to Online -> UPnP Browser. Your PlayOn server will show up there. As you will see, it's a generic UPnP (Universal Plug and Play) browser. I will focus on PlayOn but I may also dabble getting it to work with some other UPnP devices. This should be considered an alpha release.
__________________
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. |
#2
|
||||
|
||||
I am so glad to see someone working on this. I've been working with Cling a lot in OpenDCT and had plans to eventually get around to a new UPnP plugin for SageTV that is based on Cling so it will run on Linux too. I think this was my last real hangup on switching over to Linux.
I love the speed of browsing with your version. I know this is alpha and it even allowed me to browse my Prime tuner, but was unable to play anything. I know that's not a focus, but I just thought it was neat that it worked at all. With actual PlayOn content I noticed that it downloaded the entire video. I just want to make sure that's expected or if it was supposed to stream live instead.
__________________
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 |
#3
|
||||
|
||||
Thanks.
Right now you do need to download the entire video. I still haven't figured out how to do progressive playback. I should work, but doesn't I'm not sure how far I'll get on other devices. UPnP is all very new to me and the documentation is crappy. I get the impression that UPnP is a "general guideline" for developers and not a standard If you want to help on the plugin I am more than willing.
__________________
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. |
#4
|
||||
|
||||
You'll find a few situations in the Cling source code where they accommodate a particular vendor. That's one reason why they have so many factory methods to keep things flexible. The factory method defaults are strict. I had to make my own to correctly get a particular value from Ceton tuners. Hopefully you don't find yourself in a similar situation.
I really would love to help, but I still have a very large amount of work left to do with OpenDCT. We seem to have a developer shortage. One of my hopes with the project was to bring some network encoder projects under one robust project, but it needs to get to a certain level before that can be a reality, so I'll just keep coding until it gets there. I will certainly be a tester, but at least for now I won't be able to be much more.
__________________
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 |
#5
|
||||
|
||||
Version 0.02
New version can be installed using the attached manifest. This version adds the ability to record from PlayOn.
It still can't do progressive playback but at least you can set things to record and then watch them later.
__________________
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. |
#6
|
||||
|
||||
Perhaps I'm missing something everyone else knows about recording online content. I tried Ctrl-Y, Ctrl-I and Esc. I can't figure out how to tell it to record. When I hit enter, it just goes straight into downloading.
__________________
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 |
#7
|
|||
|
|||
Quote:
Also, (if it were doing PlayLater it would), if your answer to above is the latter, is it able to do HD (like Fuzzy's v9 trick)?
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. |
#8
|
||||
|
||||
Ctrl-y will start recording immediately. Enter should bring up an options menu. If that isn't happening there is a bug.
__________________
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. |
#9
|
||||
|
||||
Quote:
I'm not sure what Fuzzy's V9 trick is. Sorry.
__________________
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. |
#10
|
|||
|
|||
Quote:
Also, does it queue recordings (meaning, can you set three things to record and it will record one after another)? Sorry for the simplistic questions, I haven't had a chance to download it but want to know whether this will be good for WAF or just plain confuse her.
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. |
#11
|
||||
|
||||
Quote:
Yes, it queues the recordings. When they are done they appear as recorded TV or Videos (selectable).
__________________
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. |
#12
|
||||
|
||||
I'll try again. I didn't get an options menu.
__________________
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 |
#13
|
||||
|
||||
If you are using it on a SageClient, you must also install the plugin on the server. (I should make that clearer in the instructions.)
Ctrl-y will actually bring up a dialog that allows you to pick, or enter, a show title. (The PlayOn directory structure makes it difficult for the plugin to figure out the show title. I figured it would be better to let the user pick one.)
__________________
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. |
#14
|
||||
|
||||
I was doing it on the client on the server. I was able to do Ctrl-y to record Hulu, but not a random movie on Netflix.
Update: I think I see the problem. I don't see the video logo next to the ones that I can't record, but when I hit enter or the right arrow they start downloading. I really like that we actually download the file in SageTV. Kodi does something else and it makes the stream completely unseekable; it's really annoying and the one of the many reasons I was never able to transition. Fortunately I don't have any good reason to anymore thanks to the SageTV open sourcing.
__________________
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; 02-16-2016 at 04:16 PM. |
#15
|
||||
|
||||
PlayOn uses the HTTP Request's User-Agent to determine if the client supports HD playback (meaning it's on their whitelist). The tweak I had done in v9 was to allow setting a custom user agent for sagetv, (since it had previously not set it explicitly, so it was defaulting to 'Java/x.x.x_x'. There are a few properties I created in the sage.properties file to set the user-agent that sage uses, and if you then set those properties to an XBMC user agent, playon will send 720p streams. It works with the StartFileDownload calls in the sagetv api.
__________________
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 |
#16
|
||||
|
||||
Quote:
__________________
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. |
#17
|
||||
|
||||
Quote:
Also, maybe you can help with getting progressive download to work. Right now it starts progressive download but playback stops once the buffered data is used up. The IsFileProgressivePlayback() (might not have that method name quite right) method returns true yet progressive playback does not work.
__________________
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. |
#18
|
||||
|
||||
Quote:
Maybe this has to do with how you're determining that something is video content? The theme I'm seeing is that TV shows are consistently showing up with the video logo, but movies are not.
__________________
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 |
#19
|
||||
|
||||
Quote:
Quote:
Which API call are you actually using to download the file?
__________________
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 |
#20
|
||||
|
||||
Quote:
I must be missing something
__________________
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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |