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
  #141  
Old 12-04-2012, 05:36 PM
Naylia's Avatar
Naylia Naylia is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Mountain View, CA
Posts: 754
Quote:
Originally Posted by LehighBri View Post
Yikes. Probably not a long-term answer unless you want to look to other solutions that aren't Apple TV.
Already have a couple hockey pucks lying around the house that were going unused which was the real reason to mess around with this. I still have Sage HD300/200s at all my TVs, but the wife isn't a big fan of using PlayOn to access Amazon video and am hoping the XBMC plugin is a little nicer to use.

However - it looks like folks are getting good results with Handbrake re-encodes and can even keep them in 1080p if they limit the bitrate to just under 10Mbps - good resource here for anyone else: https://forum.handbrake.fr/viewtopic.php?f=7&t=21796 an i have a couple TB of movie storage free, so I should be able to allocate a couple hundred gigs to compressed versions of my blu-ray. Dual benefit is that they'd be travel friendly too.

TV we are a lot less picky about and I'm sure I can find a good forum topic about automating the re-encoding if it chokes. Might actually come in handy since I only have about 20% of my tv recording drive free and could use the space back.

Nothing to do but try! Pucks finally jailbroke after some delay late last night, so maybe I'll head home now and get to installing XBMC.
__________________
You can find me at Missing Remote. Or playing FF XIV. For XLobby users: XLobby MC

Last edited by Naylia; 12-04-2012 at 05:43 PM.
Reply With Quote
  #142  
Old 12-04-2012, 05:41 PM
seaverd seaverd is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 137
Lehighbri,

Here is a link to my log file...http://xbmclogs.com/show.php?id=17964

I can tell you that the plugin now shows up as version 1.4.2 in XBMC so the update must have occurred. It still gives me the xbmc.js is not up to date. I redownloaded the file from github and I still get the same message.

Dan
Reply With Quote
  #143  
Old 12-04-2012, 06:04 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by seaverd View Post
Lehighbri,

Here is a link to my log file...http://xbmclogs.com/show.php?id=17964

I can tell you that the plugin now shows up as version 1.4.2 in XBMC so the update must have occurred. It still gives me the xbmc.js is not up to date. I redownloaded the file from github and I still get the same message.

Dan
Can you attach the zip file of the plugin.video.sagetv folder so I can look at that? Can you also open a browser and tell me what output you get from the URL below?

http://sage:frey@192.168.0.98:8500/s...r&encoder=json

The logs looks like that returns "javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: syntax error" which I'm not quite sure what that even means. But pasting it in your browser sending me your zip file of your actual addon will help.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #144  
Old 12-04-2012, 06:11 PM
seaverd seaverd is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 137
Lehighbri,

I have a dumb question...how do I get the contents of the folder you are requesting. I assume they are on the Raspberry Pi sd card??? Here is the output of the URL you sent:

{"error":"javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: syntax error (<Unknown source>#4) in <Unknown source> at line number 4","exception":"java.lang.RuntimeException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: syntax error (<Unknown source>#4) in <Unknown source> at line number 4\r\n\tat sagex.remote.api.ApiHandler.callService(ApiHandler.java:200)\r\n\tat sagex.remote.api.ApiHandler.handleRequest(ApiHandler.java:140)\r\n\tat sagex.remote.SagexServlet.doPost(SagexServlet.java:60)\r\n\tat sagex.remote.SagexServlet.doGet(SagexServlet.java:38)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:707)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:820)\r\n\tat org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)\r\n\tat org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)\r\n\tat org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)\r\n\tat org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)\r\n\tat org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)\r\n\tat org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)\r\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\r\n\tat org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)\r\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\r\n\tat org.mortbay.jetty.Server.handle(Server.java:326)\r\n\tat org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)\r\n\tat org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)\r\n\tat org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)\r\n\tat org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)\r\n\tat org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)\r\n\tat org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)\r\n\tat org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)\r\nCaused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: syntax error (<Unknown source>#4) in <Unknown source> at line number 4\r\n\tat com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)\r\n\tat javax.script.AbstractScriptEngine.eval(Unknown Source)\r\n\tat sagex.remote.api.ServiceFactory.callService(ServiceFactory.java:59)\r\n\tat sagex.remote.api.ApiHandler.callService(ApiHandler.java:198)\r\n\t... 22 more\r\n","sagexVersion":"7.1.9.1"}
Reply With Quote
  #145  
