v18 Leia v18a1 - External player is passed videodb path.
#1
I have Leia x64 v18a1 installed on my windows10 system, previously i had the latest v17.6 build.

Looks like my MPC-HC external player is now being passed Kodi's videodb paths when trying to play a video from my library, causing it to fail and display unable to render file.

Previously working fine in v17, is something different in Leia for the filepath parameter to the external player?

playercorefactory.xml
xml:
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>

log
cpp:
18:09:51.389 T:7524   ERROR: XFILE::CDirectory::GetDirectory - Error getting \
18:09:53.116 T:9612  NOTICE: ExternalPlayer Filename: C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe
18:09:53.116 T:9612 WARNING: ExternalPlayer: invalid value for warpcursor: none
18:09:53.116 T:9612  NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor (none)
18:09:53.116 T:9612  NOTICE: CExternalPlayer::OpenFile: videodb://movies/sets/117/577?setid=117
18:09:53.116 T:3000  NOTICE: CExternalPlayer:Tonguerocess: Player : C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe
18:09:53.116 T:3000  NOTICE: CExternalPlayer:Tonguerocess: File   : videodb://movies/sets/117/577?setid=117
18:09:53.116 T:3000  NOTICE: CExternalPlayer:Tonguerocess: Content:
18:09:53.116 T:3000  NOTICE: CExternalPlayer:Tonguerocess: Args   : "{1}" /fullscreen /close
18:09:53.116 T:3000  NOTICE: CExternalPlayer:Tonguerocess: Start
18:09:53.167 T:3000  NOTICE: CExternalPlayer::ExecuteAppW32: C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe "C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe" "videodb://movies/sets/117/577?setid=117" /fullscreen /close
18:09:56.405 T:3000  NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_OBJECT_0
Reply
#2
Bump.

I would like to know the answer to this. Many users will want to take advantage of external players for HDR support in Kodi v18. Imo, this is pretty important.
Reply
#3
I agree it's important.  Installed v.18 x64 today to check out its progress. 
playercorefactory.xml is not directing to choice of multiple players via 'play using' from context menu.
I am using 5 players.  Specific rules are used in the xml assigned to each player.
Rules are not recognized anymore, so a specific default player for a specific rule is not used and you can't manually select one from the 'play using' menu either.
So, the xml defaults to the first player listed and ignores the rest.
That player is PowerDVD.  Titles that should open by default using KODI videoplayer are now opening with PowerDVD.  Every title in the library is.
playercorefactory.xml rule nodes, player nodes, and arguments need to be updated.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
#4
I've been testing playback on my side. If you disable play next video automatically, does the problem still exists?
Reply
#5
I've never had that enabled.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
#6
(2018-03-19, 23:44)angelblue05 Wrote: I've been testing playback on my side. If you disable play next video automatically, does the problem still exists?
 Any call to an external player was sending the wrong path for me, didn't seem to matter if play next was on.
Reply
#7
Bumping
Reply
#8
I can confirm the report brazen1 gave in post #3, although I can use an external player with the listed below, I lose the default, as others have noted, 'watched' flag is not set.

<player name="mpc-be64" type="ExternalPlayer" audio="false" video="true">
     <filename>C:\Program Files\MPC-BE x64\mpc-be64.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
     <playcountminimumtime>1140</playcountminimumtime>
   </player>
 </players>
Reply

Logout Mark Read Team Forum Stats Members Help
Leia v18a1 - External player is passed videodb path.0