From 47676180177eb13045be98f33b2af594c7b92c38 Mon Sep 17 00:00:00 2001 From: SylvainCecchetto Date: Thu, 28 Sep 2017 12:47:55 +0200 Subject: [PATCH] Init package --- .gitignore | 66 ++++++++++++++++++++++++++++++++++++++++++++++ README.md | 28 ++++++++++++++++++++ manifest.json | 56 +++++++++++++++++++++++++++++++++++++++ scripts/_common.sh | 1 + scripts/install | 15 +++++++++++ scripts/remove | 15 +++++++++++ 6 files changed, 181 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 manifest.json create mode 100644 scripts/_common.sh create mode 100644 scripts/install create mode 100644 scripts/remove diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a9514f --- /dev/null +++ b/.gitignore @@ -0,0 +1,66 @@ +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..92ab4c5 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +Tvheadend for YunoHost +--------------------- + +**This package is currently under development, install it at your own risk.** + +[Tvheadend](https://tvheadend.org) is a TV streaming server and recorder for Linux, FreeBSD and Android supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, ISDB-T, IPTV, SAT>IP and HDHomeRun as input sources. + +Tvheadend offers the HTTP (VLC, MPlayer), HTSP (Kodi, Movian) and SAT>IP streaming. + +Multiple EPG sources are supported (over-the-air DVB and ATSC including OpenTV DVB extensions, XMLTV, PyXML). + +Tvheadend works as backend PVR live TV for Kodi. + +**Shipped version: 4.2 (current stable release)** + +[![Install Tvheadend with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=tvheadend) + +## Current package status +* Empty + +## To do +* All + +## Links + + * Report a bug: Use GitHub issues + * Tvheadend website: https://tvheadend.org + * YunoHost website: https://yunohost.org/ \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..e9ca0f7 --- /dev/null +++ b/manifest.json @@ -0,0 +1,56 @@ +{ + "name": "Tvheadend", + "id": "tvheadend", + "packaging_format": 1, + "description": { + "en": "Tvheadend is a TV streaming server and recorder for Linux, FreeBSD and Android supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, ISDB-T, IPTV, SAT>IP and HDHomeRun as input sources", + "fr": "Tveadend est un serveur streaming TV pour Linux et supporte les sources d'entrées DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, ISDB-T, IPTV, SAT>IP et HDHomeRun" + }, + "version": "4.2", + "url": "https://tvheadend.org", + "license": "free", + "maintainer": { + "name": "Sylvain Cecchetto", + "email": "cecchetto.sylvain@me.com", + "url": "blog.cecchettosylvain.fr" + }, + "requirements": { + "yunohost": ">= 2.6.4" + }, + "multi_instance": false, + "services": [ + "nginx" + ], + "arguments": { + "install" : [ + { + "name": "domain", + "type": "domain", + "ask": { + "en": "Choose a domain for the web interface user", + "fr": "Choisissez un nom de domaine pour l'interface utilisateur web" + }, + "example": "example.com" + }, + { + "name": "path", + "type": "path", + "ask": { + "en": "Choose a path for the web interface user", + "fr": "Choisissez un chemin pour l'interface utilisateur web" + }, + "example": "/tvh", + "default": "/tvh" + }, + { + "name": "launch_on_boot", + "type": "boolean", + "ask": { + "en": "Launch Tvheadend service at YunoHost server startup", + "fr": "Démarrer le service Tvheadend au démarrage du serveur YunoHost" + }, + "default": true + } + ] + } +} \ No newline at end of file diff --git a/scripts/_common.sh b/scripts/_common.sh new file mode 100644 index 0000000..cc1f786 --- /dev/null +++ b/scripts/_common.sh @@ -0,0 +1 @@ +#!/bin/bash \ No newline at end of file diff --git a/scripts/install b/scripts/install new file mode 100644 index 0000000..91189ca --- /dev/null +++ b/scripts/install @@ -0,0 +1,15 @@ +#!/bin/bash + +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= +source _common.sh +source /usr/share/yunohost/helpers + +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors \ No newline at end of file diff --git a/scripts/remove b/scripts/remove new file mode 100644 index 0000000..c33337e --- /dev/null +++ b/scripts/remove @@ -0,0 +1,15 @@ + +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source _common.sh +source /usr/share/yunohost/helpers + +#================================================= +# LOAD SETTINGS +#================================================= + +app=$YNH_APP_INSTANCE_NAME \ No newline at end of file