|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#621
|
|||
|
|||
stuckless, great import... overall I like it very much. It may be in this thread somewhere already but I can't seem to find it. How do I force sage to update its metadata (from existing .properties files created previously by metadatatool CLI). I also can't get sage to see some .properties files that exist... others have outdated metadata I want updated. I am using dvd profiler to provide the metadata and it appears that the .properties files are all being created properly. I just can't seem to get sage to see them. I tried adding the --refreshsage option but got an error that i needed to specify the sage api (i am sure im missing something it was kind of late when i tried that...). I also tried rescanning the import directories; also removing the import directory, and then immediately readdding it and rescanning. I did not try remove, rescan, add, rescan (maybe that's what I'm missing).
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#622
|
||||
|
||||
razrsharpe, I assume since you are using DVD Profiler, then your movies are actually dvd folders. I don't have a lot of dvd folders personally, but the way it generally works, is that when the tool runs, it updates the timestamp on the DVD forcing sage to refresh that media item on it's next refresh cycle. Again that's how it "should" work, but with the 2.x release, there have been so many changes, that it's likely something is broken. It's my intention to spend some time this weekend working testing a bunch of issues that have been reported, and try to get out a new build.
Something that you can try.... if you have the "automatic" plugin enabled, try disabling the plugin (requires a server restart). Then rescan the collection from the command line, and then tell sage to "refresh" it's media. That's the basics of what needs to happen. If it doesn't work, maybe you could send me your log files as well (sagetv_0.txt and maillog.log)
__________________
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 |
#623
|
|||
|
|||
I'm having the same problem.
After hours of trying all combination/options (just like razrsharpe) - the .properties files were produced but nothing was being picked up in the video library regardless. FYI - my folders consist of standard DVD folders (with video_ts etc), Blu-ray folders (which contain only a .m2ts), Blu-ray folders (which contain only a .iso) and Blu-ray folders (containing the BDMV folder structure). None of them are working. I'd like to try the fanart features as well, but seems risky if I cant even get basic DVD info/metadata to work (works fine without using the plug-in). Can you please investigate fix? I'm sure I'm missing out on some great stuff here. |
#624
|
||||
|
||||
ok.... i'll dedicate some time this weekend to testing the dvd/bluray issues and the plugin.
__________________
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 |
#625
|
|||
|
|||
Yes my movies are all folder structure (Standard DVD: MOVIE NAME\VIDEO_TS, blu-ray: MOVIE NAME\BDMV, and blu-ray: MOVIE NAME\movie name.m2ts)
When you say the CLI updates the timestamp is that the timestamp of the folder, the VIDEO_TS/BDMV folder, the files inside those folders, something in the sage database, or something else? It does look like the folder is getting its modified date timestamp updated. I will confirm this evening when I am home and can run some more extensive tests. I do have the automatic plugin installed i will try disabling that and refreshing sage (i assume you mean the right click in the video screen and "rescan import folders" or is the process something more involved? What does the --refreshsage option do? and how do i link it to the sage api? FYI the fanart features are all working great. I have only tried this using the sage plugin. I want to try to get it working from the CLI too. Hopefully I can get to that tonight as well. Thanks again for all the fanart/metadata work its a great addition to the sage experience
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#626
|
||||
|
||||
Quote:
Quote:
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 |
#627
|
|||
|
|||
Quote:
I did create some .properties files all from within sage using the plugin that did update the fanart/metadata for some bluray titles. Then I decided i wanted to use dvd profiler for the description, etc because i like the descriptions better than the moviedb ones and decided i would try to make the dvd profiler import work, that's when i ran into issues. Quote:
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#628
|
|||
|
|||
According to this post, it is the .properties file's timestamp that needs to be updated, NOT the folder timestamp.
http://forums.sagetv.com/forums/showthread.php?t=26374 Quote:
And if it is a DVD: Quote:
Questions: 1. How do you install the SageTV remote API's to enable the --refreshoption (please provide instructions) 2. For SageMC users shouldnt you be generating a ".my" file instead of the ".properties" file? Last edited by sflamm; 04-17-2009 at 09:21 PM. |
#629
|
||||
|
||||
Quote:
Media File needs it's timestamp updated if the properties change. I think that the issue is.... if DVDs are not be recognized as being changed, then it's most like because BMT considers the movie folder to be the "Media File", while sage considers the "VIDEO_TS" or "BDMV" folder to the media file. So, in the next release, i'm updating the timestamp on the child folders as well. 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 |
#630
|
|||
|
|||
ok so i think i made some progress getting sage to read the .properties files. I have only been working on DVD folders for this (no bluray).
When creating the fanart folders it seems to only remove the first illegal character in a title (not the 2nd, 3rd, etc) for the folder name. Creating the .properties files do not have this problem. For example "Waiting..." should be in a folder "Waiting" but the cli throws an exception. Contrast that with "W." which ends up in a folder "W". The same thing is true with titles with more than 1 ":", they throw and exception. On a couple movies (less than 10 out of 350) i got some weird image corruption on the poster that was copied from dvd profiler (see the attached jpgs). I would be surprised if it was caused by the CLI but want to see if anyone else has seen this.
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#631
|
|||
|
|||
Quote:
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#632
|
|||
|
|||
I think I'm finally getting the hang of it and I must say I REALLY like this tool. Thanks a bunch
I have a small feature request for the CLI and dvd profiler. If you have both the dvd and bluray of the same movie (same title) you can not distinguish between them in the search options. It would be awesome if the search choices included the media type (dvd, bluray, hddvd)... i know its a field in the collection.xml database so theoretically it shouldn't be that hard (of course i could be way off base too). So the search choices would be something like Movie [year, media_type] or some such One more feature request/enhancement. When matching against movies with remakes (both the original and remake are in the collection) it seems to always choose the first one. For example my folders (media) are "MOVIE_NAME RELEASE_YEAR" for movies with remakes. For flight of the pheonix it matched both the original and the remake with the metadata from the original. It's not such a huge deal because i just made a short batch file to that always prompts your for a selection and i can drag and drop the folder onto it (via right click send to) but it would be awesome to either auto figure out which ones it's supposed to be or not auto match it and prompt the user. Again thanks for the great tool, I really like it
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#633
|
|||
|
|||
razrsharpe: are you running the tool manually or are you using the plugin? (last I checked the plugin was still problematic)
I assume once the plugin has been debugged that would be the easiest method ... just dump a blu-ray folder in the directory and it should take care of the rest, yes? |
#634
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#635
|
|||
|
|||
That's an interesting point. From my experience with the tool it seemed that you can only specify an ordered list of the providers.
Perhaps it hasnt been considered that the providers themselves should be demarcated to provide a certain type of information only -- that way the tool could follow the hierachy to collect all the right information. i.e. providerlist = dvdprofiler (metadata provider), moviedb (metadata & fanart provider) then if the tool was run, it would search for the title in order, find that dvdprofiler had the meta data, but was not a fanart provider. then continue down the list and find that moviedb is a fanart provider and grab the fanart from it instead. it would continue down the list until all the required information was found or unavailable. seems like this would fit into the current implementation model they have and provide the right kind of functionality we need. thoughts? |
#636
|
||||
|
||||
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 |
#637
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#638
|
|||
|
|||
Quote:
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#639
|
||||
|
||||
I was just rescanning the thread as you pointed this out... I'm adding a bug for it now, so it doesn't get lost. Thanks for pointing it out... I usually try to acknowledge a request or bug, and if I don't there's a good chance that I didn't notice it. No harm is pointing it out again
__________________
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 |
#640
|
|||
|
|||
stuckless:
Did you see my idea/suggestion on allowing providers to have their capabilities demarcated and to use them in order to return all the appropriate information? |
Currently Active Users Viewing This Thread: 14 (0 members and 14 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 |