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
  #1  
Old 12-10-2010, 11:56 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
SageTV and XBMC/BOXEE Integration

Let me preface by saying that this is not a SageTV plugin.

It's a program I created to archive SageTV recorded TV Shows/Movies in a way that XBMC/Boxee can understand.

In my opinion, XBMC's user interface and video library is much nicer and polished than SageTV v7, so I prefer to use XBMC to watch my recorded TV and movies. This scripts allows you to do that.

Details:
http://forum.xbmc.org/showthread.php?p=661756

Last edited by bradvido; 01-25-2011 at 03:43 PM.
Reply With Quote
  #2  
Old 12-10-2010, 12:28 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Wow nice that really fills one of the missing gaps in xbmc. Still can't do livetv but most don't need that anymore.

Question I am guessing the recording has to be finished first?
Reply With Quote
  #3  
Old 12-10-2010, 12:37 PM
madpoet madpoet is offline
Sage Aficionado
 
Join Date: Sep 2003
Posts: 262
Very nice! I've been watching my STV episodes on my BBox for a while now but they are fairly hard to understand from a title perspective I was looking at SJQ to maybe convert them or something. And I am DELIGHTED you included the .edl functions, that was one of the coolest things ever when I realized BB respected the comskipped Sage files
Reply With Quote
  #4  
Old 12-10-2010, 01:05 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by PLUCKYHD View Post
Question I am guessing the recording has to be finished first?
Yes. The recording won't be archived until it is flagged as isCurrentlyRecording=false in Sage.

Quote:
Originally Posted by madpoet View Post
... And I am DELIGHTED you included the .edl functions, that was one of the coolest things ever when I realized BB respected the comskipped Sage files
Yes, by default the .edls are type 0, which cuts the content. If you want to change them to commercial skip, that option is available in the Config.xml.

Please let me know if you have installation troubles.
It's been working for me for about a month, but I'm sure somebody will uncover a problem I hadn't thought of
Reply With Quote
  #5  
Old 12-11-2010, 09:00 AM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
Thank you! I've been playing w/ XBMC on my Zotac box b/c Sage sometimes has trouble, this would make it even better!
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333
Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID
Capture: HDHomerun Prime, HDHomerun x 2
Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi)
Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300
Reply With Quote
  #6  
Old 12-13-2010, 08:11 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
FYI, this have been updated this with a few bug fixes.

I should note to anyone wondering "why use XBMC when Sage can play the content just fine?"
One of the main reasons for me is that XBMC's hardware acceleration support works much better with my ION powered htpc. Not to mention that XBMC plays anything you throw at it (natively). Sage can't play my DVD and Blu-ray backups. XBMC does this no problem.

Last edited by bradvido; 01-11-2011 at 07:06 PM.
Reply With Quote
  #7  
Old 12-13-2010, 08:26 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Quote:
Originally Posted by bradvido View Post
Sage can't play my DVD and Blu-ray backups. XBMC does this no problem.
Thats odd, Sage plays my DVD and BluRay backups just fine.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #8  
Old 12-13-2010, 09:11 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
My DVD's are full disk backups saved as .iso's. I haven't been able to figure out how to have Sage play them. Do you know a way?

My BluRay backups are just .mkv's of the main title, which sage will play, but I cant get it to play smoothly on my ION htpc's. I also cant get sage to read the BluRay subtitles.

I appreciate any help with Sage. I've been using XBMC for just short of a decade and only been using Sage for a month, so i'm a newbie here
Reply With Quote
  #9  
Old 12-13-2010, 03:28 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
You can playback .iso's by installing Virtual Clone Drive unless you use Linux in which case I believe it just works. Your .mkv issues are probably due to a codec problem but seeing as I use extenders I can't really help there..... I do however have serveral 25Gb+ BluRay rips in .mkv format with embeded subtitles which play just fine with extenders.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #10  
Old 12-14-2010, 04:02 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by jaminben View Post
You can playback .iso's by installing Virtual Clone Drive unless you use Linux in which case I believe it just works. Your .mkv issues are probably due to a codec problem but seeing as I use extenders I can't really help there..... I do however have serveral 25Gb+ BluRay rips in .mkv format with embeded subtitles which play just fine with extenders.
Thanks for the info. I'll stick with XBMC's built in support for .isos for now, but I may dig into the .mkv playback issues.
The main problem is that I can't get Sage to use the ION for hardware accelerated playback. I've tried every renderer/codec combination, but no luck so far, just choppy playback for my 1080p h264 .mkv's.

