Kodi Community Forum

Full Version: fresh Kodi install using external audio player restarts infinitely on close
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Brand new kodi install.

Using powerdvd for DVDs and audio CDs.

DVD works as expected.

When audio CD is clicked in Kodi it launches powerdvd as expected, but after close of powerdvd and kodi returns it launches powerdvd again.

It will do this forever, I have to use task mgr to kill kodi then quit powerdvd.

Here is my playercorefactory:

<playercorefactory> 
<players> 
     <player name="PowerDVD" type="ExternalPlayer" audio="true" video="true"> 
    <filename>C:\Program Files (x86)\CyberLink\PowerDVD17\PowerDVD.exe</filename> 
    <args>"{1}" /fullscreen /close</args> 
    <hidexbmc>false</hidexbmc> 
    <hideconsole>false</hideconsole> 
    <warpcursor>none</warpcursor> 
    <playonestackitem>true</playonestackitem>
     </player> 
</players> 
<rules action="prepend"> 
    <rule dvd="true" player="PowerDVD"/> 
    <rule audio="true" player="PowerDVD"/>
</rules> 
</playercorefactory>

I'm using the default skin and haven't configured any settings.

I've searched the kodi forum and found this issue with a video looping but that didn't apply to my situation.

Here are my particulars:

Kodi Kryton 17.6
Windows 7 sp1 64bit
Estuary skin - everything default

BTW...I'm using powerdvd for audio CDs so I can easily play a family photo slideshow during music playback for family gatherings.  Kodi just doesn't  seem to have that.

This is the error from the debug Kodi log that I see for each repeated launch...

17:46:28.342 T:2564 WARNING: CActiveAE::ActiveAE::CActiveAE::StateMachine - signal: 0 from port: OutputControlPort not handled for state: 6
17:46:33.342 T:2752   ERROR: ActiveAE::ActiveAE::CActiveAE::Resume - failed to init
17:46:33.342 T:2752   FATAL: CExternalPlayer:Tonguerocess: Failed to restart AudioEngine after return from external player
17:46:33.342 T:2752   DEBUG: CApplication::OnPlayBackEnded: play state was 2, starting 0
17:46:33.342 T:2752   DEBUG: Thread ExternalPlayer 2752 terminating
17:46:33.342 T:2612   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
17:46:33.342 T:2612   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
17:46:33.355 T:3736   DEBUG: CSaveFileStateJob:Big GrinoWork - Saving file state for audio item cdda://local/01.cdda
17:46:33.357 T:3736   DEBUG: CSaveFileStateJob:Big GrinoWork - Marking audio item cdda://local/01.cdda as listened
17:46:33.360 T:3736   DEBUG: Loading settings for cdda://local/02.cdda
17:46:33.361 T:3736   DEBUG: CPlayerCoreFactory::GetPlayers(cdda://local/02.cdda)
17:46:33.361 T:3736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
17:46:33.361 T:3736   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
17:46:33.361 T:3736   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
17:46:33.361 T:3736   DEBUG: Previous line repeats 1 times.
17:46:33.361 T:3736   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
17:46:33.361 T:3736   DEBUG: CPlayerSelectionRule::GetPlayers: adding player: PowerDVD for rule: un-named

Note:  I am Xing out of powerDVD....I'll try quitting another method and check the debug
I have no ideas about using other player software to play music via Kodi control, didn't even know that was possible!
Quote:BTW...I'm using powerdvd for audio CDs so I can easily play a family photo slideshow during music playback for family gatherings.  Kodi just doesn't  seem to have that.

Actually, Kodi can play music while showing pictures. Start the music, then navigate to pictures and start the slide show. Music will keep playing as long as the picture show is just of still images, if it finds video and starts video playback then msuci stops and does not resume.

My suggestion is build a music library and enjoy browsing and playing your music entirely with Kodi.
I'll try that out ... still I'm sure I'm not the first to try external player for music

Thanks for your reply!