|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Metadata from thetvdb.com broken?
Looks like BMT metadata lookup from thetvdb.com is broken?
Or is it just me? |
#2
|
||||
|
||||
It not you there where some big change's on thetvdb.com so many other apps are also broken too.
|
#3
|
||||
|
||||
Did anyone pick up BMT from Stuckless or will this be the end of getting metadata via BMT?
Are there alternates? Is there a method to have BMT pull metadata from another source? I only see thetvdb.com or themoviedb.org |
#4
|
|||
|
|||
I checked thetvdb forum and it looks like almost every app is broken right now. The new API (v3) was suppose to allow old clients using the previous API (v2) to work without problem. I don't think it was their intention to break compatibility for older apps using the old API, I think they are just running into some problems migrating everything. Hopefully it will be able to be fixed on their end and we won't need any updates to BMT. That might be wishful thinking though.
|
#5
|
||||
|
||||
Looks like thetvdb got their stuff fixed. BMT is working again for Find Metadata from them. |
#6
|
||||
|
||||
How do they do it ... for free?
|
#7
|
|||
|
|||
I think possibly we are going to find ourselves in this same predicament again in a week or so. I've been getting emails from thetvdb personally indicating I need to update my account info with them or my API key will no longer work after December 31st. I suspect the owner of the API key used by BMT (or rather the thetvdbapi library it uses) is getting similar emails, though it appears the project is no longer maintained (last update four years ago), so doubtful anyone will receive or respond to them. In theory someone could pick up the thetvdbapi project that BMT uses and fix this, but you can longer get the API key version that project uses, so a quick key update seems not to be an option, and moving to the updated API key version appears to require substantial code changes.
Hopefully I'm wrong, however just in case, is there something other than BMT that can be used to pull in metadata and fanart for SageTV?? Though I'd hate to change, I've been happily using it for many many years now. Thanks.
__________________
Andrew |
#8
|
|||
|
|||
I am pretty sure that stuckless is the one who wrote BMT. He just moved on from SageTV but he is still around here and hopefully he can update the api key, assuming that it is just a trivial amount of work.
__________________
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 |
#9
|
||||
|
||||
Looking like it’s broken again
Not much of a programmer (bash/ksh, basic java/groovy, learning python and working with json in new position) but interested in maybe see what is happening if someone could point me to the source code although very time limited |
#10
|
|||
|
|||
Well, I can help with that much. Code for the tvdb api stuff is here.
I've poked at it a little, but haven't had time to dig in too deeply yet, and likely won't for a little while (if ever). My suspicion is that the v1 API that this code uses is deprecated and being gradually discontinued, or just breaking and not being fixed. I found a similar project that uses the current supported API here, and my thought is to use that as a reference to "fix" the broken one by upgrading it to the current version. However, I haven't been able to find any v1 API documentation yet, so I'm not even sure what some of these calls are supposed to return, and many of them don't exist in the current API version. An alternative would be to hack phoenix to just use the other library, but I have not looked at that approach at all to see if it is even remotely feasible. It might be worth looking at the code anyway to see exactly which functions phoenix makes use of though so you know how much "fixing" is even needed; if some of the discontinued "dvd" stuff isn't used anywhere, that would simplify the fix for example (since those calls are all gone). Now, if you do fix the tvdb library, I have no idea how you would push that fix out for everyone to get via an automatic update, but I suppose one thing at a time. Best of luck. Post back if you make any progress.
__________________
Andrew |
#11
|
||||
|
||||
The exact code that would need to be updated appears to be here: https://github.com/stuckless/sagetv-...temParser.java
thetvdb-java referenced in the post above is likely the best thing to use since it's clearly still maintained unlike thetvdbapi currently being used. The changes look very straight forward, I might just try to take care of this one myself if time permits.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#12
|
|||
|
|||
That would be wonderful if you could!! I really miss TVdb!
|
#13
|
||||
|
||||
Hi. How would one see, or know it's broken - where does the metadata show up, visually?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#14
|
|||
|
|||
I import a lot of TV/movie files into Sage and they often show up with no info - description, etc. So I go into BMT (batch metadata tools) and click on Browse (top right). A panel opens on the left and partway down is "Sage Video Imports by folder". If I click on a show needing info, it goes into a screen showing all the metadata fields.
I click on Find Metadata at the top and make sure the show name, season and episode data is correct in the window that opens. And I choose TV and thetvdb.com or Movie and Themoviedb.org. Then I click Search. It comes up with a list of titles, and I select the correct one and then it used to fill the fields. Now, it shows the titles but, after clicking on the one I want, it just says "Unable to get metadata" |
#15
|
||||
|
||||
I looked at it a bit last night. The code doesn't compile as presented on GitHub because of some outdated dependencies. After fixing that, it looks like I just need to slightly modify the behavior of 4 classes (already did 2 of them) and re-compile. The only thing I don't like about the new library is that it brings 3 more libraries along with it. It would be really nice if SageTV ran plugins in their own isolated instances so the new libraries wouldn't be potential sources of conflict.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#16
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#17
|
||||
|
||||
At work so going by memory what I do
SageTV import folders Go to folder I want (could do here but would get everything) Then there is an “action “ dropdown near top Select update metadata Have several choices to include subdirectories, update only without metadata or all, etc Start it Bottom of left column shows progress success/fail Hope this helps I also set/use the matcher feature Get metadata for 1 show in a directory, set matcher using the show name for directory and it then ties all in that directory to that thetvdb Id number |
#18
|
||||
|
||||
You can do this within SageTV with the CMT plugin.
John |
#19
|
|||
|
|||
Any update on this?
I'd like to try to learn how to fix it but I have no clue on where to start. |
#20
|
||||
|
||||
I'm slowly getting through porting the code to use the latest API. Images are handled differently enough that I need to significantly rewrite some of the code. It's not hard so much as I don't have a lot of free time to do this.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with thetvdb.com meta data | sflamm | Phoenix | 13 | 07-24-2011 07:44 PM |
broken metadata download ? | hoep | Batch Metadata Tools | 26 | 04-12-2011 05:41 PM |
American Idol: Conflict Between Zap2It and theTVDB Episode Numbers | ptzink | Batch Metadata Tools | 4 | 04-07-2011 07:24 AM |
theTVDB changed getByAirdate API | evilpenguin | Batch Metadata Tools | 2 | 11-12-2010 05:07 PM |
Clean out old metadata created by My Movies before creating new metadata for SageTV? | Texas-Hansen | SageTV Customizations | 0 | 02-12-2009 10:31 AM |