|
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
|
||||
|
||||
Keeping custom metadata for imports via AddShow()
As of v6.3.9, re-imported files with an "MF" prefix for the external ID can have their metadata overwritten via the re-import process. Imports with other external ID prefixes will preserve their metadata.
I'm not sure how the metadata customizations currently work, so some updates may or may not be needed, depending on how they are currently coded... For any customization that sets the metadata for an import: be sure to use a prefix other than "MF" for the external ID of the metadata being customized when AddShow() is called. And, when using AddShow() to update the info for an existing import, be sure to create a new external ID instead of reusing the existing "MF" prefixed ID. I believe you would then have to use SetMediaFileShow() to connect the new show data to the existing media file. (This does not apply to recordings, since they are not imports and don't use "MF" as part of the ID anyway.) - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#2
|
||||
|
||||
Right now, AFAIK, they all just retain the current, Sage-assigned External ID, which presumably starts with MF
BTW, I didn't know how to link a media file to a show until now |
#3
|
||||
|
||||
But if the metadata changes are saved in a .properties file that data will be reimported?
John |
#4
|
||||
|
||||
Quote:
Saved online videos are handled this way, btw, because their metadata was downloaded with the feed and can't easily be reproduced if the file were to be freshly imported. Quote:
The .my files should use a non-MF prefix, since the core won't reassign that data for reimports/reindexing... maybe "MY"? - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#5
|
||||
|
||||
Quote:
John |
#6
|
||||
|
||||
Here's a question, how would Sage, on re-import know to link a media file with a "customized" Show?
|
#7
|
||||
|
||||
Quote:
If you wanted to move the file to a new location, you would have to use the new advanced_video_file_recovery property so that SageTV could match the filename to its old db entry. Otherwise, as a 'new' file in a new location, it wouldn't get reunited with its custom metadata. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#8
|
||||
|
||||
Andy,
Know if Sage will clear out custom-added Shows without mediafiles on it's own? My parser is really not very fast and really doesn't like getting used more than once I'm pondering just sticking the whole DVD Profiler database in the Sage database, and then later you can just SearchByText or something and just do SetMediaFileShow.... |
#9
|
||||
|
||||
Metadata for imported media which has no file associated with it will be removed from the database during cleanup.
You might be able to use the wizard/disable_maintenance=true property setting to temporarily keep the info in the database, but you do not want to run with that setting on all the time because the database would just continue to grow, since it would no longer get rid of old EPG listings & other things. Recorded TV show info can be kept, however. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#10
|
||||
|
||||
That's what I thought...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Read & Write Metadata files for Default STV 5/6 (v2.2.9 18/Feb./2010) | JREkiwi | SageTV Customizations | 251 | 10-09-2019 11:11 AM |
Stumped with RolesListForPeopleList in AddShow() | dflachbart | SageTV Studio | 5 | 08-09-2007 05:31 AM |
Using Neil's Custom Menus with SageMC? | lordmeatball | SageMC Custom Interface | 6 | 11-06-2006 02:50 PM |
Is there a way to get custom program listings? | egaertner | SageTV EPG Service | 4 | 06-08-2006 06:40 AM |
Music metadata & page file problems | bobbydiamondz | SageTV Software | 0 | 03-06-2006 08:35 PM |