[WINDOWS] External Player Support Thread - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: [WINDOWS] External Player Support Thread (/showthread.php?tid=43511) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
RE: [WINDOWS] External Player Support Thread - metfixxxer - 2023-12-18 (2023-12-17, 19:37)CrystalP Wrote: Well, is --fullscreen even accepted by mpc-hc64.when i ran it with the first order - i got a pop-up with the original error message "unrecognized switches" when i changed the order - i got nothing. no pop-up box with error, nothing. it sort of just flashed, then nothing RE: [WINDOWS] External Player Support Thread - CrystalP - 2023-12-18 There you go, fix the mpc-hc64 command line first, then integrate it in the playerfactory. This is not a support forum for mpc-hc64, I don't have it installed and won't go any further than this, but a few posts higher than your first, there is a playerfactory using /fullscreen. RE: [WINDOWS] External Player Support Thread - 647830 - 2024-01-09 Hello, Hope this is the right place to post my question. I am currently using MPC-BE as external player with Kodi (20.2), but the netflix addon (https://github.com/CastagnaIT/plugin.video.netflix) does not work: "can't play the file". I would like to adjust the playercorefactory file so that the netflix addon uses the internal player, while for other files it keeps using MPC-BE. I don't know the nature of the files/stream to be read for the Netflix addon, but have seen somewhere it would be ".*strm.*" (but not sure of it). This is obviously for use with a paid subscription to Netflix. Could someone please provide assistance on how to adjust the playercorefactory to achieve this? Many thanks RE: [WINDOWS] External Player Support Thread - Mibuix0r - 2024-03-01 Is there still no way to set a key to play using an external player? I tried this but doesn't seem to work heh: <keymap> <global> <keyboard> <p>PlayWith(MPC-HC)</p> It does look like its possible though https://kodi.wiki/view/Keymap#Player_built-in's RE: [WINDOWS] External Player Support Thread - ashlar - 2024-03-01 (2024-03-01, 12:56)Mibuix0r Wrote: Is there still no way to set a key to play using an external player? I tried this but doesn't seem to work heh:When speaking about player core, I think the wiki refers to the two main players in Kodi, for video and audio, not to external players that, by definition, are not core. You might want to have a look at the SwitchPlayer functionality, in order to maybe combine that command with a normal play command (don't know if it's possible but I suppose it should be somehow). RE: [WINDOWS] External Player Support Thread - Mibuix0r - 2024-03-01 (2024-03-01, 18:27)ashlar Wrote:Ahh, so there is no way to do it? If you could just use a key to bring up that Play Using... menu that would work too. Mine almost always crashes when doing the Switchplayer thing on 4k hdr movies, and that is when I need it most. Maybe I can reorder the context menu for it to be at the top. It takes quite a bit of time to do now.(2024-03-01, 12:56)Mibuix0r Wrote: Is there still no way to set a key to play using an external player? I tried this but doesn't seem to work heh:When speaking about player core, I think the wiki refers to the two main players in Kodi, for video and audio, not to external players that, by definition, are not core. RE: [WINDOWS] External Player Support Thread - ashlar - 2024-03-01 (2024-03-01, 18:33)Mibuix0r Wrote:The Play using... submenu is a window of some sort, I suppose there should definitely be a way to call that.(2024-03-01, 18:27)ashlar Wrote:Ahh, so there is no way to do it? If you could just use a key to bring up that Play Using... menu that would work too. Mine almost always crashes when doing the Switchplayer thing on 4k hdr movies, and that is when I need it most. Maybe I can reorder the context menu for it to be at the top. It takes quite a bit of time to do now.(2024-03-01, 12:56)Mibuix0r Wrote: Is there still no way to set a key to play using an external player? I tried this but doesn't seem to work heh:When speaking about player core, I think the wiki refers to the two main players in Kodi, for video and audio, not to external players that, by definition, are not core. RE: [WINDOWS] External Player Support Thread - Mibuix0r - 2024-03-01 (2024-03-01, 18:35)ashlar Wrote:(2024-03-01, 18:33)Mibuix0r Wrote:The Play using... submenu is a window of some sort, I suppose there should definitely be a way to call that.(2024-03-01, 18:27)ashlar Wrote: When speaking about player core, I think the wiki refers to the two main players in Kodi, for video and audio, not to external players that, by definition, are not core.Ahh, so there is no way to do it? If you could just use a key to bring up that Play Using... menu that would work too. Mine almost always crashes when doing the Switchplayer thing on 4k hdr movies, and that is when I need it most. Maybe I can reorder the context menu for it to be at the top. It takes quite a bit of time to do now. hmm does this help? https://imgur.com/a/or92iyb RE: [WINDOWS] External Player Support Thread - izprtxqkft - 2024-03-01 (2024-03-01, 18:33)Mibuix0r Wrote: thing on 4k hdr movies, and that is when I need it most. would it not be more acceptable to make this process automatic? look at https://kodi.wiki/view/External_players if you use rules like in the example you can make certain content play external only f.e. Code: <rules action="prepend"> but if not, no i do not know how to call a specific external player from the keymap RE: [WINDOWS] External Player Support Thread - Mibuix0r - 2024-03-01 (2024-03-01, 18:53)izprtxqkft Wrote:(2024-03-01, 18:33)Mibuix0r Wrote: thing on 4k hdr movies, and that is when I need it most. I would really like to be able to choose with each on. I know I can set the rules but it I prefer to do it manually. RE: [WINDOWS] External Player Support Thread - ashlar - 2024-03-01 (2024-03-01, 18:35)ashlar Wrote:So you could use the ActivateWindowAndFocus built in command in your keymap.xml file(2024-03-01, 18:33)Mibuix0r Wrote:The Play using... submenu is a window of some sort, I suppose there should definitely be a way to call that.(2024-03-01, 18:27)ashlar Wrote: When speaking about player core, I think the wiki refers to the two main players in Kodi, for video and audio, not to external players that, by definition, are not core.Ahh, so there is no way to do it? If you could just use a key to bring up that Play Using... menu that would work too. Mine almost always crashes when doing the Switchplayer thing on 4k hdr movies, and that is when I need it most. Maybe I can reorder the context menu for it to be at the top. It takes quite a bit of time to do now. ActivateWindowAndFocus(10106,id2,item1, id3,item2) as seen here: https://kodi.wiki/view/List_of_built-in_functions#GUI_built-in's 10106 is Contextual Menu. How to focus on playusing, etc... it's down to experimenting with the other parameters, which I don't know how to use. If you could combine two actions or more, you could open the contextual menu, focused on Play using... and then maybe have the OK press simulated in order to access the list of players with just one button. RE: [WINDOWS] External Player Support Thread - ashlar - 2024-03-01 You could also give a look at this post of mine. It's not doing the same thing you're trying to achieve, but it's similar enough that maybe there's a similar approach available for you. https://forum.kodi.tv/showthread.php?tid=373237&pid=3155625#pid3155625 Note the use of script. I have a selectsubs.py script with the content listed in the above post, and I map the function with Code: <f9>RunScript(C:\tools\SelectSubs.py)</f9> in my keymap.xml For you it could be: Code: import xbmc, xbmcgui RE: [WINDOWS] External Player Support Thread - Mibuix0r - 2024-03-01 (2024-03-01, 19:00)ashlar Wrote:Heh, well when I set it to open the context menu with ActivateWindow or ActivateWindowAndFocus I get a mostly blank context menu https://imgur.com/a/tWyWtlC(2024-03-01, 18:35)ashlar Wrote:So you could use the ActivateWindowAndFocus built in command in your keymap.xml file(2024-03-01, 18:33)Mibuix0r Wrote: Ahh, so there is no way to do it? If you could just use a key to bring up that Play Using... menu that would work too. Mine almost always crashes when doing the Switchplayer thing on 4k hdr movies, and that is when I need it most. Maybe I can reorder the context menu for it to be at the top. It takes quite a bit of time to do now.The Play using... submenu is a window of some sort, I suppose there should definitely be a way to call that. RE: [WINDOWS] External Player Support Thread - ashlar - 2024-03-01 (2024-03-01, 19:20)Mibuix0r Wrote:Have you tried with default skin? Just to check.(2024-03-01, 19:00)ashlar Wrote:Heh, well when I set it to open the context menu with ActivateWindow or ActivateWindowAndFocus I get a mostly blank context menu https://imgur.com/a/tWyWtlC(2024-03-01, 18:35)ashlar Wrote: The Play using... submenu is a window of some sort, I suppose there should definitely be a way to call that.So you could use the ActivateWindowAndFocus built in command in your keymap.xml file RE: [WINDOWS] External Player Support Thread - Mibuix0r - 2024-03-01 (2024-03-01, 19:46)ashlar Wrote:So I got it to enter the Context Menu but I don't know if this is going to work. It seems some have more items in the context menu (like if it has to option to resume) and even ones that seem alike it sometimes doesn't go down the right amount of steps.(2024-03-01, 19:20)Mibuix0r Wrote:Have you tried with default skin? Just to check.(2024-03-01, 19:00)ashlar Wrote: So you could use the ActivateWindowAndFocus built in command in your keymap.xml fileHeh, well when I set it to open the context menu with ActivateWindow or ActivateWindowAndFocus I get a mostly blank context menu https://imgur.com/a/tWyWtlC Code: import xbmc, xbmcgui |