|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#81
|
|||
|
|||
When I created that proprieties file
I only had this # Set to true|false to enable/disable single or multiple genre entries per line org.jdna.media.metadata.impl.sage.SageVideoMetaData.singleGenreField=true Is that okay? |
#82
|
||||
|
||||
Anyone know the Sage API to remove Genre information? I did a quick look at the javadoc and I didn't see anything in my quick glance.
If there is api, then I'll look at writing something that can clean up the genres.
__________________
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 |
#83
|
|||
|
|||
Does this property setting not work?
Code:
force_full_content_reindex=true B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#84
|
|||
|
|||
Just for the fun of it, my wife did a count.
There is a total of 261 Genres, each with only one or two movie. Glad I ran this only on the first 280 movies not the full 1000 movies folder :P |
#85
|
||||
|
||||
Quote:
Quote:
You'll need the set the appropriate dvd profiler properties for each to work correctly.
__________________
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 |
#86
|
|||
|
|||
Yes, sorry Sage.properties. Thanks for the DVD Profiler. I can't wait to try it out!
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT Last edited by bcjenkins; 07-30-2008 at 10:10 AM. |
#87
|
|||
|
|||
Worked like a charm!
metadataupdater.properties # Set to true|false to enable/disable single or multiple genre entries per line org.jdna.media.metadata.impl.sage.SageVideoMetaData.singleGenreField=true force_full_content_reindex=true ===== Ran the whole thing again, and Sagetv sorted out, no more werid Genre. Thanks for the quick fix guys! |
#88
|
|||
|
|||
Thought I'd throw something in that tripped me up in case someone else runs into it...
Before running the script, make sure none of your movies are set to "Read Only". Otherwise, the file dates won't update and Sage won't import the .properties info. Somewhere in the history of my library I was setting the files to Read Only in an effort to protect them. About half of my collection still had this property. |
#89
|
|||
|
|||
Could someone be kind enough to really dumb this up for me?
I am try to run this on windows in a "Command Prompt" window, and all I get is "This is not an internal or external command". Asking for a very basic step by step, I am lost. |
#90
|
||||
|
||||
Sounds as if Java is not installed. From the command prompt type
Code:
C:\> java -version Keep in mind, you only need the JRE and not the SDK (the SDK is for developers, and is a larger download)
__________________
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 |
#91
|
|||
|
|||
C:\Users\FamilyRm> java -version
Shows version 1.6.0_07-b06 is installed. This command; C:\Users|FamilyRm> java -jar MetadataTool.jar --help returns; Unable to access jarfile MetadataTool.jar |
#92
|
|||
|
|||
Try putting the full path to the jar file.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#93
|
|||
|
|||
I think I had this problem. I fixed it by running the tool in the tool's directory (instead of the movies).
|
#94
|
|||
|
|||
Path to jar file; C:\metadata\MetadataTool.jar
This command; C:\Users|FamilyRm> java -jar C:\metadata\MetadataTool.jar --help returns; Exception in thread "main" java.lang.NullPointerException at MetadataTool.main(MetadataTool.java:75) Note, I am on the SageClient Vista computer with Sage running. |
#95
|
|||
|
|||
I have not run this on a Vista box, only linux. The application is independent of SageTV. Open a command prompt and try:
Code:
c: cd C:\metadata\ java -jar C:\metadata\MetadataTool.jar --help
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#96
|
|||
|
|||
Quote:
Made a .bat file with this entry; java -jar C:\Metadata\MetadataTool.jar --help Double click the .bat file And a metadataupdater.log file gets created with the following entries; 0 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: EXTRAARGS 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: recurse 3 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: auto 3 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: force 3 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: forceThumbnail 3 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: reindex 3 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: displaySize 4 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: listMovies 4 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: listProviders 4 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: update 4 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: agressive 4 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: offline 4 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: provider 5 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: stack |
#97
|
|||
|
|||
Made a .bat file with this entry;
java -jar C:\Metadata\MetadataTool.jar --listMovies Double click the .bat file And a metadataupdater.log file gets created with the following entries; 0 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: EXTRAARGS 1 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: recurse 1 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: auto 1 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: force 1 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: forceThumbnail 1 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: reindex 1 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: displaySize 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: listProviders 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: update 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: agressive 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: offline 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: provider 2 WARN [main] org.jdna.cmdline.CommandLine - Missing potential arg: stack 3 DEBUG [main] org.jdna.metadataupdater.MetadataUpdater - Attempting to load metadataupdater from default locations.... 4 WARN [main] org.jdna.metadataupdater.MetadataUpdater - No Configuration specified, will use the default resoure based configurmation 5 INFO [main] org.jdna.configuration.ConfigurationManager - Setting Configuration Provider: org.jdna.configuration.PropertiesConfigurationProvider 17 INFO [main] org.jdna.metadataupdater.MetadataUpdater - Using Screen Engine: org.jdna.metadataupdater.ConsoleScreen 21 INFO [main] org.jdna.media.metadata.VideoMetaDataFinder - Adding MetaDataProvider: IMDB Provider (Stuckless) 28 INFO [main] org.jdna.media.metadata.VideoMetaDataFinder - Adding MetaDataProvider: IMDB Provider (Nielm) 29 INFO [main] org.jdna.media.metadata.VideoMetaDataFinder - Adding MetaDataProvider: DVD Profiler Provider using remote Url (Stuckless) 30 INFO [main] org.jdna.media.metadata.VideoMetaDataFinder - Adding MetaDataProvider: DVD Profiler Provider using local xml and images (Stuckless) 30 INFO [main] org.jdna.metadataupdater.MetadataUpdater - Using Persistence Engine: org.jdna.media.metadata.impl.sage.SageVideoMetaDataPersistence 30 INFO [main] org.jdna.metadataupdater.MetadataUpdater - Version: 1.4 |
#98
|
|||
|
|||
Commandline bat like this;
java -jar C:\Metadata\MetadataTool.jar --listMovies R:\Recordings\ Returns list of all recordings. My record directory was "R:\Recorded TV" but Metadataupdater.log kept saying "R:\Recorded" is nonexistant. So I dropped the space and "TV", then renamed the directory simply "Recordings". Progress !!!! "--auto" appears to be checking each movie.... I just added all the commands to the bat file with # "Command" and change the commands as I need them. Working great, very very fast. Thank you so much! Last edited by jerryt; 08-01-2008 at 01:13 PM. |
#99
|
|||
|
|||
Thats all I did was create a bunch of *.cmd files for each folder location/drive. and run then one at a time with that genre option turn off so I don't get ten thousand groups.
Works |
#100
|
|||
|
|||
I put the all the commands in one .bat file (4 directories over 3 drives). So all I have to do is run one command.
One thing really nice about this tool is it does not "re-run" movies it has already looked-up. So updates take seconds. (assuming you don't have --force). I said it before and I will say it again. This tool saved me a bunch of heartache and time. |
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 |