Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I send an image I can't send more videos #17

Open
Barabba11 opened this issue Jul 2, 2024 · 3 comments
Open

When I send an image I can't send more videos #17

Barabba11 opened this issue Jul 2, 2024 · 3 comments

Comments

@Barabba11
Copy link

Barabba11 commented Jul 2, 2024

Hi, I've tested locally with Samba

return {
    payload:
    {
        "cmd": "Player.Open",
        "args": {
            "item": {
                "file:": "smb://127.0.0.1/log/test.mp4"
            }

        }
    }
};

the problem is if I tell kodi to open an image the image will still always on top and when I open a video the image still and the video is on background, to see video I've to manyally open the photo. There are commands to close the image?

@Barabba11 Barabba11 changed the title "send error: Error: Server responded with error: Invalid params." When I send an image I can't send more videos Jul 2, 2024
@Barabba11
Copy link
Author

I've searched for Wike and wanted to try layer stop, but it seams the module can't send it properly, I got error from Kodi.

I've tried


return {
    payload:
    {
        "cmd": "Player.Stop",
    "args": {
            
            }
    }
};

wit args: or not the same errore, how can I send stop?

@Barabba11
Copy link
Author

Barabba11 commented Jul 2, 2024

better to use transport http instead of samba, I still look for solution how to close an image to wach a video

@Barabba11
Copy link
Author

Solved, somehow. This is a problem of Kodi and I hope they will solve it, I've opened the issue.
By now I should send command back and fullscreen, in this way:

return {
    payload:
    {
        "method": "Input.ExecuteAction",
        "args": {
            "action": "back"
        }
    }
};

Also, to start a slideshow with random order I'm usng this:
return { payload: { "method": "Player.Open", "args": { "item": { "path": "smb://192.168.101.100/log", "random":true, "recursive":true } } }};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant