|
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 |
#201
|
|||
|
|||
Yep, that sounds very cool
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#202
|
|||
|
|||
Quote:
http://localhost:8080/sage/XMLImporter Then you checked the "Import TV files" box and checked those options: * Overwrite Existing Show Information * Overwrite Existing Sage TV File Information * Filename handling: o Keep original imported filename * File timestamp handling o Use imported Airing data to determine startTime (use when importing edited files. Will change imported file timestamp) You then upload your xml file, and VOILA ! your video file is refered in Recorded TV with all the right info (thanks to you ) and you can start it the same way you would with any other file... Of course I am presently doing this manually, but I am looking for a way to call this via a command line, something like: wget.exe "http://username:ypassword@localhost:8080/sage/XMLImporter&&FileName=N:\MEDIA\Videos\TV\Battlestar Galactica\Season 4\Battlestar Galactica (2003) 4x12 - A Disquiet Follows My Soul.xml" so I can include it in a batch file and automatize the whole thing... I am still trying to figure out how this last part can be done, but I am convince there is a way... I may need help on this one... Last edited by Zorglub; 01-30-2009 at 04:31 PM. Reason: Removed a typo.... |
#203
|
|||
|
|||
Update:
After some reading on curl (which seem to be able to handle POST better than wget) and a lot of fiddling around, I came up with the good syntax: (FWI: this has been tested on Cygwin) curl -F "impTVFiles=checked" \ -F "impShowOverwrite=checked" \ -F "impMFOverwrite=checked" \ -F "impMFRename=keep" \ -F "impMFRedate=redateFromAiring" \ -F "xmlFile=@exemple.xml" \ -F "Import=submit" \ http://username:fpasswd@locahost:808...ter?Import=yes Now if you can add the option to output the episode information in the good xml format, I'll be in Heaven, and so will my wife !!! |
#204
|
|||
|
|||
downloading posters
This is fantastic! Great job and thanks.
After messing around with it for a while, I think that there is a bug with downloading the posters for movies. It generally works great, but I noticed that it does not d/l a poster if there is not a high res poster on themoviedb.org. It would seem that it should (or hopefully could) download the available lower resolution image or the one from imdb if a high res poster is not available. Examples that did not work (mostly stuff my wife recorded…) -The Last Kiss (has low res poster on themoviedb) -Y Tu Mama Tambien (no poster on themoviedb, but there is one available on imdb) -Capote (nothing available on themoviedb) Am I missing something? Also, does sageTV periodically update its database and include the new posters, backgrounds, and .properties? It does not seem to be updating itself even after I refresh the imported folders. Thanks again, Mike |
#205
|
||||
|
||||
Well, not so much a bug as a feature I never bothered to implement. I'll put it on the ol' todo list.
|
#206
|
|||
|
|||
Quote:
Much appreciated. |
#207
|
|||
|
|||
Ha ha!
|
#208
|
||||
|
||||
Quote:
|
#209
|
|||
|
|||
Cool !
Let me know if you need any help to test it or anything else... Thanks ! |
#210
|
|||
|
|||
Possible to download Episode Images
Excellent tool EP! I have used this to make properties and .my files for all my DVDs without a problem.
One suggestion I have would be to allow downloading episode specific images for TV series from TVDB. I find them a lot better than having to use a poster for dozens of episodes in a series. Also, not sure if this is by design, but if a high quality poster isn't available from the download site, it appears none get downloaded at all. I ended up pulling poster images for 1/3 of my DVDs from IMDB and using the properties files that were generated by mediaScraper. |
#211
|
|||
|
|||
Any word yet on getting M*A*S*H to work?
RLW |
#212
|
||||
|
||||
MASH is a pretty bad one. Its at the intersection of an illegal win32 character and a reserved PERL character. I'm going to need to put some more thought into it.
|
#213
|
||||
|
||||
I was working with Bill over at tvmetadatafinder.com and was able to have him incorporate saving a .my file when scraping for metadata. It renamed my avi files and i have sage using .my files for metadata. With a background.jpg in the foldeer, it looks great. That in conjunction with the mediascraper tool for movies, makes getting metadata easier for me. Just wished I could find ont to do it all automagically. Just thought I would let you know if it helps anyone else. Sorry in advance if this is the wrong topic.
__________________
R00ST3R System: AMD Athlon 64x2 Dual Core 4400+ 2.30GHz\2GB RAM\Vista HomeSP2\HDHomerun_firmware_20090802\nVIDIA GeForce 8500GT 8500 GT 512MB\Optical Out to reciever Software: SageTV:6.6.2.218|SageMC:6.3.9a pre-release 41|Metadata tools:3.1|Java: 1.6.0_13|sagemc.jar: 6.3.8|Phoenix.jar: 1.43 |
#214
|
|||
|
|||
Great tool. Thanks!
|
#215
|
||||
|
||||
Quote:
I've mucked about and by trial and error arrived at the following downloading.scrape which has been working well for the past week or so. Code:
# Scraper: getSingleImageTV # # INPUT: %%singleImage%% - Image to download # : %%downloadTo%% - Path to download image # Profile =getSingleImage Encode CLI #2 =?>!PATH:%%downloadTo%%<:>"%%downloadTo_PATH%%"<? Encoder #2 =/exe mkdir Encode CLI #2 =?>!EXISTS:%%downloadTo%%<:>"%%singleImage%%" -O "%%downloadTo%%"<? Encoder #2 =/exe wget.exe # Scraper: fanartFile # # INPUT: %%tvdbID%% - theTVDB show ID # Profile =fanartFile # Encode CLI #1 =%%SNIP:fanartPath%%\?>centralFanartPath<:>%%showTitle_WIN32%%<=>isTV||(>videoTS&&isMovie<)<:>%%inputFile_NAME%%_background<=>%%inputFile_NAME%%_background<?.%%singleImage_EXT%% Encode CLI #1 =?>videoTS&&isMovie<:>%%inputFile%%\background.%%singleImage_EXT%%<=>%%inputFile_PATH%%\?>isMovie<:>%%inputFile_NAME%%_background<=>%%inputFile_NAME%%_background<?.%%singleImage_EXT%%<? Encoder #1 = # Scraper: fanartLoc # # INPUT: %%tvdbID%% - theTVDB show ID # Profile =fanartPath Encode CLI #1 =?>centralFanartPath<:>%%centralFanartPath%%\?>isTV<:>TV<=>isMovie<:>Movies<?<=>?>videoTS&&isMovie<:>%%inputFile%%<=>%%inputFile_PATH%%<?<? Encoder #1 = # Scraper: posterFile # # INPUT: %%tvdbID%% - theTVDB show ID # Profile =posterFile Encode CLI #1 =?>videoTS&&isMovie<:>%%inputFile%%\folder.%%singleImage_EXT%%<=>%%inputFile_PATH%%\?>isMovie<:>%%inputFile_NAME%%<=>%%inputFile_NAME%%<?.%%singleImage_EXT%%<? Encoder #1 = # Scraper: bannerFile # # INPUT: %%tvdbID%% - theTVDB show ID # Profile =bannerFile Encode CLI #1 =%%inputFile_PATH%%\banner.%%singleImage_EXT%% Encoder #1 = Mick. Last edited by mickp; 02-06-2009 at 04:05 AM. |
#216
|
|||
|
|||
How's importing xml files into SageTV going?
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#217
|
||||
|
||||
Quick newbie quesiton...
I have it working, but for TV shows I would like to add Ratings and not download the graphic because it's easier to distinguish the shows by the thumbnail rather than seeing the same graphics for each episode and having to reading the title. Can this be customized to Add ratings and remove the graphic? Awesome tool by the way!!!! Thanks... Last edited by JimmyBalboa; 02-06-2009 at 09:26 AM. |
#218
|
|||
|
|||
Hey EP, just wondering if you'd had a chance to think through how I might be able to use this for all my ripped-as-VIDEO_TS tv stuff. Thanks for any suggestions!
|
#219
|
||||
|
||||
I've *kinda* got it working, but it lead me down a pretty complicated path.
See, to make the XML file properly, I need to do some math using the length of the video and to detect the length of the video I needed to merge over some code from my encoding tool. Then since I was already merging over *some* code, I figured I might as well merge *all* the code and things kinda snowballed from there Long story short, its almost done, but I have to a lot of testing to make sure I didn't break anything. On the plus side the next version will also be able to encode videos/DVD's and I won't have to maintain two code bases anymore, both of which make me very happy. Quote:
Quote:
As for the graphics, I've got the tool downloading theTVDB's video thumbnails now so that should solve your problem. |
#220
|
||||
|
||||
Quote:
Thanks! Last edited by JimmyBalboa; 02-06-2009 at 01:48 PM. |
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 |