|
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 |
#1
|
||||
|
||||
sagex help needed
I moved SageTV v7 from XP to Windows 7 and everything seemed to be working fine. However, I'm trying to do some media lookups via sagex and they're failing.
This works: Code:
https://localhost:8443/sagex/api Code:
https://localhost:8443/sagex/api?c=GetMediaFiles&start=0&size=50 Code:
XML Parsing Error: not well-formed Location: https://localhost:8443/sagex/api?c=GetMediaFiles&start=0&size=50 Line Number 4069, Column 234: <Description><![CDATA[When Molly learns that her baby is alive, she sets out with Kern and Kryger to devise a plan to intercept the baby before Sparks and Yasumoto can relocate him. Meanwhile, John struggles to keep up with Ethans rapid development.]]></Description> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ Code:
https://dvr_w7_x64:8443/sagex/api?c=GetMediaFileForID&1=22770188 Code:
XML Parsing Error: not well-formed Location: https://dvr_w7_x64:8443/sagex/api?c=GetMediaFileForID&1=22770188 Line Number 8, Column 549: <Actor><![CDATA[Ben McKenzie -- Detective James "Jim" Gordon;Robin Lord Taylor -- Oswald "Penguin" Cobblepot;Cory Michael Smith -- Edward Nygma;Donal Logue -- Detective Harvey Bullock;Camren Bicondova -- Selina "Cat" Kyle;David Mazouz -- Bruce Wayne;Sean Pertwee -- Alfred Pennyworth;Michael Chiklis -- Cpt Barnes;Drew Powell -- Butch Gilzean;Chris Chalk -- Lucius Fox;Anthony Carrigan -- Victor Zsazs;Colm Feore -- Dr. Francis Dulmacher;Cameron Monaghan -- Jerome Valeska;Jessica Lucas -- Tabitha Galavan;James Frain -- Theo Galavan;Nicholas DAgosto -- Harvey Dent;Morena Baccarin -- Dr. Leslie Thompkins;Carol Kane -- Gertrude Kapelput;Clare Foley -- Ivy Pepper;Victoria Cartagena -- Renee Montoya;Jada Pinkett Smith -- Fish Mooney;Andrew Stewart Jones -- Crispus Allen;John Doman -- Carmine Falcone;Erin Richards -- Barbara Kean;Zabryna Guevara -- Captain Essen]]></Actor> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ Now, for full disclosure, I did initially install SageTV v9 (a couple of times) and couldn't get it to work. Then, I installed v7 over the top a couple of times, uninstalled v9, and reinstalled v7 two more times, just to ensure everything got "fixed". This has led to Sage seemingly working just fine, but I'm wondering if--somehow--something got messed up in the DB. I thought that I restored the wiz.bin from v7 each time I reinstalled, so v7 never "saw" a v9 wiz.bin, but maybe not. If I didn't, could that be causing this? Any other suggestions on how to approach this?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#2
|
||||
|
||||
I copied the xml into http://codebeautify.org/xmlvalidate, and it's complaining about invalid utf8 characters in the xml... specifically the ' characters.
What happens if you use json? append &encoder=json to the url.
__________________
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 |
#3
|
||||
|
||||
That seems to work fine.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#4
|
||||
|
||||
I was going to edit my last post, but then I figured you wouldn't see it.
Anyhow, thanks for the workaround! Out of curiosity, do you have any idea where the XML issue lies? Is it from the source (TVDB, I assume), the scraper, or something else?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#5
|
||||
|
||||
It's hard to say... it could be in the source (ie, tvdb) or it could be a bug in sagetv (ie, Wiz.bin is not storing/reading the utf chars correctly)
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sagex-api Plugin MISSING: sagex-api-FAILED http://ubuntone.com/5NNCHGlywxvXBgRw8B3nMr | antplugger | SageTV v7 Customizations | 10 | 06-10-2014 01:34 AM |
sagex-api - how can I tell if it works? | gveres | SageTV v7 Customizations | 2 | 01-27-2012 10:56 PM |