|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#2381
|
|||
|
|||
help with metadata
I am using a program to extract shows from my tivo for importing into Save. The tool is called kmttg. It will create a txt file of metadata that is collected from tivo. Below is what the season finale of SNL looks like. Is there any way to interface this with BMT? BMT is guessing badly for many shows, but I already have the real name and episode titles. Can BMT leverage the data in the txt or can it only get informaton from file names?
Here is the contentxs of the txt. is there already a parsing tool for this? title : Saturday Night Live seriesTitle : Saturday Night Live description : Host Alec Baldwin; Tom Petty & the Heartbreakers perform. time : 2010-05-16T03:29:00Z isEpisode : true originalAirDate : 2010-05-15T00:00:00Z episodeTitle : Alec Baldwin isEpisodic : true showingBits : 4099 tvRating : x5 displayMajorNumber : 807 callsign : KWWLDT seriesId : SH003710 vActor : Armisen|Fred vActor : Forte|Will vActor : Meyers|Seth vActor : Samberg|Andy vActor : Sudeikis|Jason vActor : Thompson|Kenan vActor : Wiig|Kristen vActor : Elliott|Abby vActor : Moynihan|Bobby vActor : Pedrad|Nasim vActor : Slate|Jenny vProgramGenre : Comedy vSeriesGenre : Comedy vSeriesGenre : Comedy vHost : Baldwin|Alec |
#2382
|
||||
|
||||
Quote:
BMT basically parses the filenames for information. Specifically it will parse the ShowName and Episode Title from a filename and try to do a match using that.
__________________
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 |
#2383
|
|||
|
|||
I apologize if these have been answered. With 100+ pages of postings, many of which seem to be out of date, I'm not sure where to start.
1. I'm used to the other imdb search tool which is interactive. Is there an interactive interface to this from within sage? (Not the web interface). 2. How do I get it to prompt me correctness? We have OLD movies and it has overwritten several of my correct metadatas with incorrect ones - which are sometimes hard to find since it has renamed the show in some cases! 3. How do I force it to run on a file -- in an interactive mode? From Sage, not the web updater or the command-line. I have a LOT of files (3-4 TB) across several drives and directories and finding them in the web tool is painful. 4. The web interface tool to choose the cover art does not display properly in firefox. The window is only 2/3 the size that it should be and can not be resized (or closed since the close button's not on the screen and it won't scroll!). 5. How to I get it to work with '.' instead of ' ' in some titles (I see that you recommend against it in the main post for the tool). I have a lot of files named that way and it'd be painful to redo them all. Edit: This is with Sage 7.0.10.
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB Last edited by davidk21770; 06-06-2010 at 04:49 AM. |
#2384
|
|||
|
|||
I just updated a show using the web interface.
When I go back the show in the web interface, it still shows the old info. When I go to the show in Sage, it is correct. When I look at the properties file, it is correct. Just in case, I then (after checking the above 2), went back to the web interface and it still showed the old info. This is with Sage 7.0.10.
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#2385
|
||||
|
||||
@david - before I spend the time answer these... are you running bmt4? You mentioned that you are running sage7, but you posted this in the bmt3.x thread??
__________________
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 |
#2386
|
|||
|
|||
Thanks.
I am running the version the installs for V7 -- 4.0.27. It links to this thread for support though http://forums.sagetv.com/forums/down...do=file&id=239. Where should I move my questions to?
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#2387
|
|||||||
|
|||||||
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
BTW.. bmt has it's own sub forum, so you don't need to tack your questions onto an existing thread, you can create a new threads, if you want
__________________
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 |
#2388
|
|||
|
|||
Thanks!
Quote:
Quote:
A continuation of the problem with the interface with sage metadata: I'm seeing a problem where I update the show season, episode number, show episode name (from something like s06e15 to the correct episode name) and also add the details of the show -- they "stick" in the bmt database (reload when the web interface reloads), but only the season and episode number are added to sage?
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#2389
|
||||
|
||||
Quote:
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 |
#2390
|
|||
|
|||
Quote:
Quote:
Edit: But, you're right -- these are shows that Sage thinks belong to it.
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#2391
|
||||
|
||||
I'm not sure... if I get more time, I'll have to explore on windows.. typically when I use windows, I use IE8.. but I have looked at ie7 as well.
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 |
#2392
|
|||
|
|||
Thanks! I'll be looking forward to the update/fix!
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#2393
|
||||
|
||||
Looks like themoviedb.org moved their API version from 2.0 to 2.1, generating this whenever I try to look something up. The main effect is that I no longer get the backgrounds, but I still get a poster and metadata. Any way this can be updated simply?
Code:
5694 ERROR [main] org.jdna.media.metadata.impl.themoviedb.TheMovieDBItemParser - Failed while parsing: CachedUrl: http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0480255&api_key=d4ad46ee51d364386b6cf3b580fb5d8c; UrlId: 7359c287a44eae8e73193d9f880fba69 java.io.FileNotFoundException: http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0480255&api_key=d4ad46ee51d364386b6cf3b580fb5d8c at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.jdna.url.CachedUrl.cache(CachedUrl.java:135) at org.jdna.url.CachedUrl.getUrl(CachedUrl.java:118) at org.jdna.url.CachedUrl.getInputStream(CachedUrl.java:178) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBItemParser.getMetadata(TheMovieDBItemParser.java:53) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.getMetaDataById(TheMovieDBMetadataProvider.java:57) at org.jdna.media.metadata.impl.composite.CompositeMetadataProvider.searchDetailsByResult(CompositeMetadataProvider.java:59) at org.jdna.media.metadata.impl.composite.CompositeMetadataProvider.getMetaData(CompositeMetadataProvider.java:49) at org.jdna.media.metadata.impl.composite.MetadataProviderContainer.getMetaData(MetadataProviderContainer.java:38) at org.jdna.metadataupdater.ManualConsoleSearchMetadataVisitor.handleNotFoundResults(ManualConsoleSearchMetadataVisitor.java:78) at org.jdna.metadataupdater.ManualConsoleSearchMetadataVisitor.fetchMetaData(ManualConsoleSearchMetadataVisitor.java:42) at org.jdna.media.util.AutomaticUpdateMetadataVisitor.fetchMetaData(AutomaticUpdateMetadataVisitor.java:69) at org.jdna.media.util.AutomaticUpdateMetadataVisitor.visit(AutomaticUpdateMetadataVisitor.java:49) at org.jdna.media.util.MissingMetadataVisitor.visit(MissingMetadataVisitor.java:35) at org.jdna.media.AbstractMediaResource.accept(AbstractMediaResource.java:48) at org.jdna.media.AbstractMediaFolder.accept(AbstractMediaFolder.java:27) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:336) at org.jdna.metadataupdater.MetadataUpdater.run(MetadataUpdater.java:145) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:100) 5773 ERROR [main] org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider - Failed to parse/search using url: CachedUrl: http://api.themoviedb.org/2.0/Movie.search?title=The+Losers&api_key=d4ad46ee51d364386b6cf3b580fb5d8c; UrlId: f40666cbf7ce12590f41370922605cd2 java.io.FileNotFoundException: http://api.themoviedb.org/2.0/Movie.search?title=The+Losers&api_key=d4ad46ee51d364386b6cf3b580fb5d8c at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.jdna.url.CachedUrl.cache(CachedUrl.java:135) at org.jdna.url.CachedUrl.getUrl(CachedUrl.java:118) at org.jdna.url.CachedUrl.getInputStream(CachedUrl.java:178) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBSearchParser.getResults(TheMovieDBSearchParser.java:78) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.search(TheMovieDBMetadataProvider.java:30) at org.jdna.media.metadata.impl.composite.CompositeMetadataProvider.searchDetailsByResult(CompositeMetadataProvider.java:66) at org.jdna.media.metadata.impl.composite.CompositeMetadataProvider.getMetaData(CompositeMetadataProvider.java:49) at org.jdna.media.metadata.impl.composite.MetadataProviderContainer.getMetaData(MetadataProviderContainer.java:38) at org.jdna.metadataupdater.ManualConsoleSearchMetadataVisitor.handleNotFoundResults(ManualConsoleSearchMetadataVisitor.java:78) at org.jdna.metadataupdater.ManualConsoleSearchMetadataVisitor.fetchMetaData(ManualConsoleSearchMetadataVisitor.java:42) at org.jdna.media.util.AutomaticUpdateMetadataVisitor.fetchMetaData(AutomaticUpdateMetadataVisitor.java:69) at org.jdna.media.util.AutomaticUpdateMetadataVisitor.visit(AutomaticUpdateMetadataVisitor.java:49) at org.jdna.media.util.MissingMetadataVisitor.visit(MissingMetadataVisitor.java:35) at org.jdna.media.AbstractMediaResource.accept(AbstractMediaResource.java:48) at org.jdna.media.AbstractMediaFolder.accept(AbstractMediaFolder.java:27) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:336) at org.jdna.metadataupdater.MetadataUpdater.run(MetadataUpdater.java:145) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:100) |
#2394
|
||||
|
||||
My understanding is that Travis is going to migrating the 2.0 api to the new servers. He'll probably have that done, before I can upgrade to the new 2.1 APIs myself. Newer Sage7 builds (not yet released) will be using the 2.1 api.
__________________
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 |
#2395
|
||||
|
||||
So basically I just need to be patient and it should work itself out? Good enough for me, thanks for all that you do!
|
#2396
|
|||
|
|||
The Man from U.N.C.L.E
OK, I burned a few days and lost some precious hair on this one. Want to share my experience so that others can save their hair.
BMT 3.0.4 SageTV 6.6.2.218 Java Version 1.6.0_18 SageMC 6.3.9b pre-release 24 Sagemc.jar 6.3.8 df_sageutils 2.2 phoenix jar 1.44 TVExplorer 1.01.25 Ortis api 0.5.01.22 Loaded all 105 episodes of "The Man from U.N.C.L.E" and ran TVRENAME to ensure proper filename syntax (showname - SxxExx - episodename) and that the show title will "hit" positive on theTVdb,com. OK, so now I'm feeling great and can't wait to use TVE to time travel. Should be slam dunk after using TVRename which is driven my theTVdb database. Well, not so fast skipper. Kept getting "failed mediafile". Tried all the usual tricks. Finally turned-on debug log. All looked good, for example:
OK, we're doing good so far. Debug log for season and episode is on the mark too. But then - low and behold - hey wait a minute...this looks interesting:
Whoa! What just happened here? All the periods got replaced with spaces. I didn't figure on that. So, I go and manually run searches on Imdb, theMovieDB, and thetvdb. Guess what? you only get a positive match if the periods are in the name; i.e., "U.N,C.L.E.". "UNCLE" and "U N C L E" just don't work. Now, I understand why the process replaces the periods -- tons and tons of people use the period as a delimiter convention. I'm trying to think of any other show that has periods in it's official title and am drawing a blank. So, I don't expect that its worth any time or energy in accommodating this unique situation. I'll just manually get the metadata via the web tool (yuck). I would have been done long along if I knew that this course of action was my only recourse in this case. As I said in the beginning, I'm posting this so that others know what to do, BTW, great tools and apps! Thank you. JK Last edited by kolakowj; 06-21-2010 at 08:50 AM. Reason: typo |
#2397
|
||||
|
||||
@kolakowj
In 3.x all searches were done using a "cleaned" title because, as you noted, many people use dots and dashes as delimiters. In 4.x I now try 2 searches. The first search uses the title scraped, as is, ie, the dots preserved, and if that fails, then I "clean" the title and search using the cleaned title. Basically 3.x assumed that all movies/shows had non-clean titles whereas 4.x assumes that people "clean" their titles.
__________________
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 |
#2398
|
||||
|
||||
So I'm not sure if this is the right place or not, but I saw a similar post in some other thread about an issue I'm having at the moment. . .
I finally went through and ripped all 10 seasons (40 discs) of Friends to my HDDs. Each disc is labeld Friends: Season X, Disc X I started in the Metadata tools, and edited the very first disc, and managed to copy in all the details about each episode that was on this disc into the description. Now magically, all that work / info has completely disappeared. The fanart still works, but the description field just got completely scrubbed and so did the naming format that I was using. . . I'm using 7.0.11, and whatever the latest metadata tools plugin is. I have "overwrite existing metadata checked". It seems like either a library scan, or the fact that I have re-started the service/SageTV a couple of times caused this. . . Is there some bug going on where sage and this plugin are fighting to keep meta-data straight?
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#2399
|
||||
|
||||
Quote:
From your description, you mention, "overwrite existing metadata", and the latest plugin does not have that option. ie, in the latest plugin, it will never overwrite existing metadata, and you don't get the option of choosing. So, make sure you are running the latest plugin, which will have fewer options. If you can reproduce this, then it would certainly help. ie, if you could restart sage, edit the dvd info for a couple of dvds, then restart?? and see if the information gets changed. if so, you could send me the logs, and I might be able to tell what is going on. I do know another user reported the same issue, if you look through the bmt forum, you might be able to find it. NOt sure if they had it solved as well.
__________________
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 |
#2400
|
||||
|
||||
I guess I should have said the "Preserve Metadata" setting is unchecked i guess. . .
Ok I'll let you know what happens next. I just started doing the updates again. One thing that I'd like to ask for though is that Disc number should be allowed to have N of N (e.g. 1 of 4), and Episode Number the same, since there aren't specific tools for DVDs of a series.
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Read & Write Metadata files for Default STV 5/6 (v2.2.9 18/Feb./2010) | JREkiwi | SageTV Customizations | 251 | 10-09-2019 11:11 AM |
Automated VideoRedo (DOS batch files) | grauchy | SageTV Customizations | 3 | 09-08-2011 10:01 PM |
Simple utility to control multiple USB or Serial HD DirecTV STBs | jchiso | Hardware Support | 15 | 02-19-2009 06:27 PM |
DVB-S setup with Digiguide EPG Grabber & XMLTV importer | MCE-Refugee | SageTV United Kingdom | 27 | 09-08-2008 09:10 AM |
Keeping custom metadata for imports via AddShow() | Opus4 | SageTV Studio | 9 | 02-20-2008 06:35 PM |