SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

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
  #1  
Old 07-12-2015, 12:25 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
PlugIn: YouTube (2015)

Watch YouTube videos again on SageTV. This plugin replaces the YouTube functionality in the default STV which had become obsolete due to changes introduced by YouTube.

After installation bring up the options menu to configure the plugin to your liking.
  • Download Before Playing - Currently you must Enable this option. Once the open source version of SageTV is available progressive download will be possible.
  • Video Fetch Order - Videos will be displayed in this order.
  • Channel Fetch Order - Channels will be displayed in this order.
  • Maximum Items to Fetch - Setting this to a higher number will return more Videos/Channels but it will also cause delays in the UI.
  • Delete Temporary Files - If set to "When Sage Exits" any videos downloaded will be deleted when SageTV exits. (i.e. The SageTV service is stopped on your server or when you exit SageTVClient.) If set to "After Watching" then the videos will be deleted immediately after watching. Note that if a video has been downloaded and not deleted, the plugin will not have to download the video again.

Known bugs and/or odd behavior:
- Sometimes the items on the main menu get out of order.
- Maximum Items to Fetch is not enforced inside of playlists.
- Linux is not currently supported.

Report all bugs and make feature requests here.
__________________

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
  #2  
Old 07-12-2015, 12:54 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,157
What an awesome plugin - thank you, Tom. Working perfectly on both clients and extenders.

- Does it always grab the highest quality version of the video?
- Where does it store the video file?
Reply With Quote
  #3  
Old 07-12-2015, 12:55 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,364
Quote:
Originally Posted by tmiranda View Post
Watch YouTube videos again on SageTV. This plugin replaces the YouTube functionality in the default STV which had become obsolete due to changes introduced by YouTube.

After installation bring up the options menu to configure the plugin to your liking.
  • Download Before Playing - Currently you must Enable this option. Once the open source version of SageTV is available progressive download will be possible.
  • Video Fetch Order - Videos will be displayed in this order.
  • Channel Fetch Order - Channels will be displayed in this order.
  • Maximum Items to Fetch - Setting this to a higher number will return more Videos/Channels but it will also cause delays in the UI.
  • Delete Temporary Files - If set to "When Sage Exits" any videos downloaded will be deleted when SageTV exits. (i.e. The SageTV service is stopped on your server or when you exit SageTVClient.) If set to "After Watching" then the videos will be deleted immediately after watching. Note that if a video has been downloaded and not deleted, the plugin will not have to download the video again.

Known bugs and/or odd behavior:
- Sometimes the items on the main menu get out of order.
- Maximum Items to Fetch is not enforced inside of playlists.
- Linux is not currently supported.

Report all bugs and make feature requests here.
ok, after downloading and watching Star Wars: The Force Awakens comic con, here's what happened: As soon as it finished, I clicked on the same Youtube menu again to play it over - it didn't play it, it started downloading it.
So..I tried to cancel half-way thru, and now I have an "error - it would be a good idea to manually delete this file from your Sage install directory"
That requester won't close
The file can't be found in any directory
Have to shut down Sage to make it go away.
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #4  
Old 07-12-2015, 01:11 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Well, not off to a good start I'll look into this. Tell me how you navigated to the movie trailer please.
__________________

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
  #5  
Old 07-12-2015, 01:12 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,364
Quote:
Originally Posted by tmiranda View Post
Well, not off to a good start I'll look into this. Tell me how you navigated to the movie trailer please.
main menu/online/yt videos/most popular/star wars

could be a fluke, but I've never been able to find the clip in the SageTV dir, either, regardless of what version of the plugin I've tried (using the latest 4)
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #6  
Old 07-12-2015, 01:20 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
The clip from Comic-Con? That one plays fine for me. I could use a logfile too.
__________________

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.

Last edited by tmiranda; 07-12-2015 at 01:23 PM.
Reply With Quote
  #7  
Old 07-12-2015, 01:29 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,157
I can't repeat TVM's issue using the same method.

I did download/watch this video on the server, then re-watched without having to download again, paused half way through the second viewing. Went to an extender and attempted to watch, which required another download.
Reply With Quote
  #8  
Old 07-12-2015, 01:32 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,364
Quote:
Originally Posted by tmiranda View Post
The clip from Comic-Con? That one plays fine for me. I could use a logfile too.
It played fine for me as well, the FIRST time.
and after I play the file the first time, it SHOULD be in the SageTV.exe dir?

