philips / supernote-obsidian-plugin

Supernote A5, A5X, A6X, A6X2 (Nomad) integration for Obsidian. Generate markdown, capture screen mirror, and more.
MIT License
112 stars 5 forks source link

enhancement: add mirroring IP address validation #18

Open AnthonyMcDougal opened 5 months ago

AnthonyMcDougal commented 5 months ago

I'm extremely excited for this, thank you! I'm trying to insert mirror image, and it's "failing to fetch." I can access the Supernote mirror via my browser, confirmed that the same ip is being used by copy/paste.

Obsidian: v1.5.12, windows Supernote: A5X, Chauvet 2.14.28

philips commented 5 months ago

Are you certain you put the IP address only into the settings field? Can you take a screenshot of the settings page of Obsidian?

dougsyeungSMU commented 5 months ago

I have a similar problem However, it seems like the plugin is looking for the IP address ending :8080 but my IP address is ending :8089. I can't seem to find a way to change the IP address to match :8080.

philips commented 5 months ago

Wild! I assumed the port would stay constant. What device and OS version are you each using?

philips commented 5 months ago

@AnthonyMcDougal are you getting a different port too? What is the port that your device uses?

philips commented 5 months ago

@dougsyeungSMU now I am curious! I got 8089 for direct file transfer on the device I have. What do you get when you enable direct file transfer?!

dougsyeungSMU commented 5 months ago

[image: IMG_7133.JPG]

I'm using the Nomad.... and direct transfer isn't an option in My Devices (I'm new to Supernote so I may be looking at the wrong place).

I am using Mac OS 14.2.1 (23C71)

On Sun, Apr 14, 2024 at 4:07 PM Brandon Philips @.***> wrote:

@dougsyeungSMU https://github.com/dougsyeungSMU now I am curious! I got 8089 for direct file transfer on the device I have. What do you get when you enable direct file transfer?!

— Reply to this email directly, view it on GitHub https://github.com/philips/supernote-obsidian-plugin/issues/18#issuecomment-2053956465, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHZ4SJHBWICA4KJIGLVCRQDY5I2MRAVCNFSM6AAAAABGBQZTO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTHE2TMNBWGU . You are receiving this because you were mentioned.Message ID: @.***>

philips commented 5 months ago

@dougsyeungSMU your image did not come through.

Are you following these steps? https://support.supernote.com/en_US/organizing-managing/1791924-screen-mirroring

dougsyeungSMU commented 5 months ago

Now it’s back to 8080 and works perfectly … 😅 Sent from my iPhoneOn 14 Apr 2024, at 10:12 PM, Brandon Philips @.***> wrote: @dougsyeungSMU your image did not come through. Are you following these steps? https://support.supernote.com/en_US/organizing-managing/1791924-screen-mirroring

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

AnthonyMcDougal commented 5 months ago

Sorry for the delayed response. I was indeed including the port in the settings. (I have 8080) Removing that has everything working. Thanks!

philips commented 5 months ago

Ok. I will add some input validation to the settings field to ensure a port isnt included before closing this.