Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48165 - [kodi-audioencoder-lame] @PLATFORM@ or @LIBRARY_FILENAME@ vars do not seem to be resolved. broken.

Attached to Project: Community Packages
Opened by Thomas Schaz (schaze) - Saturday, 13 February 2016, 14:09 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 23 February 2016, 23:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The kodi addon delivered with this package does not work. I cannot see a lame encoder in the encoder list in kodi.
I tracked it down to the addon.xml file (/usr/share/kodi/addons/audioencoder.lame/addon.xml). There are variables used for platform library filename (@PLATFORM@, @LIBRARY_FILENAME@) which do not seem to be resolved by kodi.

When I change the file from this:
...
<extension
point="xbmc.audioencoder"
extension=".mp3"
library_@PLATFORM@="@LIBRARY_FILENAME@"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">Lame MP3 Audio Encoder</summary>
<description lang="en">Lame MP3 Audio Encoder</description>
<platform>@PLATFORM@</platform>
</extension>
...

to this:
...
<extension
point="xbmc.audioencoder"
extension=".mp3"
library_linux="audioencoder.lame.so"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">Lame MP3 Audio Encoder</summary>
<description lang="en">Lame MP3 Audio Encoder</description>
<platform>linux</platform>
</extension>
...

the encoder is shown in kodi and is working fine.

This has never been working for me yet since using kodi on arch.


Additional info:
/------------------------\

* package version(s)

my installed kodi packages are:

yaourt -Ss kodi | grep installed

community/kodi 15.2-3 [installed]
community/kodi-audioencoder-lame 20150810.5591a68-3 (kodi-addons) [installed]
community/kodi-audioencoder-vorbis 20150810.3a88875-3 (kodi-addons) [installed]
community/libplatform 1.0.10-2 [installed]
aur/kodi-addon-pvr-hts-git r314.016b0b3-1 [installed: r306.9b05d4c-1] (10)
aur/kodi-platform-git r34.054a42f-1 [installed: r36.33b6390-2] (17)


Steps to reproduce:
/------------------------\

see description.
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Tuesday, 23 February 2016, 23:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  rebuilds after the 16.0-1 release of kodi fixed it

Loading...