stremio-shell icon indicating copy to clipboard operation
stremio-shell copied to clipboard

open in iina

Open nammminn2 opened this issue 4 years ago • 7 comments

is there a way to add open in iina as another option besides vlc?

nammminn2 avatar Jan 19 '21 03:01 nammminn2

I added this code below inside the object players present in the function module.exports = function(devices), that can be found in the file Contents/MacOS/server.js

iina: {
            title: "IINA",
            args: ["--no-stdin", "--mpv-resume-playback=no"],
            subArg: '--mpv-sub-file=',
            timeArg: '--mpv-start=+',
            playArg: '',
            darwin: {
                path: ["/Applications/IINA.app/Contents/MacOS/iina-cli"]
            },
            linux: {
                path: []
            },
            win32: {
                path: []
            }
        },

I don't know where this line inside the source code of Stremio is and I don't even think this is the right repo. Anyway I tweaked it like that. I hope the devs will implement it in the right way.

riklus avatar Feb 02 '22 17:02 riklus

Has anyone implemented it?

1yusufjee avatar Oct 17 '22 16:10 1yusufjee

nope

jaruba avatar Oct 17 '22 17:10 jaruba

iina: {
            title: "IINA",
            args: ["--no-stdin"],
            subArg: '--mpv-sub-file=', // DOES WORK
            timeArg: '--mpv-start=+',  // DOESN'T WORK
            playArg: '',
            darwin: {
                path: ["/Applications/IINA.app/Contents/MacOS/iina-cli"]
            },
            linux: {
                path: []
            },
            win32: {
                path: []
            }
        },

Any idea on how to get this working on Infuse?

zeronullempty avatar Jul 17 '23 02:07 zeronullempty

I added this code below inside the object players present in the function module.exports = function(devices), that can be found in the file Contents/MacOS/server.js

iina: {
            title: "IINA",
            args: ["--no-stdin"],
            subArg: '--mpv-sub-file=', // DOES WORK
            timeArg: '--mpv-start=+',  // DOESN'T WORK
            playArg: '',
            darwin: {
                path: ["/Applications/IINA.app/Contents/MacOS/iina-cli"]
            },
            linux: {
                path: []
            },
            win32: {
                path: []
            }
        },

I don't know where this line inside the source code of Stremio is and I don't even think this is the right repo. Anyway I tweaked it like that. I hope the devs will implement it in the right way.

Yo. Thanks so much!

deepakvk95 avatar Aug 12 '23 04:08 deepakvk95

thank you so much, its working for IINA. is there a similar way to implement this for Movist Pro player?

ongkiii avatar Sep 21 '24 15:09 ongkiii

@ongkiii, you could try something like:

movistpro: {
            title: "Movist Pro",
            args: ["-a", "Movist Pro"],
            subArg: '',
            timeArg: '',
            playArg: '',
            darwin: {
                path: ["/usr/bin/open"]
            },
            linux: {
                path: []
            },
            win32: {
                path: []
            }
        },

riklus avatar Sep 23 '24 10:09 riklus