Stremio / stremio-shell

🐚 Qt5-based shell for Stremio; compile this to run the desktop app
GNU General Public License v3.0
537 stars 117 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 1 year ago

Has anyone implemented it?

jaruba commented 1 year 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 11 months 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!