• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [LOGGED] Get Media Index 0

    Feature Requests
    2
    2
    597
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shefferstroke last edited by Woland

      I've been using the Get Media Index actor and the minimum value of its "item" input is 1. It would be great if the minimum value could be set to 0 instead, so that inputting item=0 guarantees index=0 (no media) as the output. Right now if 0 (or a negative number) is sent to the item input, it gets limited/scaled to 1, so I get the first item in the bin when I expect to get no media. To get no media output I have to send item=MAX, but that's a bit clunky.

      The Get Media File Name actor works this way (min value for index is 0, 0 returns no media) and I feel like it would make sense for both of these Get Media actors to have the same range/behavior.

      1 Reply Last reply Reply Quote 2
      • Woland
        Woland Tech Staff last edited by

        Good catch.

        Heres a few workarounds in the meantime.

        3.0.1 Get Media Index 0 Workarounds.izz

        You could stick any of these in a Macro or User Actor and use them in your patches if this is a problem you encounter frequently.

        Best wishes,

        Woland

        TroikaTronix Technical Support
        New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

        | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

        1 Reply Last reply Reply Quote 1
        • First post
          Last post