SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-19-2011, 09:32 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
Possible Enhancement

I have a suggestion that would/might help people when getting started with BMT. Especially for the first manual scans of existing media objects. Not active scans of newly added media after BMT has been configured and working properly.

If one has an extensive collection of movies or a bunch of TV series with lots of episodes there can be a huge difference between what the progress indicator says and what BMT is actually doing. I’m impatient and thought that BMT wasn’t collecting fanart for a bunch of my media. In actuality, BMT was working just fine. I realize now that when the scan says it’s complete in the webgui, the scanning is not actually done. It seems to take quite a bit more time than the progress indicator says. Since BMT’s activity is pretty behind the scenes, it’s hard to tell that it’s actually doing anything. If one checks their fanart folder before the scan really finishes one thinks something is wrong with BMT, or if they open up an object in the webgui they don’t see fanart or posters since the scanning is still actively happening, not too mention any kind of caching issues.

What’s helped me is to watch the Networking tab in the Task Manager to tell if BMT is still in the process of fetching/scraping fanart and metadata. If one relies only on the webgui it appears that the scan is 100% finished and all systems should be go, when that’s not the case.

Is there any way to have an indicator that BMT is actively in the process of collecting fanart and metadata even if the scan says it’s 100%?
Reply With Quote
  #2  
Old 05-19-2011, 10:45 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
When BMT indicates that the scan is 100% done, then the scan is really 100% done

What happens, is that bmt uses separate threads for scanning and downloading. So, all scanning happens in one thread, and then the fanart information gets passed to one or background threads and processed from a queue.

So, the scanning (ie, the fetching of the metadata) is 100% done, but it may take a few hours to before all the fanart is downloaded. This is done because downloading fanart can take several minutes per show and i didn't want the scanner to be hung up waiting.

There are few things that i could do...

1. I could simply limit the number of items that can be put into the background which would cause the main scan thread to block until there is room in the background. (this is probably the easiest)

2. I could provide a screen that shows what is being queued up in the background.

I understand that this can be confusing, and I'll to do something to have it work better.
Reply With Quote
  #3  
Old 05-19-2011, 11:18 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I see, that makes sense.

What would happen if say a user restarts the service while the fanart is still fetching in the background?

I'm guessing that BMT will happily continue until it finishes.
Reply With Quote
  #4  
Old 05-19-2011, 02:09 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wrems View Post
I see, that makes sense.

What would happen if say a user restarts the service while the fanart is still fetching in the background?

I'm guessing that BMT will happily continue until it finishes.
You'd like to think that... but unfortunately, the queues are not persistent... if you restart the sage server while downloading a huge backlog of fanart.. then it will be lost (another thing that needs to be addressed at some point)
Reply With Quote
Reply


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 Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network enhancement recommendations rtrski Hardware Support 16 12-06-2010 08:07 AM
6.5.5 EPG Lineup Enhancement Brent SageTV Beta Test Software 4 12-26-2008 08:35 AM
Feature Enhancement ToxMox SageTV Beta Test Software 1 04-20-2004 11:38 AM
Enhancement for Studio Or Sage 2.0 Myth2Sage SageTV Beta Test Software 0 01-29-2004 12:18 PM


All times are GMT -6. The time now is 01:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.