lbryio / aioupnp

UPnP for asyncio
MIT License
29 stars 7 forks source link

Support for AddAnyPortMapping #27

Closed paulo-raca closed 3 years ago

paulo-raca commented 3 years ago

Hello,

Thanks for this great library! I'm using it create port mappings, and I don't particularly care about what external port is used. Right now I'm using a random port and hoping it isn't already take :P

I just found about AddAnyPortMapping, which takes care of port allocation automatically. Would it be possible to support that?

Thanks!

paulo-raca commented 3 years ago

Nevermind, I see that get_next_mapping does that :man_facepalming: