|
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:
"Right now we're dependant on users inputing the information. We did have a TV.com scraper and will have one again in the future, but I haven't had the time to rewrite it lately. Once we start scraping again, it'll be done once a day for new shows and as needed for "forced" updates. --Scott" I don't believe that the reliability of TVDB is poor, but the rate of updates to the site will not be as quick as TV.com. Having said that, they have a very active userbase (not unlike SageTV) and they allow you to customize banners and add shows to the database that might not appear in TV.com properly. Of course I am only suggesting this as an option. If it is not too difficult to add this db to your tool, then maybe have to option to scrape either TV.com or TVDB??? This way the users would have the latest shows from TV.com and the most options for banners/graphics from TVDB. |
#82
|
||||
|
||||
I've said it before and I'll say it again:
Why not have a place in the community to host metadata files so that Sage users can upload and download them without worrying about the different naming conventions people have with their imported videos, websites updating that cause compatibility issues or other unforseen problems?
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#83
|
||||
|
||||
Quote:
|
#84
|
||||
|
||||
Quote:
For instance, no detailed information on the website, website updated and program no longer compatible and needs to be rewritten. I just think it would be nice to simply store and download the metadata files and hopefully have the most complete and detailed versions in one place. So I guess it can compliment what is being done here, not replacing it.
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#85
|
|||
|
|||
Quote:
The biggest challenge to overcome has been how to deal with the diferent naming conventions of peoples' video files. Now that that is done, there is no need for hosting of metadata files. All the data is already on TV.com. What's needed is a robust scraper that is intelligent enough to handle the names. DVD maniac, You may want to try a little experiment. Take one of your Buck Rogers episodes and rename the episode path from lets say Code:
t:\...\Buck Rogers\01\1x12 Ardala Returns\ardala returns.mp4 to Code:
t:\...\Buck Rogers\01\Season 1 - Episode 12 Ardala Returns\ardala returns.mp4 Armondole, It could be an option to scrape from tvdb.com. Its xml and should be really easy to scrape off of (much easier than scraping TV.com). The thing is, 'why buy the milk if you can have the whole cow for free'. I don't think I'll need to. If my TV.com scraper turns out to be too difficult to maintain, then I may do a tvdb.com scraper instead.
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-06-2007 at 08:39 AM. |
#86
|
|||
|
|||
Assignment is a trivial matter of renaming the metadata file the same base name as the video file or vice versa.
__________________
http://www.hydranterouge.com |
#87
|
||||
|
||||
Quote:
How about if I did this: t:\...\Buck Rogers\SE01EP12 - Ardala Returns.mp4 This way I'd cut out the season folders and have a more uniform naming convention that works plus your program should be able to determine that SE"##" is season and EP"##" is episode and that the parent folderr is Series?
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#88
|
|||
|
|||
Quote:
You will first need to use -t 1 -s 0 Next I should point out that these variations will work: S01E12 - Ardala Returns.mp4 s01e12 - Ardala Returns.mp4 01x12 - Ardala Returns.mp4 01.12 - Ardala Returns.mp4 Season 1 Epsiode 12 - Ardala Returns.mp4 But SE01EP12 WILL NOT I'll have to fix the regex for that. Is SE a common naming scheme? I thought S__E__ was more standard? EDIT Okay I fixed it SE__EP__ works now. I'll differ sending the fix to you until I incorporate the episode scraping portion. As a side note, I could've set the regex to look for ANY pair of 2 digit number regardless of prefixes. The problem with that approach is that it is too liberal. Sometimes numbers appear in an episode title which tricks the regex. That's why the regex pattern has to be tailored.
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-06-2007 at 09:34 AM. |
#89
|
||||
|
||||
Quote:
You know, a single regular expression could match both of those: Code:
(\w* *)(\d*)(x| - )(\w* *)*(\d*)(.*) Nevermind, I see you were doing that already |
#90
|
||||
|
||||
Quote:
Cheers, A |
#91
|
|||
|
|||
Quote:
Your mission:
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-06-2007 at 10:46 AM. |
#92
|
||||
|
||||
Quote:
I'm getting ready to standardize my naming conventions but will wait to see what this program utilizes first...
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#93
|
|||
|
|||
Good plan
__________________
http://www.hydranterouge.com |
#94
|
||||
|
||||
Quote:
|
#95
|
|||
|
|||
Here it is finally
VIDEO METADATA CREATOR (for tv shows with information on www.tv.com)
http://forums.sagetv.com/forums/down...do=file&id=188 NOTE: External utility - non-Sage dependent Version 1.0.0.0 DESCRIPTION: This small command line utility scans a specified directory tree for tv video files and produces metadata files about the show, its actors, etc (with the .my extension). The utility incorporates a screen scraper which produces a text file with the .my extension from information gathered from TV.com Video file extensions scanned: avi,divx,mov,moov,mp4,mpg,rm,qt,wmv,vob USAGE: Since this is a command line utility which relies on command option swithes, it's recommended that the user create a windows short-cut a bat file that calls the utlity. In this way the user can be spared from the cumbersome commandline prompt and be spared from repetitive typing. Your video collection must be organized in a manner such that Season and Episode # are identified for each TV show, IE: S02.E12 03x13 etc Note: This version does not support simply name based videos. For instance, If your tv show is named Heroes - String Theory.avi it will not work. You would need to rename it: Heroes - S01xE22 - String Theory.avi PARAMETERS: The minimum required parameter is: -p (<drive:\scanpath>) eg: C:\Program Files\Video Metadata\videometadata.exe -p (C:\AVI\CSI miami) SPACE AFTER -p and PARENTHESIS SURROUNDING PATH REQUIRED! The best way to provide the -p parameter is to create a shortcut the the videometadata.exe. Right-click the shortcut and enter the parameter in the Target: box right after "C:\...\videometadata.exe" OPTIONAL PARAMETERS: -t title depth (default 0, Maximum 3)
-s season depth (default 0, Maximum 2) Same as for title depth except for season number. Note that these parameters are optional if the entire video name has the required information but still are recommended to improve the detection accuracy. Remember, change shortcut under Target with: "C:\...\videometadata.exe" -p (<drive:\scanpath>) -t # -s #
__________________
http://www.hydranterouge.com Last edited by roxy99; 07-08-2007 at 08:54 AM. |
#96
|
|||
|
|||
A fix to TV Metadata Creator would be appreciated
Hello,
I'm a new Sage user, and I see that this tool has been broken by changes at TV.com. A fix would be appreciated, as this would really make my life easier and help me better organize my TV show library. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|