SageTV Integration - Movies and TV Shows archiving compatible with XBMC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bradvido88 Offline
Member+
Posts: 736
Joined: Nov 2008
Reputation: 7
Location: MN
Post: #31
pkscuot Wrote:It looks like the program isn't finding the .properties file where it's expecting it, and I'm not sure where to look to find it. There is a SageTV.properties file in /Program Files/SageTV/SageTV, but it looks like that only has config stuff in it, not the actual TV program data.
The .properties file would be right next to the video file. If Sage can find meta-data about the show, it will create a [VIDEO_NAME].properties file with Season/Episode info. I attempt to use that, and if it's not there, then I look up the info on thetvdb.com.
So, if you have the wrong tvdb id specified, then the lookup will obviously not work. The program will continue to try and look this show up, as long as the last tvdb query was over an hour ago (avoids over-using the API).
So either change your tvdb id to the correct one, or delete it and let the program auto-determine it.

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (ForTheRecord & XBMC Library Integration)
SageTV & XBMC PVR Integration
Delete unused thumbs
find quote
clskier Offline
Junior Member
Posts: 18
Joined: Jan 2011
Reputation: 0
Post: #32
I'm on SageTV V6 and would like to get this working. Getting a boat load of errors right now. Before I wade through my logs and figure out what's happening I was wondering if anyone has this working on V6?
find quote
bradvido88 Offline
Member+
Posts: 736
Joined: Nov 2008
Reputation: 7
Location: MN
Post: #33
clskier Wrote:I'm on SageTV V6 and would like to get this working. Getting a boat load of errors right now. Before I wade through my logs and figure out what's happening I was wondering if anyone has this working on V6?
Yes, there is a guy on the SageTV forum who had it working on v6.
Basically, the only thing different is that you can't use v7's plugin manager to install the Sagex API. You have to manually install it.
Everything else is the same
See user "Slack" posts here http://forums.sagetv.com/forums/showthre...901&page=2

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (ForTheRecord & XBMC Library Integration)
SageTV & XBMC PVR Integration
Delete unused thumbs
find quote
TugboatBill Offline
Posting Freak
Posts: 788
Joined: Oct 2009
Reputation: 3
Post: #34
bradvido88 Wrote:Currently, there is no wildcard filter for TV Shows. I didn't integrate one because (currently) TV Shows that can't be looked up on TheTVDB can't be added to XBMC. So, it wont help to add programming like News or less common shows because their meta-data can't be looked up.
I am working on a way to manually add TV shows that don't have Season Number/Episode Number, but haven't gotten that far yet (your input is welcome).

So for now, you have to set up a showfilter for each TV Show.

Next release, this will be changed.

I'm dealing with a couple programs like this. 1st is BBC World News - there are no season/episodes. The other is This Old House. The local PBS stations don't properly populate the first aired date so it ends up with some wack date. Without the date the season/episode cannot be ascertained, so the episode isn't scraped.

Suggestion:

If an episode cannot be scraped then assign the recording as S01E01/etc and in the nfo the episode title would be like "BBC World News Recorded 01/18/10"

I'm able to do this manually. I renamed the files like:
BBC World News S01E01.mpg
BBC World News S01E01.nfo
BBC World News S01E01.edl
BBC World News S01E01.jpg
etc.
and made the episode title in the nfo "BBC World News Today".

In addition it would be nice if for a given series we could, in addition to the current data, define the number of episodes in XBMC to keep. News programs aren't of much use after a few days so an automatic removal after a defined # of episodes would be convenient.
find quote
Slack Offline
Junior Member
Posts: 15
Joined: Jul 2004
Reputation: 0
Post: #35
FYI: I upgraded to v7. Although I do not think you will have to to get this working.

You can manually update Sagex. And it should work. My issues were path issues within teh config.xml.



bradvido88 Wrote:See user "Slack" posts here http://forums.sagetv.com/forums/showthre...901&page=2
find quote
bradvido88 Offline
Member+
Posts: 736
Joined: Nov 2008
Reputation: 7
Location: MN
Post: #36
The good news:
I have just added functionality for:
Minimum wait time - Wait at least x minutes after a video is done recording before archiving it.
TV Show Wildcard - Use a wildcard filter to catch all tv shows that don't match a specific filter
TV Show Archiving for ANY show - When a show's Season/Episode info cannot be looked up, it will manually add it after X number of failed tvdb lookups. (It gets added as a special (season zero), and the next available episode number) This is done by creating XBMC-compatible .nfo files next to the video. This feature also works with redirects/symlinks.
optional automatic generation of thubmnails, fanart, cover images, and episode images for shows that are manually archived - I added this because XBMC's auto-generated thumbs often times don't work for my recordings (they are completely gray). Enabling this fixes the problem. Also, if you have an .edl for the show, it will always take images that are NOT in commercial breaks Smile

So, now you can archive programming like NFL Football and New shows:
[Image: XBMC-TVArchiving.PNG]

The bad news:
I haven't uploaded the new version yet. It's fresh off the IDE, and I want to test it first (although it did just successfully archive my 100+ episodes that matched the wildcard filter Big Grin)

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (ForTheRecord & XBMC Library Integration)
SageTV & XBMC PVR Integration
Delete unused thumbs
(This post was last modified: 2011-01-20 05:55 by bradvido88.)
find quote
pkscuot Offline
Fan
Posts: 602
Joined: Jan 2011
Reputation: 11
Location: Honolulu, HI
Post: #37
bradvido88 Wrote:The good news:

That's really great good news. I'm looking forward to trying all this out and getting one step closer to WAF. Big Grin

Quote:The bad news:

I guess I can live with that. I suppose I can post tomorrow asking where the update is. Laugh
find quote
TugboatBill Offline
Posting Freak
Posts: 788
Joined: Oct 2009
Reputation: 3
Post: #38
This is turning out to be a really great integration tool. Cool
find quote
Dylon Offline
Junior Member
Posts: 4
Joined: Jan 2011
Reputation: 0
Post: #39
Thanks for doing this! I've been looking for a way to get my SageTV shows in a format that can be viewed by Boxee or my Droid X and I think this will do exactly what I want.

I'm still having some trouble getting it configured, though - the sage-xbmc.log shows several of the following error:

Cannot get valid XML from SageX API. Cannot continue. Cannot use local path (no local param supplied or local path is equal to default path).

When I check the URL provided by the error message, I appear to get an empty XML node. I realize it's not a problem with the Sage-XBMC program itself, but do you have any thoughts as to why the SageX API isn't providing any information?
(This post was last modified: 2011-01-23 23:24 by Dylon.)
find quote
Dylon Offline
Junior Member
Posts: 4
Joined: Jan 2011
Reputation: 0
Post: #40
Never mind my comment above - I wasn't using the UNC. I put the UNC in with the local_equiv tag and it seems to be working now! Big Grin
find quote
Post Reply