|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Quote:
I believe you need to: 1. AddMediaFile() This makes the MediaFile into an Object that Sage can understand. 2. AddAiring() This creates all of the airing information. 3. AddAiringDetailed() This connects the MediaFile to the Airing. If the MediaFile is already imported into the sage database as an "imported video" I think you need to remove it first. There is a really good post by neilm that explains it all, search for "AddMediaFile" in the Studio forums. Tom
__________________
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. |
#22
|
||||
|
||||
Yeah, I'm aware of that method of removing the old stuff, and making a new Show/Airing/MediaFile set... I thought Slugger was implying that there was a newer, simpler 'trivial' method to move imports to recordings in v7, and I was unable to find anything new.
__________________
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 |
#23
|
||||
|
||||
Quote:
for example a typical mediafile will have a MF##### id, so if you create a new id that starts wtih EP####, and then call SetMediaFileMetadata on the mediafile, with that new id, then it will be a "recording" Unfortunately, there is no easy way to change it back. ie, if you decide that you no longer want a video in the recordings area, then changing the external id has no effect. You need to remove the video, and then re-add it. I'll add support for chaning the external id in the new build of bmt web ui.
__________________
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 |
#24
|
||||
|
||||
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 |
#25
|
||||
|
||||
That's new in Sage7. In bmt 4.1+, it uses SetMediaFileMetadata to set all of the metadata. No more property files, and touching the mediafiles hack... or calling AddAiring/AddShow, etc. It's a lot easier
__________________
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 |
#26
|
||||
|
||||
Quote:
If you are using Sage7, then Sage7 introduced a new Plugin system that makes it much easier to install 3rd party addons. If you do have Sage7 installed and you want to take a look at bmt, you can install the Metadata Tools Web UI plugin, which will install all the other dependenices. Once it's installed, you can access the MetadataTools web ui, using http://yourserver:8080/bmt/. Unfortunately, I haven't even updated the wiki for 4.1 and Sage7 As for your mediafiles, the TV files should parse/update fine, but the movie format, where the title is the directory, is not directly supported. But, bmt uses a "scraper" system where new formats can be added, provided someone wants to take the time to create a Regex/Xml scraper file. I can try help if needed.
__________________
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
|
|||
|
|||
Ok, - I have Sage7 up and running, so ill move all my tv series to a folder which is not 'seen' by sage, just leaving the empty top levels in place.
Ill add the 4.2 build and start from there. Ill begin with TV series - if i drop a pile of these in one drop folder - eg the top level folder, or a folder not directly added to sage will bmt moe these into there correct homes? Are there some flags, settings, properties i should be working with as a default. consider this a green field.
__________________
Blog: www.damianflynn.com SageTV: v7.20 RC on Dell PE860, 8Gb RAM, Win7 x64; Recordings: 2Tb SATA. Collection: 12Tb DAS DVB Logic - DVBLink 3.1 Tuners sourcing 2 x TBS 6980 Dual DVB-S2 (Astra 28, Astra 19, Hotbird, Thor) serving Clients 3 x HD300, 2 x HD200, 1 x HD100 |
#28
|
|||
|
|||
Request -- allow overriding of preserve metadata on the Web UI page with the show info. Right now, I believe that I have to go to configuration, change the setting, reload the show, edit the info and save, then go back and re-enable preserve metadata. This would be much easier if there was a checkbox on the show's page that allowed a one-time override of the setting.
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#29
|
|||
|
|||
Ok,
So i started, but there is a lot of questions now This is the WIP - http://diginerve.blogspot.com/2010/0...-sagetv-7.html 1) Apparently I MUST have the file name formated correctly - is there any support for file renaming, after the parser figures the file name is partially correct, so to reformat the name correctly? 2) I dont see an ability for the tool to 'Move' the file to the correct folder, If i dump all the files in the same folder, eg a drop box, it would be pretty neat to have the parser fix the file name up and move it to the correctly formated folder name 3) I though .properties files are gone, or not needed - why are they been created. Can these be marked as Hidden on the file system if they are needed? 4) An error is generated in the system message to say 'Failed to get metadata' but it does not mention the file it was working on. 5) there is no progress indicator to show the stats of the process. all we get is a title message 'Sage it looking for new media' 6) the layout of the views is all messed up, many movies have no art showing, some have the art streched over the width of the page etc. refreshing the window just sends us back to the defalt view of the page, and returning to the view (eg videos) still has the same rendering issues (note the art is in the pheonix folder when manually checked)
__________________
Blog: www.damianflynn.com SageTV: v7.20 RC on Dell PE860, 8Gb RAM, Win7 x64; Recordings: 2Tb SATA. Collection: 12Tb DAS DVB Logic - DVBLink 3.1 Tuners sourcing 2 x TBS 6980 Dual DVB-S2 (Astra 28, Astra 19, Hotbird, Thor) serving Clients 3 x HD300, 2 x HD200, 1 x HD100 Last edited by damian.flynn; 06-28-2010 at 05:20 AM. |
#30
|
||||||
|
||||||
Quote:
For example, bmt can lookup shows like House-EpisodeTitle.avi, but you'll get better results if you use House-S##E##.avi, since looking up based on season and episode is more reliable. Also, if your filenames are like, "LieToMe" instead of "Lie to Me", then the latter will probably yield a better hit, since it's a cleaner title. For movies, the same is true. FindingNemo.avi might get a result, but "Finding Nemo.avi" will work for sure. Also, if you include the year in the title, then you will increase the odds of getting a better hit. For example, "King Kong (1933).avi" will provide a better hit than just "King Kong.avi". But you can have other words in your title that will get ignored, for example, "King Kong (1933) DVDRip.avi" will work as well, since I strip out certain keywords, like DVDRip. Quote:
Quote:
Quote:
Quote:
Quote:
The browser history is still being worked on. Since bmt is a javascript application handling refreshing/back button requires a programming effort. It's on my long list of items to work out in the web ui, but to be honest, dont' expect too much more on that front... too many projects, not enough time
__________________
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
|
|||
|
|||
How do I enable the checkbox to make it a sage recording? This is greyed-out.
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#32
|
||||
|
||||
Quote:
Keep in mind that 4.1 required a lot of core changes to make it better fit with sagetv7, and so not all features have made it back into the UI or the Core. I'll add features over time, especially, if enough people request it.
__________________
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 |
#33
|
|||
|
|||
Quote:
__________________
HDHomeRun x2 Cable Box via Hauppauge HD PVR and USB-UIRT 2 SageTV's HD300 Intel Core 2 Quad Q9650 @4025 MHz, 8G G.Skill Performance DFI Lanparty DK X48-T2RS Plus; SilverStone Decathlon DA1000 (died - back to an ancient enermax) eVGA 7900 GT KO RoHS -- Zalman VP900CU Cooling Synology NAS 22TB |
#34
|
||||
|
||||
I just tried this little gem and it works really well. Thanks Sean for pointing it out.
__________________
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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BMT: Read this if you don't see any BMT topics | Opus4 | SageTV Customizations | 0 | 04-25-2010 09:17 PM |
BMT question | Hunter69 | Batch Metadata Tools | 13 | 03-27-2010 10:37 PM |
Is there a way of doing Metadata WITHOUT BMT | plnewton | SageTV Customizations | 12 | 08-17-2009 06:53 PM |
Upgrading to v6, how to read showanalyzer files? | OttoNP | SageTV Customizations | 8 | 11-18-2006 04:41 PM |
forum posts not marked read when read? | xlr8shun | The SageTV Community | 2 | 05-04-2004 01:49 AM |