• ronCYA

    Firstly, if there is a require("keyboard") in the remote.lua, you don't need to copy the keyboard.lua into your remote folder :)

    Secondly, check your new remotes are set to visible. When you add a new remote, check the Manager on your PC to see if it's listed. If it is, open the burger menu (top left icon) in the app, go to Preferences > General > Visible Remotes. Check your remote doesn't need to be made visible.

    You can upload your remote .zip here so people can help take a look for you.

    posted in Q&A read more
  • ronCYA

    There is a test remote made by the Unified Intent devs, called Air Mouse/Air Mouse 2. You can find it on their Git here:

    https://github.com/unifiedremote/Test-Remotes

    It is jittery for me, though, as the orientation only gets updates 6 times a second in Unified Remote for me. My phone's hardware has an sampling rate of 100.16 orientation updates a second, but for some reason it's limited to ~6 in Unified Remote. I assume the devs did not release it as a core remote as it still needed testing.

    posted in Mouse/keyboard read more
  • ronCYA

    Use the icon or image properties for your buttons. Documentation here: https://github.com/unifiedremote/Docs/blob/master/controls/button.md#properties

    Use labels to add text that you can press. Documentation here: https://github.com/unifiedremote/Docs/blob/master/controls/label.md

    I put together a demo remote for you so you could see:

    PortraitScreenshot.png

    Download the remote here: Buttons with text and image.zip

    Have a go and enjoy!

    posted in Layout read more
  • ronCYA

    Could we please bring back the documentation for the joystick library? It is listed on the main docs page: https://github.com/unifiedremote/Docs#user-content-libraries

    But seems to have been taken down:

    https://github.com/unifiedremote/Docs/blob/master/libs/joystick.md

    When you install the server, there is an option to install with joystick capability. There have also been a few joystick implementations: Flight Simulator X, Super Hexagon, Touch Joystick, etc. It seems like there is some wonderful knowledge out there that is not available for remote creators.

    It would be amazing if we had documentation on how to create a joystick remote, how to have Windows recognise the remote as a joystick, setting a joystick axis, etc. There is also no documentation on using phone accelerometers/gyroscopes, which I have seen used in the Air Mouse remotes for example— no doubt this would match well with the joystick documentation.

    I'm excited to make use of it and promise to create something interesting!

    posted in Q&A read more
  • ronCYA

    Hey Scuba, long time no see :) I have not tested this myself, but I think I have a reasonable solution for you. Use win.list() to find the .exe name for each task:

    tasks = win.list();
    

    will give you a list of tasks, with each task item containing these values:

    {
    Handle = 1234,
    Title = "foobar",
    Name = "foobar.exe"
    }
    

    After that, write some code of your own to find the .exe you want. If there are multiple tasks with the same .exe, you have the title to further narrow it down. Documentation here: https://github.com/unifiedremote/Docs/blob/master/libs/win.md#winlist-all-

    posted in Q&A read more
  • ronCYA

    Nice work, thanks for putting a remote together and sharing it with everyone! :)

    posted in Projects read more
  • ronCYA

    @SniperSl Sure thing, buddy!

    So in your layout.xml:

    <toggle id="toggle_with_changing_image" image="image1.png" onchange="image_toggle" />
    

    And in your remote.lua:

    actions.image_toggle = function()
        server.update({ id = "toggle_with_changing_image", image = "image2.png" });
    end
    

    Official documentation here

    Enjoy!

    posted in Q&A read more
  • ronCYA

    Wow thanks for responding so soon! I spent a good half-hour writing a detailed response about how I tried os.open, forward slashes, experimenting with different exe files, testing from the root directory, etc.. when suddenly the original code worked.

    For 2 hours I'd been having no luck, 99% sure my code was right and at my wit's end. Now it just decides to work.

    For what it's worth, I did try all you suggested though. For the record:

    • Using single forward slashes (in this specific scenario) worked just fine!
    • Using os.open didn't work for the exe

    Thanks for the help :)

    posted in Q&A read more
  • ronCYA

    I would say I'm relatively experienced with Lua and Unified Remote custom remotes, but am pulling my hair out at the simple code below that won't run:

    remote.lua:

    actions.flux_launch = function()
        os.start("%UserProfile%\\AppData\\Local\\FluxSoftware\\Flux\\flux.exe");
    end
    

    layout.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <layout onlaunch="launch">
        <row>
            <button text="Launch Flux" ontap="flux_launch" />
        </row>
    </layout>
    

    FYI the full path is:
    C:\Users\Ron\AppData\Local\FluxSoftware\Flux\flux.exe

    When I tap the button on my phone, nothing happens. I've used os.start several times on other remotes with success but not this one. When I enter the full path in Windows Explorer, the program launches immediately. I've also tried the full path instead of %UserProfile% with no luck.

    What am I missing?

    posted in Q&A read more
  • ronCYA

    I think that's absolutely wonderful and great work on your part :)

    posted in General read more
  • ronCYA

    @ajkrishock Like reconnnn said, there's no way to change text label size, but you could use an image as one workaround. Basically, make an image file with the text you want and a transparent background, then use scale="fit" on your button code. This would take the place of the text label:

    <button image="text.png" scale="fit" />
    

    The built-in icon sizes can't be increased/decreased, but if you download the original icons themselves from Font Awesome (linked above), you can then save them as whatever sized image files you want and use them as button images.

    For both of the above solutions, just increase/decrease the padding in your image to modify its scaled size as a button image.

    posted in Q&A read more
  • ronCYA

    @ajkrishock No worries at all ;)

    posted in Q&A read more
  • ronCYA

    @the_saucerer

    I've never used or heard of OSMC before now, but from what I can see it's a distro based off Debian (which I've never used as a standalone OS either) so just download the Debian package and install it:

    https://www.unifiedremote.com/download/linux-x86-deb

    posted in Q&A read more
  • ronCYA

    @ajkrishock

    Instead of "+" and "-", give "kpadd" and "kpsubtract" a try. If that doesn't work, could you post your remote's code here (surrounded by "```" code tags), upload a zip, or a link to GitHub so we can take a look for you?

    posted in Q&A read more
  • ronCYA

    Heyo @the_saucerer,

    I'm not sure what the experience is like first hand, but yepperooney— the Unified Remote server can be installed on Linux:

    https://www.unifiedremote.com/download/other#linux

    Some shortcuts are Windows specific though, so their buttons may not do what you intend them to.

    posted in Q&A read more
  • ronCYA

    That's cool! My only suggestion is to make it known to app users who don't look at the UR website. It would be even greater if you could browse and install remotes right from within the app, but I'm sure that's a feature for the future.

    posted in Announcements read more
  • ronCYA

    @scuba75 @reconnnn Ahh right, that makes a bunch more sense now! I guess I've always tried to get remotes to work for users without them having to install or set up extra stuff. Suppose a solution is way better than no solution!

    posted in Media read more
  • ronCYA

    @scuba75 Oh wow, that's pretty neat indeed— nice job finding it!

    I don't think I understand where you'd send requests/grab headers from though. A web API with Spotify makes sense since it's tied to an online account, but this is different. If a user only has a local library of music and playlists with AIMP, where does web come in?

    Nice find either way though!

    posted in Media read more
  • ronCYA

    Guess I'll throw my brain at it then ;) Have to say though, it's such an ugly program... makes it so much harder to develop for haha.

    Edit: Actually... I might leave this alone for now, but might come back later to look into it. It's ugly, foobar2000 is better, 2 skilled developers already have trouble with it, and unlike Unified Intents staff I'm not getting paid hahaha.

    FYI I've only spent a few minutes looking into it, but one method I worked out was using the FS library to read the playlist file itself, then UTF8 to extract the playlist content. To AIMP's credit, the metadata stored in the playlist file is very well organised and detailed.

    posted in Media read more
  • ronCYA

    If either of you are working on it already, how about you stick it on GitHub and we can all work on it together?

    posted in Media read more
Internal error.

Oops! Looks like something went wrong!