Old 12-04-2012, 06:16 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
seaverd - I see sagexversion 7.1.9.1 at the end of your string... can you check on what version of sagex you're running? This addon requires 7.1.9.12 so not sure how you've been able to run this.

Regardless, looks like I need to first check for sagex version then check for xbmc.js version (which relies on sagex to check)... I currently have the logic flipped and in your case, I think the fact that you have an older sagex version makes the initial check for the xbmc.js version fail.

I can work on flipping that logic in a future update to tighten up this logic, but can you somehow check on what your sagex-services version is installed in SageTV and try to upgrade to the latest (which should be greater than 7.1.9.12)?
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #146  
Old 12-04-2012, 06:19 PM
seaverd seaverd is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 137
I just opened sagetv and went to installed plugins...it says I am running version 7.1.9.14 of sagex-api and sagex-services????
Reply With Quote
  #147  
Old 12-04-2012, 06:21 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by seaverd View Post
I just opened sagetv and went to installed plugins...it says I am running version 7.1.9.14 of sagex-api and sagex-services????
Weird. I just checked in an updated default.py file to the github. Can you try that and then post your log again?
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #148  
Old 12-04-2012, 06:24 PM
seaverd seaverd is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 137
To be honest with you I don't know how to update just that file from github...I have also heard you use the term xbmc repository...am I correct in my thinking that the repository is different and uninstalling and reinstalling the plugin will not pull in this file you just placed on github?
Reply With Quote
  #149  
Old 12-04-2012, 06:28 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by seaverd View Post
To be honest with you I don't know how to update just that file from github...I have also heard you use the term xbmc repository...am I correct in my thinking that the repository is different and uninstalling and reinstalling the plugin will not pull in this file you just placed on github?
There's two ways to install this addon. One is through the XBMC UI where you go to add an addon which shows you a catalog of available addons from XBMC's official repository and it downloads from there.

The other way is manually which isn't much harder. If you're using a raspberry pi, you'll need to FTP into it, then go to your /storage/.xbmc/addons directory and you should see a list of all of the plugins there. Go into the plugin.video.sagetv folder and replace your default.py file with the default.py file found on the github. Then relaunch the addon in XBMC and paste back your log file.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #150  
Old 12-04-2012, 08:09 PM
kricker's Avatar
kricker kricker is offline
Sage Icon
 
Join Date: Jan 2005
Location: Knoxville, TN
Posts: 1,137
Send a message via AIM to kricker Send a message via MSN to kricker
You can also open the xbmc.js file to see what version it is. Just open it in any text viewer.

var XBMCJS_VERSION_NUMBER = '1.4.2';

Last edited by kricker; 12-04-2012 at 08:11 PM.
Reply With Quote
  #151  
Old 12-04-2012, 08:14 PM
seaverd seaverd is offline
Sage Advanced User
 
Join Date: Feb 2005
Posts: 137
Thanks for solving my issue Lehighbri! My xbmc.js file was corrupted/bad as I did not download the zip file, I navigated to the xbmc.js file on github and right clicked and selected save as...this was obviously incorrect and gave me html of the github page...I am such an idiot....on previous updates I did this correctly...I don't know what I was thinking.

Dan
Reply With Quote
  #152  
Old 12-04-2012, 08:22 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Version 1.4.4

Quote:
Originally Posted by seaverd View Post
Thanks for solving my issue Lehighbri! My xbmc.js file was corrupted/bad as I did not download the zip file, I navigated to the xbmc.js file on github and right clicked and selected save as...this was obviously incorrect and gave me html of the github page...I am such an idiot....on previous updates I did this correctly...I don't know what I was thinking.

Dan
Sure thing. I just checked in a version 1.4.4 of the addon to the github which checks for a corrupt xbmc.js and informs you accordingly (vs. using a confusing error message). Will push to the xbmc repo later in the week.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)

Last edited by LehighBri; 12-05-2012 at 06:21 AM.
Reply With Quote
  #153  
Old 12-05-2012, 01:12 AM
Naylia's Avatar
Naylia Naylia is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Mountain View, CA
Posts: 754
Quote:
Originally Posted by seaverd View Post
Thanks for solving my issue Lehighbri! My xbmc.js file was corrupted/bad as I did not download the zip file, I navigated to the xbmc.js file on github and right clicked and selected save as...this was obviously incorrect and gave me html of the github page...I am such an idiot....on previous updates I did this correctly...I don't know what I was thinking.

Dan
Ditto...made the same mistake...

My name is also Dan, so no edit required
__________________
You can find me at Missing Remote. Or playing FF XIV. For XLobby users: XLobby MC
Reply With Quote
  #154  
Old 12-05-2012, 01:17 AM
Naylia's Avatar
Naylia Naylia is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Mountain View, CA
Posts: 754
Well, the Blu-ray transcode samples I did look great and play flawlessly, so now I just need to wait a bajillion hours for my movie library to be ready.

But it seems to be choking on my existing TV recordings, I can't play any of the existing recordings from my Ceton...need to swap to PDBA? Or need to re-encode? Thoughts?
__________________
You can find me at Missing Remote. Or playing FF XIV. For XLobby users: XLobby MC

Last edited by Naylia; 12-05-2012 at 01:30 AM.
Reply With Quote
  #155  
Old 12-05-2012, 02:06 AM
Naylia's Avatar
Naylia Naylia is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Mountain View, CA
Posts: 754
Sadly, enabling PDBA and installing the AVIVO dll doesnt't get me any joy - Sage just doesn't even record any more. Anyone re-encoding all their Ceton files in place and have any advice?

Giving the built in conversion a go to see how it likes the output files.
__________________
You can find me at Missing Remote. Or playing FF XIV. For XLobby users: XLobby MC

Last edited by Naylia; 12-05-2012 at 02:15 AM.
Reply With Quote
  #156  
Old 12-05-2012, 03:45 PM
Naylia's Avatar
Naylia Naylia is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Mountain View, CA
Posts: 754
So things seem to be mostly up and running now (aside from figuring out if I re-encode everything or if there's a better way to get my Ceton recordings to work). So yay!


Is there a way to add the shows from the SageTV add-on to a xbmc TV library? Or can I only access them via the add-on?

Thanks!
__________________
You can find me at Missing Remote. Or playing FF XIV. For XLobby users: XLobby MC
Reply With Quote
  #157  
Old 12-05-2012, 03:56 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by Naylia View Post
So things seem to be mostly up and running now (aside from figuring out if I re-encode everything or if there's a better way to get my Ceton recordings to work). So yay!


Is there a way to add the shows from the SageTV add-on to a xbmc TV library? Or can I only access them via the add-on?

Thanks!
Great to hear. Re: your question, short answer is no, the primary way to access is through this addon (you can also add your recordings dir as a source in the Videos area, but that just provides you a long directly listing with no metadata). The only way to get your media into the XBMC library view is to build a scraper, and in talking with kricker and others, it sounds like a nightmare and thus isn't/wasn't pursued. It's not to say that it can't be done though... so if someone wants to try to re-use concepts from this addon to build a scraper, I'd be happy to support them.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #158  
Old 12-05-2012, 04:35 PM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Are the XMBC scrapers anything like the Plex scrapers? Because Plex scrapers exist for SageTV recorded content...
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #159  
Old 12-05-2012, 04:47 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by darcilicious View Post
Are the XMBC scrapers anything like the Plex scrapers? Because Plex scrapers exist for SageTV recorded content...
No, they are different (I helped write the SageTV "scaper" for Plex).

Here are some resources to learn more about XBMC scrapers:
-Wiki with tutorial: http://wiki.xbmc.org/index.php?title...media_scrapers
-Tool to help debug/develop/test scraper outside of XBMC: http://forum.xbmc.org/showthread.php?tid=145204
-Example TMDB scraper to use for reference: http://xbmc.svn.sourceforge.net/view...44&view=markup

We could definitely take a stab at a scraper, but we need someone that is very good with regular expressions and has lots of patience and time to play around with the links above.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)

Last edited by LehighBri; 12-05-2012 at 04:50 PM.
Reply With Quote
  #160  
Old 12-05-2012, 05:16 PM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Quote:
No, they are different
That's too bad.

Quote:
I helped write the SageTV "scaper" for Plex
And I thank you. I love it
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
Reply


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
SageTV vs. XBMC MediaStream UI? SørenBM SageMC Custom Interface 2 03-07-2009 02:29 PM
MyMovies type of addon for SageTV? Sizam SageTV Customizations 3 07-07-2008 04:24 PM
Ultimate music addon for SageTV? www.pandora.com mkanet SageTV Customizations 13 02-19-2006 03:27 AM
Is there an internal (or addon) SageTV command which rew/ff like an old VCR? mkanet SageTV Software 1 08-25-2005 02:42 PM


All times are GMT -6. The time now is 03:19 AM.


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