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 03-03-2011, 09:01 AM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
Some BMT Questions - maybe suggestions

In attempting to clean up my metadata, the following questions or (requests if not possible now) come up:

1) Can I see "Missing Metadata" for JUST SageTV Recordings or JUST Imported? It would make cleaning up my movie library much easier. Maybe add 2 new Views?

2) What do I need to add to shows that aren't found in the search to make them go away from the "Missing" view? I manually added a fanart title, but I guess that's not enough.

related to 2) , and if there's alot of metadata that would need to be added to satisfy the search, would it make sense to be able to "ignore" the show? Maybe a checkbox so that I don't continue to see it?
- A use case is my local news. I don't expect it to ever come back in a web search. Home Videos are another one.

Side question: should I be worried about un checking the "preserve sagetv metadata" check box occasionally? Any concerns I should be aware of?

note: I did review the guide and search for these topics...

Last edited by Tomahawk51; 03-03-2011 at 09:03 AM.
Reply With Quote
  #2  
Old 03-03-2011, 09:13 AM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
Quote:
Originally Posted by Tomahawk51 View Post
1) Can I see "Missing Metadata" for JUST SageTV Recordings or JUST Imported? It would make cleaning up my movie library much easier. Maybe add 2 new Views?
Check out this thread to add views to your BMT http://forums.sagetv.com/forums/showthread.php?t=53963.


Am also interested in the answer to your second question as well.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #3  
Old 03-03-2011, 09:19 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Tomahawk51 View Post
In attempting to clean up my metadata, the following questions or (requests if not possible now) come up:

1) Can I see "Missing Metadata" for JUST SageTV Recordings or JUST Imported? It would make cleaning up my movie library much easier. Maybe add 2 new Views?

2) What do I need to add to shows that aren't found in the search to make them go away from the "Missing" view? I manually added a fanart title, but I guess that's not enough.

related to 2) , and if there's alot of metadata that would need to be added to satisfy the search, would it make sense to be able to "ignore" the show? Maybe a checkbox so that I don't continue to see it?
- A use case is my local news. I don't expect it to ever come back in a web search. Home Videos are another one.

Side question: should I be worried about un checking the "preserve sagetv metadata" check box occasionally? Any concerns I should be aware of?

note: I did review the guide and search for these topics...
BMT is a layer on Phoenix, and as such, everything you are asking for can be done today, without changing bmt, but it requires knowledge of creating views, or editing existing ones. Unfortunately, I haven't had the time to write the documentation on how to customize views, so I haven't been very vocal in those abilities.

Bottom line is that you can certainly create new views (in xml) that filter and show the data anyway you like. You excluide/include files, etc, so it is possible to do everything that you are asking in the existing view technology.

As for the "Missing Metadata" view, it does a couple of things... I check the fanart title for movies, the year for movies, and for tv it checks the fanart title and the epsisode number.

Again, using views, you can easily build your own missing metadata type of view that is contrained to just TV shows, Recordings, etc.

In the next couple of months, there will be a lot more information on how to configure views... both for bmt and Phoenix (which share the same technology)
Reply With Quote
  #4  
Old 03-03-2011, 09:58 AM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
Great, knowing that I need to populate "Fanart Title" and "Year" for movies or "Fanart Title" and "Episode" is a nice step forward.

I do want to point out that creating a view to "ignore" select titles probably isn't the most sensible way to go. Barring this ability, I'll just know to populate the fields you mention - which is totally fine for me.

Now onwards to cleaning up my 151 missing metadata entries...

Thanks so much.
Reply With Quote
  #5  
Old 03-03-2011, 10:06 AM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
New New Update: Yes it is needed: i.e. "Fanart Title", "Episode Name" , and "Episode #" are needed to satisfy the missing metadata view.

New Update:

It looks like "Episode Name" is needed. Not sure if in addition to episode number (but I'd guess not).

Update:

Maybe more is need for TV than what you iterate?

I have a show "american arsenal" (my wife works for a steel company - I'm not a militia member). that doesn't show. I added fanart title and season and episode. It still comes back as missing metadata.

Here are the remaining blank fields (others are populated):

-Episode Name
-Disc #
-extended ratings
-user rating
-misc

Last edited by Tomahawk51; 03-03-2011 at 10:09 AM.
Reply With Quote
  #6  
Old 03-03-2011, 10:15 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
For reference... here's the filter code...

Code:
                if (res.isType(MediaResourceType.TV.value())) {
                        IMetadata md = ((IMediaFile)res).getMetadata();
                        if (StringUtils.isEmpty(md.getMediaType())) return true;
                        if (StringUtils.isEmpty(md.getMediaTitle())) return true;
                        if (StringUtils.isEmpty(md.getEpisodeName())) return true;
                        if (md.getEpisodeNumber()<=0) return true;
                } else if (res.isType(MediaResourceType.ANY_VIDEO.value())) {
                        IMetadata md = ((IMediaFile)res).getMetadata();
                        if (StringUtils.isEmpty(md.getMediaType())) return true;
                        if (StringUtils.isEmpty(md.getMediaTitle())) return true;
                }
So it would appear that for TV you need
- MediaType (TV, Movie)
- MediaTitle (fanart title)
- EpisodeName
- EpisodeNumber

for Movies...
- MediaType (TV, Movie)
- MediaTitle (fanart title)
Reply With Quote
  #7  
Old 03-03-2011, 01:52 PM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
FYI: I take it back. After doing a bunch of updating, an "IGNORE" checkbox or equivalent ability to remove things from the "missing metadata" view would be very nice. Perhaps there are more elegant ways to go about this though.

In my case, I keep seeing "Action News" at the top of the list constantly, and since it's daily, I have no expectation of actually adding metadata. I have to keep looking at these everytime I go in to chip away. Repeat for dozens of other shows.

I do understand that this is probably low priority, but I'll express my interest in something that would alleviate this. I am starting to catch the BMT OCD that another user mentioned in terms of feeling dirty about the many items I've got...
Reply With Quote
  #8  
Old 03-03-2011, 02:05 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Tomahawk51 View Post
FYI: I take it back. After doing a bunch of updating, an "IGNORE" checkbox or equivalent ability to remove things from the "missing metadata" view would be very nice. Perhaps there are more elegant ways to go about this though.

In my case, I keep seeing "Action News" at the top of the list constantly, and since it's daily, I have no expectation of actually adding metadata. I have to keep looking at these everytime I go in to chip away. Repeat for dozens of other shows.

I do understand that this is probably low priority, but I'll express my interest in something that would alleviate this. I am starting to catch the BMT OCD that another user mentioned in terms of feeling dirty about the many items I've got...
The user guide does talk about using a regular expression filter to exclude items... but the regex filter is global. I probably won't do anything in the bmt core (at least not in the short term), but once I release the documentation on customizing views... you'll be able to do exactly what you want... and more. (You'll be able to exclude items based on filepath, show title, series, etc)

I am also working on enabling some view editing features within bmt, which again, could be used to solve this problem. I just need more time... or a couple of clones of myself
Reply With Quote
  #9  
Old 05-05-2011, 12:55 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
I too would like an ignore box or someway of not showing certain shows. I have
over 1400 missing metadata entries... And I'd like to be able to easily find the ones that I can fix!

Has there been any change to this yet or a way to exclude titles from this?

Thanks,

Jim
Reply With Quote
  #10  
Old 05-06-2011, 06:14 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
You can configure one or more folders as being a home video folder, and they'll get excluded from the missing metadata view. Or you can configure the global exclude filter. Either way, it's in the configuration section, under Metadata/Fanart (i think)
Reply With Quote
  #11  
Old 05-06-2011, 09:23 AM
adone36 adone36 is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 142
Home movies option was a great enhancement! Solved many issues for me. "Missing metadata" would be nice to have separate for Movies and TV for mainstream and customizable for the person with specific wants.

"Missing Metadata" for me always seems to contain half of my TV library. Yet all of the shows have full EPG data, etc, and most even have fanart. I'm wondering if they could be older shows that date from the time when BMT had a slight bug in mapping corresponding fields.

I recently moved 400 movies. BMT probably got 385 right, an outstanding success. But the strange thing is that many of the 15 really should have hit also. For example many are "The Movie (year)" and there are many versions, but my file name is the 1st in the list ie: "the Movie (2010)". Can't see a reason for this.
Reply With Quote
  #12  
Old 05-14-2011, 08:50 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by adone36 View Post
Home movies option was a great enhancement! Solved many issues for me. "Missing metadata" would be nice to have separate for Movies and TV for mainstream and customizable for the person with specific wants.

"Missing Metadata" for me always seems to contain half of my TV library. Yet all of the shows have full EPG data, etc, and most even have fanart. I'm wondering if they could be older shows that date from the time when BMT had a slight bug in mapping corresponding fields.

I recently moved 400 movies. BMT probably got 385 right, an outstanding success. But the strange thing is that many of the 15 really should have hit also. For example many are "The Movie (year)" and there are many versions, but my file name is the 1st in the list ie: "the Movie (2010)". Can't see a reason for this.
If you post a couple of movie filenames, then I can try to see why bmt failed to find them. Sometimes it may fail simply because it had an error communicating with the server, but in some cases, there may be other reasons, so having these filenames would help me build better detection, if possible.
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
Fanart / BMT 4.0 questions ThePaladinTech Batch Metadata Tools 1 04-22-2010 08:45 PM
Suggestions for naming specials for BMT and keeping them in cronolgical order? lash SageTV Customizations 2 11-04-2009 12:37 AM
SageTv Webserver questions/suggestions patotoole SageTV Customizations 0 10-02-2009 09:09 AM
Questions/suggestions guardian SageTV Software 1 11-18-2003 05:05 PM
Suggestions & questions kberg31974 SageTV Software 2 06-14-2003 02:22 AM


All times are GMT -6. The time now is 01:30 PM.


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