![]() |
|
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 |
#41
|
||||
|
||||
Looking at logs - I see tons of these:
TTV: DeviceAuth.getUsableAccessToken: Could not get access code. Reauthentication needed. 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 |
#42
|
||||
|
||||
Quote:
The initial release was not very good. I was misusing one of the APIs and if you synced it would sync ALL episodes of the show, not just the ones you actually watched. It's a good thing it failed for you ![]() The next release will be a lot better.
__________________
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. |
#43
|
||||
|
||||
It seemed to authenticate properly through the Tract.tv/activate - I believe it said 'successful' or something along those lines.
__________________
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 |
#44
|
||||
|
||||
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. |
#45
|
||||
|
||||
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.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 |
#46
|
||||
|
||||
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. |
#47
|
||||
|
||||
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. |
#48
|
||||
|
||||
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.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 |
#49
|
|||
|
|||
Sounds great. I may create a second trakt account just to test as well.
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#50
|
||||
|
||||
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. |
#51
|
||||
|
||||
Quote:
![]() ![]() 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 |
#52
|
||||
|
||||
My goal is to have something out sometime this coming weekend.
__________________
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. |
#53
|
||||
|
||||
New Version
Here is an updated version with a load of enhancements and bug fixes.
Once installed you will need to grant it access to your Trakt account. To do that:
Explanation of the other configuration settings:
__________________
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; 10-11-2018 at 11:13 AM. |
#54
|
||||
|
||||
I just found a bug in this version. If a show is watched and you watch it again, and you have Sage setup to watch from the beginning if a show is watched, it will get set as "unwatched" on Trakt.
__________________
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. |
#55
|
||||
|
||||
Tom, thanks for putting this together. I installed the latest version and created a second Trakt account to test with. I'm was seeing duplicates of shows being watched after initially sending everything from Sage to Trakt. As an example, it showed that nearly every episode of The Big Bang Theory was watched twice.
Thinking I did something wrong, I deleted my Trakt account and created a new one. I then removed the plugin's Trakt info and activated the new account. This time, I only sync'd 100 items. Nothing is getting updated in Trakt, however. I tried several times. I'm attaching the log file for you. UPDATE: I also tried to sync 1000 items and nothing went. But, when I did everything, it went through to Trakt. However, I still see the duplicates. Second log file attached for that with a much larger log file on drop box here: https://www.dropbox.com/s/q9shk1h444...etv_1.zip?dl=0
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 Last edited by Skirge01; 10-12-2018 at 02:46 PM. |
#56
|
||||
|
||||
Quote:
![]() What I see in these files looks pretty normal. It looks like you ran the sync a few times and it's trying to sync things that failed (usually because the show do not match anything on trakt - I'm trying to improve this.) I looked for the Big Bang Theory and did not see anything in these logs. When you say the episodes were marked watched twice, were they marked watched at different times? Remember that if you record a show, watch it, delete it, record it again, and watch it - that is two watches (at different times.) I appreciate the testing. Here is something to make your life easier ![]() Edit the sage properties file and change "ttv_testmode" to true. You will then see some additional config options: - Remove all Watched History on Trakt: This will do what it says. Instantly, with no way to go back. It will totally wipe all history from the Trakt account you are authorized on. This is useful for testing so you can start with a clean slate on Trakt. (Did I mention it happens quickly, you can't stop it, and it can't be reversed? ![]() - Delete all Timestamps: This will clear all the "sync history" on the Sage side. It has the same impact as setting "Sync even if it has been synced before" to Yes. - Don't press anything else you see. It would be helpful if you wiped the trakt history and cleared the timestamps, and then run a sync with 100 items. You'll then get a clearer picture of what happened on Trakt. (If you want to try out the "restore database" option, this is a good time to do it. The Restore Database option should appear after you have done at least one sync.) Make sure "Sync even if it has been synced before" is set to No and then run the same sync again. You should not see duplicates. If you do there is a problem. Send me the logfile from these two syncs.
__________________
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. |
#57
|
||||
|
||||
I'll check out everything else you mentioned tomorrow, but wanted to say that it is an exact duplicate. If TBBT was supposedly watched on 02/15/12 at 13:00 then there will two entries on Trakt for that exact date and time. Plus, if I happened to watch TBBT for real on two separate occasions, then there will be FOUR entries on Trakt. It's really weird.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#58
|
||||
|
||||
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. |
#59
|
||||
|
||||
Another scenario:
Watch TV episode to completion. Status gets updated and posted to Trakt. Next day decide to delete episode - my delete has options: 1. Delete & Set Watched 2. Delete & Clear Watched 3. Delete & Mark Don't Like 4. Delete it because it is the wrong recording I always choose number 1 - then an additional entry is posted to Trakt for the episode ![]()
__________________
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 |
#60
|
||||
|
||||
Quote:
You can change the setting so the plugin ignores it when you manually change the watched status or you can just delete it without setting it watched. I have a possible way to detect this situation because it's similar to sage clearing the watched status before replaying a watched show.
__________________
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. |
![]() |
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 |