![]() |
UPnP (PlayOn) Browser
1 Attachment(s)
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. |
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. |
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 :D If you want to help on the plugin I am more than willing. |
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. |
Version 0.02
1 Attachment(s)
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. |
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.
|
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)? |
Quote:
|
Quote:
I'm not sure what Fuzzy's V9 trick is. Sorry. |
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. :D |
Quote:
Yes, it queues the recordings. When they are done they appear as recorded TV or Videos (selectable). |
Quote:
|
Quote:
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.) |
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. |
Quote:
|
Quote:
|
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. |
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. |
Quote:
Quote:
Which API call are you actually using to download the file? |
Quote:
I must be missing something :( |
All times are GMT -6. The time now is 10:27 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.