Jump to content


Photo

EmbyCon on Nvidia Shield External Player broken!?


  • Please log in to reply
6 replies to this topic

#1 Birdy110 OFFLINE  

Birdy110

    Member

  • Members
  • 20 posts
  • Local time: 06:23 PM

Posted 12 March 2019 - 08:36 PM

Hi guys! If I access my emby server from Kodi via UPnP I can long click on any movie and choose to play it with

my chosen player. (Normally MXPlayer or default Kodi). But when I use embycon I get the menu, but it dose not

work! It actually dose what is set in playercorefactory.xml as default.

 

For example mine has this rule:

<rule internetstream="true" player="MXPlayer" />

 

and embycon will play all videos with MXPlayer. If I choose long click and select default kodi player it will still go

for MXPlayer! Now if I remove the rule from playercorefactory.xml then it will open the file with default player but

if I try to open it with MX or VLC it again open it with the default kodi!

 

Can anyone look into this and see if there is a workaround ?



#2 sualfred ONLINE  

sualfred

    The Embuary guy

  • Developers
  • 1716 posts
  • Local time: 07:23 PM
  • LocationGermany

Posted 13 March 2019 - 05:46 AM

@null_pointer

 

Yes, the long click of "ok" or "select" usually opens the context menu for listitems on the Shield. 



#3 sualfred ONLINE  

sualfred

    The Embuary guy

  • Developers
  • 1716 posts
  • Local time: 07:23 PM
  • LocationGermany

Posted 13 March 2019 - 08:12 AM

It seems so. I have no experience with external players and I wasn't aware that Kodi offers an option about which player should be used. The last time I used it was on Kodi 12 for BluRay discs and PowerDVD.

 

Howto:

https://kodi.wiki/vi...xternal_players


Edited by sualfred, 13 March 2019 - 08:13 AM.


#4 Birdy110 OFFLINE  

Birdy110

    Member

  • Members
  • 20 posts
  • Local time: 06:23 PM

Posted 13 March 2019 - 12:13 PM

Hi guys. Sorry for late reply, just got back home.

 

Ok easy! I have attached a ready playercorefactory.xml with this message. So all you need to do is to save this and copy it to your

Kodi userdata folder. Then install mxplayer free and vlc from google store.

 

Now you can use any external player by simply long clicking on a video (this is how I get the context menu showing on nvidia shield) .

For it to work you need to disable embycon's context menu in the addon's services menu.

 

Now when the context menu opens you get the option: "Play Using"

 

5c892b19e8e9a_emby1.jpg

 

 

 

Choose it and you will get the choices I have set in the xml file:

 

5c892ba9f2450_emby2.jpg

 

 

If you try doing the same thing without using embycon (Connecting to your emby server with kodi through UPnP) then it works perfect and you can open the file

with your chosen player. But with embycon the file will only open with one player!

 

 

Attached Files



#5 Birdy110 OFFLINE  

Birdy110

    Member

  • Members
  • 20 posts
  • Local time: 06:23 PM

Posted 13 March 2019 - 04:51 PM

Yes and Yes again!

If I set the default player to VLC  or MXPlayer in  playercorefactory.xml in both cases embycon opens the videos with the

Player I have selected. The only line needed to get this done is: <rule internetstream="true" player="MXPlayerFree" />

 

About embycon supporting all these players: I put up a playercorefactory.xml with all the players as example so you can test

any player you want. But I doubt that all of these are needed by anyone. For example in my case I only use VLC and MXPlayer.



#6 Birdy110 OFFLINE  

Birdy110

    Member

  • Members
  • 20 posts
  • Local time: 06:23 PM

Posted 13 March 2019 - 08:38 PM

The problem is the player selection is not passed through to the play action in the EmbyCon add-on.

I think I am consuming the player selection in the custom play handler I have written, I dont think I can fix that.

I will have a look but at the moment I think being able to use the default set player is the best that you can expect.

I will keep looking though, perhaps I will find something.

Thank you very much null_pointer for looking into this and for your reply. I still have the UPnP way option

too. But EmbyCon feels and look much nicer :) thanks for the great job you guys have done :)



#7 Birdy110 OFFLINE  

Birdy110

    Member

  • Members
  • 20 posts
  • Local time: 06:23 PM

Posted 13 March 2019 - 10:59 PM

I noticed when looking through the multi player docs

https://kodi.wiki/vi...xternal_players

You can specify rules, perhaps you can set some rules to pick the player based on the criteria you know works best for each media type and format.

I have been looking at this and trying to get the rules work. It dose anything you set correctly under windows.

But under android it's weird! Not working correctly !

 

Here are an example of my rules under windows:  (I wish I could get this to work the same under android )

But will look more into it and try again !

 

<rules action="prepend">
   
    <rule filename=".*HDR10.*|.*HDR.*|.*hdr.*" player="PotPlayer"/>
    <rule filename=".*4K.*" player="PotPlayer"/>
    <rule filetypes="mks" player="PotPlayer"/>
    <rule filetypes="mkv" videocodec="avc|h265|h264|hevc|div5" player="PotPlayer"/>
    <rule filetypes="mp4" videocodec="avc|h265|h264|hevc|div5" player="PotPlayer"/>

     <rule dvdimage="true" player="VLC"/>
     <rule name="dvdimage|.*iso.*|.*image.*" dvdimage="true" player="VLC" />
  </rules>






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users