SageTV Community  

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

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 03-11-2010, 07:51 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
PLUCKY, check out the mediafile_metadata_parser_plugins in the Sage.properties. It's what BMT uses to fetch metadata for the automatic plugin. It is called each time a new file is added to the sagetv library. It will be called when SageTV does does it's periodic refresh and it finds new files.

Be careful when you use this method because if you start calling MediaFileMetadata apis on this newly added file, then it may trigger sagetv to call your plugin again, and result in an endless loop. (bmt 3.0 had that issue)
Okay reopen this can of worms I got myself into . I was running my own background thread and it was working fine except for I ran into some issues when MyMovies added a movie before it got imported into sage. So My question is I know Andy mentioned there was a fork to see what Files where just imported but when using the mediafile_metadata_parser_plugin method is there a way you tell which mediafile is being imported at that time?
Reply With Quote
  #22  
Old 03-11-2010, 10:46 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Maybe I don't understand your process... but couldn't you just call AddMediaFile from your MyMovies process to ensure that the item gets added to sagetv?
Reply With Quote
  #23  
Old 03-11-2010, 11:08 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by stuckless View Post
Maybe I don't understand your process... but couldn't you just call AddMediaFile from your MyMovies process to ensure that the item gets added to sagetv?
You know I didn't even think of that one

Thanks Sean.
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
Why do files still show up in Media Center when I'm not importing them anymore?!?! Chriscic SageTV Software 5 09-08-2008 11:57 AM
What is the process for importing media from PCs on network? sashimi SageTV Software 3 08-28-2008 07:12 PM
Importing media Mike SageTV Software 4 12-22-2006 04:43 PM
Importing Media Files mkriger SageTV Media Extender 2 06-02-2006 09:09 PM
Help importing media: does Sage even read the properties file? silkshadow SageTV Software 9 04-05-2006 10:47 AM


All times are GMT -6. The time now is 12:57 PM.


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