aos-AVP icon indicating copy to clipboard operation
aos-AVP copied to clipboard

Use as external player in kodi

Open ManosP opened this issue 4 years ago • 13 comments

Hello. I am using kodi because I have a lot of movies, shows etc in my library, but I love nova player and I want to use it as external player through kodi. I am using the playercorefactory.xml method and kodi isn't recognizing the filename tag which is "org.courville.nova"

What maybe is going wrong?

ManosP avatar May 09 '20 12:05 ManosP

Please try with latest version of the application it could fix the issue. https://github.com/nova-video-player/aos-AVP/releases

courville avatar May 09 '20 13:05 courville

No luck. Not working but I don't know why???

ManosP avatar May 09 '20 15:05 ManosP

I never tried but for android if I refer to the documentation https://kodi.wiki/view/External_players#Android you need something like (I did not tried it):

am start -n org.courville.nova/.player.PlayerActivity -d {1} true true

Le sam. 9 mai 2020 à 17:41, ManosP [email protected] a écrit :

No luck. Not working but I don't know why???

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/340#issuecomment-626194497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JG5UFNR2C3BRUHXHAUDRQV2UFANCNFSM4M4ZIF2A .

courville avatar May 10 '20 08:05 courville

Not working. I also try replacing the filename tag from am to org.courville.nova but no luck again. I don't know why this happens. It working flawless with other video players but not with nova.

ManosP avatar May 10 '20 08:05 ManosP

<player name="Nova" type="ExternalPlayer" audio="true" video="true"> <filename>org.courville.nova</filename> <args>start -n org.courville.nova/.player.PlayerActivity -d {1}</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> </player>

ManosP avatar May 10 '20 09:05 ManosP

I also tried replacing the following xml file but again with no luck https://kodi.wiki/view/HOW-TO:Use_external_players_on_Android

ManosP avatar May 10 '20 09:05 ManosP

We should do like

	<player name="ArchosVideo" type="ExternalPlayer" audio="false" video="true">
		<filename>com.archos.mediacenter.video</filename>
		<hidexbmc>true</hidexbmc>
		<playcountminimumtime>120</playcountminimumtime>
	</player>

Thus replacing with nova like:

org.courville.nova true 120

This is what I would try.

Le dim. 10 mai 2020 à 11:08, ManosP [email protected] a écrit :

I also tried replacing the following xml file but again with no luck https://kodi.wiki/view/HOW-TO:Use_external_players_on_Android

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/340#issuecomment-626296757, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JG3IJAKVNUYDIN3TNMDRQZVHZANCNFSM4M4ZIF2A .

courville avatar May 10 '20 09:05 courville

OK this is perhaps tricker because the intent to be launched is the following: from command line adb shell am start -n org.courville.nova/com.archos.mediacenter.video.player.PlayerActivity -d file:////sdcard/Download/video.mkv

Thus this means that the following could work:

am start -n org.courville.nova/com.archos.mediacenter.video.player.PlayerActivity -d {1} true true

Le dim. 10 mai 2020 à 11:12, Software Courville [email protected] a écrit :

We should do like

  <player name="ArchosVideo" type="ExternalPlayer" audio="false" video="true">
  	<filename>com.archos.mediacenter.video</filename>
  	<hidexbmc>true</hidexbmc>
  	<playcountminimumtime>120</playcountminimumtime>
  </player>

Thus replacing with nova like:

org.courville.nova true 120

This is what I would try.

Le dim. 10 mai 2020 à 11:08, ManosP [email protected] a écrit :

I also tried replacing the following xml file but again with no luck https://kodi.wiki/view/HOW-TO:Use_external_players_on_Android

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nova-video-player/aos-AVP/issues/340#issuecomment-626296757, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JG3IJAKVNUYDIN3TNMDRQZVHZANCNFSM4M4ZIF2A .

courville avatar May 10 '20 09:05 courville

We should do like com.archos.mediacenter.video true 120 Thus replacing with nova like: org.courville.nova true 120 This is what I would try. Le dim. 10 mai 2020 à 11:08, ManosP [email protected] a écrit : I also tried replacing the following xml file but again with no luck https://kodi.wiki/view/HOW-TO:Use_external_players_on_Android — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#340 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JG3IJAKVNUYDIN3TNMDRQZVHZANCNFSM4M4ZIF2A .

Not working. This is the first script I used.

ManosP avatar May 10 '20 09:05 ManosP

No it is not, I changed the script see org.courville.nova/com.archos.mediacenter.video.player.PlayerActivity instead of org.courville.nova/.player.PlayerActivity in:

<player name="Nova" type="ExternalPlayer" audio="false" video="true">
       <filename>am</filename>
       <args>start -n
org.courville.nova/com.archos.mediacenter.video.player.PlayerActivity -d
{1}</args>
       <hidexbmc>true</hidexbmc>
       <hideconsole>true</hideconsole>
</player>

Also audio is false.

courville avatar May 10 '20 09:05 courville

Not working :(

ManosP avatar May 10 '20 09:05 ManosP

Is very strange. VLC is working, MXPlayer is working. I don't know why is this happening with Nova.

ManosP avatar May 10 '20 09:05 ManosP

I had limited success using nova as kodi external player on android tv: I was able to make it work with https streams from both an https datasource and a .strm file containing an https url. It didnt' work with files on an smb share though.

Note that in this case nova won't save the stream you're viewing in its history and won't remember the position if you close the player (vlc does that)

Here is my config:

<playercorefactory>
    <players>
        <player name="VLC" type="ExternalPlayer" audio="false" video="true">
            <filename>org.videolan.vlc</filename>
            <args>--fullscreen "{1}"</args>
            <hidexbmc>false</hidexbmc>
            <playcountminimumtime>50</playcountminimumtime>
        </player>
        <player name="Nova" type="ExternalPlayer" audio="false" video="true">
            <filename>org.courville.nova</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>
            <playcountminimumtime>50</playcountminimumtime>
        </player>
    </players>
    <rules>
		<rule video="true" internetstream="true" player="Nova"/>
		<rule video="true" filetypes="strm" player="Nova"/>
		<rule video="true" filename=".*alldebrid.*" player="Nova"/>
		<rule video="true" filename=".*(Series|Films).*" player="VLC"/>
	</rules>
</playercorefactory>

yherve avatar Jun 03 '22 07:06 yherve

@yherve sorry to be dim but is it now possible to use Nova as external player in Kodi 20 to play the video files scraped using addons like Fen, Seren etc?

onlytanmoy avatar Feb 25 '23 12:02 onlytanmoy