2008-05-21, 05:30 AM
psycik Wrote:Any way that I can set my "Location" and offline ID field to the ANT Medialabel field? You seem to be generating a number/id based on the db name.The location field is a unique key in the db. So... how about this:
This is where I'm putting the disk id for offline movies.
Otherwise its all looking really good.
- The location and offlineID fields default with the generated number. This is basically 'AMC_' + your catalog name + MovieNumber.
- If the MediaLabel field exists
- AND it's value points to an existing file, the location field is updated with this value AND the offlineFlag is set to false
- If value does not point to a file, the offlineID field is set to the MediaLabel value, and the location field is left with the generated value above.
- AND it's value points to an existing file, the location field is updated with this value AND the offlineFlag is set to false