|
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 |
#621
|
|||
|
|||
If you can attach the py file. Thanks.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#622
|
||||
|
||||
Directions:
1) Remove SageTV recordings section from plex library 2) clean bundles in plex media manager (see screenshot) 3) Empty Trash in plex media manager (see screenshot) MAKE SURE IT EMPTIES. it will give an error otherwise 4) shutdown plex 5) replace init.py in BMTAgentTVShows with file from this post 6) restart plex 7) in media manager go into settings -> Agents -> TVshows and make sure that theme music is still contributing to BMTAgent 8) readd your sagetv section, and let it scan **** Note that I am still working out 1 issue that cropped up in which plex fails to serialize my metadata object created. most shows are find, but a handful of them end up failing and showing up in media library with no metadata :-/ this was present before as well, just thrown out by the code for some reason.. |
#623
|
||||
|
||||
just in case anyone wants to follow along with progress on the plex serialization issue, here is the link:
you prolly have to be a plexpass member in order to view though, i think http://forums.plexapp.com/index.php/...ization-error/ |
#624
|
|||
|
|||
No more purple haze thanks.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#625
|
||||
|
||||
welcome.
still working on the other issue but the plexians aren't being very responsive. |
#626
|
|||
|
|||
That is ok most of the shows found metadata except for a few mostly old series for that I did custom scan and used TVDB.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#627
|
||||
|
||||
So here is what I have found:
For whatever reason (still not sure why) certain shows (randomly from what i can tell) have malformed XML or json returned from the sage server. This causes 2 things to happen in plex 1) the search/update function fail 2) the xml is imporperly built inside of plex code which then causes a serialization exception. I have no idea exactly why this is happening, but the fact is, it is. so what are everyones thoughts on this: 1) scan sage recordings / movies. 2) IF there is a season and episode number found by the scanner, use the default TVDB metadata agent 3) if no results are found by tvdb OR there are no valid season and episode numbers, the use the BMT Agent code tech. this should be feasible. I don't have it working as of yet, but i think it is a better option than what we have setup now. Thoughts? |
#628
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#629
|
||||
|
||||
Quote:
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 |
#630
|
|||
|
|||
I have no idea if this has anything to do with the serialization issues.
The problem I'm having is that we had a power outage on Thursday night. No recordings since then are showing up in Plex. Everything up to before the power outage is accounted for in Plex. I have tried restarting both Plex and SageTV as well as the entire system. I have also reinstalled the sagex-services plugin. Is there anything specific I need to be doing to get this back up and running? Everything else in SageTV seems to be functioning normally.
__________________
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 |
#631
|
||||
|
||||
Quote:
|
#632
|
|||
|
|||
Quote:
__________________
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 |
#633
|
|||
|
|||
Quote:
__________________
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 |
#634
|
|||
|
|||
Upon further inspection it appears that sagex isn't working. If I try, for example,
Code:
http://myserver/sagex/api?c=GetMediaFiles&1=T
__________________
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 |
#635
|
|||
|
|||
Ok, sagex-services is definitely working now. I get api query results now. No more 404 error. Plex is still not finding anything though.
__________________
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 |
#636
|
|||
|
|||
Quote:
Code:
01, 2013 14:00:10:356 [2644] ERROR - Error in Python: Running scanner: Traceback (most recent call last): File "C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 84, in Scan VideoFiles.Scan(path, files, mediaList, subdirs) TypeError: Scan() takes exactly 5 arguments (4 given) Jul 01, 2013 14:00:10:372 [2644] ERROR - We got an error scanning in N:\SAGEN Jul 01, 2013 14:00:10:372 [2644] DEBUG - * Scanning directory N:\SAGEN\tmpEncode (parent: yes) Jul 01, 2013 14:00:10:372 [2644] DEBUG - * Noting that 'tmpEncode' was updated at 2013-06-30 23:04:17 Jul 01, 2013 14:00:10:372 [2644] DEBUG - * Taking directory 'tmpEncode' (2) out of the map (6 left) Jul 01, 2013 14:00:10:388 [2644] DEBUG - Adding file for scanner: N:\SAGEN\tmpEncode\Matlock-S02E04-TheAnnihilator-1885591-0.tmp Jul 01, 2013 14:00:10:388 [2644] DEBUG - Adding file for scanner: N:\SAGEN\tmpEncode\Morning Drive - 2011-01-04 -5204587-0.tmp Jul 01, 2013 14:00:10:388 [2644] ERROR - Error in Python: Running scanner: Traceback (most recent call last): File "C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 84, in Scan VideoFiles.Scan(path, files, mediaList, subdirs) TypeError: Scan() takes exactly 5 arguments (4 given) Jul 01, 2013 14:00:10:388 [2644] ERROR - We got an error scanning in N:\SAGEN Jul 01, 2013 14:00:10:435 [2644] ERROR - There were errors scanning location: N:\SAGEN Jul 01, 2013 14:00:10:435 [2644] DEBUG - Since it was an incomplete scan, we are not going to whack missing media. Jul 01, 2013 14:00:10:481 [2644] DEBUG - Refreshing section 1 of type: 2 Latest Scan Code:
Jul 01, 2013 14:10:34:807 [5480] DEBUG - Adding file for scanner: N:\SAGEN\Wolverine - S01E12 - Logan - 2011-03-25 -5048299-0.renamed Jul 01, 2013 14:10:34:807 [5480] DEBUG - Adding file for scanner: N:\SAGEN\Wolverine - S01E12 - Logan - 2011-03-25 -5048299-0.VPrj Jul 01, 2013 14:10:34:807 [5480] ERROR - Error in Python: Running scanner: Traceback (most recent call last): File "C:\Users\SAGETVUSER\AppData\Local\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 84, in Scan VideoFiles.Scan(path, files, mediaList, subdirs) TypeError: Scan() takes exactly 5 arguments (4 given) Jul 01, 2013 14:10:34:807 [5480] ERROR - We got an error scanning in N:\SAGEN Jul 01, 2013 14:10:34:807 [5480] DEBUG - * Scanning directory N:\SAGEN\tmpEncode (parent: yes) Jul 01, 2013 14:10:34:807 [5480] DEBUG - * Noting that 'tmpEncode' was updated at 2013-07-01 14:06:40 Jul 01, 2013 14:10:34:807 [5480] DEBUG - * Taking directory 'tmpEncode' (2) out of the map (6 left) Jul 01, 2013 14:10:34:839 [5480] ERROR - There were errors scanning location: N:\SAGEN Jul 01, 2013 14:10:34:839 [5480] DEBUG - Since it was an incomplete scan, we are not going to whack missing media. Jul 01, 2013 14:10:34:870 [5480] DEBUG - Refreshing section 1 of type: 2
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 07-01-2013 at 03:12 PM. |
#637
|
|||
|
|||
There must have been some corruption in the Plex database. I completely uninstalled and reinstalled Plex. Then put the SageTV scanners and plugin back in. Now it's scanning and finding all my recordings again.
__________________
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 |
#638
|
|||
|
|||
My Problem is different. I just simply switched to the built in Scanner and it added the 3 days worth of missing data. I will keep it that way till the next release thanks.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#639
|
|||
|
|||
Well, SageTV TV recordings are working fine but Movie recordings still aren't showing up.
__________________
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 |
#640
|
||||
|
||||
Quote:
|
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 |