SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #21  
Old 09-24-2009, 03:44 PM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
Yes, but I think you will only be able to create 1 feed per folder containing videos. At least at the moment. That is why we are targeting the queues, because you can go online to hulu and netflix and assign videos to your queues.

You could create a feed for each program as well (CSI:Miami) for example.
  #22  
Old 09-24-2009, 03:46 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by pjpjpjpj View Post
I've never looked into PlayOn before, and admittedly have not followed the "quest for hulu" here much, but this has my interest piqued.

I checked out the PlayOn site and saw this quote:


Does this mean that this plug-in opens the door (potentially) to getting CBS, CNN, ESPN, etc., streaming web video as well as the aforementioned hulu and netflix?
Yes.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
  #23  
Old 09-24-2009, 04:14 PM
Zippster's Avatar
Zippster Zippster is offline
Sage Aficionado
 
Join Date: Jun 2008
Location: Buffalo NY
Posts: 314
Quote:
Originally Posted by gplasky View Post
Yes.

Gerry
That was going to be a "future" question of mine once the original dust started to settle. Many guys are making all sorts of additional programming plugins at several sites for Playon.
  #24  
Old 09-24-2009, 05:01 PM
brandypuff brandypuff is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Berlin, MA
Posts: 378
Is playon needed?

No one has addressed an earlier post requesting info on whether Playon is needed or not. If so, what needs to be done to set that up? I have no idea what Playon is.

I love the way someone posts a new utility and everyone immediately
jumps in knowing exactly how to use it while leaving the rest of us in the dust.
__________________
- James M -

Capture Devices: HDHomerunXTEND, HDHomerunPrime
  #25  
Old 09-24-2009, 05:04 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
It appears that yes, PlayOn is required as you will note in step 1 of the instructions at the first post of this thread:

Quote:
Instructions:
1.) Requires PlayOn to be installed.
Quote:
Originally Posted by brandypuff View Post
I have no idea what Playon is.

I love the way someone posts a new utility and everyone immediately
jumps in knowing exactly how to use it while leaving the rest of us in the dust.
Don't feel bad, my Dad says the same sorts of things all the time
Keep in mind this "addon" is in a very alpha infancy. Google PlayOn and you'll hopefully understand more. At the moment they're still testing things to see how it will all work - it's not intended for the regular end-user quite yet...

Last edited by Brent; 09-24-2009 at 05:07 PM.
  #26  
Old 09-24-2009, 05:13 PM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
I updated my files to make use of Evilpenguin's new upnp2podcast.exe application. One of the issues that was found was that the timeline duration has a trailing ".0" for milliseconds that sage cannot handle.

The run.bat file (which is what you run) will place 2 files in the C:\xampplite\htdocs folder called "huluqueue.xml" and "netflixqueue.xml" These are the feeds.

If you wish to change the output location, you need to edit the run.bat file vbscripts. You will also need to modify vbscripts (hulu1 and netflix1) to use the IP address of your server so that the extenders can use it.

I am sure that none of this will be necessary once EP has updated his app. But the files are up in case anyone wants to try it. I will refer all future development to him from this point on since he is the one who has done a superb job getting this running.
  #27  
Old 09-24-2009, 05:27 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Don't those files need to end in .txt? It's not finding the video feeds. I had modified your earlier one to work with EP's latest and it worked. (Except for the duration thing) It's either .txt or modify your php scripts, isn't it? Renamed them to .txt in the bat and vbs files. Hulu is working fine. But the Netflix is giving me playback exceptions. Is this becasue my account uses silverlight? The rss feed shows the file links as mpgs. I've been able to get audio but no video with both directshow and sageplayer.

Gerry

EDIT: The Netflix is playing fine on my HD200. So it's probably a PC client/Directshow thing. I have PowerDVD, Microsoft and Divx h.264 and I'll reboot the client just to make sure.
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 09-24-2009 at 05:50 PM.
  #28  
Old 09-24-2009, 06:16 PM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
They don't have to end in .txt, I think it tries to read it as text no matter what the extension is. I fixed the Netflix vbscript to get rid of that millisecond and it is working now.

I am using it right now and they are both working great on the extenders. I don't use the sage server for playback, so I have not tested much with that to be honest. I do know that there is aspect ratio issues which the extenders seem to handle much better.
  #29  
Old 09-24-2009, 07:18 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I can fix the duration right in the script, but what do we do if the video is over an hour long? I'm just going to e-mail Sage and ask them how they want the feed formated because I can't tell from the STV or the documentation what tags they're reading their data (size, thumbnail, description, date, etc.) out of.

edit: Oh, its the millisecond that's the problem? That can definitely be axed.
  #30  
Old 09-24-2009, 07:20 PM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
Quote:
Originally Posted by evilpenguin View Post
I can fix the duration right in the script, but what do we do if the video is over an hour long? I'm just going to e-mail Sage and ask them how they want the feed formated because I can't tell from the STV or the documentation what tags they're reading their data (size, thumbnail, description, date, etc.) out of.
Just knock the milliseconds (.0) off the end and it will work. I was wrong about the leading zeros, those don't matter.
  #31  
Old 09-24-2009, 07:25 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Updated the download again

* Only prints out debug comments if you have a second parameter
* Removes msec from itunes duration

I took out the thumbnail for now because i'm not sure what format its gotta be in, but once I find out i'll add it back in.

Edit: Also be sure an tell people to upgrade their PlayOn to the latest version. They've improved how they present the metadata in the last few weeks and my script only looks for the latest version.

Last edited by evilpenguin; 09-24-2009 at 07:55 PM.
  #32  
