Notices

 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.

#241
02-11-2009, 01:36 PM
 popechild Sage Expert Join Date: May 2006 Posts: 725
Quote:
 Originally Posted by jaminben Thanks for the reply popechild Is their a way to prevent the download of images and backgrounds? I don't remember seeing a post about this and I've just looked at the 1st/2nd post but found no answers.

Quote:
 I'm also noticing that I'm getting a .properties file and an .xml file placed in the shows folder. Is it possible to have these deleted automatically once the show .xml has been imported into Sage's DB?
Quote:
 Originally Posted by JimmyBalboa No expert here, but logically thinking, the next time you refreshed your media library the meta data would be removed from those episodes if you delete those files.
I'd think if you use the xml to import through the webserver route, it's in there whether you remove the xml file or not. I've never used .properties files - which I believe are loaded into the db - so I don't know about those. I use the .my files, which aren't loaded anywhere but just get used when needed. If .properties files don't "stick" in the db though, I'm not sure I understand what advantage there is for .properties over .my. In other words, if the .properties has to be kept around for as long as the video is there, why bother loading the info into the db? Why not just use it on the fly like .my files? So I'm thinking it's must be at least somewhat more persistent than what you're saying, but I could be wrong.
#242
02-11-2009, 01:38 PM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
Quote:
 Originally Posted by evilpenguin Specifically which images/backgrounds, I'm downloading so many. Right now /downloadFanArt grabs *everything* it can, but I could easily have a switch for disabling specific ones you don't want.
Without trying to sound too fussy, would it be possible to specify which images the user would want to use rather than disable the ones they dont want. So if I wanted coverart & fan art only I could just add /downloadbackground /downloadcoverart to the defaults file.

Other options could be:

Cheers

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; 02-11-2009 at 01:43 PM.
#243
02-11-2009, 01:41 PM
 popechild Sage Expert Join Date: May 2006 Posts: 725
Quote:
 Originally Posted by evilpenguin @Popechild - I still need to see logs and/or filenames for the problems your having so I can duplicate them.
Oh, missed this earlier. I'll try it again later and get something to you. Sorry about that.
#244
02-11-2009, 01:45 PM
 JimmyBalboa Sage User Join Date: Aug 2008 Posts: 59
Quote:
 Originally Posted by evilpenguin Have you tried restarting Sage on the Server, it may be an issue with image cache. It could also be an issue with absolute paths being used for recording drives rather than UNC.
I do use absolute paths... let me change that when I get home and see if that make a difference.

Thanks!
#245
02-11-2009, 01:46 PM
 popechild Sage Expert Join Date: May 2006 Posts: 725
Quote:
 Originally Posted by jaminben Without trying to sound too fussy, would it be possible to specify which images the user would want to use rather than disable the ones they dont want. So if I wanted backgrounds & fan art only I could just add /downloadbackground & downloadcoverart to the defaults file.
I guess it depends on whether most people want only one or two of the images or whether most will want all as to which will be more convenient. I'd like to only disable one of them (the screenshots, so that I can have Sage display the folder.jpg instead) and would rather not have to specify all of the others. But of course it could be done either way.

Just thinking out loud.
#246
02-11-2009, 02:55 PM
 evilpenguin SageTVaholic Join Date: Aug 2003 Location: Seattle, WA Posts: 3,696
Quote:
 Originally Posted by jaminben Without trying to sound too fussy, would it be possible to specify which images the user would want to use rather than disable the ones they dont want. So if I wanted coverart & fan art only I could just add /downloadbackground /downloadcoverart to the defaults file. Other options could be: /downloadbanner /downloadseasoncoverart
Those are all good points. Once again, this in an area where I implemented stuff but didn't put much thought into usability.

Quote:
 Originally Posted by popechild I guess it depends on whether most people want only one or two of the images or whether most will want all as to which will be more convenient. I'd like to only disable one of them (the screenshots, so that I can have Sage display the folder.jpg instead) and would rather not have to specify all of the others. But of course it could be done either way.
Eh, i'm not to concerned about that since its something you only need to do once in the defaults.txt.

