|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#81
|
|||
|
|||
Quote:
The EP tag you added will now enable my next version of the software to properly interpret the single 3 digits as one sole data element, being simply the episode#. Thanks for testing
__________________
http://www.hydranterouge.com |
#82
|
|||
|
|||
This just in
__________________
http://www.hydranterouge.com |
#83
|
|||
|
|||
Version 1.2.1.8
http://forums.sagetv.com/forums/down...do=file&id=188
Hopefully you'll find it usefull. Also don't forget about the .mp to .properties file converter above. There are many changes as discussed previously in this version and while the utility is very simple looking there is a lot going on behind the scenes to get it to do what it does. I hope you find it useful.
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-27-2007 at 01:23 PM. |
#84
|
|||
|
|||
DirMon compatibility?
Quote:
__________________
Halstead York HTPC/Server: A8 3850; Win 7 Home x86 + Java 1.6.0_26; Sage 7.1.9; Driving Epson 8500 pj @ 1080p | Office: Core2Duo E8500 w/ EFI-X running OS X 10.5 & Win 7 Pro x64 (dual boot) + Java 1.6.0_20; Sage 7.0.23; Driving 30" Samsung 1900x1200 monitor |
#85
|
|||
|
|||
Sure thing. It would work great as a scheduled task in Dirmon being a CLI. You can also create a windows batch file with a list of directories to process:
EG: Code:
c:\Program Files\TV MetaData Creator\videometadata.exe -p (video path1) c:\Program Files\TV MetaData Creator\videometadata.exe -p (video path2) etc..
__________________
http://www.hydranterouge.com |
#86
|
|||
|
|||
Quote:
I'm going to try setting them both up as automated processes, and I'll let you know how it goes.
__________________
Halstead York HTPC/Server: A8 3850; Win 7 Home x86 + Java 1.6.0_26; Sage 7.1.9; Driving Epson 8500 pj @ 1080p | Office: Core2Duo E8500 w/ EFI-X running OS X 10.5 & Win 7 Pro x64 (dual boot) + Java 1.6.0_20; Sage 7.0.23; Driving 30" Samsung 1900x1200 monitor |
#87
|
|||
|
|||
I just found a bug. Guest star is being doubled up with TV actors and TV actors doesn't show up on generated .my files. Please report any other important bugs.
For now, just tell me the important bugs and leave out the 'nice-to-have' request. IE- I know an .my viewer and gui is nice to have, however, I'd like to focus on getting stomping out the bugs first. Any other bugs?
__________________
http://www.hydranterouge.com |
#88
|
|||
|
|||
EDIT>>
Quote:
Thanks roxy99, Glad to have a new version to play with. I've only had a chance to do some very quick tests on a few directories. So far it is going pretty well. I even made sure my network was saturated to test it's ability to handle ISP issues and it seemed to eventually(after several automated retries) get the info. Of course without the artificially created saturation it works fine the first time. Now the bad news... This issue relates to the presence(or actually absence) of "EP" in the filename. If you try to process a directory(or tree) that has a file without "EP" in the name it crashes. Using my batch I caught the error(no videolist log gets ctreated). It's listed below. EDIT2:>>I just did a another test on my Inuyasha dir(I believe I uploaded a zero size copy in one of my old posts) and it seems it's not neccessarily the lack of "EP" that may cause this. I say this since the files in the Inuyasha dir all have a format like "Inuyasha- 002 - Seekers Of The Sacred Jewel.ogm". Since these files were proccessed(correctly below 99, as expected without the EP) without a crash, I suspect it may be the space (or lack there of) around the episode digits. Maybe it's just a different method being called for the 3 digit format, and only the 2 digit metjod is crashing with the "EP". <<:EDIT2 Code:
E:\Documents and Settings\Michael>REM @echo off E:\Documents and Settings\Michael>"E:\Program Files\TV Metadata Creator\videomet adata.exe" "\\Htpc\m on htpc\Zoids Fuzors\Zoids Fuzors[ZA]" Importing modules Reading show titles...please wait No season level found, assuming slev=0 Zoids Fuzors-01-Knockover on Planet Zi.avi SE+EP TYPE ### -> Traceback (most recent call last): File "videometadata.py", line 174, in <module> File "videometadata.py", line 33, in mainprog File "getvideoname2.pyc", line 207, in viddic File "getvideoname2.pyc", line 184, in gettitepisode2 UnboundLocalError: local variable 'episode' referenced before assignment test batch of .my file creation E:\Documents and Settings\Michael>pause Press any key to continue . . . I've included some logs from some other runs on this same dir, after I added "EP". Don't worry(except for episode 14) about the repeated "FAILED TO GENERATE TV DATA...TRYING AGAIN", as they come from the intentional clogging of my internet connection. There are 2 other things to note. 1) Episode 14 never seems to generate a .my file even without congestion. I suspect it has something to do with the fact that TV.com has this episode's original air date in 2008. This also causes a "Pre-show buzz" poll to be listed in that episode's page, maybe that's causing the parsing issues too/instead. All the others episodes have dates that make sense and lack the poll. I hope this clue helps figure out what is throwing the app with this ep. 2) Episode 2 does not get a .my created. This happens both without and with a showid.txt. To be fair however the episode title is evil for this kind of app. It's episode name is "1 + 1 = ?". This is one of the resaons I choose this show as a test. Two things I see in the logs are....The numbers seems in the name("Zoids Fuzors-EP02-1+1=.avi" is the actual name, after adding "EP", in my test dir) seem the make the app parse it as a different season than all the other episodes, so maybe this is it. But also since the "?" is an illegal char for a filename, it's not in the actual filename(see logs, or note above) on the drive. Still illegal chars could be common on some shows. If it's the illegal char, I don't know what to suggest. Part of me wants a fallback to using the same season# as the other files, but this could be hard in a mutliseason show with files in 1 dir(no subdir season stucture). I also thought about your fallback of title matching, maybe it could be made to make a match if a certian % of the chars match(say 85-90). Anyway this is all I could find to bug you with. So good job. Thanx for all your effort, time and feedback. /peace Last edited by justme; 07-30-2007 at 02:11 PM. Reason: Clarify the post above wasn't there when I started. |
#89
|
|||
|
|||
Quote:
While trying to fix that crazy naming format I ended up breaking something else, so lets stick to the general naming format and try to test it. What I need to know is that in general it's ok right?
__________________
http://www.hydranterouge.com |
#90
|
|||
|
|||
Quote:
Quote:
I'm going to rerun the test(Edit2 in post above) of the Inuyasha dir with the "EP###" format to make sure that episodes above 99 get the right .my files just to be safe. I haven't seen any errors yet. So looks good. I'll post if it does error, just keep in mind the whole test of 160 some files(in just that dir) can take a long time. EDIT>>RESULTS OF TEST:Inuyasha dir was successfull for ALL files including the merged 2-parters(it used the info from the 1st episode of the 2 but that is perfect as I don't expect it to recognize the merge.). This dir used the "SHOW-EP###-Episode.ext" format(meaning no season info, so it assumes season=0).<<EDIT
__________________
"Between you and me, my name's irrelevant." Last edited by justme; 07-30-2007 at 03:02 PM. |
#91
|
|||
|
|||
Justme,
Thanks for your help. Try the new 1.2.1.9 version. I think it may fix the stuborn filename errors. If you leave out the 'EP' preface, the program just assumes an 'EP' naming method which is fine. However when there is a 3 digit episode # and you forget to put the EP, though the program will make a mistake and assume digit 1 is the season. So you still need the EP preface but it should'nt crash at least. It will only make a mistake. EP numbering assumes all seasons and matches the unique episode#. The scan logic kicks in when no -t and -s parameters are provided. What takes place is a parse of the directory tree first for the Season identifier. Season identifiers are: se, season, or just a path with digits- eg ../04/.. is season 4. If the program finds a season folder, the program logically assumes that the parent of the season folder must be the title folder, unless there is a '-' in the season folder designating that the title-season are in one path. The reason for using episode titles as a matching method is that if a match occurs, the program can be sure that its a good match. Whereas people often make mistakes on the episode count the title is very specific. An exact match is the most reliable because failing an exact match, the program looks at teh episode# anyway. PS: Weighted relevence for episode matching by various criteria-- may be a bit beyond the scope of the program for now. Lets get the bugs stomped and then get fancy later.
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-31-2007 at 05:14 AM. |
#92
|
||||
|
||||
Quote:
Quote:
Quote:
Simple Report: The new version worked great on several test dirs. Even on those "problem" episodes of 2 and 14(of Zoids Fuzors). As long as there is the "EP" is in the filename it seems to work nearly perfectly(.my created and correct episode info). As you'll see if you look at the logs I used many VERY weird filename formats(tried 2 episodes of each format). So as far as the recommended format this new build worked great. No crashes that I could force on the tests I ran. More Expanded Report(Just ignore if you wish) : The app also worked very well on episode filenames that didn't have the "EP", as long as I provided a showid.txt. I took a look at the logs and found out why it was failing on these "bad" filenames and... The logs all seem to point to the series being identified as "Zoids Fuzor" instead of "Zoids Fuzors"**. Since the logs show your app correctly identified the episode # for each file(even these "bad", no "EP" files). This resulted in a near perfect creation of .my files. The only errors(wrong episode data in the .my file) were on episodes 12 and 25. And these errors weren't necessarily the apps fault, depending on your desired behavior for the app. Ep 12 was caused by a wrong episode title in my files, so your app matched on the wrong ep title and used info from TV.com's episode 13(http://www.tv.com/zoids-fuzors/three...list;title;12). Still the logs do show you app ID'd it correctly as episode 12 but used the titlename match(of 13) instead of the explicitly specified episode# from the file name*. EP 25 is basically the same as above, except my file had the right title: "Zoids Fuzors-EP25-Showdown.avi" In this case episode 18 also started out with the word "Showdown". "Showdown at High Noon" is the full TV.com title for 18. So the app title matched to episode 18's info. Once again using title match over the explicitly specified episode# from the file name*. *I ran a test on 12 and 25 using the ShowTitle-EP##-EpisodeTile.ext format and got the same results. It's in the logs under the name of "Episodes 12 and 25 with recommended format and showid-videolist.txt". I don't know whether you wish the app to use title matching first, as it appears to do now. Or if you want it to use the specified episode# to get the info, when the file uses a recommended format. I hope this test used a format you consider valid. Either this is either a bug or a feature depending on your design desires. Personally I'd like it to use the specified episode# if it's in the right format and then fallback to title matching, but that's your call. **I just tested several other shows/dirs. It seems like it's the " " in between "Zoids" and "Fuzors" that is causing a failure to find the Show Title. I say this since the other Shows/dirs had their Show Title ID'd by the app(even without a showid.txt) as long as the Show Title was a single word. Just to be clear this issue only seems to arise when 'EP' is missing from the filename format, and the Show Title has a space in it. I can of course get around this with a showid.txt in the missed dir/show, especially since lacking 'EP' is not a reccomended format. Just thought I'd post this additional info in case you wished to look into this, since the app is now working so well in other areas(appearantly even with 'bad' formats). If not, no big worries as I do have a workaround. Don't won't to break the app again just to fix this issue. EDIT>>OK this time you added something to your post. I quoted it below and it explains most of the behavior I noted above so you can ignore most(maybe look at episode 25 to see why it used 18's info) of that. At least I correctly guessed this was a possible feature, and didn't totally call it a bug. .<<EDIT Quote:
Last edited by justme; 07-31-2007 at 08:17 AM. |
#93
|
|||
|
|||
Quote:
If your files are in properly named title folders (no funny business in the path name), then showid.txt should'nt be needed. Just be sure to use -t 1 to force the app to not look at the base filename for the title. Regarding the 's' missing from the title detection- its because 'S' is also a season designator (along with SE/Seas/Season) . If you put Zoid Fuzors - EP## , hyphenated with spaces, then it should work properly. If that still doesn't work then its a simple fix except I'll throw away the 'S' for season designator so that the Regex doesn't make a mistake.
__________________
http://www.hydranterouge.com |
#94
|
|||
|
|||
Quote:
Quote:
So given these two things I wouldn't change that. I'm fine with using -t and besides it's only an issue with shows that have a "s" at the end. Even then the use of 'EP' ,easily done thanx to your renamer, seems to work perfect as is. Even without the -t, in most cases. All that leaves is the wierd issue of episode 25 of Zoids Fuzors using 18's episode info. Keep in mind my episode title was correct according to TV.com. It's just that both began with Showdown. I honestly can't properly say, how happy I am with this newest version(all were good but this seems close to perfect). Especially since I'm now using the -t parameter. Thank you for all your feedback, changes and most importantly advice on proper use. I can't promise I'll really use the app the original way you intended but... Thanks to all these recent back and forths, I now have 2 simple bacth files to handle almost any situation that could occur in my 'badly' formatted library. I actually plan(if time allows) on releasing these batches(using this version, unless you post a new one before tonight) to process my actual library(not just snipped out test sections, like so far). That should really put it to the test considering there are 1,995(just checked the properties for the tree) video files in my anime dir alone. Of course this is just the stuff on my hard drive, not whats archived to DVD. Then that number comes close to 6,000, including non-anime TV shows. I'm just saying all this to give you an idea of how much I trust your app. /peace and gratitude Last edited by justme; 07-31-2007 at 09:37 AM. Reason: To add sincerest thanx. |
#95
|
|||
|
|||
Quote:
Thanks I really appeciate that. Just remmebr if the epsiode# is more than 3 digit long and no EP preface, the utlity will splice the 3 digits : digit 1: season. Digit 2-3 : episode. That's not what you want so be sure to use the EP preface.
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-31-2007 at 02:03 PM. |
#96
|
|||
|
|||
NEW VERSION 1.2.1.10
Some minor tweaking on the new version: 1.2.1.10
__________________
http://www.hydranterouge.com |
#97
|
||||
|
||||
Hi Roxy,
I've been noticing my Imported Videos dissappearing and showing up under Music instead. I have narrowed it down to a metadata problem. I am not sure if it is a problem with the Beta or the Scraper. I would bet on it being a Beta issue though. Just wondering if anybody else here can check their Music section for Unknown Albums or Artists and see if any Imported Videos ended up there? If so, are you using the latest Beta or not?
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#98
|
|||
|
|||
Quote:
__________________
http://www.hydranterouge.com |
#99
|
||||
|
||||
I have about 2 dozen of them in my Music section that only have .my files...no .properties files created for them at all. I have Jerkiwi's STVI that takes the .my file and imports it into the Wiz.bin database when the video file is first scanned by Sage.
So Sage is seeing the .my file and somehow seeing it as a Music file.
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#100
|
|||
|
|||
Quote:
Is there any pattern to the types of imports that are messed up? Keep me posted as you narrow done the exact cause. Maybe a tag field is missing in the .my file but I doubt it.
__________________
http://www.hydranterouge.com Last edited by roxy99; 08-01-2007 at 02:04 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TV.Com to .My File Generator (MyScraper) | pdavis | SageTV Customizations | 18 | 02-07-2008 10:50 PM |
Automatic and integrated IMDB info for DVD on SageMC | mkanet | SageMC Custom Interface | 0 | 04-30-2007 12:02 PM |
TV.com import Info like IMDB Search | jbilich | SageTV Customizations | 1 | 08-10-2006 12:16 AM |
Automatic refresh? | afinemetsfan | SageTV Studio | 3 | 06-30-2006 09:29 PM |