mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
ffmpeg-tools: initial add-on
This commit is contained in:
parent
dface8a19d
commit
9e858a2e71
2
packages/addons/tools/ffmpeg-tools/changelog.txt
Normal file
2
packages/addons/tools/ffmpeg-tools/changelog.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
100
|
||||||
|
- Initial release
|
BIN
packages/addons/tools/ffmpeg-tools/icon/icon.png
Executable file
BIN
packages/addons/tools/ffmpeg-tools/icon/icon.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
38
packages/addons/tools/ffmpeg-tools/package.mk
Normal file
38
packages/addons/tools/ffmpeg-tools/package.mk
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of LibreELEC - https://libreelec.tv
|
||||||
|
# Copyright (C) 2018-present Team LibreELEC
|
||||||
|
#
|
||||||
|
# LibreELEC is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# LibreELEC is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="ffmpeg-tools"
|
||||||
|
PKG_VERSION="1.0"
|
||||||
|
PKG_REV="100"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="GPL"
|
||||||
|
PKG_SITE="https://libreelec.tv"
|
||||||
|
PKG_URL=""
|
||||||
|
PKG_DEPENDS_TARGET="toolchain ffmpegx"
|
||||||
|
PKG_SECTION="tools"
|
||||||
|
PKG_SHORTDESC="FFmpeg binary for transcoding and audio/video manipulating."
|
||||||
|
PKG_TOOLCHAIN="manual"
|
||||||
|
|
||||||
|
PKG_IS_ADDON="yes"
|
||||||
|
PKG_ADDON_NAME="FFmpeg Tools"
|
||||||
|
PKG_ADDON_TYPE="xbmc.python.script"
|
||||||
|
|
||||||
|
addon() {
|
||||||
|
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/
|
||||||
|
cp -L $(get_build_dir ffmpegx)/.INSTALL_PKG/usr/local/bin/* $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||||
|
}
|
25
packages/addons/tools/ffmpeg-tools/source/default.py
Normal file
25
packages/addons/tools/ffmpeg-tools/source/default.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of LibreELEC - https://libreelec.tv
|
||||||
|
# Copyright (C) 2018-present Team LibreELEC
|
||||||
|
#
|
||||||
|
# LibreELEC is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# LibreELEC is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
import xbmcaddon
|
||||||
|
import xbmcgui
|
||||||
|
|
||||||
|
dialog = xbmcgui.Dialog()
|
||||||
|
strings = xbmcaddon.Addon().getLocalizedString
|
||||||
|
|
||||||
|
dialog.ok(strings(30000), strings(30001))
|
@ -0,0 +1,14 @@
|
|||||||
|
# Kodi Media Center language file
|
||||||
|
# Addon Name: ffmpeg-tools
|
||||||
|
# Addon id: tools.ffmpeg-tools
|
||||||
|
# Addon Provider: Team LibreELEC
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#30000"
|
||||||
|
msgid "FFmpeg Tools Help"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#30001"
|
||||||
|
msgid "Please have a look at our Wiki (https://libreelec.wiki) for instructions how the FFmpeg binary could be used."
|
||||||
|
msgstr ""
|
Loading…
x
Reference in New Issue
Block a user