![]() |
|
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.) |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
Quote:
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.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
||||
|
||||
Quote:
__________________
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. |
#4
|
||||
|
||||
Quote:
![]() ![]()
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
||||
|
||||
Quote:
![]() 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. |
#6
|
||||
|
||||
Quote:
https://github.com/UweTrottmann/trakt-java
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
Could something like this be used to backup/restore/rebuild wiz.bin?
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#8
|
||||
|
||||
I think it would work for things already in the current EPG data. I guess that as new EPG data came in, it would be checked against trakt.tv and marked watched if appropriate. It wouldn't put old airings back in there though, and if it did, it's unlikely they would have the correct EPG ID's, so past airings would likely be incomplete for most shows initially according to what's in SageTV.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#9
|
||||
|
||||
So looking forward to this ... I had been running a plugin to SageTV to try to match the watched status with Plex so Plex could keep my Trakt.tv up to date.
i watch all my recorded tv and most movies (non-H.265 and UHD) with SageTV but use an Odroid C2 running OpenPHT for the 4K stuff and things my HD300's cannot run. The plugin seemed to work well for a while but too many things were being set watched that were not so i have to abandon that scheme. So my SageTV watching had to be manually entered into Trakt - missing lots I am sure because I am lazy - lol Dwight
__________________
SERVER: Intel Core i7-3770 CPU @ 3.40GHz - UnRaid Server 6.8.0/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 |
#10
|
|||
|
|||
Collection sync and clean collection may be nice functions to have so your entire collection can be available to browse from any device including watched status plus the series/movie details trakt offers.
Longer term you or someone else could possibly pull down IMDB type data as well as the api seems to cover that too. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#11
|
||||
|
||||
Quote:
To sync it looks like I will need the imdb ID. Do your fanart APIs return that?
__________________
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. |
#12
|
||||
|
||||
Quote:
Now, in your case, you might want to check if the imdbid exists, and if doesn't (ie, running core stv without any fanart apis), then might need to do a search based on title to bring back the imdb id (ie, there are trakt apis for that). Or, you make phoenix metadata a core requirement, and only sync if an item already has an imdbid.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#13
|
||||
|
||||
Yes. Eventually ....
__________________
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. |
#14
|
||||
|
||||
Some thoughts ...
I've started on this plugin and am making some progress. I think I have the API figured out and I'm close to getting the oauth code working.
As a start I will probably give the ability to sync all of the sageTV watched history to trakt. I'll also be able to sync the watched history if a show in SageTV is watched to completion. In order to handle cases where the user manually marks a show as watched I'll need to create an STVi. This is not ideal because many people do not use the default STV and I have to manually trap every "watched" keypress. It would be much better if the plugin system had a "watched" event that I could use. Making that happen in the core is above my pay grade. Volunteers? Once I get the basics working I'll add other fun stuff. Let me know what you are interested in and I'll prioritize the development accordingly.
__________________
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. |
#15
|
||||
|
||||
This sounds great Tom - looking forward to having any sort of Trakt.tv integration into SageTV!
I wish I could contribute something but I have no knowledge of the inner workings of Sage at all ... so I rely on you and the other generous contributors for keeping SageTV awesome. Dwight
__________________
SERVER: Intel Core i7-3770 CPU @ 3.40GHz - UnRaid Server 6.8.0/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 |
#16
|
||||
|
||||
Quote:
![]()
__________________
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. |
#17
|
|||
|
|||
Quote:
BigBrother.java and PluginEventManager.java is where I found it. |
#18
|
||||
|
||||
Quote:
Pretty much all of the basic media events like added, removed, watched, and even progress can be monitored via events. The SageTVEventListener contains a list of events in it's comment header, but interestingly enough, this file does not define the Watched event.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#19
|
|||
|
|||
Quote:
|
#20
|
||||
|
||||
Quote:
I'm making good progress. I can now get the necessary OAUTH credentials and sync movies and TV to trakt. I still have a lot of fleshing out to do but the basic plumbing is in place.
__________________
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; 09-23-2018 at 09:46 AM. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
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 |