In regards to video thumbnail vs. folder.jpg I think i'll have it so if you have thumbnails enabled it will download the poster as poster.jpg and if you don't have thumbnails enabled it will download the poster as folder.jpg.
#247
02-11-2009, 03:15 PM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
Quote:
Sounds good to me. And if no switches exist it downloads nothing.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
#248
02-12-2009, 09:10 PM
 Texas-Hansen Sage Advanced User Join Date: Feb 2009 Posts: 109
Quote:

Dumb question...but I do not find the two batch files mentioned above - scrape.cmd and scrapAction.cmd - can someone point me in the right direction?

Thanks
#249
02-12-2009, 09:45 PM
 evilpenguin SageTVaholic Join Date: Aug 2003 Location: Seattle, WA Posts: 3,696
Quote:
 Originally Posted by Texas-Hansen Dumb question...but I do not find the two batch files mentioned above - scrape.cmd and scrapAction.cmd - can someone point me in the right direction? Thanks
You don't need to worry about that anymore, you can just drag the videos directly on top of mediaScraper.exe
#250
02-14-2009, 08:10 AM
 popechild Sage Expert Join Date: May 2006 Posts: 725
Quote:
 Originally Posted by evilpenguin I'll need to see scraper.log files for all the problems your having.
Okay, was finally able to run it again on a VIDEO_TS directory. The directory is a network directory that I setup as a network share (Z:\) to eliminate any possible issues with UNC paths. I dropped the directory Z:\TV Shows\Flight of the Conchords\Season 1 on the scraper. It ran through all 12 episodes (in folders named "01 - EpisodeName" etc.) and found random movie results for each episode as far as I can tell. It just doesn't seem to recognize that they're tv episodes of the show Flight of the Conchords, even though I have /baseFolder set to "Z:\TV Shows".

Anyway, see what you can figure out. I've attached the scraper.log.
Thanks!
Attached Files
 scraper.zip (115.0 KB, 123 views)
#251
02-14-2009, 05:44 PM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
I've just noticed I don't get season and episode numbering when I import the .xml into Sage's database. Is their a setting I've missed? Or does it not support season/episode numbering when importing an xml?

Many Thanks

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
#252
02-14-2009, 10:07 PM
 evilpenguin SageTVaholic Join Date: Aug 2003 Location: Seattle, WA Posts: 3,696
Quote:
 Originally Posted by jaminben I've just noticed I don't get season and episode numbering when I import the .xml into Sage's database. Is their a setting I've missed? Or does it not support season/episode numbering when importing an xml? Many Thanks Ben
I don't see anywhere in the SageAPI that they support Season/Episode numbers. Let me know if i'm missing something cause i'd love to include that.

Quote:
 Originally Posted by popechild Anyway, see what you can figure out. I've attached the scraper.log.
Just use
Code:
/baseFolder "TV Shows"
Rather than the full path. Sorry, my directions were pretty unclear about that one.
#253
02-14-2009, 11:31 PM
 popechild Sage Expert Join Date: May 2006 Posts: 725
That does it - thanks!
#254
02-15-2009, 03:57 AM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
Quote:
 Originally Posted by evilpenguin Let me know if i'm missing something cause i'd love to include that.
Ah yes, My Bad. I assumed as some of my TV shows that I had recorded from TV had season/ Episode data that it was a part of the Sage Api. I see now its just part of the episode data, i.e "Cold Case season 2 epiosde 6 - Best Friends".
Thats put a spanner in the works for my new import Oh well back to the drawing board.

Cheers

Ben

edit:

I've had a thought, its going to upset a few people but would it be possible to have the season and episode text added to the shows episode name. So it would look something like: S02E08 - Double Booked rather than just Double Booked.

edit 2:

I have another favor to ask could you also grab season specific banners from the TVDB. If you do have the time and wouldn't mind doing this then it would also be handy if you could name these "season_banner.jpg"
__________________
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; 02-15-2009 at 01:29 PM.
#255
02-15-2009, 02:58 PM
 evilpenguin SageTVaholic Join Date: Aug 2003 Location: Seattle, WA Posts: 3,696
For the season/episode, we could just re-purpose one of the other properties fields that we're not using.
#256
02-15-2009, 03:10 PM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
Quote:
 Originally Posted by evilpenguin For the season/episode, we could just re-purpose one of the other properties fields that we're not using.
I was thinking that but didn't like to say. Pick one and let me know what it is and I'll have a go at putting it into my import. If theirs any other usefull info that could be used from the scrape then add that as well
__________________
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; 02-15-2009 at 03:13 PM.
#257
02-15-2009, 03:43 PM
 msm Sage Advanced User Join Date: Jul 2003 Posts: 173