Thanks again for the tips.
Reply With Quote
  #11  
Old 12-14-2010, 07:22 PM
Spectrum Spectrum is offline
Sage Expert
 
Join Date: Aug 2006
Posts: 720
Quote:
Originally Posted by bradvido View Post
Thanks for the info. I'll stick with XBMC's built in support for .isos for now, but I may dig into the .mkv playback issues.
The main problem is that I can't get Sage to use the ION for hardware accelerated playback. I've tried every renderer/codec combination, but no luck so far, just choppy playback for my 1080p h264 .mkv's.

Thanks again for the tips.
The build in splitter doesn't play nice with all MKVs. Most have had pretty good luck installing the Haali splitter and disabling the internal splitter.
Reply With Quote
  #12  
Old 12-15-2010, 09:14 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by Spectrum View Post
The build in splitter doesn't play nice with all MKVs. Most have had pretty good luck installing the Haali splitter and disabling the internal splitter.
I've been using the internal splitter with mkv's and the coreavc codec works great.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #13  
Old 12-15-2010, 10:27 AM
Spectrum Spectrum is offline
Sage Expert
 
Join Date: Aug 2006
Posts: 720
Quote:
Originally Posted by panteragstk View Post
I've been using the internal splitter with mkv's and the coreavc codec works great.
Then you've been lucky
I've got about 15 or 20, most with multiple audio tracks, that the default splitter chokes on but Haali deals with them just fine. I think it may have to do with the version of MKVtoolnix I used to mux them, but I haven't bothered to track it down.
Reply With Quote
  #14  
Old 01-11-2011, 07:10 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
For anyone interested, this has been updated.
The most useful new feature allows you to add SageTV recordings to XBMC's library without having to modify, move, copy, or compress any SageTV files.
Many other new features too.
http://forum.xbmc.org/showthread.php?t=87261

Last edited by bradvido; 01-14-2011 at 08:07 PM.
Reply With Quote
  #15  
Old 01-14-2011, 06:57 PM
Slack's Avatar
Slack Slack is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 256
Well I wondered in here to see if there was any development on that old XBMC script that pulled info from the Sage server...and well. This seems like great approach. I had just been pointing XBMC to my recordings folder and watching them in my office as needed. Been looking for a way to bring XBMC into the living room on new hardware (have some old chipped consoles still doing it SD only of course)

From the XBMC thread...
Quote:
Optionally creates a symbolic link with an XBMC-friendly name that points to the original recording (allows XBMC to use its library and SageTV to both access the same video without conflict.)
This is awesome! I can relocate an HD200 AND get XBMC in the living room without impacting other HD200s and/or PCs around the house.

Just gotta upgrade my Server. And get another Revo. And I though I would not have anything to do this weekend.

Again, Thanks - can't wait to try this out.

Reply With Quote
  #16  
Old 01-14-2011, 08:10 PM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Glad you think you'll find it useful. I have 4 XBMC HTPCs throughout my house (centralized with MySQL) and this script keeps my library up to the minute with my new TV recordings. Very useful for me
Reply With Quote
  #17  
Old 01-15-2011, 07:10 AM
Slack's Avatar
Slack Slack is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 256
Stupid question 1)
From the config.xml...
Quote:
The url of your sage server.
IMPORTANT: You must have the sagex web api plugin installed on your web server.
It can be installed at: Plugins/General/sagex-services - "SageTV Remote API Services"
Make sure you can access http://myserver:8080/sagex/api without authentication.
Remember the default port is 8080, so you will need to add :8080 to your server's name/ip
I take it that this is NOT NeilM's web server add on, and is part of Sage's stock install? I do not see the path listed on my Sage server's filesystem "Plugins/General/sagex.." I was attempting to configure and use SageXBMC before upgrading my server to v7.

EDIT/
Nevermind. I think it is neilm's plugin. although I changed the port I can get to the url without authentication. I get "Sage API - 6.5.15-6" I let you know if it works on this version (I'd rather not upgrade if I do not have to.)

Last edited by Slack; 01-15-2011 at 07:59 AM.
Reply With Quote
  #18  
