|
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 |
#841
|
|||
|
|||
How to troubleshoot the scanner?
Hello,
I've just installed plex media server on the same computer as my sagetv server... I've installed the plex scanner (as per the wiki instructions), created my section in plex with the BMT agent and scan scanner... Then when I do a deep scan, it just spins....I'm sure I did something wrong, but I don't know how to trouble shoot it...I didn't see anything in the sage logs. Should I look somewhere else? Any ideas what the problem could be? Thanks! |
#842
|
||||
|
||||
Quote:
Did you configure the .properties file in the bundle to point at your server? Did you change the scanner code at the top to point at your server? Do you have media indexing on in plex? if yes this will cause LOOOONG scan times on initial scan. Do you have sagex apis installed via the sage plugin manager? Can you hit the following url? http://your sage ip address : port /sagex/api?c=plex:GetMediaFileForName&1= <enter the filename of a show on your sage server without the extension > example of url that will work for me: http://x.x.x.x : port/sagex/api?c=plex:GetMediaFileForName&1=Seinfeld-S07E12-TheCaddy-15916736-0 |
#843
|
|||
|
|||
Do you have media indexing on in plex? if yes this will cause LOOOONG scan times on initial scan.
Do you have sagex apis installed via the sage plugin manager? Can you hit the following url? http://your sage ip address : port /sagex/api?c=plex:GetMediaFileForName&1= <enter the filename of a show on your sage server without the extension > example of url that will work for me: http://x.x.x.x : port/sagex/api?c=plex:GetMediaFileForName&1=Seinfeld-S07E12-TheCaddy-15916736-0[/QUOTE] * Did you configure the .properties file in the bundle to point at your server? Yes, I have: SAGEX_HOST=http://sage:frey@192.168.2.8:8080 * Did you change the scanner code at the top to point at your server? Yes... SageTV Scanner.py (line 21) SAGEX_HOST = 'http://sage:frey@192.168.2.8:8080' SageTV Movie Scanner.py (line 21) SAGEX_HOST = 'http://sage:frey@192.168.2.8:8080' * Do you have media indexing on in plex? if yes this will cause LOOOONG scan times on initial scan. Maybe that's it? (I have 257 recordings..is that a lot?) * Do you have sagex apis installed via the sage plugin manager? Yep! http://sage:frey@192.168.2.8:8080/sa...ets-22047189-0 And I get a large XML document... I do think it has something to do w/ BMT though--if I change it from using the BMT agent to the PLEX agent(I forget what it's called), then I get fan art & data. If I use the BMT agent, indexing just seems to spin with no data other than the episode and show name. |
#844
|
||||
|
||||
Quote:
Yes, I have: SAGEX_HOST=http://sage:frey@192.168.2.8:8080 * Did you change the scanner code at the top to point at your server? Yes... SageTV Scanner.py (line 21) SAGEX_HOST = 'http://sage:frey@192.168.2.8:8080' SageTV Movie Scanner.py (line 21) SAGEX_HOST = 'http://sage:frey@192.168.2.8:8080' * Do you have media indexing on in plex? if yes this will cause LOOOONG scan times on initial scan. Maybe that's it? (I have 257 recordings..is that a lot?) * Do you have sagex apis installed via the sage plugin manager? Yep! http://sage:frey@192.168.2.8:8080/sa...ets-22047189-0 And I get a large XML document... I do think it has something to do w/ BMT though--if I change it from using the BMT agent to the PLEX agent(I forget what it's called), then I get fan art & data. If I use the BMT agent, indexing just seems to spin with no data other than the episode and show name.[/QUOTE] Please post your full bmt agent log files found int he logs directory as well as the media scanner logs. FYI - you don't need the movie scanner really anymore.. sorry about that. |
#845
|
|||
|
|||
I've attached the logs...thanks for your help!
|
#846
|
||||
|
||||
I don't see anything glaring in the logs.
can you send the scanner log please? Also i would suggest doing the followin as it looks as though the BMTAgent is running and retrieving information 1) remove section in plex 2) clean bundles 3) empty trash in plex 4) shutdown plex 5) recopy the files from zip file into the correct location 6) update the settings in the files to point to your sage server 7) restart plex 8) readd section 9) select SageTV Scanner and BMTAgent as the scanner and agent 10) once completed (it will take a long time first scan... mine took 4 hrs) 11) repost bmtagent log and scanner log the steps above are important to follow and complete. Plex likes to use its cache as much as possible. |
#847
|
|||
|
|||
Hmmm...so I completely uninstalled PMS and reinstalled it
Then I downloaded and reinstalled the scanner Reconfigured plex to add the tv shows--and I get nothing now! Also, if I clean the bundles, PMS crashes...maybe it's related to the problem I 'm having? I've attached the logs... |
#848
|
||||
|
||||
Did you do these steps after following my detailed steps above? if not then please do the steps i posted above, and THEN post the logs.
as i mentioned plex is picky and even doing an uninstall won't necessarily clean up cache and bundles, etc. |
#849
|
|||
|
|||
should I be concerned that when I press 'clean bundles', PMS crashes?
|
#850
|
||||
|
||||
Quote:
i would do a complete uninstall and then manually remove all files int he directory if it doesn't take care of it then RESTART WINDOWS or whatever OS you are running. only then would i try and reinstall |
#851
|
|||
|
|||
I've done the complete reinstall of plex and now I can at least clean the builds, etc...
I followed your instructions exactly but I'm getting the same results--I see all the tv shows listed but only get Meta data for 1 show (sometimes)--and then the scanner just shows that it's spinning (busy).. I've attached my logs I'm running plex 0.9.8.14.263-139ddc (not sure if that matters) Are there any known issues w/the scanner and Sage plugins? |
#852
|
||||
|
||||
Quote:
|
#853
|
||||
|
||||
I see an issue.
Toy Story of Terror --- is that a movie? If so then my next question is are you running to try and get movies or sagetv recordings? (i.e. tvshows?) Reason I ask is that the setup is as follows: SageTV Recorded Movies: 1) Create new MOVIE section 2) Use SageTV Movie Scanner 3) use the built in Plex Movie Agent FreeBase is waht i use i think SageTV REcorded Tv Shows: 1) Create new TV Show Section 2) Use SageTV Series Scanner 3) Use the custom built BMT Agent. If you are trying to use the bmt agent with movies, it will most likely fail and cause odd results. Movies cannot be stuffed into a Plex TVShow section, and vice versa. If non of the above is the case, then i would guess that SageTV has this file and several others categorized as Movies rather than TV Shows which is incorrect... |
#854
|
|||
|
|||
Toy Story of Terror was a halloween special that was recorded off of the tv (abc family)...we do have several "movies" (IE Witness, Look Who's Talking 2) that were recording via cable tv that sage stores in with the recordings.
Is there some way in sage to store recordings that are categorized as "movies" in one place, and other recordings as "tv shows"? |
#855
|
|||
|
|||
SageTV Recorded Movies:
1) Create new MOVIE section 2) Use SageTV Movie Scanner 3) use the built in Plex Movie Agent FreeBase is what i use i think using the directory that has my sage movies, everything works fine... It's when i do: SageTV REcorded Tv Shows: 1) Create new TV Show Section 2) Use SageTV Series Scanner 3) Use the custom built BMT Agent. (with the directory that has my sage movies) that I start to have a problem. If I use the builtin Plex scanner and theTVDB agent, it misses about 1/2 the recordings (It found 112 out of 251 recordings). Since it didn't use BMT it didn't have all the meta data. If I use the builtin Plex scanner and the bmt agent it only finds the 112 recordings and only metadata for one series. I can reload/refresh on the series and the meta data would then load. If I use the SageTV Series scanner and theTVDB agent; it found all the recordings but without BMT, I didn't get all the meta data... And of course, using SageTV Series scanner and the BMT agent, it finds all the records, but doesn't load all the meta data |
#856
|
||||
|
||||
Quote:
Yeah that is what I thought. Take a look at the movie i sent before in BMT and see if it is TV Show or if it is a Movie... in the BMT web ui you can find the media element and then look at the properties for it. My guess, and this is based on previous experience and another user having the EXACT same issue, is that you have Movies recorded in sage , and they are incorrectly identified by Sage as Movies... |
#857
|
|||
|
|||
So is there a workaround? Or would I have to manually set every "movie" that sage records to a "tv show"?
|
#858
|
||||
|
||||
Quote:
There may be a way to whack the media item on the stack if certain things aren't populated (thus giving you a movie), BUT this is only true for actual movies.. What I mean is if I implement logic to do this, there is no way to know if I am whacking out an actual TV Show instead of a "movie" So short answer is no, there isn't a current work around other than fixing BMT. |
#859
|
|||
|
|||
I did something wrong...
And I could use some help please! I followed all of the directions and I'm not seeing any shows in Plex. I am on Sage v7.1.9.256, java version 1.6.0_10, win 8.1 (although Sage says Win Vista). All of the plugins are installed in Sage (BMT web interface, sagex-services). I changed the jetty web server to port 9090 (flexraid uses 8080). I tested access (http://ipaddress: portno/sagex/api) and that takes me to Sage API 7.1.9.1. In plex I added the sagetv custom scanner and BMT agent as well as the plex.js file. Made the changes to the sagex_host lines as instructed. When I added the new section in Plex it gave me the option to use the SageTV Scanner and SageTV BMT Agent. But after doing all of that and choosing the folder where the recordings are (on the spanned drive created within flexraid), nothing shows up in Plex. Any thoughts? I have a new Roku3 and want to get this all working!
Thanks!
__________________
SageTV 7, Win 8.1, Celeron G1610, 8GB Ram, Hauppauge HVR 2250, HD Homerun Prime, Flexraid server, Plex |
#860
|
||||
|
||||
Quote:
If all is correct you should get a fully populated XML response |
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 |