|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1341
|
|||
|
|||
I'm sure I could have figured out some sort of batch renaming. AFAIK, the existing batch renamers for SageTV create copies of files rather than renaming them in place. But in the end I just went through and manually renamed all the recordings. While a pain I only had to do it once.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1342
|
||||
|
||||
So is it possible to run the sync tool on a different computer than the sage and plex servers? I'm running both Sage and Plex in their own dockers on an unRAID server. I attempted to download the windows sageplex_sync tool, and am unable to get it to do anything - displays help for everything except -l, and that returns 'Failed to retrieve sections!'
any thoughts? EDIT: nevermind - I had to add the computer I was running the sync tool on to plex's "List of IP addresses and networks that are allowed without auth".
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 01-25-2017 at 01:31 PM. |
#1344
|
||||
|
||||
I don't know.. most recent I'd guess. IF it's a problem of a remote program accessing a windows service, I'd look first at firewall issues. I always disable firewalls on my windows machines that are on my home network, because the only thing they do is get in the way.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1345
|
||||
|
||||
Quote:
C:\Program Files\SageTV\sagetv-for-plexmediacenter\plex\synctool\win32>sageplex_sync.exe all -s Failed to retrieve sections! Total: 0 videos. I would really like to sync my SageTV watching with the Plex file system - Thanks for any help. 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 |
#1346
|
|||
|
|||
Quote:
The plugin is not working for me at the moment because I rebuilt my system recently and hasn't figured out how to install the jetty plugin on my V7 sagetv. Going to update to v9 soon...
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1347
|
||||
|
||||
As far as I can tell the Scanner/BMT Agent is working correctly - but the SageTV 'watched' status is not getting transferred to Plex at all.
__________________
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 |
#1348
|
|||
|
|||
Quote:
I think I found a workaround. On PLEX server, under settings, server, is your server signed in, or unclaimed? I believe if the server is not signed in (left as unclaimed), then the APIs don't need authentication, like it does before. But if the server is signed in, then all clients needs to be authenticated, even local ones (this was not the case before). So as a workaround you can sign out on the server if you don't need to access to the media outside of your network.
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1349
|
|||
|
|||
Ok I've updated the plugin to fix the authentication error.
What you need to do is to specify a token (X-Plex-Token) value during the install, or add it to the sageplex_cfg.json file under plex manually. You can find the value here: https://support.plex.tv/hc/en-us/art...n-X-Plex-Token This will be then used for all queries to the PLEX server. BMT agent should now correctly update the watch status and resume position, and synctool should also work now. Let me know if you encounter any issues.
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. Last edited by wildgoose; 02-05-2017 at 04:38 PM. |
#1350
|
|||
|
|||
Syncing watch status is working perfectly again for me. Thanks for the update!
|
#1351
|
||||
|
||||
Thank you so much. I will work on installing your new plugin.
Appreciate it so much! 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 |
#1352
|
|||
|
|||
Great!
As part of the work I finally upgraded my system to v9 (installed on top of my Windows v7), and was pleasantly surprised there were no drama! Everything just worked, even though my install location is d:, not the default c:. Nice job guys! Should've upgraded sooner
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1353
|
||||
|
||||
Came across an issue and I don't know if this is part of my problem now.
Running the command line: "C:\Program Files\SageTV\sagetv-for-plexmediacenter\plex\synctool\win32\sageplex_sync.exe" all -s Chugs away for a while and then fails on this episode: Elementary - S05E01 - Folie ā Deux HDTV-720P.mkv This is the last part of the command screen when it craps out: Code:
48739: Folie ? DeuxC:\Program Files\SageTV\sagetv-for-plexmediacenter\plex\synctool\win32\python27.zip\urllib.py:1299: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Traceback (most recent call last): File "c:\devtools\python27\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 12, in <module> File "c:\devtools\python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 24, in <module> File "sageplex_sync.py", line 806, in <module> File "sageplex_sync.py", line 801, in main File "sageplex_sync.py", line 544, in mainSync File "sageplex_sync.py", line 255, in syncSections File "sageplex\plexapi.py", line 231, in walkPlex File "sageplex\plexapi.py", line 231, in walkPlex File "sageplex\plexapi.py", line 223, in walkPlex File "sageplex_sync.py", line 301, in processVideo File "sageplex\sagex.py", line 181, in getMediaFileForName File "sageplex\sagex.py", line 149, in call File "sageplex\sagex.py", line 121, in getApiUrl File "c:\devtools\python27\lib\urllib.py", line 1299, in quote KeyError: u'\xe0' Thanks for your work, 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 |
#1354
|
|||
|
|||
Quote:
My recordings have names such as these: Quote:
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1355
|
||||
|
||||
Thanks for looking into this - another one of my files had the ellipsis character in the file name:
"Gotham - S03E02 - Mad City- Burn the Witch DTV-720p.mkv" Mac OS ellipsis: OPTION + semicolon Windows ellipsis: ALT + 0133 Not sure if the was scraped and written by BMT or Plex or Sickbeard (now I use Sonarr) - this is the episode name used at TheTVDB.com https://thetvdb.com/?tab=episode&ser...=5654597&lid=7 Also error/died out on this one: Young & Hungry - S02E18 - Young & Doppelgänger HDTV-720p.mkv I will have to watch out for these types of filenames for sure! Renaming them has let the sageplex_sync.exe complete without further errors. 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 |
#1357
|
|||
|
|||
A few times now, the SageTV Plex Sync has just stopped working for me (it gives an error and shows 0 videos).
The Plex token on my Plex server is seemingly changing on it's own. So when it changes, the Plex Sync program can't connect. I have to manually update the Plex token, and then it works fine again. Has anyone else seen this happening? |
#1358
|
|||
|
|||
It looks like the x-Plex token I've been using is a temporary one. According to this URL: https://support.plex.tv/hc/en-us/art...n-X-Plex-Token
Quote:
I managed to get a new token this way. Hopefully this one isn't temporary. Has anyone else run into this problem? |
#1359
|
|||
|
|||
Quote:
Ideally we can update either the sync tool or the installer to request the more permanent token for you. Do you mind filing an enhancement bug here: https://github.com/ai7/sagetv-for-pl...acenter/issues
__________________
sagetv-for-plexmediacenter v8.3.1 is available! Github/Download site. |
#1360
|
|||
|
|||
Quote:
I've noticed somethings else minor since the latest version of the sync tool. I have a shortcut setup pointing to it, and before it opened up the command window, did its thing, and closed the command window. Now it opens up a command window, does its thing, and then the command window stays open until you manually close it. Not sure if this is intentional or not. Running Windows 7 if that makes a difference. Thanks again for the awesome plugin. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparing to Plex | heffneil | Batch Metadata Tools | 20 | 01-08-2012 04:54 PM |
Need help with SJQv4 remote agent | coppit | SageTV v7 Customizations | 4 | 12-19-2010 11:03 AM |
Plex in a TV? What about sage? | rwc | General Discussion | 9 | 09-05-2010 04:38 PM |
Possible to get SageTV to handle my library more like Plex? | DAMAC | SageTV Mac Edition | 0 | 06-10-2009 10:33 AM |
SagetTVService Virus Win32.Agent.dwo | Ponchera | SageTV Software | 6 | 02-04-2008 06:33 PM |