1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tvheadend_ynh.git synced 2024-10-01 13:34:50 +02:00

Init package

This commit is contained in:
SylvainCecchetto 2017-09-28 12:47:55 +02:00
commit 4767618017
6 changed files with 181 additions and 0 deletions

66
.gitignore vendored Normal file
View file

@ -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*

28
README.md Normal file
View file

@ -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/

56
manifest.json Normal file
View file

@ -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
}
]
}
}

1
scripts/_common.sh Normal file
View file

@ -0,0 +1 @@
#!/bin/bash

15
scripts/install Normal file
View file

@ -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

15
scripts/remove Normal file
View file

@ -0,0 +1,15 @@
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# LOAD SETTINGS
#=================================================
app=$YNH_APP_INSTANCE_NAME