|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#341
|
||||
|
||||
Quote:
Code:
URLConnection conn = u.openConnection(); if (conn instanceof HttpURLConnection) { ((HttpURLConnection)conn).setInstanceFollowRedirects(followRedirects); conn.setRequestProperty("User-Agent", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1"); } |
#342
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#343
|
||||
|
||||
I'm talking about the batch metadata tools too. Neil's code is a nice novelty from time to time, but yours I use on every movie that makes it's way into sage. I was just hoping that part of your package I already had was interpreted each time by the jre rather than compiled and could be tweaked by hand by me to add the useragent to the http request. I'm fine for now using my transparent proxy solution, but it's a bit of a kludge.
|
#344
|
|||
|
|||
As Stuckless suggested it's the User-Agent property that was giving problems. I'm not at home, so someone give this version a whirl.
__________________
C2D e6320 P4M800Pro, 1gb DDR, 1100GB HDs Hauppauge HVR-1600, HDHomerun, Geforce 6200 |
#345
|
|||
|
|||
Quote:
That works thank you!!!!
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#346
|
|||
|
|||
Worked for me too, thanks...
|
#347
|
|||
|
|||
Unfortunately I'm stuck at work. Thanks for your effort flashbacck - can't wait to give it a whirl when I get home.
Update: works like a charm thanks flashbacck. Well done! Floyd
__________________
Gigabyte GA-P35-DS3P Mainboard / Intel Core 2 Duo E6850 @ 3.00 GHz / 2.00GB RAM / Gigabyte Geforce 8600GTS with Silent Pipe / SBLive Audigy 2 ZS / LiteOn SHW-1635S DVD-RW / WD 300GB SATA HDD / Samsung 500GB SATA HDD / Seagate 1.0TB SATA HDD / Winfast Px DVR3200 H DVB-T Card / Dvico Dual Digital Twin DVB-T Card (black PCB) / 42" Plasma / Logitech Di Novo Edge Keyboard / Nvidia PureVideo Decoder / Cyberlink Audio Decoder / WinXP Pro SP2 / SageTV v6.x / Antec Server Case Last edited by floyd_2; 12-05-2008 at 06:04 AM. |
#348
|
|||
|
|||
Awesome. I wish I had checked the forum before I starting hacking the code but I am glad I was going down the right path.
Thanks flashbacck! |
#349
|
|||
|
|||
Thanx flashbacck...much appreciated
|
#350
|
|||
|
|||
This is probably a ridiculous question, but how do I make this work? I tried replacing the old nielm_sageimdb.jar file with the new one in the jar folder on my server, but I still get the same results when I search from within Sagemc. Is there an additional step that I'm missing? I did stop the sage service before replacing the file and then restarted it after.
|
#351
|
||||
|
||||
It looks like you just need to restart your sage client/front end, not the service. I just had the same issue myself and closing SageTV but not SageTVService solved it. This was true for both my main server and my client in the bedroom.
|
#352
|
|||
|
|||
I think I'm still missing something. I have SageTV running as a service on an HP Mediasmart server. The front end is a HD-100. I've tried stopping and starting the SageTV service and power cycling the HD-100. I still get the same results. I don't actually have the SageTV application running on the server. I am using the latest beta of SageTV for WHS.
|
#353
|
|||
|
|||
I am also unable to get this to work. I still get the 403 error when trying to search... even after updating to the .jar file from Flashback and restarting Sage.
I'd love to get this to work as I am just starting to build my archived DVD collection on Sage and when combined with the RW Metadata plugin this would help with getting cover art and movie info... beats the hell out of manually downloading off of Amazon |
#354
|
||||
|
||||
I would redownload the .jar that flashback posted. Then shutdown sage. Delete the jar from the JARs directory, and then copy over the new jar file.
If you are still getting the 403 error, then maybe the original jar didn't get updated??
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#355
|
|||
|
|||
I finally got this working. As I stated earlier, I am new to SageTV and WHS. When I initially put SageTV on my Mediasmart server I had just used the console to put SageTV in the add-ons folder and started the service. I was not aware that a folder for SageTV is created in the programs folder on the System drive. I was just replacing the .jar in the SageMC folder. After finding the folder on the System drive, I replaced the .jar in the Jars folder associated with that one and it started working. I hope this helps.
|
#356
|
|||
|
|||
Unfortunately, another "it's not working" experience: 403 error code returned from server.
Running Sage (6.4.8) and SageMC (6.3.7) in service mode on a WHS server, viewing with either placeshifter clients (6.3.10) or HD100 extenders. Any help would be greatly appreciated. Glad to help troubleshoot if any more knowledgeable users would direct provide direction. Edit: the file located in c:\program files\sagetv\sagetv\jars was replaced. Verified that the new file is dated 12/4. Last edited by gatorwes; 12-10-2008 at 07:19 PM. |
#357
|
|||
|
|||
Problems with IDMB Search and SageMC
Good evening,
I am apparently one of the view that is still having problems with importing data from IMDB. I have downloaded the new jar file and verified size and date stamp. I even have run a "diff" of the previous jar file. I have the new one, but it is still erroring out. I have included 3 screen shots. 1 of the error 1 of the version info 1 of the properties of the jar file Details: Server is running on Windows XP SP3 SageTV version 6.5.3.194 Java version 1.6.0_11 SageMC STV Version 6.3.8 SageMC Jar Version 6.3.8 STV File: SageMC_169.xml java -version java version "1.6.0_11" Java(TM) SE Runtime Environment (build 1.6.0_11-b03) Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing) Thanks in advance for your help. |
#358
|
|||
|
|||
If you're still geting the 403 error then it seems that Sage is still using the old jar... Make sure you delete or move the old nielm_sageimdb.jar file out of the sagetv/jars directory. Simply renaming it won't work. Then you have to close and restart Sage.
__________________
C2D e6320 P4M800Pro, 1gb DDR, 1100GB HDs Hauppauge HVR-1600, HDHomerun, Geforce 6200 |
#359
|
|||
|
|||
Quote:
Thanks! |
#360
|
|||
|
|||
IMDB Problem solved
Flashbacck,
Thanks for the info....worked great. Guess that is what I get for being too cautious. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Batch IMDB import? | Toddupton | SageTV Customizations | 19 | 07-21-2008 03:02 PM |
Import DVD Profiler xml into default STV | wags119 | SageTV Customizations | 7 | 10-30-2006 07:35 PM |
STV: SageMC 16x9 11/26/2005 Sage 4.x Version 5_10 | mlbdude | SageMC Custom Interface | 2160 | 09-01-2006 03:36 PM |
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) | Cayars | SageTV Customizations | 3664 | 12-13-2005 05:35 PM |
STV IMPORTS: Nielm STV Modules (Apr 20 update) | nielm | SageTV Customizations | 84 | 10-19-2005 12:02 PM |