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
  #121  
Old 08-22-2008, 07:03 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
The metadata tool puts the metadata files (properties and thumbnail) in places that Sagetv requires, in order that Sagetv can read them and utilize them. I don't believe that Sage will read the metadata if they are in the actual dvd folder.
Reply With Quote
  #122  
Old 08-22-2008, 07:33 AM
kentro71 kentro71 is offline
Sage User
 
Join Date: Aug 2008
Posts: 16
Ok, I thought maybe I was doing something wrong. Thank you for yor help.
Reply With Quote
  #123  
Old 08-22-2008, 05:26 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I tried running the "list" function on a directory that contains several movies in .mpg format (single file, not DVD format) and received the following:

Listing Movies
U = MetaData Updated/Newer; - = Missing MetaData; + = Has MetaData

What does this mean and what am I doing wrong?

Edit: I figured it out - user error
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.

Last edited by tmiranda; 08-22-2008 at 05:45 PM.
Reply With Quote
  #124  
Old 08-22-2008, 05:51 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
What does this mean and what am I doing wrong?
Basically if it had found any movies it would have listed them, and they would have been prefixed by 'U', '-', or '+' and the first list that is displayed is the legend for those symbols.

Could you post your command line?
What java version? (requires java5 or 6)

The command has to be run from the directory in which it was extracted.
example,
Code:
C:\metadatatool> java -jar MetadataTool.jar --listMovies c:\mymovies\
Reply With Quote
  #125  
Old 08-27-2008, 02:45 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Going to try your tool soon. What are the picture resolutions you are getting from the various websites?
Reply With Quote
  #126  
Old 08-27-2008, 07:24 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
What are the picture resolutions you are getting from the various websites?
I'm not sure about the exact picture resolutions. Currently it will pull images from DVD Profiler and IMDB, so if you are happy with those programs/sites, then the image quality will be ok. Personally, I only use it with IMDB, and I'm pretty happy with the image qaulity, but I'm pretty easy to please
Reply With Quote
  #127  
Old 08-30-2008, 09:33 AM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
Thank you for the tool. I too would love some higher resolution images. I am using sage in my home theater with a projector and 109" screen. IMDB images just aren't cutting it.

Your tool has also taught me a lot about how sage handles metadata. For a while now I couldn't get any "descriptions" to show up. I didn't realize that sage only reads the .properties when the file is first detected.

Thank you.
Reply With Quote
  #128  
Old 08-30-2008, 09:42 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Pick up DVD Profiler for $30 bucks then use this tool for high resolution. Works great. http://www.invelos.com

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT

Last edited by bcjenkins; 08-30-2008 at 09:45 AM.
Reply With Quote
  #129  
Old 08-30-2008, 09:44 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Feature Request

Sean,

For your consideration. If the first word of the title is A, An, The, allow for dropping it. I have too many movies whose title starts with The.

Thanks for your work in this. It has motivated me to finish putting my entire library online. (3 more to go!)

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #130  
Old 08-30-2008, 10:01 AM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
It looks like the title that IMDB finds that is 'most popular' is the movie that is chosen to pull the information from. Why not use the "exact match" find? For example, if you search for the movie "Undiscovered", IMDB finds a popluar title of Star Trek:Wrath of Khan. A little below that is the exact match for "Undiscovered". This tool pulls the information for Star Trek though.
Reply With Quote
  #131  
Old 08-30-2008, 11:40 AM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Quote:
Originally Posted by electronics4lif View Post
Thank you for the tool. I too would love some higher resolution images. I am using sage in my home theater with a projector and 109" screen. IMDB images just aren't cutting it.

Your tool has also taught me a lot about how sage handles metadata. For a while now I couldn't get any "descriptions" to show up. I didn't realize that sage only reads the .properties when the file is first detected.

Thank you.
Checkout My Movies 2, It has a folder scan option and free to use. It has higher quality images which save as folder.jpg. It mostly makes a higher image (my movies-front.jpg) witch is even a higher image quality.
Reply With Quote
  #132  
Old 08-30-2008, 12:00 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
this doesn't really belong in this thred, but it's kinda related, so i'll try.

I occasionally record movies off TV (kids Disney movies, mostly). How can I most easily get those movies into my SageMC videos directory?

I currently move them from my recordings directory to an import directory, but i also have to rename them, becuase Sage will remember that they are TV shows (and therefore display them in the TV recordings listings) if the "movie-123421-0.mpg" filename remains. And I also have to join them manually if there is a *-0 and *-1 situation.

