2018-01-10, 10:45
Hi,
I've been using several Kodi releases, starting from 17 - beta popcornmix up to the official 17.6 under Slackware ARM on a Raspberry Pi2B and was never letting Kodi go online but only using it to play tvheadend streaming locally and local media files (storage), everything on Audio Analogue. During this almost 2 years period I observed very rarely some issues with the audioplayer - PAPlayer on this Pi2B, in that the player suddenly stopped playing a Mp3/flac file. I didn't pay too much attention to this as I was able to resume playing with the next track. In all this time I was trying to use an external USB sound card (Creative X-Fi Go!) and whether I was using PAPlayer (default for local files) or VideoPlayer - MMAL accelerated player (DVB streams - Satellite Radio) in both cases the sound output was distorted - the sound output was constantly slowing down/speeding up and I ended up using solely the internal audio engine of the Raspberry Pi2B. Additionally, as reported in the following link, I had desync issues while playing DVB Radio streams with OMXPlayer:
https://forum.kodi.tv/showthread.php?tid...pid2580545
This is how I compile and use (configure) Kodi 17 - documented for the Slackware community:
https://www.linuxquestions.org/questions...175613852/
Recently I got a Raspberry Pi0 (present) and also bought one myself, didn't know what to do with them and considered to dedicate one solely for Kodi 17.6. Since under OMXPlayer I was not able to use an external USB Card, I did some soldering and recreated the audio analogue schematics from Raspberry Pi3 and used it on this Pi0 board. I was happy with the sound quality and Kodi performance and started using Kodi online, playing mainly YouTube and radio streams under http in the form of playlists containing records with the following format: http://XXX.XXX.XXX.XXX:port/ , that I saved and opened from within the Music menu in Kodi.
While playing radio streams under a 3G connection that is dropping every 2-3 hours, on which occasions the playing usually resumed once connectivity was reestablished, I got finally into several kernel oops-es after 2-3 such connectivity drops and had my system crashed - had to unplug the power and start it fresh. Worth to mention that I was using the visualization.spectrum addon, which together with the audio playing was driving the Pi0 CPU crazy - had temperatures exceeding 64C. I suspected that the first Pi0 board would not run stable at this temperature and used the second Pi0, just to experience the same result. Funny enough, while monitoring temperature under the heavy load of PAPlayer & visualization.spectrum I started some memory testing processes and sysbench utilities to artificially add some extra load and drive the CPU over 65C but the temperature was actually dropping at 58C ...
I thought to downgrade my Kodi 17.6 and loaded 17.4 instead, experiencing the same result.
I ended up disabling and uninstalling the visualization.spectrum addon and now the CPU load looks OK and the temperature is in normal range 48-55C, no more kernel Oops but Kodi (both 17.6 & 17.4) is freezing instead and I have to manually kill the process and start it over again.
Here you can find the kernel Oops-es that I collected in the past week:
http://www18.zippyshare.com/v/xrHmqbzb/file.html
And the afferent Kodi logs - with some notes inside:
http://www61.zippyshare.com/v/osRL2VoZ/file.html
I might be wrong but I've noticed a pattern, once this happens the third/fourth time:
I got the kernel Ooops and newly, after removing visualization.spectrum, the Kodi freeze.
Now that I'm constantly monitoring Kodi, I got yesterday into one of those rare exceptions in which PAPlayer will suddenly stop playing a local file:
- Kodi 17.6 PAPlayer - playing local files - stops playing - able to resume
Looking for an alternative to PAPlayer I got the mpv-player compiled and created the playercorefactory.xml file with the following content:
It was working, it started playing the online stream (pls file), the audio was at the maximum and I was not able to control anything in Kodi and had to kill it.
Since this PAPlayer issue might be a little difficult to fix, I'd be very thankful if someone could help me with a proper playercorefactory.xml syntax/format to use the external mpv player as default.
Thanks!
I've been using several Kodi releases, starting from 17 - beta popcornmix up to the official 17.6 under Slackware ARM on a Raspberry Pi2B and was never letting Kodi go online but only using it to play tvheadend streaming locally and local media files (storage), everything on Audio Analogue. During this almost 2 years period I observed very rarely some issues with the audioplayer - PAPlayer on this Pi2B, in that the player suddenly stopped playing a Mp3/flac file. I didn't pay too much attention to this as I was able to resume playing with the next track. In all this time I was trying to use an external USB sound card (Creative X-Fi Go!) and whether I was using PAPlayer (default for local files) or VideoPlayer - MMAL accelerated player (DVB streams - Satellite Radio) in both cases the sound output was distorted - the sound output was constantly slowing down/speeding up and I ended up using solely the internal audio engine of the Raspberry Pi2B. Additionally, as reported in the following link, I had desync issues while playing DVB Radio streams with OMXPlayer:
https://forum.kodi.tv/showthread.php?tid...pid2580545
This is how I compile and use (configure) Kodi 17 - documented for the Slackware community:
https://www.linuxquestions.org/questions...175613852/
Recently I got a Raspberry Pi0 (present) and also bought one myself, didn't know what to do with them and considered to dedicate one solely for Kodi 17.6. Since under OMXPlayer I was not able to use an external USB Card, I did some soldering and recreated the audio analogue schematics from Raspberry Pi3 and used it on this Pi0 board. I was happy with the sound quality and Kodi performance and started using Kodi online, playing mainly YouTube and radio streams under http in the form of playlists containing records with the following format: http://XXX.XXX.XXX.XXX:port/ , that I saved and opened from within the Music menu in Kodi.
While playing radio streams under a 3G connection that is dropping every 2-3 hours, on which occasions the playing usually resumed once connectivity was reestablished, I got finally into several kernel oops-es after 2-3 such connectivity drops and had my system crashed - had to unplug the power and start it fresh. Worth to mention that I was using the visualization.spectrum addon, which together with the audio playing was driving the Pi0 CPU crazy - had temperatures exceeding 64C. I suspected that the first Pi0 board would not run stable at this temperature and used the second Pi0, just to experience the same result. Funny enough, while monitoring temperature under the heavy load of PAPlayer & visualization.spectrum I started some memory testing processes and sysbench utilities to artificially add some extra load and drive the CPU over 65C but the temperature was actually dropping at 58C ...
I thought to downgrade my Kodi 17.6 and loaded 17.4 instead, experiencing the same result.
I ended up disabling and uninstalling the visualization.spectrum addon and now the CPU load looks OK and the temperature is in normal range 48-55C, no more kernel Oops but Kodi (both 17.6 & 17.4) is freezing instead and I have to manually kill the process and start it over again.
Here you can find the kernel Oops-es that I collected in the past week:
http://www18.zippyshare.com/v/xrHmqbzb/file.html
And the afferent Kodi logs - with some notes inside:
http://www61.zippyshare.com/v/osRL2VoZ/file.html
I might be wrong but I've noticed a pattern, once this happens the third/fourth time:
Code:
NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
Now that I'm constantly monitoring Kodi, I got yesterday into one of those rare exceptions in which PAPlayer will suddenly stop playing a local file:
- Kodi 17.6 PAPlayer - playing local files - stops playing - able to resume
Code:
13:03:33.970 T:2966970928 ERROR: ActiveAE::MakeStream - could not create stream
13:03:33.972 T:2966970928 ERROR: Playlist Player: skipping unplayable item: 5, path [/home/kodi-user/Music/track1.flac]
13:03:44.330 T:2966970928 ERROR: ActiveAE::MakeStream - could not create stream
13:03:44.333 T:2966970928 ERROR: Playlist Player: skipping unplayable item: 6, path [/home/kodi-user/Music/btrack2.flac]
13:03:44.613 T:2966970928 NOTICE: Storing total System Uptime
13:03:44.615 T:2966970928 NOTICE: Saving settings
13:03:44.689 T:2966970928 NOTICE: Saving skin settings
13:03:44.703 T:2966970928 NOTICE: stop all
13:03:44.705 T:2966970928 NOTICE: stop player
13:03:44.888 T:2966970928 NOTICE: clean cached files!
Looking for an alternative to PAPlayer I got the mpv-player compiled and created the playercorefactory.xml file with the following content:
Code:
<playercorefactory>
<players>
<player name="MPV" type="ExternalPlayer" audio="true" video="false">
<filename>/usr/local/bin/mpv</filename>
<hidexbmc>true</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule name="http" protocols="http" player="MPV" />
</rules>
</playercorefactory>
It was working, it started playing the online stream (pls file), the audio was at the maximum and I was not able to control anything in Kodi and had to kill it.
Since this PAPlayer issue might be a little difficult to fix, I'd be very thankful if someone could help me with a proper playercorefactory.xml syntax/format to use the external mpv player as default.
Thanks!