SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations > SageMC Custom Interface
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-24-2009, 08:39 AM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
Force media folder refresh?

I tend to move new videos into my media folders often, and I have Sage setup to automatically refresh from the folders, but I'd like to make it refresh more often, or use something like Dirmon to tell sage to rebuild again. Even better would be to have it just rebuild part of the library, instead of everything(like just rebuild videos, but leave pictures and music alone)

I am using SageMC so I'm not sure if something like this is built in already.
Reply With Quote
  #2  
Old 02-24-2009, 10:40 AM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Can't answer your question but you can manually do it from the Webadmin or by going to the default Sage tv (in the settings somewhere).
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
Reply With Quote
  #3  
Old 02-24-2009, 10:47 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
You can force a refresh by using the options key on the bottom menu items of the movie screen.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #4  
Old 02-24-2009, 10:50 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Go to the video library and with one of the menu buttons on the left focused, bring up the options menu. Select the first item and then choose whether or not to do the rescan in the background (I always do). It can take a few minutes, but it will pop up a notification when complete.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #5  
Old 02-24-2009, 10:59 AM
Texas-Hansen Texas-Hansen is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 109
Rather than start a new thread, I thought I'd ask a related question in this one.

Is it best to set the HD200 to automatically rescan the import folders or leave it at manual and just rescan when needed to add anything added to your shares over time? I guess another related question is if I set it to automatically rescan the import folders, does it use a lot of resources and do scans at inconvenient times?
Reply With Quote
  #6  
Old 02-24-2009, 11:01 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Quote:
Originally Posted by Texas-Hansen View Post
Rather than start a new thread, I thought I'd ask a related question in this one.

Is it best to set the HD200 to automatically rescan the import folders or leave it at manual and just rescan when needed to add anything added to your shares over time? I guess another related question is if I set it to automatically rescan the import folders, does it use a lot of resources and do scans at inconvenient times?
I think it's mostly a matter of preference. I do all rescans manually because I know when I add new media and I usually want to get access to it immediately. It doesn't seem to take up to much in resources.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #7  
Old 02-24-2009, 11:06 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
I use both methods, one for when I want to watch something as soon as I put it on my server and the other when I'm not too fussed about watching it straight away.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #8  
Old 02-24-2009, 11:09 AM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
Quote:
Originally Posted by MeInMaui View Post
Go to the video library and with one of the menu buttons on the left focused, bring up the options menu. Select the first item and then choose whether or not to do the rescan in the background (I always do). It can take a few minutes, but it will pop up a notification when complete.

Aloha,
Mike
Is there a way I can make something like DirMon call that command from a command line? If not, I'm guessing there are api's to get to it, so I could write something, but no need to do the work if it is already there.
Reply With Quote
  #9  
Old 02-24-2009, 11:25 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Quote:
Originally Posted by aflat View Post
Is there a way I can make something like DirMon call that command from a command line? If not, I'm guessing there are api's to get to it, so I could write something, but no need to do the work if it is already there.
Stuckless recently wrote a remote API for SageTV that would probably let you write up a command line utility. You could also check to see if something like Sage Job Queue offers that functionality. I don't know.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #10  
Old 02-24-2009, 08:41 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
I use wget to refresh through command line using Nielm's webserver


Code:
del "C:\wget\GlobalCommand@command=ForceEpgUpdate"
C:\wget\wget.exe --tries=3 --directory-prefix="C:\wget" "http://user:password@severname:8080/sage/GlobalCommand?command=ForceEpgUpdate"
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
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
Refresh Import Media rrambo SageTV Linux 4 10-28-2008 08:59 AM
Force imported video to appear as a DVD in media center? LehighBri SageTV Software 2 04-09-2008 08:57 AM
Imported media won't refresh jchiso SageTV Software 8 03-13-2008 03:04 PM
Mostly new 3.x version issues: 45 button remote, audio and media folder refresh IPFighter SageTV Beta Test Software 6 10-03-2005 01:07 AM
ipg force refresh? rjpear SageTV EPG Service 2 06-07-2003 12:23 PM


All times are GMT -6. The time now is 07:36 PM.


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