Stremio / stremio-shell

🐚 Qt5-based shell for Stremio; compile this to run the desktop app
GNU General Public License v3.0
581 stars 129 forks source link

open in iina #193

Open nammminn2 opened 3 years ago

nammminn2 commented 3 years ago

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

riklus commented 2 years ago

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.

1yusufjee commented 2 years ago

Has anyone implemented it?

jaruba commented 2 years ago

nope

zeronullempty commented 1 year ago
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?

deepakvk95 commented 1 year ago

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!

ongkiii commented 2 months ago

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

riklus commented 2 months ago

@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: []
            }
        },
YassineKh75 commented 1 week ago

any update ?

huynlx commented 3 days ago

@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: []
            }
        },

how can i use it for Infuse App?

YassineKh75 commented 3 days ago

I figured out that you can copy the url from the original player and open it with iina