That's the approach I guess most people are using, but there are two issues with it:
- Timelines can have duplicate names if they're copied to a subfolder, so you can't be sure which Media Pool Item is the right one if you're matching it with a Timeline object.
- The "Type" property is a translated property and basing code logic on it will fail if the Resolve GUI is set to another language.
The way I approach these issues now is that I offer the user the opportunity to automatically rename duplicate timelines first, to make them unique. And for the "Type" property I translate from whichever language Resolve is set to, but it will of course break if there are more or updated translations.
Both are bad workarounds.