|
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 |
#61
|
||||
|
||||
I found a very minor but very annoying problem tonight. It seems that leading zeros in filenames aren't preserved in the title field of the .properties file. Instead of trying to explain it perfectly, I'll just show the example of what's happening to me. I name all my TV show files as like "Heroes 1x04 Collision.avi" and after running this tool the title in the .properties file would be "Heroes 1x4 Collision." This means that in the regular Sage view episode 4 would come after episode 10, not cool. Also, is there a way that we can control what files are output? I don't really need all the different metadata filetypes and they make for lots of clutter.
|
#62
|
|||
|
|||
Is /TV/ going to stay hard coded? I currently have all of my shows in a /TV Shows/ top-level directory, and I'd hate to loose all of the 'watched' information.
Needless to say, I understand this probably isn't your top priority right now.
__________________
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 |
#63
|
||||
|
||||
Quote:
Code:
Title=Scrubs 4x03 - My New Game Quote:
Code:
@ECHO OFF set DIRECTORY=G:\mediaScraper cd /D "%DIRECTORY%" mediaScraper.exe /profile inputFile /genPropertyFile /outputFile "%~dp1%~n1" /inputFile "%~f1" pause Quote:
Code:
...\scrapingProfiles\inputFile.scrape Code:
# Profile: Series\Season\Episode format # # INPUT : %%inputFile%% - Input file with unknown format # Profile =TV_Series_Season_Episode Encode CLI #1 =?>!showTitle||!seasonNum||!episodeNum<:>TV Shows[\\\/]+($$showTitle$$[^\\\/]+)[\\\/]+[^0-9\\\/]+($$seasonNum$$[0-9]+)[\\\/]+\s*($$episodeNum$$[0-9]{2})<? Encoder #1 =/use "%%inputFile%%" /noOverWrite Encode CLI #1 =?>!showTitle||!seasonNum||!episodeNum<:>TV Shows[\\\/]+($$showTitle$$[^\\\/]+)[\\\/]+[^0-9\\\/]+($$seasonNum$$[0-9]+)[\\\/]+\s*S?[0-9][xE]($$episodeNum$$[0-9]{2})<? Encoder #1 =/use "%%inputFile%%" /noOverWrite Encode CLI #1 =?>!showTitle||!seasonNum||!episodeNum<:>TV Shows[\\\/]+($$showTitle$$[^\\\/]+)[\\\/]+[^0-9\\\/]+($$seasonNum$$[0-9]+)[\\\/]+\s*[0-9]{1,2}($$episodeNum$$[0-9]{2})<? Encoder #1 =/use "%%inputFile%%" /noOverWrite # Profile: Series\SeasonXEpisode format # # INPUT : %%inputFile%% - Input file with unknown format # Profile =TV_Series_SeasonXEpisode Encode CLI #1 =?>!showTitle||!seasonNum||!episodeNum<:>TV Shows[\\\/]+($$showTitle$$[^\\\/]+)[\\\/]+.*S?($$seasonNum$$[0-9]+)[xE]($$episodeNum$$[0-9]{2})<? Encoder #1 =/use "%%inputFile%%" /noOverWrite Encode CLI #1 =?>!showTitle||!seasonNum||!episodeNum<:>TV Shows[\\\/]+($$showTitle$$[^\\\/]+)[\\\/]+.*($$seasonNum$$[0-9]{1,2})($$episodeNum$$[0-9]{2})<? Encoder #1 =/use "%%inputFile%%" /noOverWrite Last edited by evilpenguin; 01-13-2009 at 12:54 AM. |
#64
|
|||
|
|||
Have a problem.
When I select multiple files, it only does 1 of the multiples. I did update input.properties with correct path (TV Archive) Attaching the log file.. hmm just read log.. its only doing 1 file of the 2 i selected... so not attaching log because nothing in it.. how can i get it to do multiple files or directories (recursive)? Thanks and nice app.. |
#65
|
|||
|
|||
Quote:
option1: scrape.cmd "G:\my tvshows\seinfeld\season 1\" option2: use short filenames.. scrape.cmd g:\mytvsh~1\seinfeld\season~1\ hope this helps anyone.. |
#66
|
|||
|
|||
wow.. sorry for the many many posts in this forum today..
does this also download the artwork? |
#67
|
||||
|
||||
Now that I'm mostly happy with the scrapping, I'm going to start adding new features and usability improvements. JPG downloading and dragging and dropping multiple files are at the top of my list.
|
#68
|
|||
|
|||
Cool, looking forward to it
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#69
|
|||
|
|||
Is there a "main" config file? I want to turn off the generation of the file formats that I don't need. I'm browsing the included files but so far I don't see a way to do that.
thanks for this tool, Cory |
#70
|
||||
|
||||
That's also high on my todo list
|
#71
|
|||
|
|||
Quote:
Quote:
Quote:
|
#72
|
||||
|
||||
Try not including that trailing "\".
|
#73
|
||||
|
||||
Beta5: Now with features!
Just updated to Beta5 and, since it includes actual features, I have release notes. The big ones are in bold.
mediaScraper 1.0 beta5
Last edited by evilpenguin; 01-25-2009 at 10:21 PM. |
#74
|
|||
|
|||
Quote:
One small request that I think would benifit other people and not just me is an option to select where to place fanart images rather than placing an image in the same folder as the TV show. Or rather than naming the fanart background the same as the TV show name it "background" as mine doesnt use the fanart unless I move it or rename it to "background". Other than that it worked first time, only tried Bones so far though, will try more later. Very Cool Tool Thankyou edit: I've been playing with the tool for awhile now and have noticed some issues with certain files not working and was hoping you maybe able to get these to work as well. Example files that do work: burn.notice.s01e06.720p.hdtv.x264.bia Bones.s03e11.Xvid-Orpheus stargate.atlantis.s05e20.hdtv.xvid-preair smallville.s08e01.720p.hdtv.x264-ctu lost.s04e13-e14.720p.hdtv.x264-ctu sanctuary.us.s01e13.720p.hdtv.x264-ctu Example files that dont work: stargate.atlantis.s05e15.720p.hdtv Heroes.S02E11.720p.HDTV.X264-DIMENSION reaper.s01e18.720p.hdtv.x264-ctu Star Wars The Clone Wars S1E05 HDTV XviD-SC-SDH As you can see there isnt that much difference between the ones that do work and others that dont. It does appear to timeout on the files that dont work giving a text line of attempt#1, attempt#2 etc. But I could be reading it wrong and I dont really know what I'm looking at anyway. I've attached my scraper log just incase you need it. Another request I have would be to remove unwanted text from the file name (see attched screenshot). So the original title of a file is "Bones.s03e11.Xvid-Orpheus" and a cleaned up file name would look like "Bones Season 3 Episode 11 The Pain in the Heart". I also hope that one day the extra data avaiable via a .info file could be imported into Sage as it does seem a shame to waste all that extra information seeing as its available. Dragging of folders worked superbly for Bones and Smallville I havent tried movies yet but I'll get around to that later. Other than that, great job Regards Ben
__________________
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-16-2009 at 08:18 AM. |
#75
|
|||
|
|||
EP- thought you's like to know that MediaScraper seems to be playing along just fine with DirMon.
Any ETA on a fix/workaround for shows like Termiantor: The Sarah Connor Chronicles? Oh, and where do i put the /basefolders string? in the defaults file? Thanks again for all the hard work!
__________________
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 Last edited by Halstead; 01-16-2009 at 12:47 PM. |
#76
|
||||
|
||||
Quote:
Quote:
The Clone Wars issue is kinda a tough one. theTVDB.com won't recognize it unless its has the ":" (Star Wars: The Clone Wars). Normally I'd fix this by running it through imdb, but imdb is kicking back "Star Wars: Episode II - Attack of the Clones" instead of the TV show. I've got the same issue with "X-Files" and I'm brainstorming for a good solution. |
#77
|
||||
|
||||
Quote:
Unfortunately, that's not working like I want it to yet. I'll put out a fix tonight and let you know how to add it then. |
#78
|
|||
|
|||
Quote:
What would be cool is if your scraper could rename a file to make it more friendly to fanart, something like my example above. I see you've also mentioned this in your first post. Quote:
Quote:
stargate.atlantis.s05e15.720p.hdtv I didn't try starwars. Regards Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#79
|
|||
|
|||
Very cool
Much Thanx. I'm glad to have a CLI batch scraper again.
2 requests ,please, while you're still fairly early in development... 1) Can we have the metadata files created in a user specified location(either via a settings file, but preferably a command line switch)? This is needed for files that are already archived to DVDs and network shares that lack write acccess permission/ability. I know that 2 of the .my metadata import options for SageTV allow metadata to be put in a subdir, or a common user specified dir. This allows .my files to function alot like VSfilter looks for subtitles. ie .\metadata would put the files into a subdir of the show folder called "metadata". This is usefull for keeping clutter down in the dir your media files are stored in. With the small downside of adding a metadata subdir to each of your show directories that contain media files. Still, as an example, one subdir. added is "cleaner" than 25 .my files added to a show folder for a series that has 25 episodes. c:\metadata is obvious where they'd go. This is usefull for the write access issues I mentioned with DVDs and certain network shares. This is a big one for me as I have many shows already archived/burnt to DVD before we started using .my files. I obviously don't wish to reburn those disc, but would love to have your tool be able to make metadata for them. 2) Can you add the ability to handle files that don't use season numbers? Instead they are numbered by absolute Episode count. An Example of something like this would be the american version of "Dragonball Z". It has 276 reqular episodes, not counting movies. So a file like "Dragonball Z-EP201.avi" would be proccessed as the 201st episode(aka "A Dark and Secret Power") instead as episode 1 of season 2(aka "A New Goal... Namek!"). I realize that this would need a switch/setting(so the app knew which way to process the file), as other use may want that same files proccessed as season2 episode 1. Still this was a nice feature in the older TV.com scraper before it was broken by site changes. I would really appreciate if you could add this functionality to you scraper, as I rarely ever use season numbers in either the directory tree structure or filename. IMHO season info is one of the many pieces of info that metadata files are for. Apologies if your app is already capable of any of these actions. I just found this thread today and my file server is torn down for a rebuild(upgrading CPU and harddrives) this weekend. So I haven't yet gotten a chance to truely test your app of my media collection. I just did some simple tests using fake(empty text files renamed to avi) files. Thank you for all your time and effort, /justme Last edited by justme; 01-16-2009 at 03:14 PM. |
#80
|
||||
|
||||
Quote:
Quote:
Hmm, thought I tested that one, oh well, I'll get that sorted out over the weekend. |
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 |