LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2019, 03:13 PM   #31
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

@stormtracknole, are there any other addons that aren't working that we could try on our end? I don't have an ESPN login, so I can't try it on my system.
 
Old 01-13-2019, 03:42 PM   #32
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by bassmadrigal View Post
Looking through the SlackBuild's changelog, I don't see where it's changed. He still has it optional, but has it disabled by default. I've been using his SlackBuild since 2015 and it's always used an internal ffmpeg (before that, I was building kodi and xbmc manually). I don't remember ever running into an issue where it wasn't working as planned.
I think by the SlackBuild removing the cmake files, it becomes difficult building add-ons.

I'm currently building kodi right now using the default SBo from the slackbuilds site. It is using it's own FFMPEG.

abga,

I was having the same problem with the arm version.
 
Old 01-13-2019, 03:44 PM   #33
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by bassmadrigal View Post
I've never ran into problems with addons not being able to be installed, however, I do pretty much keep to the official kodi addons (except for one 3rd-party addon that I use to watch a program that is streamed twice a year).

What addons haven't you been able to install because of that line? And if you present that info to Larry, he might be willing to change his script. He switched libmicrohttpd from an optional to required dependency after I requested it and explaining why I thought it should be default.
In order to (please pay attention) build(compile) & install add-ons you'll need the cmake files that Larry is deleting, the ones that should be available in /usr/lib/kodi/
I wasn't talking about the add-ons you have available in the Kodi repository and only need to download & install.
You also need to build the two core Kodi add-ons platform & kodi-platform to start with:
https://www.linuxquestions.org/quest...2/#post5804551
(Section - Kodi Addons: - sorry for the bad formatting, I was new on LQ and didn't know/care how to properly format posts)
You can build the add-ons during the compilation of Kodi, but I found that approach a little too complicated.

Contacting Larry:
https://www.linuxquestions.org/quest...ml#post5896796

Quote:
Originally Posted by bassmadrigal View Post
No, I meant that I was building kodi, and before that xbmc, manually. I've been building xbmc/kodi since Dharma and have always used the internal version. In older versions, ffmpeg was included directly in the xbmc source, but in the newer versions (from Helix on up), they grab the tarball from their own github and will build during kodi's compilation (see tools/depends/target/ffmpeg/autobuild.sh). Larry's script will take a pre-downloaded tarball and link it to the correct spot in the source tree so kodi doesn't download ffmpeg itself (since SBo doesn't permit downloading things once the SlackBuild has been run).
I know the history of xmbc, never used it and only started with Kodi 16, actually it was 17 beta for my first use on Raspberry, and I thought you had a typo there. As said, I'm always manually compiling Kodi and ffmpeg separately and only under Slackware ARM.
 
Old 01-13-2019, 03:45 PM   #34
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by bassmadrigal View Post
@stormtracknole, are there any other addons that aren't working that we could try on our end? I don't have an ESPN login, so I can't try it on my system.
I'll check and see which ones I can use.

Sorry to report, but using the included version of ffmpeg did not make a difference. Still seeing the same errors. :/
 
Old 01-13-2019, 05:40 PM   #35
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by abga View Post
In order to (please pay attention) build(compile) & install add-ons you'll need the cmake files that Larry is deleting, the ones that should be available in /usr/lib/kodi/
You edited it after the fact to mention "build", so I didn't see that in my initial reply. So, I did pay attention to your initial post (you'll see that my reply includes your original quote that only talked about installing addons, nothing about building them). I've never had a need to build my own addons, which is likely why I've never ran into an issue with this.

Quote:
Originally Posted by abga View Post
Am I just understanding you never got a reply? If so, maybe this could be addressed using the SBo mailing list.

Quote:
Originally Posted by abga View Post
I know the history of xmbc, never used it and only started with Kodi 16, actually it was 17 beta for my first use on Raspberry, and I thought you had a typo there. As said, I'm always manually compiling Kodi and ffmpeg separately and only under Slackware ARM.
Nope, no typo. I've always let xbmc/kodi use its own version of ffmpeg and then I'll build my own ffmpeg to use on my main machine.
 
Old 01-13-2019, 05:44 PM   #36
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by stormtracknole View Post
I'll check and see which ones I can use.
I guess with you running into the same problem with the internal version that it is less likely to be related to your specific system, but I'd still be happy to try any addons that don't require a login on my machine and see if there's a problem with mine as well.

Quote:
Originally Posted by stormtracknole View Post
Sorry to report, but using the included version of ffmpeg did not make a difference. Still seeing the same errors. :/
That's a bummer... I had no clue if it was related to your specific build of ffmpeg or not, but at least you can let the kodi forum people know you've tried it with both the internal version of ffmpeg and your self-compiled version.
 
Old 01-13-2019, 06:23 PM   #37
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by bassmadrigal View Post
You edited it after the fact to mention "build", so I didn't see that in my initial reply. So, I did pay attention to your initial post (you'll see that my reply includes your original quote that only talked about installing addons, nothing about building them). I've never had a need to build my own addons, which is likely why I've never ran into an issue with this.
Yep, 1 minute difference between my edit and your post Which means you were writing your reply to my post while I was editing it. I edited the post because it was full of mistakes and also added "build" for clarification. I don't know how to highlight all the edits, or if it's even possible in the simple edit mode I use on LQ. Sometimes, when I have more time, I just use bold for the edits.
Quote:
Originally Posted by bassmadrigal View Post
Am I just understanding you never got a reply? If so, maybe this could be addressed using the SBo mailing list.
If you're registered with the SBo mailing list, you can do it if you like, mention that the cmake files are needed and shouldn't be deleted in the cleanup line. As for me I don't use Larry's Slackbuild and not sure I'll ever compile Kodi on x86. The one I butchered for Raspberry Pi (Slackware ARM sub-forum) doesn't contain the cleanup line.
Quote:
Originally Posted by bassmadrigal View Post
Nope, no typo. I've always let xbmc/kodi use its own version of ffmpeg and then I'll build my own ffmpeg to use on my main machine.
As said, I couldn't on Slackware ARM for the Raspberry target, I made the ffmpeg source tarball available (as Larry is doing in his build script) for Kodi to unpack it and build it. The ffmpeg build was always successful, installed by the Kodi scripts somewhere in the compilation directory and then the Kodi (configure ?) scripts couldn't find it, just stupid. But that was already some years ago (Krypton 17 beta) and I never cared to check again if it's working, instead I just documented the ffmpeg build and used it as shared:
https://www.linuxquestions.org/quest...on-4175612537/
 