Old 09-24-2009, 07:58 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by simonen View Post
Also, maybe you have already thought of this, but the localhost needs to be replaced with the network IP or else the extenders won't work with it.
Not sure quite sure what you mean by that, where are you seeing localhost referenced? Its showing up with the proper IP in my output

Code:
<enclosure url="http://10.0.1.2:63478/hulu-d53ad563-3086-426e-8179-524fc119e3db/1-hulu-d53ad563-3086-426e-8179-524fc119e3db.mpg" length="1653744000" type="video/mpeg2"/>
  #33  
Old 09-24-2009, 09:50 PM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
I see that the millisecond is now excluded, but I still get 127.0.0.1 for the IP. I assume you are using .net to program your app and I think the problem is that the function used to grab the network IP address does not work in windows 7 which is what I am using (at least I found it was a problem for vbscript). What Windows version are you testing in?

As a side note, would you rather me not to update my files and wait till you have some official released so that we don't confuse people with these 2 different approaches?

Last edited by simonen; 09-24-2009 at 10:06 PM.
  #34  
Old 09-24-2009, 10:21 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Quote:
Originally Posted by simonen View Post
I updated my files to make use of Evilpenguin's new upnp2podcast.exe application. One of the issues that was found was that the timeline duration has a trailing ".0" for milliseconds that sage cannot handle.

The run.bat file (which is what you run) will place 2 files in the C:\xampplite\htdocs folder called "huluqueue.xml" and "netflixqueue.xml" These are the feeds.

If you wish to change the output location, you need to edit the run.bat file vbscripts. You will also need to modify vbscripts (hulu1 and netflix1) to use the IP address of your server so that the extenders can use it.

I am sure that none of this will be necessary once EP has updated his app. But the files are up in case anyone wants to try it. I will refer all future development to him from this point on since he is the one who has done a superb job getting this running.
Hi,

I am running WHS on my Sage Server. This is where I would like to install Playon, but since the operating system drive is only 20GB I don't have much room.
I saw on the Playon forum a workaround (Junction) that would let you symlink to another location. I was thinking of going this way until I read your post about editing the .bat file for the Hulu and Netflix locations. Will that accomplish the same thing as far as keeping the operating system drive from being used for the transcoding, etc?
Thanks
  #35  
Old 09-24-2009, 10:47 PM
Mitch G Mitch G is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 323
UPDATE: Solved.
I was getting an error message when clicking on a movie in my netflix queue listing:
The video download failed. Error: The requested video was not found on the server.

It was fixed by re-running the bat file. I had updated and restarted playon since originally running the bat file. So I guess it was out of sync with what playon was thinking.

I guess I should add: This is the cat's pajamas!

Thanks,


Mitch

Last edited by Mitch G; 09-24-2009 at 11:12 PM.
  #36  
Old 09-24-2009, 11:07 PM
Mitch G Mitch G is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 323
It's still the cat's pajamas, but ...
it appears that it doesn't handle TV series.
The generated xml file has my entire queue shown in the debug log, but only movies are put into the rss feed part of the file.


Mitch
  #37  
Old 09-25-2009, 01:31 AM
Slipshod's Avatar
Slipshod Slipshod is offline
Sage Aficionado
 
Join Date: Feb 2008
Location: San Francisco Bay Area
Posts: 474
Looks like the latest batch isn't working with Hulu... The run.bat file is only calling the upnp browser with a search depth of "2" levels, and no shows are showing up in my queue unless I increase that to "3" levels...

And then they show up multiple times since the 2nd level structure is 3 different views into the same queue...

I had to change this:
PlayOn:Hulu:User Queue:+2

to this:
PlayOn:Hulu:User Queue:+3

In the run.bat for it to work.
__________________
SageTV V7 (WHS), Diamond UI
Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool
Tuners: 4 (2x HDHR)
Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter
2x Roku XD
  #38  
Old 09-25-2009, 01:38 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by Slipshod View Post
Looks like the latest batch isn't working with Hulu... The run.bat file is only calling the upnp browser with a search depth of "2" levels, and no shows are showing up in my queue unless I increase that to "3" levels...
Try this.
Code:
"PlayOn:Hulu:User Queue:Sort By Name:+2"
  #39  
Old 09-25-2009, 02:11 AM
Slipshod's Avatar
Slipshod Slipshod is offline
Sage Aficionado
 
Join Date: Feb 2008
Location: San Francisco Bay Area
Posts: 474
Quote:
Originally Posted by evilpenguin View Post
Try this.
Code:
"PlayOn:Hulu:User Queue:Sort By Name:+2"
Brilliant. Worked great.

And I've used the task-scheduler in Windows to automate running the run.bat in the morning, so hopefully this will keep itself maintained decently well...
__________________
SageTV V7 (WHS), Diamond UI
Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool
Tuners: 4 (2x HDHR)
Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter
2x Roku XD
  #40  
Old 09-25-2009, 10:22 AM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
Fixed now in the batch file. To my amazement, I was running v.2.59.3545 and when I updated to 2.59.3555, I then needed to use "Sort By Name".
Closed Thread


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
RSS FEed Lost85 SageMC Custom Interface 1 07-18-2009 01:18 AM
Looking for News and Sports feed for RSS ticker SageGk SageMC Custom Interface 1 04-06-2008 07:56 AM
Web Plugin RSS feed question matt91 SageTV Customizations 1 07-28-2006 11:24 AM
RSS feed for the forums dflachbart General Discussion 4 03-31-2006 11:39 PM


All times are GMT -6. The time now is 08:17 PM.


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