Would seem that if I could just tell Sage that I want to see the movie in my videos, versus recordings, listings, it'd be much easier. Of course, I'd also like to get IMDB covers and info too.

thanks
matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #133  
Old 08-30-2008, 03:44 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by matt91 View Post
this doesn't really belong in this thred, but it's kinda related, so i'll try.

I occasionally record movies off TV (kids Disney movies, mostly). How can I most easily get those movies into my SageMC videos directory?

I currently move them from my recordings directory to an import directory, but i also have to rename them, becuase Sage will remember that they are TV shows (and therefore display them in the TV recordings listings) if the "movie-123421-0.mpg" filename remains. And I also have to join them manually if there is a *-0 and *-1 situation.

Would seem that if I could just tell Sage that I want to see the movie in my videos, versus recordings, listings, it'd be much easier. Of course, I'd also like to get IMDB covers and info too.

thanks
matt
Use the info editor built into the web server.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #134  
Old 08-30-2008, 08:11 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by electronics4lif View Post
It looks like the title that IMDB finds that is 'most popular' is the movie that is chosen to pull the information from. Why not use the "exact match" find? For example, if you search for the movie "Undiscovered", IMDB finds a popluar title of Star Trek:Wrath of Khan. A little below that is the exact match for "Undiscovered". This tool pulls the information for Star Trek though.
Good Point. In my testing, with my movie collection, I had a better hit ratio when I used the "Popular" instead of the "Exact Match"... Since I wrote the program, I got to choose the one that better suited my needs

I'll look at adding a setting to allow you to use exact matches over popular matches.
Reply With Quote
  #135  
Old 08-30-2008, 08:16 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bcjenkins View Post
Sean,

For your consideration. If the first word of the title is A, An, The, allow for dropping it. I have too many movies whose title starts with The.
B
I'll look at adding a setting that would allow the title to strip away a configurable set of first words, such as "The,A,An"
Reply With Quote
  #136  
Old 08-31-2008, 05:54 AM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
Quote:
Originally Posted by stuckless View Post
Good Point. In my testing, with my movie collection, I had a better hit ratio when I used the "Popular" instead of the "Exact Match"... Since I wrote the program, I got to choose the one that better suited my needs

I'll look at adding a setting to allow you to use exact matches over popular matches.
Fair enough. After a little more testing, it really just 'depends'. The movie "Speed Racer" needs the popular hit. Don't get my wrong, I love the tool! It seems like if you google search "imdb (movie name)" it always finds the right imdb page. Has does google do it? lol

On a side note does anyone know how to refresh Sages's imported media from the command line also?
Reply With Quote
  #137  
Old 08-31-2008, 06:24 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Maybe an http request to the webserver could be scripted.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #138  
Old 08-31-2008, 12:03 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Great tool! Works very well...except that I'm getting frustrated by the whole genre thing.

The tool is writing genre's as:
Genre=Animation/Adventure/Comedy/Family/Musical/Romance/

I assume that's what Sage wants. I've shut down, edited the sage.properties to:
force_full_content_reindex=true

but I still have lots of genre's in Sage(MC) that show up as "Animation/Adventure/Comedy/Family/Musical/Romance/".

I guess I'll try writing the genre's as multiple lines, but I don't think that's what Sage wants...

any help?

thanks
Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #139  
Old 08-31-2008, 12:20 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Sage, when loading the Genre from the .properties file can only deal with 2 genre. The first one it finds will be loaded into the Category field in the Sage database. The second AND subsequent ones will be loaded "as is" into the SubCategory field in the database. Therefore in your example you would get 2 categories...

Example:
Genre=Animation/Adventure/Comedy/Family/Musical/Romance/

Result:
Category=Animation
SubCategory=Adventure/Comedy/Family/Musical/Romance/

At least that's how I think it works.

K
Reply With Quote
  #140  
Old 08-31-2008, 12:28 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
There is a setting in the tool to force it to use ONLY a single genre entry. The default is to use more than one, which I'll change when I release another version. I misunderstood how sage uses the genre field, and since I don't use genre browsing, I didn't notice that it's not correct.

Add this your metadataupdater.properties file.
Code:
# Set to true|false to enable/disable single or multiple genre entries per line
org.jdna.media.metadata.impl.sage.SageVideoMetaData.singleGenreField=true
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
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


All times are GMT -6. The time now is 09:58 AM.


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