Old 01-13-2019, 07:17 PM   #38
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
I give up! I went to my Raspberry Pi 3 and started kodi and the ESPN3 add-on. It works as it is supposed to. Here's my logfile. I am completely perplexed...

As you can see:
Code:
20:10:56.190 T:1911209984   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:10:56.275 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Opening 'https://content-ause3.uplynk.com/check2?b=e178438e3b224c2fb20cd3c8814fde82&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=365bdeae66cf41999e62b8e62949ccae' for reading
20:10:56.645 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
20:10:58.662 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] No longer receiving playlist 0
20:10:58.672 T:1626505984   DEBUG: Open - avformat_find_stream_info starting
20:10:58.672 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Now receiving playlist 0, segment 6
20:10:59.177 T:1626505984   DEBUG: Open - av_find_stream_info finished
20:10:59.177 T:1626505984    INFO: ffmpeg[60F28300]: Input #0, hls,applehttp, https://content-ause3.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547428374&ptid=ESPN_tvOS_VDMS&rn=272450730&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110397368&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=3abbb3627fea7c509ba1e248cbbbb4fa8bed190a198abce9a6c3d366f46dba1a&pbs=365bdeae66cf41999e62b8e62949cca':
ffmpeg is not chocking up on the stream.

Last edited by stormtracknole; 01-13-2019 at 07:19 PM. Reason: Added snippet
 
