SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-25-2010, 06:36 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
BMT 4.1 - The Changes (Please read before or shortly after upgrading)

4.1 represents a huge amount of changes to the metadata tools plugin. As you may be aware, but I'm involved in BMT, sagex-apis, phoenix, and a couple of projects. In 4.1, I decided to move the metadata lookup code to phoenix to provide better integration with the Phoenix project. This means that "bmt" was basically stripped of many features/options.

When SageTV moved to version 7 they introduced some new apis and events that had a better fit with what bmt was trying to do, and so this release leverages those new APIs. The 4.0 release in Sage7 was basically a Sage6 release that simply installed installed a Sage7 environment.

Since all metadata operations are moved to the phoenix apis, then the core bmt plugin became a command-line shell. ie, it doesn't provide any real functionality other than enabling some basic lookup functionality via the command-line.

The bmt web ui was changed to depend on the phoenix core services that now provide the metadata lookups.

In moving the lookups from bmt to phoenix, mnay options were removed. Some were removed because they no longer made sense, and other options were removed simply to make the configuration easier. And, in some cases, the defaults for some options were changed. For example, when you install/upgrade the 4.1 release, automatic lookups are disabled by default. System messages are disabled by default as well. You can configure the metadata options by configuring the phoenix-core plugin, or by configuration the "Phoenix" node in the web ui configuration.

If you upgrade from 4.0 to 4.1, then there are some "upgrade" tasks that take place, since some file locations are moved. For example, in the root of the SageTV home directory, there used to be a "scrapers" directory. That directory is now located under STV/Phoenix/scrapers area. The scrapers are not moved, since the install process will install the new/updated scrapers to the new location. SO, if you have added any scrapers yourself, you will need to copy them to the new scrapers location. The upgrade process will attempt to migrate your MediaTitles.xml to the new scrapers area, but not the filename scrapers.

As I mentioned, 4.1 (or more correctly, the phoenix core metadata services) represents a native Sage7 plugin. .properties files are no longer required to update metadata. File touching (ie, updating timestamps) is no longer required to update metadata. So, when metadata is updated, it is written directly to the sagetv database using the new Sage7 apis.

One thing that is new, is that the metadata services, by default, will not overwrite epg data for recordings, but it will still update the season/episode information.

If you upgrade to 4.1 and you see a VFS error related to ext/bmt.xml, then somehow, the upgrade process did not do it's job, and that file will need to be manually removed, since it is no longer valid.

The current release notes for the phoenix core metadata services includes the following...
2.0
* Phoenix version now bumped to 2.0 to reflect lots of small api changes and the addition of metadata and fanart core code.
* Phoenix now owns all scrapers and Metadata Parsers
* Removed MyMovies since it was not being used
* Updated MetadataAPIs to support searches, lookups, updates, etc
* Added a default 10 second timeout for all URL connections (ie, for fanart downloading, etc, so that it would not block forever)
* Added Phoenix Configuration to the SageTV plugin configuration
* Now uses Sage7 MetadataAPIs for reading/writing metadata
* Now uses Sage7 events for automatic lookups (mediafile imported and recording completed)
* Will not attempt to find metadata simply by tuning to a channel
* Removed many configuration options as it relates to overwriting metadata fanart
- Will never overwrite metadata when doing an automatic lookup
* Property files are no longer created since Sage7 provides direct APIs for setting metadata values
* Fixed bugs in the imdb scraper for writers, directors, etc
* Upgraded tmdb movies to the 2.1 api
* Fixed year issue when looking for best match against a year
* TV guest stars are stored in "Guests" not "Actors"
* Added flag to prevent updating metadata for recordings

Good luck with your upgrade/install, and feel free to ask questions. I apologize in advance for those that are upset about missing features, or if you experience issues. This is a large project and I have many test cases that are run before each build, but sometimes, things just don't work as they should
Reply With Quote
  #2  
Old 06-25-2010, 08:12 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
Does phoenix have a command line scraper like Metadatatools.jar used to?
Reply With Quote
  #3  
Old 06-26-2010, 04:26 AM
davidk21770 davidk21770 is offline
Sage Expert
 
Join Date: Mar 2006
Location: Maryland
Posts: 514
Will it still allow me to replace metadata from the web ui?
Especially, will it allow me to bring in my own shows from other sources and add them as sage native shows that will mix properly in the Sage Recordings view in SageTV?
__________________
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
Reply With Quote
  #4  
Old 06-26-2010, 05:26 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by stuckless View Post
The current release notes for the phoenix core metadata services includes the following...
2.0
* Removed MyMovies since it was not being used
Except by me. Bummer.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #5  
Old 06-26-2010, 06:32 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by gplasky View Post
Except by me. Bummer.

Gerry
Really.... you used the mymovies provider? I honestly didn't think anyone used it. It's an easy thing to add in, so I'll put it back in the next release. I was just looking to strip features that wasn't being used, to save on the amount of code that I needed to support
Reply With Quote
  #6  
Old 06-26-2010, 06:41 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by aflat View Post
Does phoenix have a command line scraper like Metadatatools.jar used to?
BMT still has it's own commandline, it's just been stripped of some features. But the bmt commandline should still to metadata/fanart lookups and it will create .properties for files.

Quote:
Originally Posted by davidk21770 View Post
Will it still allow me to replace metadata from the web ui?
Especially, will it allow me to bring in my own shows from other sources and add them as sage native shows that will mix properly in the Sage Recordings view in SageTV?
Yes, the web ui hasn't actually changed that much. The main changes to web ui is that the option panels for saving/searching have been removed, or stipped down. Also, web editor will not allow you to edit some fields in recordings, if you have option enabled that prevents recording metadata from being overwritten.
Reply With Quote
  #7  
Old 06-26-2010, 06:59 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by stuckless View Post
Really.... you used the mymovies provider? I honestly didn't think anyone used it. It's an easy thing to add in, so I'll put it back in the next release. I was just looking to strip features that wasn't being used, to save on the amount of code that I needed to support
And BMT does a great job all on it's own. But with My Movie providing the details and moviedb.org providing the fanart it was a great combo. Sometimes it seemed to have troubles grabbing the fanart using the mymovies-2 so I would grab the fanart first from moviedb.org and then grab the mymovie metadata.

I haven't upgraded yet but the only other issue was getting the running time or duration to show accurately in Sage. Sometimes it would and sometimes it wouldn't. Not sure what was going on there.

I feel bad making more work for you to code and maintain because I know it takes a lot of work and time to create and maintain this great tool. So I want to let you know all of your hard work is greatly appreciated.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #8  
Old 06-26-2010, 07:21 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Not to worry Gerr, the MyMovies plugin is 99% similar to the dvdprofiler plugin, since they both work the same way. I just removed it because I had a large # of issues of people not getting it working (or it wasn't working as they expected), so i assumed that perhaps it was fundamentally broken, especially since I've never run MyMovies

There are a number of 4.1 issues that have come up so, I'm going to try and get them resolved this weekend, and I'll probably get the MyMovies plugin back in there as well.

As for the running time/duration, bmt has always showed both, but in 4.1, I'm only showing running time, since duration is a non-editable field (although I did allow you to edit that in 4.0). Once it is set, I pass that Sage, and it appears, that for some media types, such as DVDs, it does not like it when you set the Running Time. (Although I haven't really confirmed that in Sage7)
Reply With Quote
  #9  
Old 06-26-2010, 07:57 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Sean, I haven't been paying attention, but did I remember you commenting about optomizing the DVD Profiler reader? Converting it to a SAX parser?

I ask because I'd love to run BMT, but frankly I'm affraid to run it on my server because the DOM DVD Profiler parser had memory problems with my rather large DVD Pro database.

Oh, and two questions/comments/bugs in 4.1:

1) Is it possible to change the order providers are used in the config UI?

2) It's seems not possible to select anything in the DVD Profiler XML selection Options Menu, enter doesn't work to select anything in there but cancel.

Last edited by stanger89; 06-26-2010 at 08:14 AM.
Reply With Quote
  #10  
Old 06-26-2010, 08:27 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by stanger89 View Post
Sean, I haven't been paying attention, but did I remember you commenting about optomizing the DVD Profiler reader? Converting it to a SAX parser?

I ask because I'd love to run BMT, but frankly I'm affraid to run it on my server because the DOM DVD Profiler parser had memory problems with my rather large DVD Pro database.

Oh, and two questions/comments/bugs in 4.1:

1) Is it possible to change the order providers are used in the config UI?

2) It's seems not possible to select anything in the DVD Profiler XML selection Options Menu, enter doesn't work to select anything in there but cancel.
There is a open bug about converting from a DOM to Sax parser for memory reasons, but that has not happened, yet. Maybe what i'll do, is bite the bullet and simply comvert the plugin to use jdom (provides a nice dom/sax hybrid) and use that as the basis for the mymovies as well, since it works in a very similar way.

Unfortunately, the Sage7 config UI does not have an option for moving items around. That isn't my config screen, I'm just leveraging the plugin configuration that Jeff has added. If I think about it, I'll submit an enhancement request to have them modify their OPTION LIST to include a mechanism to reorder the list. Currently you can only toggle options on or off.

I'll check that out as well, I didn't test selecting a file, since that is all handled by the core, but maybe I'm doing something in the plugin code that prevents the value from being set. (i'm wondering if i've set the type to be a "Dir" instead of a "File" )
Reply With Quote
  #11  
Old 06-26-2010, 12:43 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Also, any way to confirm if BMT is actually finding/using the xml file? I set 4.1 up on my test VM and it can't seem to find any movies in the XML even though I verified they're there.

i didn't see any errors in the log for openning the XML or anything, but I'm not sure I've got enough logging enabled.

-edit

I take that back, there are errors now, maybe they took a bit to show up:
Code:
MetadataException [query=SearchQuery; Type: MOVIE; QUERY:Black Lagoon: Volume 001;YEAR:2006;, ]
	at sagex.phoenix.metadata.MetadataManager.search(MetadataManager.java:350)
	at sagex.phoenix.metadata.MetadataManager.search(MetadataManager.java:289)
	at org.jdna.bmt.web.server.MetadataServicesImpl.searchForMetadata(MetadataServicesImpl.java:175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
And another:

Code:
2010-06-26 13:51:09,570 [4641203@qtp-19436885-12] ERROR org.jdna.bmt.web.server.MetadataServicesImpl - Metadata Retreival Failed!
java.lang.NullPointerException
	at sagex.phoenix.metadata.provider.dvdprofiler.DVDProfilerParser.addCastMembers(DVDProfilerParser.java:95)
	at sagex.phoenix.metadata.provider.dvdprofiler.DVDProfilerParser.getMetaData(DVDProfilerParser.java:47)
	at sagex.phoenix.metadata.provider.dvdprofiler.DVDProfilerMetadataProvider.getMetaData(DVDProfilerMetadataProvider.java:124)
	at sagex.phoenix.metadata.MetadataManager.getMetdata(MetadataManager.java:382)
	at org.jdna.bmt.web.server.MetadataServicesImpl.getMetadata(MetadataServicesImpl.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

Last edited by stanger89; 06-26-2010 at 12:55 PM.
Reply With Quote
  #12  
Old 06-26-2010, 01:38 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
In the log file, before the error, i should dump out what it is searching for, and the provider that it is using. ie, there is nothing in the exception that tells me that it failed using dvdprofiler

btw, the key, if you wanted to set the xmlFile manually is
phoenix/metadata/dvdprofiler/xmlFile

I just tested the File Chooser, and it's not working for me either. I need to do some more testing to see if this a bug in Phoenix or Sage.

EDIT: You should be able to set the xml file via the web ui as well.

Last edited by stuckless; 06-26-2010 at 01:40 PM.
Reply With Quote
  #13  
Old 06-26-2010, 02:35 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Crap, thought I copied that part, it was using dvdprofiler provider. And yeah, setting it via the web gui is how I got the XML specified. And how I verified it was checking providers in the right order.
Reply With Quote
  #14  
Old 06-26-2010, 03:05 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Actually, now that I look at your second excpetion, I can see that it is using DVDProfiler, but due to some sloppy coding there is a Null Pointer Exception Fortunately those as easy to fix.
Reply With Quote
  #15  
Old 06-26-2010, 05:30 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
And looking more closely, it did find a lot of stuff, so between that and your comment, it sounds like there was just an entry in the XML it couldn't get past.
Reply With Quote
  #16  
Old 06-26-2010, 08:40 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by davidk21770 View Post
Especially, will it allow me to bring in my own shows from other sources and add them as sage native shows that will mix properly in the Sage Recordings view in SageTV?
I actually haven't seen this capability in 4.1 Is it hidden somewhere now? I'd really like the ability to have it automatically move items scraped as TV shows to the Recordings database, but I don't even see the option to do so manually anymore (I believe it was part of the SCAN section that has since been removed).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 06-26-2010, 08:59 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
I actually haven't seen this capability in 4.1 Is it hidden somewhere now? I'd really like the ability to have it automatically move items scraped as TV shows to the Recordings database, but I don't even see the option to do so manually anymore (I believe it was part of the SCAN section that has since been removed).
I'm unsure how to proceed with this particular piece of functionality. It's actually quite trivial in Sage7 to import a show as a recording, but, I'm not sure I want to be the person to do it. When it works, it's great, but when it fails (much like other stuff in bmt) people are not happy

Maybe I'll consider adding an advanced option (ie, normally hidden) to automatically import tv shows as recordings.
Reply With Quote
  #18  
Old 06-26-2010, 09:38 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
I'm unsure how to proceed with this particular piece of functionality. It's actually quite trivial in Sage7 to import a show as a recording, but, I'm not sure I want to be the person to do it. When it works, it's great, but when it fails (much like other stuff in bmt) people are not happy

Maybe I'll consider adding an advanced option (ie, normally hidden) to automatically import tv shows as recordings.
How trivial? I've looked through the Sage7 API's, and nothing stood out that made it any easier. There's the MoveTVFileOutOfLibrary API call, but that won't work on imported media. Is there something else that has to be done to 'trick' sage into making the show a TV file? If so, any pointers? I know this is possible, as it works in both the web interface, and older BMT versions.

I realize your reluctance to doing this in BMT, and that's fine, I'll work something out, but it seems you've at least got some idea of the tasks that need to be performed.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #19  
Old 06-27-2010, 12:00 PM
davidk21770 davidk21770 is offline
Sage Expert
 
Join Date: Mar 2006
Location: Maryland
Posts: 514
Quote:
Originally Posted by Fuzzy View Post
I actually haven't seen this capability in 4.1 Is it hidden somewhere now? I'd really like the ability to have it automatically move items scraped as TV shows to the Recordings database, but I don't even see the option to do so manually anymore (I believe it was part of the SCAN section that has since been removed).
In the WebUI, call it a sage recording, call it a tv show, give it the correct name and screen name (same as in the sage recordings -- case is significant), fill in the rest of the info that you want filled-in, save tell it to overwrite the metadata and it'll integrate. If it shows up in the wrong place, go back to the web UI and fix your typo.
__________________
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
Reply With Quote
  #20  
Old 06-27-2010, 12:40 PM
damian.flynn damian.flynn is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 82
I have been using metabrowser to tag my tv and movies for the last few years, and they are now launching a new version, which currently has no TV and no support for the sage .properties files or the new API to embed the tags.

So - its time to dump this tool and move over to the new generation. I have all my media on a large multi TB disk array (single Drive/UNC).

The format i have been using is along the lines:

For TV
\Video\TV\Series Name\Season 0X\Series Name - S0X-E0X - Title.MKV

For Movies
\Video\Movies\Movie Name (Year)\Random File Name.MKV

All the new media is dropped in
\Drop box

Here the file name could be the name of the Movie, or the TV Series with Season/Episode information, and the utility then Moved the file to the correct destination. I have .properties files, episode image, banners and fanart currently, but dont mind deleting it all.

So - my question - as a DUMMY to BMT, is there a start guide.
I have not even installed the tool yet, so high level is fine, and Ill do a full document and post it for everyone else that decides to adopt this engine.

cheers
Damian
__________________
Blog: www.damianflynn.com

SageTV: v7.20 RC on Dell PE860, 8Gb RAM, Win7 x64; Recordings: 2Tb SATA. Collection: 12Tb DAS
DVB Logic - DVBLink 3.1 Tuners sourcing 2 x TBS 6980 Dual DVB-S2 (Astra 28, Astra 19, Hotbird, Thor) serving Clients 3 x HD300, 2 x HD200, 1 x HD100
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BMT: Read this if you don't see any BMT topics Opus4 SageTV Customizations 0 04-25-2010 09:17 PM
BMT question Hunter69 Batch Metadata Tools 13 03-27-2010 10:37 PM
Is there a way of doing Metadata WITHOUT BMT plnewton SageTV Customizations 12 08-17-2009 06:53 PM
Upgrading to v6, how to read showanalyzer files? OttoNP SageTV Customizations 8 11-18-2006 04:41 PM
forum posts not marked read when read? xlr8shun The SageTV Community 2 05-04-2004 01:49 AM


All times are GMT -6. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.