|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Oh, the movies in question are .ISO files from my dvd collection. After a dvd gets linked I rename it to something else (ie the movie name and year) and Sagetv picks it up on the next manual scan. If I manually use the imdb search via the sagetv application it works all the time, however the imdb search option doesn't allow me to save the information if I manually specify the title for the movie so I need something a little more robust. BMT is perfect for this, other than the cross-link file problem. Once I use BMT, if I dont restart the server in between edits, two successive edits create a link. It is link the information isn't being properly cleared out between edits and it is reusing an id from the last movie or something.
|
#22
|
||||
|
||||
Quote:
But, if this is a case where you are saving the metadata and it gets stored incorrectly, but does not affect other media items, then it's probably a bmt issue. BMT does use a new set of objects for each search, and they are never re-used.
__________________
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 |
#23
|
|||
|
|||
For me, I'm seeing newly scanned items turning all into the same Caprica TV episode across multiple new items. Example, I'm transcoding a movie now and in the video conversion area it says that I'm transcoding Caprica instead. Box art seems fine but the title, description and actors are starting to become a mix of a different movie and Caprica.
So, in my case, it's just getting worse as new imports are coming in. I'm considering removing BMT to stop corrupting the database. Is there anything I can do to sort this out? |
#24
|
||||
|
||||
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 |
#25
|
|||
|
|||
Quote:
I did notice that the properties files looked ok so I wasn't sure if the bad metadata was being stored in the Wiz.bin or maybe the files themselves? The other weird thing was that the metadata imported was all mixed up, i.e. The images from the correct file, the description and plot from Caprica, the actors from There Will Be Blood! All files that I had touched recently though through BMT Web UI. |
#26
|
||||
|
||||
Quote:
Something to keep in mind is that IF you have a .properties with a media item, then bmt should not try to update the metadata for that item, since by default bmt will not overwrite metadata for existing items. If you are updating from the web ui, then bmt does not touch the .properties, but rather it will write directly to the wiz.bin using the sage apis. Actually bmt doesn't directly write to .properties unless you are running in a command line mode.
__________________
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 |
#27
|
|||
|
|||
Quote:
Then last night I started to transcode a video file already imported and when I went into the File Conversion screen to check on the status, it said that it was transcoding Caprica even though the file was a BD rip of another movie! I guess the temporary file that was being created ended up picking up the metadata that it stuck within Sage or BMT. Not sure which one would do this. Here's the thing, I'm pretty sure that the Properties files created look OK so I'm thinking that whatever is being posted to Wiz.bin is incorrect. |
#28
|
|||
|
|||
Well, there definitely cross-linked. I can update any one of the incorrect media files which then changes about 3 other items to the corrected entry of the first item. I also noticed that these items don't have properties files so I guess they are all cross linked in wiz.bin.
I reinstalled BMT but I don't know if any new items will get cross-linked. Sage issue? |
#29
|
|||
|
|||
Quote:
|
#30
|
||||
|
||||
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 |
#31
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#32
|
|||
|
|||
On a whim I tried to do a fresh install on my server and reimport all my movies using the My Movies Properties Files. New wiz.bin importing from the My Movies Properties files. As soon as I tried to update the files in BMT I started getting the cross linking again.
Next I removed the import directories and waited for awhile for things to remove themselves from the wiz.bin. I used the My Movies clean up tool to remove all the properties files (originally generated from My Movies Colleciton Manager) from all the import folders. Added back the import folders and waited for the refresh. I am now in BMT updating metadata without the cross linking. I don't know why but it seems that Sagetv importing the My Movies generated properties files might be part of the problem, at least for me. I have done about 20 files now and haven't had a problem. I hope this isn't just a fluke... Jeremy |
#33
|
||||
|
||||
As mentioned, it was probably that the .properties files were sharing some ID numbers or something, screwing up the database. They were most likely generated in previous version, before the fix. ALL that bad data has to be purged to get rid of the problem.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#34
|
|||
|
|||
The issue affecting some people might be related to .properties files, but it definitely is not the case for me. Let me give you a concrete example of exactly what I am doing and what is happening.
1. I am running the latest beta release (7.0.14.236), and I remove all imported videos from sagetv, completely remove ALL .properties files, and restart sagetv. 2. The Wiz.bin file is now 565 KB, which presumably is the configuration data plus the metadata from the few songs/pictures that I have. 3. I import my movies that are stored on my NAS in the directory structure: Media/HD Movies/NAME_HERE/NAME_HERE.mkv and Media/SD Movies/NAME_HERE/NAME_HERE.ISO 4. I wait until sagetv is done importing the files and I have 174 HD movies and 74 SD movies. The Wiz.bin file is now 35,979 KB. 5. Using Metadata Tools WebUI, I click browse, DVD and it displays all my SD movies. 6. Blade II is being seen as Blade since the file name is Blade2.ISO, so I fix it and everything seems to update properly, I can click on Blade and Blade II and see different descriptions. 7. I click on my Futurama movie and attempt to fix it since BMT thought it was "Four Christmasas" somehow. After I click Save, Blade II's title is renamed to "Futurama: Into the Wild Green Yonder" and it appears right before the real "Futurama: Into the Wild Green Yonder" movie. When I click on the first "Futurama: Into the Wild Green Yonder" movie (Blade II), the information for Blade II is displayed correctly (including the Blade II title). 8. The issue is that the title is being recording in sagetv as "Futurama: Into the Wild Green Yonder" instead of Blade II, so the description is completely different when I try to view the movie data in the sagetv app. I have included a picture that should clearly show the results of this problem. This problem continues to happen every single time I edit more than 1 movie. Once again, I do not have a single .properties file in either Blade 2 or futurama's directory and the files were completely removed and readded. Any thoughts? |
#35
|
||||
|
||||
I just looked at a Wiz.bin from someone with this issue and I'm fairly sure this is a bug in BMT. The problem was that the 'ExternalID' for the Show object linked to all the items was blank. So all of the cross-linked items were sharing the same Show object. It's probably a bug in BMT where the external ID is not getting generated properly.
I'm going to make a change for the next version so that it won't allow the external ID for a Show object to be set to the empty string....not that it's a real fix; but it may help prevent this from occurring.
__________________
Jeffrey Kardatzke Founder of SageTV |
#36
|
||||
|
||||
Quote:
I'll add another check on writes to ensure that externalid is never null/empty, now that I know that having a null value causes an issue for sage. It makes sense that you add the null/empty check on your side as well, since bmt is not the only metadata tool that is using the new metadata apis, so it's safe to assume that other providers may incorrectly set that field as well. Thanks for looking into this.
__________________
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 |
#37
|
||||
|
||||
thats why i was asking what peoples showid/externalid's were for the problem files... with no responses...
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#38
|
||||
|
||||
Quote:
I have the issue fixed now, and I'm just running some tests. So hopefully I get a build out tonight or tomorrow. My apologies to everyone that screwed up their wiz.bin... thankfully, you made backups
__________________
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 |
#39
|
|||
|
|||
Quote:
Regardless, the good news is that ExternalId is definitely the problem (at least on my end). Whenever I would do a manual update, it would clear out the field and cause problems when it was saved. If I manually put the old ExternalId back into the field it will save properly and everything will work as expected. Thanks for finding the problem and hopefully the fix whenever you can! I didn't make any backups of my Wiz.bin file, but it is beta software so bugs are to be expected :P |
#40
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Metadata Tools 4.0 Beta Thread (aka BMT 4.0) | stuckless | Batch Metadata Tools | 885 | 09-02-2013 08:03 AM |
BMT: Read this if you don't see any BMT topics | Opus4 | SageTV Customizations | 0 | 04-25-2010 09:17 PM |
Is there a way of doing Metadata WITHOUT BMT | plnewton | SageTV Customizations | 12 | 08-17-2009 06:53 PM |
BMT Metadata Provider List? | cowboyway | SageMC Custom Interface | 1 | 08-12-2009 05:54 AM |
Multiple Sage Servers and cross-connecting | Orthogonite | General Discussion | 3 | 03-12-2004 11:49 AM |