Old 01-15-2011, 09:22 AM
Slack's Avatar
Slack Slack is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 256
Stupid Question 2)
I answered myself - couldn't get it to run. In your Run-x64.cmd I had to hard code the path adding the two spaces didn;t seem to get it done. On my machine (and likely others?) java is in...
Code:
C:\Program Files (x86)\Java\jre6\bin
Run-x64.cmd looks like...
Code:
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -jar "SageXBMC.jar"
pause
I added the spaces m'_'F & s'_'(, compiled.. but nithing happened until I hard coded "C:\Program Files (x86)\Java\jre6\bin"
Stupid question 3)
In the config.xml would a filter of
Code:
<add extension="mpg" redirect="true"></add>
simply get everything that is .mpg? Or do need a wild card?

Last edited by Slack; 01-15-2011 at 09:33 AM.
Reply With Quote
  #19  
Old 01-15-2011, 10:53 AM
bradvido's Avatar
bradvido bradvido is offline
Sage User
 
Join Date: Nov 2010
Location: MN
Posts: 68
Quote:
Originally Posted by Slack View Post
Stupid question 1)
EDIT/
Nevermind. I think it is neilm's plugin. although I changed the port I can get to the url without authentication. I get "Sage API - 6.5.15-6" I let you know if it works on this version (I'd rather not upgrade if I do not have to.)
I have never tested this on anything but SageTV v7. In fact, I've never used any previous versions of Sage, so I'm not sure about how to install the sagex api in v6. See here for details on sagex http://forums.sagetv.com/forums/down...do=file&id=255
In v7, it is isntalled under the General tab of theplugin broswer.

Quote:
Originally Posted by Slack View Post
Stupid Question 2)
I answered myself - couldn't get it to run. In your Run-x64.cmd I had to hard code the path adding the two spaces didn;t seem to get it done. On my machine (and likely others?) java is in...
Code:
C:\Program Files (x86)\Java\jre6\bin
Run-x64.cmd looks like...
Code:
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -jar "SageXBMC.jar"
pause
I added the spaces m'_'F & s'_'(, compiled.. but nithing happened until I hard coded "C:\Program Files (x86)\Java\jre6\bin"
Yes, the run commands may have to be slightly modified to get your java path (depening on OS and architecture). I just provided a common path that should work on Win7 installed with Java6. %ProgramFiles(x86)% is a Windows shortcut to your x86 program files folder. Notice the '%'s surrounding it.

Quote:
Originally Posted by Slack View Post
Stupid question 3)
In the config.xml would a filter of
Code:
<add extension="mpg" redirect="true"></add>
simply get everything that is .mpg? Or do need a wild card?
Unfortunately, the blank showfilter will not match all .mpg's. The only wildcard available is ALL_MOVIES for movies.
However, I plan to add this more wildcarding in the next version. For now, you'll have to define a shorfilter for every show you want.
Keep in mind you probably don't want to wildcard all recordings anyway because not all shows can be looked up on TheTVDB. For example news programs and other less popular shows probably dont have up-to-date entries at TheTVDB (but you can add them if you want, that's the beauty of TheTVDB)
Let me know if you have more questions.
Reply With Quote
  #20  
Old 01-15-2011, 02:42 PM
Slack's Avatar
Slack Slack is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 256
I get your point about the shortcut - not sure why it did not work on my system.

About adding shows that are not in TVDB such the local news etc...If the scraper finds no info it'll still add it to the library right? Just wont have any meta data?

Last edited by Slack; 01-15-2011 at 02:45 PM.
Reply With Quote
Reply

Tags
boxee, integration, xbmc


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
Will XBMC interfere with SageTV? tonysathre Sage My Movies 1 09-08-2010 03:39 PM
XBMC SageTv Plugin mikwilli SageTV Customizations 95 04-30-2010 12:50 PM
XBMC plugin for SageTV jhh SageTV Customizations 45 04-19-2009 01:16 PM
SageTV vs. XBMC MediaStream UI? SørenBM SageMC Custom Interface 2 03-07-2009 02:29 PM
XBMC Script for SageTV Released 3/1/2006 Coolwave SageTV Customizations 361 03-04-2009 03:15 PM


All times are GMT -6. The time now is 12:32 AM.


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