|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1561
|
|||
|
|||
OK... I am either losing my mind or the instructions for installing BMT have changed a LOT...
I cannot get BMT (Or accessing BMT via JETTY) to work at all... I have had it installed once already but I reinstalled WHS and SageTV and now I cannot get it to install. The last time I was down this road, there seemed to be longer instructions than what there is now... |
#1562
|
||||
|
||||
3.0.2 report
Okay, so I got 3.0.2 installed, and fired it up. It's faring a lot better than 3.0- definitely, but I'm still having some problems. I fired up the web UI, kicked off some scanning, it picked up most stuff reasonably. One notable exception is that all my Battlestar Galactica recordings got automatically tied to the 70's era Battlestar Galactica, and lost all their Episode info.
Next thing I noticed, was a lack of a lot of significant metadata bits- year, director, actors, MPAA rating, etc. I did a "just scan" run through movies, picked Army of Darkness, and asked it to find the Metadata. After finding the metadata, all those missing items were filled- when I looked at "Cast Members", Year, MPAA Rating... all there. I then hit the "save" button, and once it finished saving, the fields which weren't there before finding metadata empty out again. More on this later. Lastly, processing files seems to take an inordinate amount of time. Maybe 15 seconds to process an item. I let BMT do a full reindex, and it took several hours to complete. I'm not sure why it's taking so long; I didn't expect it to be re-downloading fanart, and the logs didn't look like it was doing that. I did see an error in the log indicating it was getting a Java NullPointerException instantiating the metadata parser plugin. I don't know if that's harmless or not. Below is a clipping from my logfile. Quote:
... Okay, after fiddling around a while, I have verified that only the metadata fields listed under "custom_metadata_properties" are available. They're all available through GetMediaFileMetadata(). I tried using phoenix_api_GetMetaDataValue()- passing it exactly the same Airing object and "UserRating" as I passed to the GetMediaFileMetadata call, and got "null" instead of the metadata returned via the sage API. Looking at things, I'm still a bit nervous about adding additional fields to custom_metadata_properties. ... Okay- I think I've reached the end of the rope with BMT 3.0.2. In the config, under Automatic Plugin, I had "Overwrite Metadata" and "Overwrite Fanart" enabled. I dropped down to the most recent Sage default STV, and kicked off a full re-index. What I found was, it would successfully go through all videos *except* DVDs (DVDs are the vast majority of my collection). It would get to the first DVD it scanned, import full information for it, and then bomb out the LibraryImport thread with an exception. Then I enabled "Miissing Media Items Workaround", and re-attempted. After that change, it would successfully process all my DVDs, but without pulling in any actors, years, etc. I think that's as far as I can take this until Sean gets back and pokes around. I also found a major omission in the metadata downloaded by the scraper- There's no "Writer" info in the metadata. I'd expect this to go into the "PeopleInShow" metadata the same way "Director" does. No idea if EPs scraper gets this or not, but it's pretty important. Any chance we can see this go in? Cheers Ikarius
__________________
SageTV 6.6.2, SageMC+CenterSage Theme Server: Intel Core2 Q6600, 8gb memory, 3x 1tb WD EACS drives, software RAID5 2tb capacity, 4gb Flash boot drive, Ubuntu 8.0.4 Server edition Capture: 1x HD-PVR -> Motorola DTC6200 Clients: 1x STX-HD100 1x STX-HD200, Windows & OSX Clients Last edited by Ikarius; 08-23-2009 at 02:17 PM. |
#1563
|
||||
|
||||
What sageTV properties settings to look for when BMT automatic doesnt start
Hi Guys,
I am very happy to say everything is working for me with BMT 3.0.2 and Jetty 1.6. On Demand feature works like a charm. However, as some of you may know, I have never been able to get the automatic feature to work; even on BMT 2.x. I dont think the problem is with Java, Windows, or issues with wrong/missing/duplicate/mismatched JARs; as, I have never had issues with any other sageTV plugin, sageTV itself, or java apps (outside of sageTV). Also, in previous versions of BMT (where On Demand worked and Automatic didnt), when I enabled logging, BMT automatic didnt have any errors; because it never started. I also wasnt getting errors for On Demand; because it was working correctly. It could be as simple as a sageTV.properties / sageTVclient.properties missing or changed from the default value (the function/feature necessary to tell BMT automatic to process a new media file that was just added to sageTV recordings. Could someone please tell me what sageTV properties settings are definitely needed to initiate automatic fanart when a file is added? Also, now that BMT/sageTV has better logging features since the last time I tried to get this to work; maybe someone can tell me exactly what logging settings to enable (and what/where to look... and in which log file). Thanks, Michael
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#1564
|
|||
|
|||
Quote:
You are correct that the custom_metadata_properties property item controls which "extra" property items are available to the user (regardless of what is in the .properties file. Here is what my line looks like (and i believe is what stuckless recommends): Code:
custom_metadata_properties=MediaProviderDataID;MediaTitle;MediaType;OriginalAirDate;EpisodeTitle;EpisodeNumber;SeasonNumber;DiscNumber;UserRating however, what i do:
RE - phoenix_api_GetMetaDataValue vs GetMediaFileMetadata - I am not sure of the difference between these calls but i believe the phoenix_api_GetMetaDataValue is not intended for looking up metadata inside the Sage DB. GetMediaFileMetadata is the correct call.
__________________
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 |
#1565
|
|||
|
|||
Quote:
GetMetaDataValue = Given an item, return a piece of metadata by name. An item can be a search result or Map of properties GetMediaFileMetaData = Returns a string for the corresponding metadata property in the MediaFile's format. These are set during format detection/import. Only names set in the property "custom_metadata_properties" (which is a semicolon/comma delimited list) will be available. those are straight from the phoenix api if you don't understand above I can explain further. |
#1566
|
|||
|
|||
Automatic Cleanup of orphan .properties files
I have noticed over the past several days that when metadata is imported for my videos (movies, tv series, etc...) and I subsequently DELETE this video once I am done with it, the .properties file remains...
Has anyone else noticed this? Does BMT have an auto cleanup of orphaned .properties files, or am I just looking at the directory too soon after I delete it? BTW - I am deleting these files as I watch them through the SageMC interface... I don't always want to keep ALL of my videos... Anyone? Thanks!
__________________
Gregg |
#1567
|
|||
|
|||
I use dirmon2 to clean up the old files.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1568
|
||||
|
||||
Halleluiah! AUTOMATIC PLUGIN SUCCESS!!!!!!!!!!!!!!!!!!!!!!!!
For those of you interested in knowing the issue with BMT.
For whatever reason, defining the Central Fanart folder in SageMC Options/Extras will correctly work for On Demand (putting images in the central fanart folder). However, the automatic plugin will not use this setting at all; and download fanart without any folders into the same folder as the new media that was just added. Even when I would define the central fanart folder in the web interface using early 3.0 BMT betas, it would still behave the same way. EVEN, when manually adding the folder in my sageTV properties file. Whatever Sean did in BMT 3.0 final using the web interface; when I set the central fanart folder for Phoenix, fanarts get downloaded every time a new recording completes in sageTV; and dynamically updates my background! So, are there two separate Central fanart folder settings that need to be defined? If so, where are they? If there is only one; it looks like the only way for me to update that setting for automatic to work is through the web interface of BMT 3.x. I am finally part of the club!! tmiranda (and others who had a problem with automatic), I hope this will fix it for you!
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#1569
|
|||
|
|||
I just put 3.0.2 into full use. It has fixed all of my issues. No more crashing of the service and season/episode info is all there.
|
#1570
|
|||
|
|||
Thanks... Checked it out... looks like exactly what I need.
__________________
Gregg |
#1571
|
|||
|
|||
Library Scan No Longer Working
OK new problem, folks... actually, it's been happening for a few days now and I can't figure it out nor find the answer. I am not sure if it is a BMT issue, or a SageMC issue, so I'm posting here since I am using BMT.
When I choose the scan library functions, be it from the SageMC Setup screen on the client/server, on a placeshifter client, from the Sage MC WebUI or from the BMT WebUI, the system tells me that it is kicking off a scan... it will run for xx minutes and "complete". However, when I go back into my folders in My Video, some new files may show up, but old files that I have deleted are still there, and files that I have moved are still showing in their old spot. I moved my PCs around a couple of weeks ago, and everything has been working great - it almost seems like it all broke when I updated to BMT 3.0 - I don't think I had any problems with the beta. Is there maybe a set of log files that are too big now and I need to change a setting? I have MORE than enough drive space (10s of GBs).... anyone have any ideas what will help? Let me know if anyone needs to see any log files, and where to dig them up. My install of Sage on this machine is less than a month old, and like I mentioned above - everything appeared to be working great until about a week ago (maybe less). Thanks folks! PS - I have not tried in the past day (nothing new to add...), but I think the FanArt is still actually downloading for my new stuff...
__________________
Gregg Last edited by can3gxw; 08-25-2009 at 03:39 AM. |
#1572
|
||||
|
||||
mkanet - What exactly did you do to get it working? Sorry, but your post is unclear to me. I think you are saying the issue was solved by installing 3.0.2 and setting the central fanart folder in the web interface?
__________________
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. |
#1573
|
||||
|
||||
Hi tmianda, yeah, now that I look at what I wrote, I didnt make much sense. Yes, that's exactly what I did.
After I set the fanart folder in sageMC; I went into the web interface under, Configure-Metadata Tools/Central Fanart Folder... I realized that that section was completely blank; so, I selected the same folder I selected in sageMC and hit the Save button. I got out of the interface, restarted sageTV/sageTVservice. Then went back into the webinterface under that section, the entry was there. Be very careful you verify that the correct path is saved (you can check on the main BMT status webpage). The first time I selected the path, it somehow had an extra dot somewhere in the path. There are actually several people who have this issue; as I'm getting PM's from other people about this. Hopefully, this is the fix for the problem.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#1574
|
||||
|
||||
Thanks. I'm still running the 3.0 beta because it looked as if people were having difficulties with the 3.0 final and stuckless is away visiting Mickey Mouse. Sean is vacationing only 30 minutes from where I live so if I have trouble with the upgrade I'll just go and track him down!
__________________
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. |
#1575
|
||||
|
||||
Yeah, I'm sure he would love that Anyway, me me know if this finally fixes it for you. It worked for me one person already. Good luck!
Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#1576
|
|||
|
|||
Quote:
1.) Shut down sage and sage service 2.) Edit properties file and set BMT/Plugin = False 3.) Start up Sage in the default STV 4.) Do a library scan 5.) Shut down sage, sage service 6.) edit properties file and enable BMT/Plugin 7.) Start up sage like normal - should be all fixed now. Let me know how it goes. |
#1577
|
|||
|
|||
Thanks for the info, Peter... FWIW - I am already running 3.0.2, but I WAS running 3.0, so perhaps that was the initial cause.
I'll try it out tonight and post my results. Thanks!
__________________
Gregg |
#1578
|
||||
|
||||
dang.
I had all the 3.0 betas working great after a new sage install. upgraded to final and now i get no updates to metadata, and sage cant see the files unless i manually change the properties to bmt enabled=false and redo it. This only happens for non sagetv recorded files. I tried regressing back to beta 9 (last one that worked) but now i get errors from the web ui when i try to scan. Any ideas?
__________________
"I Love it when a plan comes together" |
#1579
|
||||
|
||||
In case you havent checked, can you make sure you only have the JAR files from the latest BMT 3.x and no duplicates/mismatched versions of the same file?
-Michael Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#1580
|
||||
|
||||
I just 'found' a box tick that says 'tick here if you are missing files'.
Guess what? Ticked it, and stuff showed up. typical. always happens just after you post. Whatever this workaround does, it worked.
__________________
"I Love it when a plan comes together" |
Currently Active Users Viewing This Thread: 11 (0 members and 11 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 |