Old 01-13-2019, 08:52 PM   #39
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
I just compared the two logs and coudln't find anything wrong or different other than the ffmpeg failure.
- Kodi - Slackware x86 log - FAILURE:
Code:
12:45:28.645 T:140508236080896  NOTICE: Creating InputStream
12:45:28.646 T:140508236080896   DEBUG: CurlFile::Open(0x7fca9f7fd6e0) https://content-ause1.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547401647&ptid=ESPN_tvOS_VDMS&rn=238095451&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110396694&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=0970b3486ab2460973acfc7d3e458c0cecc8c7f3cbbf07399118c4ea19fd43ef&pbs=8ea397f2f1f84b4183de8e060e0392dd
12:45:28.893 T:140508236080896  NOTICE: Creating Demuxer
12:45:29.072 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [https] the user-agent option is deprecated, please use user_agent option
12:45:29.115 T:140508236080896    INFO: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Opening 'https://content-ause1.uplynk.com/check2?b=29773b78e9074bda8cd05dab529f0852&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=8ea397f2f1f84b4183de8e060e0392dd' for reading
12:45:29.145 T:140509169498624   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:45:29.252 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [https] the user-agent option is deprecated, please use user_agent option
12:45:29.291 T:140508236080896    INFO: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/297/d09b16c953aa40c98dd8c513526aca5a/29773b78e9074bda8cd05dab529f0852/H00000927.ts?pbs=8ea397f2f1f84b4183de8e060e0392dd&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
12:45:29.354 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [https] the user-agent option is deprecated, please use user_agent option
12:45:29.431 T:140508236080896   ERROR: ffmpeg[7FCA9F7FE700]: [crypto] Unable to open resource: https://x-live-espn-stgec.uplynk.com/ause/slices/297/d09b16c953aa40c98dd8c513526aca5a/29773b78e9074bda8cd05dab529f0852/H00000927.ts?pbs=8ea397f2f1f84b4183de8e060e0392dd&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0
12:45:29.431 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Failed to open segment of playlist 0
12:45:29.431 T:140508236080896    INFO: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Opening 'https://content-ause1.uplynk.com/check2?b=f85bab9bcb694975b4015bb35ed48ee1&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=8ea397f2f1f84b4183de8e060e0392dd' for reading
.....
# repeated tries & giving up
.....
12:45:58.961 T:140509169498624   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.espn_3/?EVENT_PARENTAL_RATING=U&EVENT_ID=3456221&EVENT_NAME=Postseason+NFL+Countdown+presented+by+Snickers&MODE=PLAY_TV&CHANNEL_RESOURCE_ID=espn1&NETWORK_NAME=espn1&EVENT_GUID=espn1%2FPostseason+NFL+Countdown+presented+by+Snickers%2F3456221&SESSION_URL=http%3A%2F%2Fbroadband.espn.go.com%2Fespn3%2Fauth%2Fwatchespn%2FstartSession%3Fchannel%3Despn1%26simulcastAiringId%3D110395953]
12:45:58.961 T:140509169498624   DEBUG: Playlist Player: one or more items failed to play... aborting playback
- Kodi - Slackware ARM log - SUCCESS:
Code:
20:10:55.440 T:1626505984  NOTICE: Creating InputStream
20:10:55.442 T:1626505984   DEBUG: CurlFile::Open(0x60f27628) https://content-ause3.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547428374&ptid=ESPN_tvOS_VDMS&rn=272450730&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110397368&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=3abbb3627fea7c509ba1e248cbbbb4fa8bed190a198abce9a6c3d366f46dba1a&pbs=365bdeae66cf41999e62b8e62949ccae
20:10:55.819 T:1626505984  NOTICE: Creating Demuxer
20:10:56.190 T:1911209984   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:10:56.275 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Opening 'https://content-ause3.uplynk.com/check2?b=e178438e3b224c2fb20cd3c8814fde82&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=365bdeae66cf41999e62b8e62949ccae' for reading
20:10:56.645 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
20:10:58.662 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] No longer receiving playlist 0
20:10:58.672 T:1626505984   DEBUG: Open - avformat_find_stream_info starting
20:10:58.672 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Now receiving playlist 0, segment 6
20:10:59.177 T:1626505984   DEBUG: Open - av_find_stream_info finished
20:10:59.177 T:1626505984    INFO: ffmpeg[60F28300]: Input #0, hls,applehttp, https://content-ause3.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547428374&ptid=ESPN_tvOS_VDMS&rn=272450730&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110397368&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=3abbb3627fea7c509ba1e248cbbbb4fa8bed190a198abce9a6c3d366f46dba1a&pbs=365bdeae66cf41999e62b8e62949cca':
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:   Duration: N/A, start: 1208.320000, bitrate: N/A
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:   Program 0
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:     Metadata:
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:       variant_bitrate : 0
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:     Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 61 kb/s
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:     Stream #0:1: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 60 fps, 59.94 tbr, 90k tbn, 120 tbc
20:10:59.179 T:1626505984    INFO: ffmpeg[60F28300]:     Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
20:10:59.179 T:1626505984   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
....
....
I haven't noticed the:
Code:
[https] the user-agent option is deprecated, please use user_agent option
entry in the Slackware ARM log and I'm wondering why since it's the same ffmpeg version (the source - https://github.com/xbmc/FFmpeg/archi...on-17.5.tar.gz ), just compiled separately and used by Kodi as shared. I don't know if you tried this already on x86, but you could uninstall any ffmpeg version you have there and compile ffmpeg on your own, using the source:
https://github.com/xbmc/FFmpeg/archi...on-17.5.tar.gz
and the options used by Kodi when it builds ffmpeg on its own from the end of post #17, then recompile Kodi by using Larry's SlackBuild and specify that you have ffmpeg (use it as shared):
Code:
# Optional ffmpeg is still available but not turned on by
# default.
if [ "${FFMPEG:-no}" == "yes" ]; then
  OPT_DEPS="--with-ffmpeg=shared"
else
  OPT_DEPS=""
fi
Side note: I noticed a lot of errors related to the CEC adapter in your Kodi - Slackware ARM log and was wondering if you want to use it. Have you installed libcec and compiled Kodi with CEC support ?
https://github.com/Pulse-Eight/libcec
If negative, you could disable it from the Kodi GUI:
Settings > Input Devices > Perpipherals > CEC Adapter

Last edited by abga; 01-13-2019 at 08:59 PM. Reason: typo in the Side note
 
Old 01-13-2019, 09:04 PM   #40
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by abga View Post
I just compared the two logs and coudln't find anything wrong or different other than the ffmpeg failure.
- Kodi - Slackware x86 log - FAILURE:
Code:
12:45:28.645 T:140508236080896  NOTICE: Creating InputStream
12:45:28.646 T:140508236080896   DEBUG: CurlFile::Open(0x7fca9f7fd6e0) https://content-ause1.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547401647&ptid=ESPN_tvOS_VDMS&rn=238095451&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110396694&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=0970b3486ab2460973acfc7d3e458c0cecc8c7f3cbbf07399118c4ea19fd43ef&pbs=8ea397f2f1f84b4183de8e060e0392dd
12:45:28.893 T:140508236080896  NOTICE: Creating Demuxer
12:45:29.072 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [https] the user-agent option is deprecated, please use user_agent option
12:45:29.115 T:140508236080896    INFO: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Opening 'https://content-ause1.uplynk.com/check2?b=29773b78e9074bda8cd05dab529f0852&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=8ea397f2f1f84b4183de8e060e0392dd' for reading
12:45:29.145 T:140509169498624   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:45:29.252 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [https] the user-agent option is deprecated, please use user_agent option
12:45:29.291 T:140508236080896    INFO: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/297/d09b16c953aa40c98dd8c513526aca5a/29773b78e9074bda8cd05dab529f0852/H00000927.ts?pbs=8ea397f2f1f84b4183de8e060e0392dd&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
12:45:29.354 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [https] the user-agent option is deprecated, please use user_agent option
12:45:29.431 T:140508236080896   ERROR: ffmpeg[7FCA9F7FE700]: [crypto] Unable to open resource: https://x-live-espn-stgec.uplynk.com/ause/slices/297/d09b16c953aa40c98dd8c513526aca5a/29773b78e9074bda8cd05dab529f0852/H00000927.ts?pbs=8ea397f2f1f84b4183de8e060e0392dd&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0
12:45:29.431 T:140508236080896   DEBUG: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Failed to open segment of playlist 0
12:45:29.431 T:140508236080896    INFO: ffmpeg[7FCA9F7FE700]: [hls,applehttp] Opening 'https://content-ause1.uplynk.com/check2?b=f85bab9bcb694975b4015bb35ed48ee1&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=8ea397f2f1f84b4183de8e060e0392dd' for reading
.....
# repeated tries & giving up
.....
12:45:58.961 T:140509169498624   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.espn_3/?EVENT_PARENTAL_RATING=U&EVENT_ID=3456221&EVENT_NAME=Postseason+NFL+Countdown+presented+by+Snickers&MODE=PLAY_TV&CHANNEL_RESOURCE_ID=espn1&NETWORK_NAME=espn1&EVENT_GUID=espn1%2FPostseason+NFL+Countdown+presented+by+Snickers%2F3456221&SESSION_URL=http%3A%2F%2Fbroadband.espn.go.com%2Fespn3%2Fauth%2Fwatchespn%2FstartSession%3Fchannel%3Despn1%26simulcastAiringId%3D110395953]
12:45:58.961 T:140509169498624   DEBUG: Playlist Player: one or more items failed to play... aborting playback
- Kodi - Slackware ARM log - SUCCESS:
Code:
20:10:55.440 T:1626505984  NOTICE: Creating InputStream
20:10:55.442 T:1626505984   DEBUG: CurlFile::Open(0x60f27628) https://content-ause3.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547428374&ptid=ESPN_tvOS_VDMS&rn=272450730&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110397368&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=3abbb3627fea7c509ba1e248cbbbb4fa8bed190a198abce9a6c3d366f46dba1a&pbs=365bdeae66cf41999e62b8e62949ccae
20:10:55.819 T:1626505984  NOTICE: Creating Demuxer
20:10:56.190 T:1911209984   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:10:56.275 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Opening 'https://content-ause3.uplynk.com/check2?b=e178438e3b224c2fb20cd3c8814fde82&v=d0695f6fa2f143eb95c7a41d96d581c4&r=h&c=d0695f6fa2f143eb95c7a41d96d581c4&pbs=365bdeae66cf41999e62b8e62949ccae' for reading
20:10:56.645 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
20:10:58.662 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] No longer receiving playlist 0
20:10:58.672 T:1626505984   DEBUG: Open - avformat_find_stream_info starting
20:10:58.672 T:1626505984    INFO: ffmpeg[60F28300]: [hls,applehttp] Now receiving playlist 0, segment 6
20:10:59.177 T:1626505984   DEBUG: Open - av_find_stream_info finished
20:10:59.177 T:1626505984    INFO: ffmpeg[60F28300]: Input #0, hls,applehttp, https://content-ause3.uplynk.com/channel/d0695f6fa2f143eb95c7a41d96d581c4/h.m3u8?ad.kv=_fw_ae,null,_fw_euid,null&exp=1547428374&ptid=ESPN_tvOS_VDMS&rn=272450730&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=espnlive&ad.csid=watchespn:chromecast_uplynk:espn1:live:en&ad.caid=a110397368&eid=espn_espn1&euid=ESPN3_VDMS&ct=c&sig=3abbb3627fea7c509ba1e248cbbbb4fa8bed190a198abce9a6c3d366f46dba1a&pbs=365bdeae66cf41999e62b8e62949cca':
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:   Duration: N/A, start: 1208.320000, bitrate: N/A
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:   Program 0
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:     Metadata:
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:       variant_bitrate : 0
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:     Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 61 kb/s
20:10:59.178 T:1626505984    INFO: ffmpeg[60F28300]:     Stream #0:1: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 60 fps, 59.94 tbr, 90k tbn, 120 tbc
20:10:59.179 T:1626505984    INFO: ffmpeg[60F28300]:     Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
20:10:59.179 T:1626505984   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
....
....
I haven't noticed the:
Code:
[https] the user-agent option is deprecated, please use user_agent option
entry in the Slackware ARM log and I'm wondering why since it's the same ffmpeg version (the source - https://github.com/xbmc/FFmpeg/archi...on-17.5.tar.gz ), just compiled separately and used by Kodi as shared. I don't know if you tried this already on x86, but you could uninstall any ffmpeg version you have there and compile ffmpeg on your own, using the source:
https://github.com/xbmc/FFmpeg/archi...on-17.5.tar.gz
and the options used by Kodi when it builds ffmpeg on its own from the end of post #17, then recompile Kodi by using Larry's SlackBuild and specify that you have ffmpeg (use it as shared):
Code:
# Optional ffmpeg is still available but not turned on by
# default.
if [ "${FFMPEG:-no}" == "yes" ]; then
  OPT_DEPS="--with-ffmpeg=shared"
else
  OPT_DEPS=""
fi
Side note: I noticed a lot of errors related to the CEC adapter in your Kodi - Slackware ARM log and was wondering if you want to use it. Have you installed libcec and compiled Kodi with CEC support ?
https://github.com/Pulse-Eight/libcec
If negative, you could disable it from the Kodi GUI:
Settings > Input Devices > Perpipherals > CEC Adapter
I'll try that tomorrow. Remember that the arm log comes from Raspbian and not Slackware. I had a Fedora x86_64 box recently, and kodi worked fine there to (the ESPN3 add-on).

Apologies, I thought I mentioned Raspbian in my previous post. I did not. Sorry about that.

Last edited by stormtracknole; 01-13-2019 at 09:12 PM.
 
Old 01-13-2019, 09:14 PM   #41
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by stormtracknole View Post
I'll try that tomorrow. Remember that the arm log comes from Raspbian and not Slackware. I had a Fedora x86_64 box recently, and kodi worked fine there to (the ESPN3 add-on).
Well, then don't try anything because I thought you were on Slackware ARM and not on Raspbian, you didn't specify that in your statement:
Quote:
I give up! I went to my Raspberry Pi 3 and started kodi and the ESPN3 add-on. It works as it is supposed to. Here's my logfile. I am completely perplexed...
Sorry, get on the Kodi forum and provide them the Slackware X86 failure log as I'm running out of ideas and I cannot help you with this ESPN3 add-on.
 
Old 01-13-2019, 09:42 PM   #42
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Don't know where to find the compilation details for Kodi under Raspbian, but these look to be the configuration options Debian is using for compiling Kodi 17.6:
Code:
dh_auto_configure -- --host=x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules  --enable-gl --disable-gles --enable-vdpau --disable-openmax --disable-tegra --disable-debug --disable-profiling --enable-pulse --disable-mid --enable-avahi --enable-webserver --enable-optical-drive --enable-texturepacker --enable-nfs --enable-libcec --disable-airtunes --with-ffmpeg=shared --disable-non-free --enable-gtest --with-lirc-device=/var/run/lirc/lircd  
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --host=x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --enable-gl --disable-gles --enable-vdpau --disable-openmax --disable-tegra --disable-debug --disable-profiling --enable-pulse --disable-mid --enable-avahi --enable-webserver --enable-optical-drive --enable-texturepacker --enable-nfs --enable-libcec --disable-airtunes --with-ffmpeg=shared --disable-non-free --enable-gtest --with-lirc-device=/var/run/lirc/lircd
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-maintainer-mode
Source (thanks to drmozes for teaching me where to find them):
https://buildd.debian.org/status/fet...42722902&raw=0

They also look to build ffmpeg separatelly (--with-ffmpeg=shared is used) and there are no other options I could spot, different than the ones used in the kodi SlackBuild, that could resolve the errors you're getting. I'm really out of ideas now.
 
1 members found this post helpful.
Old 01-13-2019, 09:44 PM   #43
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by abga View Post
Well, then don't try anything because I thought you were on Slackware ARM and not on Raspbian, you didn't specify that in your statement:


Sorry, get on the Kodi forum and provide them the Slackware X86 failure log as I'm running out of ideas and I cannot help you with this ESPN3 add-on.
I realized that after I saw your post. I appreciate very much your help on this. You already have done a lot! I was looking at Fedora's kodi.spec file (since it works for them) and I noticed that they use cmake instead of the configure script to stage everything. I'll inspect some more tomorrow.

Thank you all for your help so far. If I come up with the solution, I'll post it here.
 
Old 01-14-2019, 03:05 PM   #44
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
After checking the Kodi compilation in my previous post, I spent some time verifying if the ffmpeg compilation is different in Debian (Raspbian), fearing that there might be some additional stuff required in order to be able to play HLS.
Found nothing extra and it looks like the HLS protocol is enabled by default in the "core" of ffmpeg:
https://ffmpeg.org/ffmpeg-protocols.html#hls

Debian options for the ffmpeg 3.1.x compilation:
Code:
configure --prefix=/usr --extra-version="4" --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libopencv --enable-libx264  || (cat config.log && exit 1); cd ../.. ;  echo " *** extra ***"; cd debian/extra; ../../configure --prefix=/usr --extra-version="4" --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libopencv --enable-libx264 --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_amrwbenc || (cat config.log && exit 1); cd ../.. ;
I went and played with ffmpeg under Slackware 14.2 ARM where I have my Kodi stuff (ARM - should be the same as x86), simulating the requests Kodi was doing in your log. I was aware that I wouldn't succeed (no authentication) but just wanted to make sure that ffmpeg is sane and is not failing due to some external libs:
Code:
ffmpeg -loglevel debug -hide_banner -i "https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0"
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-i' ... matched as input url with argument 'https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option hide_banner (do not show program banner) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
Successfully parsed a group of options.
Opening an input file: https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
[NULL @ 0x1a44390] Opening 'https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
[https @ 0x1a44ad0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[https @ 0x1a44ad0] request: GET /ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0 HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Range: bytes=0-
Connection: close
Host: x-live-espn-stgec.uplynk.com
Icy-MetaData: 1
https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0: Input/output error

ffmpeg -loglevel debug -hide_banner -i "crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0"
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-i' ... matched as input url with argument 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option hide_banner (do not show program banner) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
Successfully parsed a group of options.
Opening an input file: crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
[NULL @ 0x26f390] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
[crypto @ 0x26fad0] No default whitelist set
[crypto @ 0x26fc40] decryption key not set
crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0: Invalid argument
So far so good, it seems.

Then I focused on the Kodi Add-on itself. According to the first post from this ESPN_3 thread, you need two additional add-ons (python plugins) as dependencies for the espn_3 add-on:
https://forum.kodi.tv/showthread.php?tid=230418
Quote:
Requires
script module - m3u8 (http://kodi.wiki/view/Add-on:M3u8)
script module dateutil (Add-onateutil (wiki))
https://kodi.wiki/view/Add-on:M3u8
https://kodi.wiki/view/Add-on:\Dateutil
EDIT:
Don't know how to put an escape char in the url line above to avoid having the stupid sign, just added \ between : and D

Normally the add-ons installation will resolve the dependencies automatically if it's done through the Kodi GUI, these will be downloaded from the Kodi official repository. However, when I installed the espn_3 add-on in Kodi 17.4 under Slackware 14.2 ARM, I only observed that the Dateutil plug-in was added, nothing about m3u8.
I checked your logs again and found all the required plug-ins initialized in both cases. You can find them in the beginning of the logs, just after the line : NOTICE: Running database version Addons27
Just for testing and making sure it's not something related to the add-on installation and dependency resolution, I'd suggest to uninstall the espn_3 add-on in Kodi (GUI - Add-ons Section - My Add-ons) and reinstall it manually by using zip files:
https://kodi.wiki/view/HOW-TO:Instal...from_zip_files

Do it in the following order - first the dependencies and then the add-on itself. Download all the zip files and put them in the home folder of the kodi user & make them readable by the kodi user.
Official Kodi repository:
1. dependency for espn_3
http://mirrors.kodi.tv/addons/krypto...dule.dateutil/
2. dependency for m3u8 (according to Kodi Add-ons Club))
http://mirrors.kodi.tv/addons/krypto...odule.iso8601/
3. dependency for espn_3
http://mirrors.kodi.tv/addons/krypto...t.module.m3u8/
4. the espn_3 add-on itself
http://mirrors.kodi.tv/addons/krypto....video.espn_3/

Unofficial repository - Kodi Add-ons Club:
https://kodi-addons.club/addon/scrip...dateutil/2.7.3
https://kodi-addons.club/addon/scrip...iso8601/0.1.11
https://kodi-addons.club/addon/scrip...le.m3u8/0.2.10
- no espn_3 to be found here

And the Kodi team has a nice page where you can manually search/browse/download the add-ons:
https://kodi.tv/addons/browse
- was only able to find espn_3
https://kodi.tv/addon/plugins-video-add-ons/espn-3-0
https://kodi.tv/addons
- try your luck in Categories for other stuff

Last thing to try: - the espn_3 add-on has some options that you can play with. In the advanced section there are two interesting options, first one is to clear the cache and the second one is to disable the Certificates Checking/Verification.
Disabling the certificates checking was mentioned in some places as a workaround for some issues, maybe you're lucky
That's pretty much it, my limitations - end of the road for me, get on the Kodi forum and ask for further support. This thread should be the one appropriate for your help request:
https://forum.kodi.tv/showthread.php?tid=230418

Last edited by abga; 01-14-2019 at 03:13 PM. Reason: EDIT - LQ auto emoji crap
 
Old 01-14-2019, 03:36 PM   #45
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by bassmadrigal View Post
@stormtracknole, are there any other addons that aren't working that we could try on our end? I don't have an ESPN login, so I can't try it on my system.
I tried the CNN add-on, and got some errors. However, it also did not work under Raspbian. I tried the HGTV one for the heck of it, and that worked fine. I can't remember right now which other application to try. If you can download the ESPN add-on, can you select the content listed under ESPN3? That should be free content and no sign in is necessary. Thanks!

Quote:
Originally Posted by abga View Post
After checking the Kodi compilation in my previous post, I spent some time verifying if the ffmpeg compilation is different in Debian (Raspbian), fearing that there might be some additional stuff required in order to be able to play HLS.
Found nothing extra and it looks like the HLS protocol is enabled by default in the "core" of ffmpeg:
https://ffmpeg.org/ffmpeg-protocols.html#hls

Debian options for the ffmpeg 3.1.x compilation:
Code:
configure --prefix=/usr --extra-version="4" --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libopencv --enable-libx264  || (cat config.log && exit 1); cd ../.. ;  echo " *** extra ***"; cd debian/extra; ../../configure --prefix=/usr --extra-version="4" --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libopencv --enable-libx264 --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_amrwbenc || (cat config.log && exit 1); cd ../.. ;
I went and played with ffmpeg under Slackware 14.2 ARM where I have my Kodi stuff (ARM - should be the same as x86), simulating the requests Kodi was doing in your log. I was aware that I wouldn't succeed (no authentication) but just wanted to make sure that ffmpeg is sane and is not failing due to some external libs:
Code:
ffmpeg -loglevel debug -hide_banner -i "https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0"
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-i' ... matched as input url with argument 'https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option hide_banner (do not show program banner) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
Successfully parsed a group of options.
Opening an input file: https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
[NULL @ 0x1a44390] Opening 'https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
[https @ 0x1a44ad0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[https @ 0x1a44ad0] request: GET /ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0 HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Range: bytes=0-
Connection: close
Host: x-live-espn-stgec.uplynk.com
Icy-MetaData: 1
https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0: Input/output error

ffmpeg -loglevel debug -hide_banner -i "crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0"
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-i' ... matched as input url with argument 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option hide_banner (do not show program banner) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
Successfully parsed a group of options.
Opening an input file: crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0.
[NULL @ 0x26f390] Opening 'crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0' for reading
[crypto @ 0x26fad0] No default whitelist set
[crypto @ 0x26fc40] decryption key not set
crypto+https://x-live-espn-stgec.uplynk.com/ause/slices/e17/d09b16c953aa40c98dd8c513526aca5a/e178438e3b224c2fb20cd3c8814fde82/H00000127.ts?pbs=365bdeae66cf41999e62b8e62949ccae&_jt=l&euid=ESPN3_VDMS&chid=d0695f6fa2f143eb95c7a41d96d581c4&ptid=ESPN_tvOS_VDMS&si=0: Invalid argument
So far so good, it seems.

Then I focused on the Kodi Add-on itself. According to the first post from this ESPN_3 thread, you need two additional add-ons (python plugins) as dependencies for the espn_3 add-on:
https://forum.kodi.tv/showthread.php?tid=230418

https://kodi.wiki/view/Add-on:M3u8
https://kodi.wiki/view/Add-on:\Dateutil
EDIT:
Don't know how to put an escape char in the url line above to avoid having the stupid sign, just added \ between : and D

Normally the add-ons installation will resolve the dependencies automatically if it's done through the Kodi GUI, these will be downloaded from the Kodi official repository. However, when I installed the espn_3 add-on in Kodi 17.4 under Slackware 14.2 ARM, I only observed that the Dateutil plug-in was added, nothing about m3u8.
I checked your logs again and found all the required plug-ins initialized in both cases. You can find them in the beginning of the logs, just after the line : NOTICE: Running database version Addons27
Just for testing and making sure it's not something related to the add-on installation and dependency resolution, I'd suggest to uninstall the espn_3 add-on in Kodi (GUI - Add-ons Section - My Add-ons) and reinstall it manually by using zip files:
https://kodi.wiki/view/HOW-TO:Instal...from_zip_files

Do it in the following order - first the dependencies and then the add-on itself. Download all the zip files and put them in the home folder of the kodi user & make them readable by the kodi user.
Official Kodi repository:
1. dependency for espn_3
http://mirrors.kodi.tv/addons/krypto...dule.dateutil/
2. dependency for m3u8 (according to Kodi Add-ons Club))
http://mirrors.kodi.tv/addons/krypto...odule.iso8601/
3. dependency for espn_3
http://mirrors.kodi.tv/addons/krypto...t.module.m3u8/
4. the espn_3 add-on itself
http://mirrors.kodi.tv/addons/krypto....video.espn_3/

Unofficial repository - Kodi Add-ons Club:
https://kodi-addons.club/addon/scrip...dateutil/2.7.3
https://kodi-addons.club/addon/scrip...iso8601/0.1.11
https://kodi-addons.club/addon/scrip...le.m3u8/0.2.10
- no espn_3 to be found here

And the Kodi team has a nice page where you can manually search/browse/download the add-ons:
https://kodi.tv/addons/browse
- was only able to find espn_3
https://kodi.tv/addon/plugins-video-add-ons/espn-3-0
https://kodi.tv/addons
- try your luck in Categories for other stuff

Last thing to try: - the espn_3 add-on has some options that you can play with. In the advanced section there are two interesting options, first one is to clear the cache and the second one is to disable the Certificates Checking/Verification.
Disabling the certificates checking was mentioned in some places as a workaround for some issues, maybe you're lucky
That's pretty much it, my limitations - end of the road for me, get on the Kodi forum and ask for further support. This thread should be the one appropriate for your help request:
https://forum.kodi.tv/showthread.php?tid=230418
Can you see if you can play the content listed under ESPN3? There is no need to authenticate when viewing content on ESPN3. See if you can get that to play. I spent all day tweaking the ffmpeg build to match as close as possible to the Raspbian one. No matter what I do, I still get the same error.
 
  


Reply

Tags
addons, espn, kodi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kodi Devs Celebrate New Year with First Release Candidate of Kodi 17 "Krypton" LXer Syndicated Linux News 0 01-01-2017 12:00 AM
[SOLVED] Kodi freezes on exit, kodi.bin won't die pressman57 Linux - Software 6 12-19-2016 07:48 PM
How to make firefox add-ons universally and not just on a particular user redhatwannabe Linux - Software 3 05-26-2009 04:27 AM
Debian Iceweasel Add-ons Not Working digerati1338 Linux - Desktop 2 01-19-2008 12:58 PM
Firefox Add-ons install but don't show up after restart, 'preferences' not working mbvpixies78 Linux - Software 4 12-07-2007 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration