SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-14-2018, 05:28 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,815
trakt.tv

How much interest is there for trakt support? For those interested, what are the most important functions you use?

I saw trakt mentioned in another thread so I took a look at the API. It's pretty straight forward and could certainly be integrated into Sage.

Although I have not used it much I can see where trakt can be useful.
__________________

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 09-14-2018, 07:12 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,543
Quote:
Originally Posted by tmiranda View Post
How much interest is there for trakt support? For those interested, what are the most important functions you use?

I saw trakt mentioned in another thread so I took a look at the API. It's pretty straight forward and could certainly be integrated into Sage.

Although I have not used it much I can see where trakt can be useful.
Here's what I'd use it for....

1. Sync my watched statuses of SageTV to Trakt, with sage being the single source of truth. This is generally an initial bulk operation using the Sync API (for TV and Movies)
2. As content is watched on SageTV, the watched status is sent to Trakt. (I'm only concerned about a boolean operation here, not the actual watched progress)
3. On a schedule, pull down Watched Statuses from Trackt and update SageTV watched status. (Typically, if sagetv is the single source of truth, then it would be good to say, only set the watched status, and NOT unwatched).

For me, and why I was considering using this, is so that I can experiment with things like Emby and Plex for a few days, watching content, understanding the pros and cons, but have it primed with my sagetv watched status, and update sagetv when I do watch content. Also, sometimes when I travel, I'll download shows/movies to my tablet using Plex, so it would be nice that as I watch them, and it syncs plex (which updates trakt), that sagetv is also aware that I've watched a show/movie.

BTW... everything that I'm talking about only requires the Sync api, I think.
Reply With Quote
  #3  
Old 09-14-2018, 07:45 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,815
Quote:
Originally Posted by stuckless View Post
Here's what I'd use it for....

1. Sync my watched statuses of SageTV to Trakt, with sage being the single source of truth. This is generally an initial bulk operation using the Sync API (for TV and Movies)
2. As content is watched on SageTV, the watched status is sent to Trakt. (I'm only concerned about a boolean operation here, not the actual watched progress)
3. On a schedule, pull down Watched Statuses from Trackt and update SageTV watched status. (Typically, if sagetv is the single source of truth, then it would be good to say, only set the watched status, and NOT unwatched).

For me, and why I was considering using this, is so that I can experiment with things like Emby and Plex for a few days, watching content, understanding the pros and cons, but have it primed with my sagetv watched status, and update sagetv when I do watch content. Also, sometimes when I travel, I'll download shows/movies to my tablet using Plex, so it would be nice that as I watch them, and it syncs plex (which updates trakt), that sagetv is also aware that I've watched a show/movie.

BTW... everything that I'm talking about only requires the Sync api, I think.
Pretty much what I was thinking as a starting point. I'll be away on a trip next week and will take the time on the plane to study the API and the examples. From what I have seen so for it looks straight forward.
__________________

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
  #4  
Old 09-14-2018, 08:32 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,543
Quote:
Originally Posted by tmiranda View Post
Pretty much what I was thinking as a starting point. I'll be away on a trip next week and will take the time on the plane to study the API and the examples. From what I have seen so for it looks straight forward.
it would be good if you could make it happen. It is on my list as well, but, I know that I can't start it until next year I can certainly try to help with any technical information/troubleshooting/testing, if you need help (but likely you won't need my help )
Reply With Quote
  #5  
Old 09-14-2018, 09:27 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,815
Quote:
Originally Posted by stuckless View Post
it would be good if you could make it happen. It is on my list as well, but, I know that I can't start it until next year I can certainly try to help with any technical information/troubleshooting/testing, if you need help (but likely you won't need my help )
I'm sure I will need your help. I know your email address

I appreciate all you have done for me and the Sage community.
__________________

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
  #6  
Old 09-14-2018, 04:15 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,543
Quote:
Originally Posted by tmiranda View Post
I'm sure I will need your help. I know your email address

I appreciate all you have done for me and the Sage community.
thx, and btw... there is a Java API wrapper. Might be useful.
https://github.com/UweTrottmann/trakt-java
Reply With Quote
  #7  
Old 10-03-2018, 06:11 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,815
Quick update - Still working on ironing out bugs and getting the sync to work from Trakt to Sage. My biggest stumbling block right now is inconsistent results from trakt. If I run the same sync multiple times I get different results. Very frustrating.
__________________

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
  #8  
Old 10-03-2018, 12:35 PM
dstanley's Avatar
dstanley dstanley is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: LaHave, Nova Scotia, Canada
Posts: 273
I appreciate you hanging in there with it Tom - wish i could help but it is WAY past my intelligence level ...
__________________
SERVER: Intel Core i7-3770 CPU @ 3.40GHz - UnRaid Server 6.7.2/DVB LibreELEC with Docker stuckless-sagetv-server-java9 MOTHERBOARD: ASRock-Z77 Extreme4 / 32GB RAM CACHE DRIVE: SSD 1TB ARRAY: 24TB/7 DRIVES PARITY: 8TB
EXTERNAL DEVICES: 4x HD-PVR's Firewire Channel Changing
TUNERS:NO LONGER RECORDING LIVETV
CLIENTS: 2xHD300 2xHD200 SONY ANDROIDTV MINI-CLIENT
Reply With Quote
  #9  
Old 10-03-2018, 06:23 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,815
Quote:
Originally Posted by dstanley View Post
I appreciate you hanging in there with it Tom - wish i could help but it is WAY past my intelligence level ...
Thanks for the moral support. I think I finally figured out why I was getting unexpected results. One step closer .....
__________________

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
  #10  
Old 10-04-2018, 07:46 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,815
OK, making more progress. I can now reliably sync the Sage database to Trakt and vice versa. I can also sync to Trakt when shows are watched to the end.

Before releasing this I'm working on a way to restore the Trakt database to whatever state it was in before initiating a sync from Sage to Trakt. This will be useful in case the sync runs amok or has some unforeseen results. It will also have the side effect of backing up the Trakt database.
__________________

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
  #11  
Old 10-04-2018, 07:51 AM
dstanley's Avatar
dstanley dstanley is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: LaHave, Nova Scotia, Canada
Posts: 273
Sweet! This is going to make my SageTV so much better as I can track it along with my Plex watching!
I have been doing it manually for some time now.

Dwight
__________________
SERVER: Intel Core i7-3770 CPU @ 3.40GHz - UnRaid Server 6.7.2/DVB LibreELEC with Docker stuckless-sagetv-server-java9 MOTHERBOARD: ASRock-Z77 Extreme4 / 32GB RAM CACHE DRIVE: SSD 1TB ARRAY: 24TB/7 DRIVES PARITY: 8TB
EXTERNAL DEVICES: 4x HD-PVR's Firewire Channel Changing
TUNERS:NO LONGER RECORDING LIVETV
CLIENTS: 2xHD300 2xHD200 SONY ANDROIDTV MINI-CLIENT
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
Any interest/plans for native trakt.tv support? (watched show/movie sync) TwistedMelon SageTV Github Development 3 08-06-2018 01:58 PM
Watched Status export/sync with Trakt? Jason SageTV v7 Customizations 0 06-08-2013 06:17 AM


All times are GMT -6. The time now is 01:32 PM.


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