|
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
|
|||
|
|||
How are mediaid's assigned/changed
Are the Mediaid's assigned to the actual file or based on folder imports and structure?
In other words if say I have a import directory for videos of \\sharename\tv within that folder I have \freinds within that folder are the various media files If I rename that folder to friends for correct spelling do all the media files in it keep their same mediaids? |
#2
|
||||
|
||||
I'm just curious why the same mediaid's are important?
__________________
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
|
|||
|
|||
Using them to crosslink to some external tables
|
#4
|
||||
|
||||
I thought they were unique for every mediafile in the Sage database.
|
#5
|
||||
|
||||
My expectation would be that if you move imported files from one folder to another (or equivalently, rename the folder they're in), they would get re-imported as new MediaFiles with new IDs. As far as I know Sage makes no attempt to checksum the contents or anything like that to see if they're identical to files it already knows about. (The ID is stored in the database, not in the file itself, if that's what you're asking.)
Seems like it would be an easy thing to check by experimentation though. Import a file, call GetMediaFileID(GetMediaFileForFilePath()) from Evaluate Expression, then move the file, Refresh Imported Media, and try the expression again to see if the result has changed.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changed out Domain | RandyJohnson | SageTV Software | 1 | 07-18-2007 02:11 AM |
Been gone a while, hoping something has changed. | DwarF | General Discussion | 5 | 10-19-2006 11:31 AM |
GetPeopleInShow() changed in 6.0 ? | dflachbart | SageTV Studio | 2 | 10-10-2006 11:36 AM |
Anything changed in the last year? | dgeffs | Hardware Support | 1 | 10-14-2005 08:20 AM |