|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#161
|
||||
|
||||
Just wanted to give a quick update...
- I had to take a few days away from bmt (was getting burned out between this, and some other stuff). But I have noticed the same issue, that others have reported, in that since b15, the automatic plugin is not scanning media. I especially noticed this this weekend, when I added 4 new movies to my collection, and none of them scanned. I'll try to resolve this issue later this week and post up a new build. (it looks like my files were not accepted by the filter, which is what @peterreader noted above) - MeInMaui suggested that I add a Wiz.bin backup, so I've added that. You can now easily backup the wiz.bin from th webui. (most people probably do this in some form already, using some other means) Many thanks to everyone that has been helping with this beta so far. And thanks to those that have used the new "Support" tool to create support zips... that's been handy. BTW, when you create the zip, you don't need to include anything other than the logs, unless I specifically ask for the imported files details. Adding the imported filenames makes for a large zip file
__________________
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 |
#162
|
|||
|
|||
Metadata for Newer TV Series
BMT Version: 4.0 Beta 15
SageTV Version: 6.6.2.218 SAGEMC Version: 6.3.9a Java Version: 1.6.0_17 Phoenix Version: 1.62 FanArt Folder Enabled - Local SageTV Automatic Scans: 1 hour Import New Videos: Yes Commandline Tool: no success On-Demand Plugin: Imported and Enabled Automatic Tool properties set in sage.properties I am trying to get BMT to work properly in supplying metadata for TVExplorer and, for the most part, it works OK. However, I have run into a problem that is driving me mad and it is related to TV series that are repeats of past series of the same name. Battlestar Galactica is one example that is giving me problems. It was televised in the 1970s and updated in the 2000s. I have the 2003+ series and the folder/file structure as follows: E:\Television\Battlestar Galactica\Season 01\Battlestar Galactica - s01e01 - 33.mkv (as an example). Whenever I do a scan in the webui, it always retrieves metadata from the 1970s series, even though it lists the correct file names as it scans. I have tried the following in the MediaTitles.xml file: <titles> <match> <regex>[\\/]Battlestar Galactica[\\/]</regex> <title>Battlestar Galactica</title> <year>2003</year> <metadata type="tv" name="tvdb">73545</metadata> </match> </titles> This did not effect the problem at all. There is precious little documentation for BMT and I can find nothing the forums related to this issue. Is there anything I can do to get the correct metadata for this, and other, repeated TV series? It is obviously something I do not know or am overlooking, but I would sure like some help with the proper procedure. Thanks in advance. |
#163
|
||||
|
||||
@newpath - my apologies for the lack of documentation... being a 1 man show, it tough to provide adequate support/documentation in addition developing the actual application
When you changed the mediatitles, did you restart sagetv server? Currently that file in only read on startup. I'll make a note to test the media titles again tonight... I know they have worked in the past, but something may be broken.
__________________
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 |
#164
|
|||
|
|||
Sean,
I reread my previous post and apologize for the negativity regarding the comment about documentation. I did not mean it to be critical, but rather to say that I could not find a solution to my problem. I very much appreciate your work with BMT and it's great software. Again, I am sorry. To update, the problem I described occurs if I do a scan on the Battlestar Galactica folder or on individual season folders. I can get the correct metadata if I do a scan of each individual episode because it pauses to let you select which series (1970s or 2000s) you would like to download. This is pretty time consuming, however. Let me know how your tests come out and thanks for your efforts. By the way, I did restart SageTV after modifying the MediaTitles.xml file. |
#165
|
||||
|
||||
This may be a dumb question, but I'm curious enough to ask anyways. Would it be possible to do something like the movie file naming convention, but for tv series, i.e. Battlestar Galactica (2003) - S##E##.avi ?
__________________
Throughout space there is energy. ... it is a mere question of time when men will succeed in attaching their machinery to the very wheelwork of nature. -Nikola Tesla |
#166
|
||||
|
||||
Hey Peter, it's not a dumb question, but I'm not sure I understand it Are you asking if the year, for a tv filename, could be parsed out of the filename? If, so, then yeah, I think that's possible... I don't currently do that, but it's a good idea. I added that ability for the movies, but not tv.. i guess that's more of an oversight on my part.
__________________
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 |
#167
|
||||
|
||||
Yeah, sorry. Spent so much time thinking about it (after all, I'm at work, what else have I got to do ) that I think half the question never made it to post. Dusting off the cobwebs in my head sometimes just reveals the spaghetti!
I was thinking about newpath's issue with Battlestar Galactica (I have files from this series as well); rather than using a MediaTitles.xml file to distinguish between the 70's series and the one from 2003, I figured it might be easier to use the file's title to make the distinction (or at least another option if the mediatitles.xml isn't working for a particular show for whatever reason). I was really more curious if the functionality was already there. I believe mediatitles.xml should handle the issue just as well (plus provides the ability to include other parameters than just the date if that becomes necessary - more flexibilty is always better, right?).
__________________
Throughout space there is energy. ... it is a mere question of time when men will succeed in attaching their machinery to the very wheelwork of nature. -Nikola Tesla |
#168
|
||||
|
||||
The mediatitles.xml file should allow you to force a particular match for a series. So, if you only care about the "new" Battlestar Galactica, you can force it to always use the new fanart.
However, the tricky part is what to do if you want to be able to present correct fan art for both the old and new Battlestar Galactica series. I don't think that anyone has come up with a way to fully address this issue. And of course, there seems to be a popular trend of remaking old TV series, so there are several other shows that have the same issue as B.S.G. There are three pieces to this puzzle. 1. First, when obtaining fanart from the internet or some other provider, the "Scraper" must determine which fan art to grab. 2. The Scraper must have a way to store both the old (1970's episodes) and the new (2000's episodes) fan art even though both series have the same name. 3. There must be a mechanism for the STV to retrieve the correct fan art so it can be displayed. I think it should be possible to do, but it would probably take a fair amount of effort. I think it would have to rely on decent metadata from the EPG. Assuming the Original Air Date was correct, it should in theory be possible to set up a rule in the metadata.xml file (or a similar file) that compares that date to some pre-defined date range (eg: if original air date < Jan 1, 1985 use "BSG-old"; if original air date > Jan 1, 1985 use "BSG-new). This would take care of Sage Recordings. Imports would have to rely on the files or folders being labeled with a year. I don't know if this is a task that Stuckless is willing to take on, but it would be nice.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#169
|
||||
|
||||
beta 16
Here's beta 16
Fixes 1. Fixed Bug where automatic plugin was skipping files ALWAYS 2. Fixed Bug where skipped items were being consider "success" items 3. Fixed Year bug in imdb... will have better hits for years like (2009/I) 4. Fixed Bug in the Processor where when there was a year in the query, but a year match wasn't found in the list, then it return nothing, but it should have still returned a "good match" 5. Fixed Bug in how multi-volume titles were being processed (should increase hits for Movie cd1, Movie cd2, etc) 6. Added backup to the tools menu Basically this build adds better fuzzy logic support for title matching. I also found a number of bugs in the process. I did do some unit testing on the MediaTitles.xml and they do appear to be working in my environment, so no changes there. I added wiz.bin backup tool to the tools menu (thanks to MeInMaui for the suggestion). I'll do more with it later, but for now, you can use to to make a quick backup of your wiz.bin before doing a scan. I'm considering adding an autobackup feature, but I haven't gotten around to that yet. Good luck and thanks for testing.
__________________
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 Last edited by stuckless; 03-10-2010 at 09:00 PM. |
#170
|
||||
|
||||
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 |
#171
|
|||
|
|||
Sorry I took so long to get back, but I have been away.
Sean, I never got the MediaTitles.xml method to work. @petereader - I agree, not a dumb question and I had several file renaming options I was going to try and this was one of them. On your suggestion, I moved it to the top and did the following: Old Name: Battlestar Galactica-e01s01-33.mkv New Name: Battlestar Galactica (2003)-e01s01-33.mkv I did this for all the BS mkvs and even used 2003 for all seasons just to see what would happen. Well, jump and shout and knock yourself out! It worked perfectly for all seasons. I did the same with The Prisoner, which was a remake of an earlier seires, by using (2009) in the file name and it worked as well. These are the only two TV series that I have that presents this particular problem and in the future I can account for it by including the year in the title name. However, it would be easier to use the MediaTitles.xml. I did not try it, but I wonder if using the title "Battlestar Galactica (2003)" in the xml file would have worked. Now that I have perfect metadata I am reticent to try that approach. Thanks for everyones' help. If I can be of assistance, let me know. |
#172
|
|||
|
|||
With beta16, I still get the following issues that I had in beta10:
System Messages Failed to find metadata for: D:\Media\Movies\DVDs\9 (2009)\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml MY RESPONSE: THIS SHOWS UP AS 9 (2009/I) ON IMDB Failed to find metadata for: D:\Media\Movies\DVDs\Entourage Season 2 Disc 3\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml MY RESPONSE: TV SERIES SPANNING MULTIPLE CDS STILL NOT WORKING FOR ME Failed to find metadata for: D:\Media\Movies\DVDs\Entourage Season 2 Disc 2\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml Failed to find metadata for: D:\Media\Movies\DVDs\Entourage Season 2 Disc 1\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml Failed to find metadata for: D:\Media\Movies\DVDs\Entourage Season 1 Disc 2\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml Failed to find metadata for: D:\Media\Movies\DVDs\Entourage Season 1 Disc 1\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml Failed to find metadata for: D:\Media\Movies\DVDs\Tudors S01 D04\VIDEO_TS using provider tvdb Failed to find metadata for: D:\Media\Movies\DVDs\Tudors S01 D03\VIDEO_TS using provider tvdb Failed to find metadata for: D:\Media\Movies\DVDs\Tudors S01 D02\VIDEO_TS using provider tvdb Failed to find metadata for: D:\Media\Movies\DVDs\Tudors S01 D01\VIDEO_TS using provider tvdb
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#173
|
||||
|
||||
[QUOTE=LehighBri;412624] Failed to find metadata for: D:\Media\Movies\DVDs\9 (2009)\VIDEO_TS using provider imdb-2,themoviedb.org,imdb.xml
MY RESPONSE: THIS SHOWS UP AS 9 (2009/I) ON IMDB [quote] This'll be fixed in the next build. There was a bug in the similarity scorer where titles less than 2 chars would not be scored. 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 |
#174
|
||||
|
||||
Quote:
Quote:
Did you actually get this in for Beta16 or is this just something that was previously incorporated?
__________________
Throughout space there is energy. ... it is a mere question of time when men will succeed in attaching their machinery to the very wheelwork of nature. -Nikola Tesla |
#175
|
||||
|
||||
Not yet... I don't see this as being a huge effort (since I already do it for the movie scrapers). I'll see if I can get it into b17.
__________________
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 |
#176
|
||||
|
||||
I was just wondering how it seemed to work for newpath. I'm going to try it myself when I get home tonight.
__________________
Throughout space there is energy. ... it is a mere question of time when men will succeed in attaching their machinery to the very wheelwork of nature. -Nikola Tesla |
#177
|
||||
|
||||
This works well for newpath, because the tvdb entry is actually called, "Battlestar Galactica (2003)", which results in an exact match.
__________________
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 |
#178
|
||||
|
||||
Gotcha. So this may not work well for other shows until you update the scraper.
__________________
Throughout space there is energy. ... it is a mere question of time when men will succeed in attaching their machinery to the very wheelwork of nature. -Nikola Tesla |
#179
|
||||
|
||||
Quote:
Assuming you choose to stick with a single fanart folder for the entire series, once you append a year to the folder name it will no longer match the show title exactly. The Phoenix APIs will need a way to match the show to the fanart. Either you need to do some fuzzy logic to compare the original air date to the year label that you appended to the folder name, or you will need another piece of metadata stored somewhere that points to the fanart folder location. The problem with relying on a metadata pointer is that if you choose to store it in Wiz.bin as a custom metadata item, it will only be present on episodes that you specifically scan. Right now, I just have to scan one episode of a show and after that the fanart will be there for all future airings and episodes. The problem with the fuzzy logic approach is that the EPG data isn't always complete or 100% accurate, so original air date is not always set. Do you have another idea that I haven't thought of that would get around these problems?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#180
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Batch Metadata Tools new releases subscription thread | stuckless | Customization Announcements | 18 | 02-17-2010 09:27 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 |
Metadata Tools (Donations) | stuckless | SageTV Customizations | 4 | 06-26-2009 05:54 AM |