aplogies if this is a stupid question but is there a way to get this to work with Sage recorded files? I dont have that many non-recorded files and it would be great to get the fanart for all of these.
#258
02-15-2009, 04:50 PM
 evilpenguin SageTVaholic Join Date: Aug 2003 Location: Seattle, WA Posts: 3,696
Quote:
 Originally Posted by jaminben I was thinking that but didn't like to say. Pick one and let me know what it is and I'll have a go at putting it into my import. If theirs any other usefull info that could be used from the scrape then add that as well

GetShowCategory = Season Number
GetShowSubCategory = Episode Number

edit: nm, those are used for genre info.

How about we leave Category for one genre and use subCategory for S##E##? Then you can grab it, regex it, and sort by it. Also, if you could have it navigate like...
Code:
Show -> Season # -> Episodes
That would be the greatest thing ever. Having 86 episodes of House in a single folder is a bit of a pain.

Last edited by evilpenguin; 02-15-2009 at 05:02 PM.
#259
02-15-2009, 05:03 PM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
Quote:
 Originally Posted by evilpenguin How about... GetShowCategory = Season Number GetShowSubCategory = Episode Number
GetShowCategory is currently being used.
GetShowSubCategory isn't being used.

GetShowSeriesInfo = Season Number
GetShowSubCategory = Episode Number
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
#260
02-15-2009, 05:12 PM
 jaminben Sage Icon Join Date: Sep 2007 Location: Norwich, UK Posts: 1,754
Quote:
 Originally Posted by evilpenguin How about... GetShowCategory = Season Number GetShowSubCategory = Episode Number edit: nm, those are used for genre info. How about we leave Category for one genre and use subCategory for S##E##? Then you can grab it, regex it, and sort by it. Also, if you could have it navigate like... Code: Show -> Season # -> Episodes That would be the greatest thing ever. Having 86 episodes of House in a single folder is a bit of a pain.
Hmm, I was with you up until "Then you can grab it" everything else is a blur. I think your talking about filtering by Season and then Episode using category and subcategory, which I maybe able to do but I cannot promise. It would proberly be easier to start with just the basics.

Edit:

Its getting late her in the Uk so I'll have a think about it and get back to you. Feel free to add which everone you think will work and I'll have a go at fitting it in. It can't hurt to try
__________________
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; 02-15-2009 at 05:22 PM.

 Tags fanart, imdb, metadata, themoviedb, thetvdb

 Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Information & Announcements     View the Forum Terms of Service     Announcements     SageTV Downloads & Instructions SageTV Products     SageTV Software     SageTV EPG Service     SageTV Placeshifter     SageTV Media Extender     SageTV HD Theater - Media Player     SageTV Linux         SageTV for unRAID/Docker     SageTV Mac Edition     SageTV Recorder Software SageTV Development and Customizations     SageTV Github Development     SageTV Clients Development     SageTV Studio     SageTV Customizations         SageMC Custom Interface     SageTV v7 Customizations         Batch Metadata Tools         Diamond         Sage My Movies         Phoenix         Gemstone for v7     SageTV v9 Customizations         Gemstone for v9         Phoenix 3.0     Customization Announcements     SageTV Downloads SageTV BETA Release Products     SageTV Beta Test Software Hardware Support     Hardware Support SageTV International User Forums     SageTV Australia/New Zealand     SageTV Canada     SageTV Germany     SageTV France     SageTV Netherlands     SageTV South America     SageTV United Kingdom     SageTV Europe (Miscellaneous) General Discussion     General Discussion     The SageTV Community     SageTV Marketplace

 Similar Threads Thread Thread Starter Forum Replies Last Post JREkiwi SageTV Customizations 251 10-09-2019 11:11 AM stuckless Batch Metadata Tools 2416 09-20-2011 08:03 PM loomdog32 SageMC Custom Interface 8 01-04-2009 12:34 AM mycorona SageMC Custom Interface 2 11-30-2008 01:08 PM Opus4 SageTV Studio 9 02-20-2008 06:35 PM

All times are GMT -6. The time now is 04:13 AM.

 Contact Us - SageTV, LLC - Archive - Privacy Statement - Top