Skip to main content

Expose DisableAutoImport in IPlatform

šŸ“‹ Summary

Expose the platform DisableAutoImport setting through the IPlatform plugin API.


ā— Problem

LaunchBox appears to already store this setting per platform, but it is not currently available through the IPlatform plugin API.

This means plugin developers cannot easily check whether auto-import is disabled for a specific platform using the supported API.


šŸ’” Proposal

Add DisableAutoImport to the IPlatform interface so plugin developers can access this setting directly.

This could be exposed as a read-only property if write support is not intended.


🧩 Use Cases

  • A plugin checks whether auto-import is disabled for a platform

  • A plugin displays platform import settings to the user

  • A plugin avoids import-related behavior for platforms where auto-import is disabled

  • Developers can use the official API instead of relying on workarounds


šŸ“¦ Benefits

  • Improves plugin API completeness

  • Makes platform import settings easier for plugins to respect

  • Reduces the need for unsupported workarounds

  • Helps plugin developers build more reliable integrations


āš ļø Considerations

If write access is supported, changes should stay consistent with LaunchBox’s platform settings. If not, read-only access would still be useful.

Status: Open To Community3 comments

Log in to comment and vote

Comments3

  • AstroBob changed status to Open To Community
    Team•

    Jun 27

    Pinned

    Hi there!

    Thanks so much for submitting this request and for taking the time to explain your use case — that context is always super helpful.

    I’ve gone ahead and fleshed out the main idea using the info you provided, and I’m opening it up to the community for further discussion and feedback. Please let me know if this fleshed-out version doesn’t match your original intended request.

    Feel free to let me know if you have any extra thoughts, examples, or edge cases you think might be relevant!

    Cheers,
    The LaunchBox team

  • stigzler

    •

    Jun 27

    Add DisableAutoImport to IPlatform

    Despite being in the xml for each platform, this isn’t exposed in IPlatform. Would be super useful if it was and only a 10 minute job?

  • stigzler

    •

    Jun 10

    Soz - forgot to say - for plugin dev, obviously.