|
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 |
#861
|
|||
|
|||
Quote:
So I tried just using the c=GetMediaFiles&1=T command. That is listing files on an H: drive. I don't have one as I'm using Flexraid to take what were some older drives and span them into one new M: drive. Sage has been recording to a directory on the M: drive successfully for months now so I'm guessing I have to somehow change where sagex or BMT are pointing to? I'm open to any and all suggestions and appreciate the help!
__________________
SageTV 7, Win 8.1, Celeron G1610, 8GB Ram, Hauppauge HVR 2250, HD Homerun Prime, Flexraid server, Plex |
#862
|
|||
|
|||
on XP
I was trying to set this up over the weekend and I have Sage and Plex on a comp running XP. The directory structure for Plex looks different and I can't get the Sage Scanner or the agent to show up in the dropdown in plex.... I don't see the instructions for XP. Do you have suggestions on where I should be putting the files in the Plex XP directory structure?
|
#863
|
||||
|
||||
Quote:
once running you can click in on the plex icon in the sys tray and say open plugins folder. it will take you to the correct location. new scaners and agents won't show up until the plex server is restarted. I would suggest following the wiki... if you can't get it work after following the detailed wiki, then post questions here. My responses will be delayed however. Brian has been working on some stuff for this I haven't been able to test, and i just have a ton going on right now... new baby coming any day, wrapping things up for work so I can take paternity leave, etc. Sooo I apologize for delayed responses. |
#864
|
|||
|
|||
Log Error
Quote:
Jan 05, 2014 10:15:54:176 [2740] DEBUG - Adding file for scanner: D:\Videos\RECORDINGS\Wipeout-TheCatFaceShirt-12437203-0.mpg Jan 05, 2014 10:15:54:348 [2740] DEBUG - Directory had 564 files, database had 0 files, can't skip. Jan 05, 2014 10:15:54:614 [2740] ERROR - Error in Python: Running scanner: Traceback (most recent call last): File "C:\Documents and Settings\DVR\Local Settings\Application Data\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 107, in Scan mf = getMediaFileForFilePath(urllib.quote(file)) File "C:\Documents and Settings\DVR\Local Settings\Application Data\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 41, in getMediaFileForFilePath return executeSagexAPICall(url, 'MediaFile') File "C:\Documents and Settings\DVR\Local Settings\Application Data\Plex Media Server\Scanners\Series\SageTV Scanner.py", line 52, in executeSagexAPICall resp = unicodeToStr(json.JSONDecoder().decode(fileData)) File "C:\Program Files\Plex\Plex Media Server\Exts\simplejson\decoder.py", line 402, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Program Files\Plex\Plex Media Server\Exts\simplejson\decoder.py", line 420, in raw_decode raise JSONDecodeError("No JSON object could be decoded", s, idx) JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) Jan 05, 2014 10:15:54:614 [2740] ERROR - We got an error scanning in D:\Videos\RECORDINGS Jan 05, 2014 10:15:54:692 [2740] ERROR - There were errors scanning location: D:\Videos\RECORDINGS Jan 05, 2014 10:15:54:692 [2740] DEBUG - Since it was an incomplete scan, we are not going to whack missing media. Jan 05, 2014 10:15:54:754 [2740] DEBUG - Refreshing section 1 of type: 2 |
#865
|
||||
|
||||
Quote:
|
#866
|
|||
|
|||
Quote:
and I have restarted sage. The sagex-api log looks ok, has three lines all positive. Is there someway to positively tell if sage knows its there? |
#867
|
||||
|
||||
Look through this thread for exact syntax but call the custom function I made directly from a web browser
Http:// x . X . X . X : port/ sagex/API?c=plex:GetMediaFileForName&1= name of show less extension |
#868
|
|||
|
|||
crap.. it says 'Not Found' for the sagex api ... I'll troubleshoot that sometime tonight.
|
#869
|
|||
|
|||
I am going to give this a try - I installed Plex a long time ago but I haven't really used it. But I bought a Chromecast recently so that gives interesting options - although I should have a large enough cache of extenders that I don't really need that just for Sage.
One questions on the installation. After installing the sage.js file do you need to restart Sage? Or can I just put this in the right folder and everything will start working immediately? By the way the current download file has a double zip extension - is that supposed to be the case? And is there just one file for Win and Mac? I notice that there is a _MACOSX folder - is that needed on Windows?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#870
|
||||
|
||||
Quote:
Place the .js file on the Sage server and restart sage. from a webbrowser try hitting http:// x . x . x . x : port /sagex/api?c=plex:GetMediaFileForName&1= <the name of a file on your sage server minus the extension> if you get a valid xml response, then you are all setup from a Sagex perspective. The wiki also has a walkthrough on how to setup incase you get stuck. example from my setup: 192.168.1.110:8500/sagex/api?c=plex:GetMediaFileForName&1=Seinfeld-S07E12-TheCaddy-15916736-0 |
#871
|
|||
|
|||
I'm not sure what is causing the issue but I updated to the latest version of Plex, 0.9.8.18.290, and noticed that when it starts a media update of my SageTV recordings it seems to get stuck and the scanner ends up using %50 CPU (100% on one core) indefinitely. The only way I can stop the scan is to manually right click the Plex icon and select "Cancel Library Update".
I've looked in the logs and there doesn't seem to be anything obvious. Is this known or something new?
__________________
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 |
#872
|
||||
|
||||
Quote:
|
#873
|
|||
|
|||
I've never had media indexing enabled.
__________________
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 |
#874
|
||||
|
||||
OK.
- I would make sure you are running the latest code - In plex Empty Trash - Clean Bundles - The restart plex - Rescan Provide logs please. |
#875
|
|||
|
|||
Quote:
I assure you that media scanning is disabled. I have also moved my Plex server to a different computer and still get the same problem. I hope this helps.
__________________
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 |
#876
|
||||
|
||||
Quote:
1) There is a system volume information folder in the directory being scanned which may be causing some issues 2) did you actually clean the database, empty the trash, and remove the section? The reason i ask this is there are many indicators in this log which appear like you are reusing media items in the current plex cache / database and not actually scanning the file that is there. If your SageTV recordings aren't finishing scanning it is possible that another section is in the process of scanning as well. |
#877
|
|||
|
|||
Quote:
At this point it almost looks like it's getting hung up on a single video, Dracula-AWhiffofSulfur-17071167-0.mpg. I noticed in the new interface (plex.tv/web/app) that it takes a screenshot of each video and uses that as the poster art until the metadata and artwork are downloaded. I might surmise that it is this part of the scanner that is messing up. However, for your perusal are logs from a fresh SageTV recordings section in Plex.
__________________
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 |
#878
|
|||
|
|||
After looking at the logs again it looks like it's just taking an obscene amount of time to get the screen shots it wants for each video and not liking my HDHR recordings.
__________________
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 |
#879
|
|||
|
|||
As you can see from the screenshot I'm also getting spotty metadata and artwork. I don't know why it doesn't all come in at once. Eventually it will fill it all in but it takes some time.
__________________
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 |
#880
|
||||
|
||||
Is Toy Story of Terror marked as a Movie in your BMT ui ?
|
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 |