|
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 |
#101
|
||||
|
||||
I sent a zip4test pack to you just a minute ago, hopefully I have some good, odd filenames for you to test against, lol.
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1 |
#102
|
|||
|
|||
I noticed you updated zip4test to add OGM. Thank you. It worked great as far as I could see.
So... I just sent you a new email with the new zip attached. It's of the exact same directory as the first email, but now has those ogm files. To make it clear which zip is which, I renamed the new zip file to "VIDEOS(with OGM)". /justme |
#103
|
||||
|
||||
Thanks for all the .zip files, they've helped me track down a bunch of bugs this weekend
Quote:
Also, I don't take any donations, but I'd encourage you to send a few dollars over to theTVDB who provides all the great metadata I use. I'll take that out of the next version, I don't really see a reason for it to be there either. Last edited by evilpenguin; 01-19-2009 at 04:07 AM. |
#104
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
Anyway, looking forward to future versions. Just don't work too hard. /justme |
#105
|
||||
|
||||
Sounds fine. I just deleted the line from the .my maker in the profiles directory and all is well. I'm really not sure why I didn't just look before coming on here begging for help. Oh and one more thing, I can't seem to get the scraper to work for the new Knight Rider series. If I leave the file/directory names as Knight Rider, it grabs data from the old show with Hasselhof, and if I name it as "Knight Rider (2008)," which matches with tvdb exactly, it won't find any info. I'll attach a log file when I get home. Thanks for all your work!
|
#106
|
||||
|
||||
Quote:
You should feel free to let me know if somethings not working like you'd expect it to. I'll shoot you down if I disagree but more often than not its either something I haven't fully thought out or I haven't looked at the results in Sage. Last edited by evilpenguin; 01-19-2009 at 04:27 PM. |
#107
|
||||
|
||||
It doesn't seem to like files with an ! at the end. In one case the entry on thetvdb.org also didn't have that at the end, but in another it was there. In both cases it didn't find anything. I'm talking about episode 12x05 of South Park and 2x16 of Gossip Girl if you want to know.
|
#108
|
||||
|
||||
Beta6: getting closer
It doesn't look like much, but I changed a ton of code so be sure and let me know if I broke anything.
mediaScraper 1.0 beta6
folder.override: If you have a show/movie that my scraper just can't handle for one reason or another, all you need to do is create a text file next to it named folder.override or whateverTheFileNameIs.override that just contains the exact show title to search for in theTVDB or IMDB and i'll use that instead of trying to guess it from the file name. One folder.override will work for everything in that folder and you can also place a folder.override it in the parent directory if you want it to apply to all folders above it. /centralFanartPath "G:\Videos\Fanart": Mike and Dirk put a lot of hard work into getting fanart working, the least we can do is help them out and naming and organizing our fanart in the cleanest way possible. If you put this into your default.txt then all fanart will be downloaded into a central folder. /organizeFiles: If you put this switch into defaults.txt then if mediaScraper finds the metadata for your video it will in place rename it to the the format... Code:
Scrubs 2x01 - My Overkill.mkv Code:
The Matrix Revolutions (2003).avi If you want to go the extra mile, you can also set a basefolder to organize into... Code:
G:\Videos\TV\Scrubs\Season 2\Scrubs 2x01 - My Overkill.mkv Code:
G:\Videos\Movies\The Matrix Revolutions (2003).avi zip4test.exe: Before you try to batch organize your files you'll probably want to test it out first to make sure it doesn't screw anything up. You can do this by dragging your video base folder onto zip4test.exe which will create a mirror of your video folder in a zip file using empty video files. You can then extract that zip to somewhere safe and try running it through mediaScraper to see if everything works all without touching your real videos. Last edited by evilpenguin; 01-27-2009 at 03:53 PM. |
#109
|
|||
|
|||
Very nice work EP
I'll have a go at this later today.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#110
|
||||
|
||||
Thanks E.P.
I notice that it doesn't appear to be dowloading banners etc. Is there a switch I'm neglecting? Also don't notice the fanart appearing. Does it only come down at all now if you're using a central directory? If so any chance of implementing the following if you've not specified a central directory? Quote:
|
#111
|
|||
|
|||
You've proberly already done this but I added the defaults file from the previous beta to grab the fanart and used the line
/downloadFanArt Just tried it with Lost and all is working for me.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#112
|
||||
|
||||
Quote:
I didn't have it in the first instance but went looking, found it missing and put it back. I'm not seeing any images comming down tho . Mick. |
#113
|
|||
|
|||
Quote:
I also didnt have the default file in beta 6 but just copied it from beta 5, not sure if this the correct way to do it but I tried anyway. edit: I think I must have mixed up my folders and used the wrong beta as I can't get it to work now. My bad, Sorry.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 01-22-2009 at 09:18 AM. |
#114
|
||||
|
||||
I hope you mean you left TVOverview and removed overview. TVOverview has the episode summary, which is nice, overview has a summary which applies to the entire show and is always the same, which is almost useless.
Edit: Yes, you did it the right way now that I look at the code. Might want to edit your post so as not to confuse people. Thanks for all your work, adding renaming is completely amazing! The other renamers I've tried are not console based and so can't be scripted, and they're extrememly unstable. In fact, so far the only way to get them usable for me has been to wrap them in a service with proper recovery options. I'm excited to try yours out! Last edited by megamojo; 01-22-2009 at 08:54 AM. |
#115
|
||||
|
||||
Beta6a: Actually works
Opps, I forgot to include the updated defaults.txt
mediaScraper 1.0 beta6a
I updated the download, but you can also just grab the attachment here and overwrite your current one. Last edited by evilpenguin; 01-22-2009 at 12:49 PM. |
#116
|
||||
|
||||
Is there any way we can customize the way the files get renamed? My own personal format of choice is almost exactly like yours, minus the dash between the episode number and episode title. I definitely don't mind using yours, but I'm sure some people are pretty used to other formats such as SxxExx for the numbers, and maybe they don't want the show name in the filename, just the episode number and the episode title for instance. I see 2 easy ways to change it. Either make it something we can set in defaults.txt where we enter the variable names and whatever punctuation we want for formatting, or just describe how to change the source code without breaking it. I've looked at doing that and I'm sure I could figure it out, but it's not something I immediately knew how to do just by looking.
|
#117
|
||||
|
||||
Yeah, I figured people would want to name stuff their own way. The defaults will always be how I use it, but I also added two extra switches so people could customize it fit their own preferences.
Default: Code:
/organizeTVSeasonXepisode: Scrubs 2x01 - My Overkill.avi Code:
/organizeTVSeasonEpisode: Scrubs S2E01 - My Overkill.avi Code:
/organizeTVEpisode: Scrubs E01 - My Overkill.avi organize.scrape: Code:
51 # 52 # Snip: TVseasonXepisode 53 # 54 55 Profile =TVseasonXepisode 56 Encode CLI #1 =?>!organizeTVNoTitle<:>%%showTitle_WIN32%% <?%%seasonNum%%x%%episodeNumFill%% %%episodeTitle_WIN32%%.%%inputFile_EXT%% 57 Encoder #1 = Last edited by evilpenguin; 01-22-2009 at 03:03 PM. |
#118
|
||||
|
||||
Ah, makes perfect sense now. I couldn't figure out why it seemed that I'd need to remove the dash in 3 places, which is why I was confused. I didn't notice that it was 3 different built-in ways to name it. Since you're so good with requests, can you add in a few more custom switches for us? Here's some that I would like.
/doubleBankAccountBalance /doTheDishes /doMyTaxes /cleanTheHouse /fixTheEconomy /change201kBackTo401k I'm sure others can come up with more, but that should be a good start. |
#119
|
|||
|
|||
I'd also like to see this in a future version. Could you also make it autorepeat maybe 10 or 20 times.
Very nice job
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#120
|
|||
|
|||
Awesome additions, EP. Found one issue on the auto renaming- it seems like the show title is getting partially appended on both sides of the season/episode section for Terminator: The Sarah Connor Chronicles (is this show becoming your bete noir?).
So: Terminator.The.Sarah.Connor.Chronicles.s02.e10.720p.XVID.[VTV].avi Becomes: Terminator The Sarah Connor Chronicles 2x10 - The Sarah Connor Chronicles Strange Things Happen at the One Two Point.mkv I checked the episode names on TVDB, and they don't have this issue (e.g. the episode is just titled 'Strange Things Happen at the One Two Point'). FYI, I'm using the folder.override option, which worked like a charm. Could it be the hyphen?
__________________
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 |
Tags |
fanart, imdb, metadata, themoviedb, thetvdb |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Read & Write Metadata files for Default STV 5/6 (v2.2.9 18/Feb./2010) | JREkiwi | SageTV Customizations | 251 | 10-09-2019 11:11 AM |
Utility: Batch Metadata Importer 3.x | stuckless | Batch Metadata Tools | 2416 | 09-20-2011 08:03 PM |
manually edit video metadata | loomdog32 | SageMC Custom Interface | 8 | 01-04-2009 12:34 AM |
Runningtime not populated in Metadata | mycorona | SageMC Custom Interface | 2 | 11-30-2008 01:08 PM |
Keeping custom metadata for imports via AddShow() | Opus4 | SageTV Studio | 9 | 02-20-2008 06:35 PM |