![]() |
[Kodi17 @ W7] External player stopped working - 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: [Kodi17 @ W7] External player stopped working (/showthread.php?tid=306131) |
[Kodi17 @ W7] External player stopped working - bestboy - 2017-02-06 I have been using MPC-HC as an external player with Kodi for some time. But for some reason it stopped working. In the logfile it says "no such player". Code: https://pastebin.com/2Yruq62x Taking a quick look at the code, it seems that either m_vecPlayerConfigs is empty or the check StringUtils::EqualsNoCase(m_vecPlayerConfigs[i]->GetName(), strRealCoreName) does not match: PHP Code: int CPlayerCoreFactory::GetPlayerIndex(const std::string& strCoreName) const My playercorefactory.xml @ C:\Users\%USERNAME%\AppData\Roaming\Kodi\userdata\ is kinda simple PHP Code: <playercorefactory> Any help to get my MPC with madVR back is greatly appreciated. Edit: replaced excerpt from normal log with debug log RE: [Kodi17 @ W7] External player stopped working - PatK - 2017-02-07 I'm too tired to read all that stuff.... but this did stick out under rules You have. player="MPC-HC" /> I have layer="mpc-hc.exe"/> RE: [Kodi17 @ W7] External player stopped working - bestboy - 2017-02-07 Thank you for your reply PatK. Well, I assumed the player attribute of the rule entity has to reference the player entity by the name attribute (key). Unfortunately, changing the player attribute of the rule to the executable name as suggested does not solve the issue. PHP Code: <playercorefactory> Code: [...] Based on the log output, I believe the rule is OK. It's rather the player definition that has some kind of an issue... RE: [Kodi17 @ W7] External player stopped working - PatK - 2017-02-07 This works for me, only use it for some h265 videos, wondering if case is sensitive. Code: playercorefactory> RE: [Kodi17 @ W7] External player stopped working - bestboy - 2017-02-07 Thanks for posting your playercorefactory.xml as a reference. It's not working for me, tho. Same result :( Code: 21:26:36.408 T:1012 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml. So if the playercorefactory is not the problem here, then what else could it be?! RE: [Kodi17 @ W7] External player stopped working - PatK - 2017-02-08 Here's a great forum http://forum.kodi.tv/showthread.php?tid=209596 they go through the set-up step by step, perhaps some reference there? Of course the wiki External players (wiki) RE: [Kodi17 @ W7] External player stopped working - bestboy - 2017-02-10 Well, it seems that I can't get MPC-HC working again. As a last resort I did a full reinstall, which included the deletion of my user profile, but still the same issue: no such player. For now I gave up and switched over to the DSPlayer. It's not as stable as my previous MPC-HC/madVR setup, but it will have to do... RE: [Kodi17 @ W7] External player stopped working - Twerthi - 2017-07-30 I have been having the same issue since upgrading from 16.1 to 17.3. The same PlayerCoreFactory.xml file that works on 16.1, does not work on 17.3 <playercorefactory> <players> <player name="PowerDVD" type="ExternalPlayer"> <islauncher>true</islauncher> <filename>c:\temp\externalplayer.bat</filename> <forceontop>true</forceontop> <warpcursor>none</warpcursor> <hideconsole>true</hideconsole> </player> </players> <rules action="prepend"> <rule filetypes="bdmv" filename="*.bdmv" player="PowerDVD" /> <rule filetypes="ifo" filename="*.ifo" player="PowerDVD" /> </rules> </playercorefactory> I have searched off and on for months to see if anyone has resolved the issue. I have found it doesn't matter what I use as a player name, it reports no such player. I've not upgraded my main machine as this continues to plague me. Has anyone managed to solve this? RE: [Kodi17 @ W7] External player stopped working - Twerthi - 2017-07-30 Though not shown here, I have tried the audio and video attributes to no avail. RE: [Kodi17 @ W7] External player stopped working - Karellen - 2017-07-30 Anything in here that might help? https://forum.kodi.tv/showthread.php?tid=259188 RE: [Kodi17 @ W7] External player stopped working - PatK - 2017-07-31 Not that it's going to comfort anyone.... mpc-be64? Does the player even show up in the context menu under 'play with', important to the path, could the space between "Program Files (86)" be an issue? Posted by bestboy (perhaps a full [not snippet] debug log, posted to a pastebin might have a clue) 20:40:58.299 T:3324 WARNING: CPlayerCoreFactory::GetPlayer(MPC-HC): no such player: MPC-HC 20:40:58.299 T:3324 DEBUG: CPlayerCoreConfig::<ctor>: created player MPC-HC 20:40:58.299 T:3324 DEBUG: CPlayerSelectionRule::Initialize: creating rule: un-named 20:40:58.299 T:3324 DEBUG: CPlayerSelectionRule::Initialize: creating rule: all 20:40:58.299 T:3324 NOTICE: Loaded playercorefactory configuration Posted by PatK (works in all Kodi's to date including Leia.) 21:55:50.761 T:9096 WARNING: CPlayerCoreFactory::GetPlayer(mpc-be64): no such player: mpc-be64 21:55:50.761 T:9096 DEBUG: CPlayerCoreConfig::<ctor>: created player mpc-be64 21:55:50.761 T:9096 DEBUG: CPlayerSelectionRule::Initialize: creating rule: un-named 21:55:50.761 T:9096 DEBUG: Previous line repeats 1 times. 21:55:50.761 T:9096 NOTICE: Loaded playercorefactory configuration RE: [Kodi17 @ W7] External player stopped working - brazen1 - 2017-07-31 Fwiw, the log will always show 'no such player' even though the player(s) do indeed exist, are called, and perform as intended. Also, they do appear in the 'Play using' menu and can be manually called from there if the default desires to be changed. There are various working examples of playercorefactory.xml's with and without additional .bats to enhance playback in the guide in my signature including MPC-BE with madVR. Other players can easily be added, subtracted, or replaced. The latest combo I use is on page 14 of the guide, problem free and dependable. It covers the entire gamut of every file playback I know of. Why logs have always shown 'no such player' is beyond me but don't use it as a diagnosis why other playercorefactory.xml's don't work properly. @Twerthi. Your script appears to point to a .bat in a C: temp folder. I'd bet dimes to dollars that is your problem and it coincidently changed along with your upgrade or no longer is directed proper from the playercorefactory. RE: [Kodi17 @ W7] External player stopped working - Twerthi - 2017-08-05 @brazen1 This turned out to be PEBKAC, I had the Blu ray menu portion showing the simplified menu which caused Kodi to pass in the mpls file instead of the bmdv. My external player settings were not set up to take in the mpls so the internal player would kick in. Thank you for responding. Also, thank you for providing that guide as well, very useful. |