|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Fixing Show Title
I'm having lots of problems with BMT, probably because I don't fully understand the way it works. So, let's focus on one problem and maybe it will help me figure out the rest.
I have 78 episodes of Curious George. They are properly named (Curious.George.sXXeXX.mkv) in proper season folders. In BMT, the Show Title field for each show is "Curious George/Season X/Curious George" (where X is the season number) instead of "Curious George". This causes each season to show as a series in TVBrowser, instead of all being under "Curious George". I had a similar problem with '24', but hitting the Update Metadata button fixed it, no such luck with Curious George. All 78 episodes fail. I tried adding this to MediaTitles.xml file: Code:
<match> <regex>[\\/]Curious George[\\/]</regex> <title>Curious George (2006)</title> <year>2006</year> <metadata type="tv" name="tvdb">79429</metadata> </match> Here's some of the error messages from phoenix-metadata.log: Code:
2010-12-04 10:10:15,975 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e47.mkv; Curious George; 516188; No metadata for: DecoratedItem: [SageMediaFile [sageId=516188, sageObject=MediaFile[id=516188 A[516191,516189,"Curious George",0@1102.07:11,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:54 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, Actor=Frank Welker;Jeff Bennett;William H. Macy, Genre=Animation/Children, MediaProviderDataID=79429, Title=Curious George, MediaTitle=Curious George, EpisodeNumber=47, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e47.mkv, Seg0[Tue 11/2 7:11:24.800-Tue 11/2 7:23:19.000]]]] 2010-12-04 10:10:16,395 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e48.mkv; Curious George/Season 1/Curious George; 516192; No metadata for: DecoratedItem: [SageMediaFile [sageId=516192, sageObject=MediaFile[id=516192 A[516194,516193,"Curious George/Season 1/Curious George",0@1102.07:12,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:04 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, Actor=Frank Welker;Jeff Bennett;William H. Macy, Genre=Animation/Children, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=48, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e48.mkv, Seg0[Tue 11/2 7:12:27.650-Tue 11/2 7:23:32.000]]]] 2010-12-04 10:10:16,548 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e49.mkv; Curious George/Season 1/Curious George; 516195; No metadata for: DecoratedItem: [SageMediaFile [sageId=516195, sageObject=MediaFile[id=516195 A[516197,516196,"Curious George/Season 1/Curious George",0@1102.07:19,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:54 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=49, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e49.mkv, Seg0[Tue 11/2 7:19:08.370-Tue 11/2 7:31:03.000]]]] 2010-12-04 10:10:16,968 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e50.mkv; Curious George/Season 1/Curious George; 516198; No metadata for: DecoratedItem: [SageMediaFile [sageId=516198, sageObject=MediaFile[id=516198 A[516200,516199,"Curious George/Season 1/Curious George",0@1102.07:20,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:04 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=50, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e50.mkv, Seg0[Tue 11/2 7:20:12.320-Tue 11/2 7:31:17.000]]]] 2010-12-04 10:10:17,115 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e51.mkv; Curious George/Season 1/Curious George; 516201; No metadata for: DecoratedItem: [SageMediaFile [sageId=516201, sageObject=MediaFile[id=516201 A[516203,516202,"Curious George/Season 1/Curious George",0@1102.07:26,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:55 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=51, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e51.mkv, Seg0[Tue 11/2 7:26:16.030-Tue 11/2 7:38:12.000]]]] 2010-12-04 10:10:17,532 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e52.mkv; Curious George/Season 1/Curious George; 516204; No metadata for: DecoratedItem: [SageMediaFile [sageId=516204, sageObject=MediaFile[id=516204 A[516206,516205,"Curious George/Season 1/Curious George",0@1102.07:27,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:04 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=52, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e52.mkv, Seg0[Tue 11/2 7:27:21.480-Tue 11/2 7:38:26.000]]]] 2010-12-04 10:10:17,689 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e53.mkv; Curious George/Season 1/Curious George; 516207; No metadata for: DecoratedItem: [SageMediaFile [sageId=516207, sageObject=MediaFile[id=516207 A[516209,516208,"Curious George/Season 1/Curious George",0@1104.13:58,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:55 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=53, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e53.mkv, Seg0[Thu 11/4 13:58:55.750-Thu 11/4 14:10:51.000]]]] 2010-12-04 10:10:18,085 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e54.mkv; Curious George/Season 1/Curious George; 516210; No metadata for: DecoratedItem: [SageMediaFile [sageId=516210, sageObject=MediaFile[id=516210 A[516212,516211,"Curious George/Season 1/Curious George",0@1104.13:59,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:04 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=54, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e54.mkv, Seg0[Thu 11/4 13:59:59.500-Thu 11/4 14:11:04.000]]]] 2010-12-04 10:10:18,239 - ERROR; \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e55.mkv; Curious George/Season 1/Curious George; 516213; No metadata for: DecoratedItem: [SageMediaFile [sageId=516213, sageObject=MediaFile[id=516213 A[516215,516214,"Curious George/Season 1/Curious George",0@1104.13:55,11] mask=V host=htpc encodedBy= format=MATROSKA 0:11:54 384 kbps [#0 Video[H.264 29.97 fps 720x480 16:9 progressive]#1 Audio[AC3 48000 Hz 2 channels 384 kbps idx=1]{MediaType=TV, MediaProviderDataID=79429, MediaTitle=Curious George, EpisodeNumber=55, SeasonNumber=1, MediaProviderID=tvdb}] \\tower\disk2\TV\Curious George\Season 1\Curious.George.s01e55.mkv, Seg0[Thu 11/4 13:55:26.330-Thu 11/4 14:07:21.000]]]] |
#2
|
||||
|
||||
If they are properly named you don't have to seperate it by a season folder. If they were all in a Curious Geroge folder the title would probably be correct. And there are plugins to expose the season and episode numbers in the recordings list and actually sort it by season ans episode. So put them out there in certain folders is required.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#3
|
||||
|
||||
A few releases back, JREKiwi recommended that ALL non recordings contain the relative path of the media file in the Title field. This is consistent with how sagetv does it.
The problem, as I'm discovering lately, is that if you have TV shows that are NOT importing as recordings, then the Show title becomes the relative path of the show + the show's real title. So, in your case, it's "Curious George/Season X/" plus the show's actual title, "Curious George". This also causes grouping issues when you a mix of recorded on a non recorded files of the same show. I'm doing a release this weekend that will include a number of bug fixes, and a fix for this issue as well. The fix will be... 1. There is not a configuration option that can be enabled, IF people want the relative path in their Titles. I personally, do not, so the default option will be false, which means, that by default no more relative paths in titles. (JREKiwi can turn on the option to get relative paths in the title ) 2. There are 2 new 'batch' tools in the Tools menu. * Add Relative Path to Titles * Remove Relative Path from Titles I think they are self explanatory, but these batch operations will run on NON-RECORDINGS (ie, video files), and fix the titles accordingly. Look for a release sometime Sunday (probably later in the day).
__________________
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 |
#4
|
||||
|
||||
In looking at your issue again, I'm wondering if there is something else as well. Since it seems to failing after it has actually fetched the metadata.
I would try deleting your SAGETV_HOME/cache directory and try again from the 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 |
#5
|
|||
|
|||
gplasky,
I also use XBMC so that's why there is a season folder. I like that setup, so I don't really want to change it. I have a lot of other series setup the same way and I'm not having trouble with those, only Curious George. stuckless, I deleted the cache files and clicked Update Metadata with the same result. All 78 failed. I'll wait for the update and try again. Thanks! |
#6
|
||||
|
||||
Quote:
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#7
|
|||
|
|||
Got the update and it fixed my problem. Thanks for your help!
|
#8
|
||||
|
||||
Glad it worked
__________________
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 |
#9
|
|||
|
|||
Not saving show title
I have recorded a bunch of christmas related shows. I wanted to group them into the same folder. So, I cut and pasted the show title into episode, then entered Christmas into the show title field. The metadata saves properly when the recording is of type Movie. The Show Title field does NOT save when the recording is of Type TV.
Am I doing something wrong? (this technique did work in v6)
__________________
Intel quad core 2.7ghz, 4gb DDR2, nvidia 9500GT, 2 gigabit lans, 7Tb and counting Connected directly to a Panasonic TH-58PZ800U HDHR (on dedicated network) & HVR1800 OTA; Comcast STB tuned with firewire via HD-PVR HD-300, dang it, too late |
#10
|
||||
|
||||
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 |
#11
|
||||
|
||||
Quote:
Since that discussion however, I've been happy with the default way BMT does it's renaming for Videos. A few contributing factors to my change of heart were: Opus saying that SageTV would maybe/possibly/probably be looking at making the use of the Title and Episode fields consistent across TV and Videos. Fixes to the default sorting in the CVF plugin. So, my simple "rule" to BMT naming happiness. Use the CVF plugin if using the default BMT naming for videos and not importing as TV. John Last edited by JREkiwi; 12-09-2010 at 12:28 PM. |
#12
|
||||
|
||||
Quote:
But, the option is there now, in case we ever need 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 |
#13
|
||||
|
||||
Sean, with the changes you've done, does that mean you're going to reinstate using EpisodeTitle too?
That way it won't matter which UI plugin is used, the Title and Episode metadata will be available. John |
#14
|
||||
|
||||
Quote:
TV Shows (not recordings) Title=Series Name EpisideName=Episode Name Movies Title=Movie Title EpisodeName=Movie Title Recordings Title=Series Name EpisodeName=Episiode Name With Relative Paths enabled... TV Shows (not recordings) Title=RelativePath\Series Name EpisideName=Episode Name Movies Title=RelativePaht\Movie Title EpisodeName=Movie Title Recordings Title=Series Name EpisodeName=Episiode Name Does that answer your question?
__________________
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 |
#15
|
||||
|
||||
Stuckless, did this ever make it into a released build? I'm trying to do something similar (grouping all the Dr. Seuss TV shows under a Dr. Seuss "Title"), and the "episode" name never saves correctly. (I can change show titles though)
__________________
SageTV V7 (WHS), Diamond UI Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool Tuners: 4 (2x HDHR) Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter 2x Roku XD |
#16
|
||||
|
||||
I provide a fix for it back in december. I verified that I can sage both the title and episode for TV shows in my development environment. The current bmt release if 4.9.7 i think.
__________________
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 |
#17
|
||||
|
||||
Odd. I've been on 4.9.7 the whole time and am still having problems with it. If it's marked as a Sage Recording (checkbox) I can't unmark it (it will reset when saved). It also won't let me change the episode title (also resets it when saved), though I seem to have been able to work around by using the PullDown "Un-Import as Recording" option, and then setting the show's episode name.
__________________
SageTV V7 (WHS), Diamond UI Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool Tuners: 4 (2x HDHR) Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter 2x Roku XD |
#18
|
||||
|
||||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
API call to convert show title to file name? | Slugger | SageTV Studio | 5 | 06-03-2009 02:42 PM |
Clarify the title/artist bit eg. [DVD TITLE] / [MOVIE TITLE]? | bcjenkins | SageMC Custom Interface | 1 | 12-31-2008 11:58 AM |
Can anyone twll me what the numbers after the show title mean in the filename? | zubblwump | SageTV Software | 2 | 02-15-2007 12:25 AM |
bug: numbers in show title with auto categorization | salsbst | SageTV Software | 2 | 08-25-2003 05:13 PM |