OK, didn't notice there was a version 5 in main menu plugins waiting to be updated. did that, now the trailer plays on second viewing without downloading, but for the life of me, I can't find it anywhere on my server. Any ideas?
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 07-12-2015 at 01:41 PM.
Reply With Quote
  #9  
Old 07-12-2015, 02:14 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
Congrats on the first official release of this plugin. Thanks so much for all of your work on this.

I do have one question, however. I see you have a "Browse Favorite Playlists" menu item now, but I can't figure out how to search for a playlist to mark it as a favorite. Can you point me in the right direction?
Reply With Quote
  #10  
Old 07-12-2015, 02:42 PM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
Brilliant plugin, thanks for doing this, much appreciated
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
Reply With Quote
  #11  
Old 07-12-2015, 03:42 PM
wubdich's Avatar
wubdich wubdich is offline
Sage Advanced User
 
Join Date: Sep 2009
Location: Germany
Posts: 235
Congratulation - really great work !

Just in case some space on the wish list is empty: A "Whats new on favorite channels and playlists" view would be nice. ;-)
Reply With Quote
  #12  
Old 07-13-2015, 06:26 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by tvmaster2 View Post
It played fine for me as well, the FIRST time.
and after I play the file the first time, it SHOULD be in the SageTV.exe dir?

OK, didn't notice there was a version 5 in main menu plugins waiting to be updated. did that, now the trailer plays on second viewing without downloading, but for the life of me, I can't find it anywhere on my server. Any ideas?
The download should now end up in your default temp directory, not the Sage install directory. If you look in the logfile you can see the actual location if you still can't find it.

You can probably ignore that message about deleting it from the server.
__________________

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
  #13  
Old 07-13-2015, 06:29 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by Boolah View Post
Congrats on the first official release of this plugin. Thanks so much for all of your work on this.

I do have one question, however. I see you have a "Browse Favorite Playlists" menu item now, but I can't figure out how to search for a playlist to mark it as a favorite. Can you point me in the right direction?
There is no way to search for Playlists yet. To add a Playlist as a Favorite:
- Browse a channel you like.
- Press "select" to bring up the options menu.
- Make sure Advanced options are displayed.
- You will see "Browse Playlists". That will show playlists for the channel you are browsing.
__________________

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
  #14  
Old 07-13-2015, 06:30 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by wubdich View Post
Congratulation - really great work !

Just in case some space on the wish list is empty: A "Whats new on favorite channels and playlists" view would be nice. ;-)
I will put that on the 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
  #15  
Old 07-13-2015, 08:22 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
I noticed no linux support... does this plugin use a Windows/Mac Binary to access youtube? Just curious what makes it Windows/Mac specific. thx.
Reply With Quote
  #16  
Old 07-13-2015, 09:02 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by stuckless View Post
I noticed no linux support... does this plugin use a Windows/Mac Binary to access youtube? Just curious what makes it Windows/Mac specific. thx.
It doesn't support Linux only because I haven't gotten to it yet It uses a python program to extract the download URL from the YouTube website so porting to Linux will not be a problem, I just need to do it
__________________

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
  #17  
Old 07-13-2015, 10:22 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,364
Quote:
Originally Posted by tmiranda View Post
The download should now end up in your default temp directory, not the Sage install directory. If you look in the logfile you can see the actual location if you still can't find it.

You can probably ignore that message about deleting it from the server.
Great - that's exactly where it was found - appdata temp.
And, after the file is played, and you go back to another source (live - recorded material) the temp file seems to disappear, so that's the correct operation?
thanks
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #18  
Old 07-13-2015, 10:35 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
Quote:
Originally Posted by tmiranda View Post
It doesn't support Linux only because I haven't gotten to it yet It uses a python program to extract the download URL from the YouTube website so porting to Linux will not be a problem, I just need to do it
awesome
Reply With Quote
  #19  
Old 07-13-2015, 11:20 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Quote:
Originally Posted by tvmaster2 View Post
And, after the file is played, and you go back to another source (live - recorded material) the temp file seems to disappear, so that's the correct operation?
It depends on what setting you have for "Delete Temporary Files". If it's "After Watching", then yes. As soon as you stop watching the video it is deleted.
__________________

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
  #20  
Old 07-13-2015, 11:45 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,364
Quote:
Originally Posted by tmiranda View Post
It depends on what setting you have for "Delete Temporary Files". If it's "After Watching", then yes. As soon as you stop watching the video it is deleted.
OK, where is that setting? There's nothing like that on my left side menu

EDIT - Found it. Didn't realize it was under Options on the lower right. Thanks
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:04 AM.


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