|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
New MediaFile Listener
I see there is a listener for new mediafiles that are imported, is there anyway to identify when a new recording is added? I want to process a recording as soon as it is completed to build some metadata for the recording and want to do it as soon as the recording is completed...
Thanks, Jeff |
#2
|
||||
|
||||
I took advantage of Sage's MediaFileMetadataParser plugin interface for bmt. I'm not sure if it's gets called when the recording is started, or finished, but it does get called. You can look at the bmt implementation if you want to see how I use it.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
That is quite a coinsidence... I was just looking at that same source on google.... I had seen your comments in the debug log during a library import and decided to check on google... Is there any docs on that?
Thanks, Jeff |
#4
|
||||
|
||||
I think I orginally stumbled across this via a plugin that greg wrote, which was doing something different, but I got the general idea from there.
There is only one method to override... Code:
public Object extractMetadata(File file, String arg)
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
|||
|
|||
Thanks for the info, I will give it a try and see what damage I can cause..
Thanks for all of your work ( and Mike, etc.. ) on phoenix also... Jeff |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to setup listener/hook for close/alt+F4 | koelec | SageTV Studio | 5 | 06-23-2006 01:14 AM |
Listener Question | BobPhoenix | SageTV Studio | 8 | 05-22-2006 04:38 PM |
How to get type of listener widget ? | dflachbart | SageTV Studio | 3 | 02-18-2006 10:48 PM |
Using listener to execute Command line program | danward79 | SageTV Studio | 4 | 11-05-2005 01:56 PM |