Qnap [ Telly ] [ 1.5.0 ] An IPTV proxy for Plex Live DVR (CLI)

giopas a dit:
Il faut mettre un & après l'instruction pour le lancer

Sent from my ONEPLUS A5000 using Tapatalk

la solution avec le & après l'instruction ne fonctionne pas chez moi, des que je ferme putty je perd l’accès au tuner.
existe t'il une autre solution?
 
Alors moi je ne pense pas avoir mis "&" à la fin de la commande sinon je l'aurai mis dans mes explications sur la première page.
Ce matin, j'ai fait la mise à jour QTS de mon NAS et apparemment, tout s'est relancé tout seul puisque ça fonctionne.
Alors comment, pourquoi.... Ça je l'ignore :)

Edit : J'ai parlé un peu trop vite, tout est présent dans Plex mais il ne lance pas les vidéos...
Je viens donc de le relancer mais je constate également qu'en fermant la fenetre ssh, il ne veut plus lire la vidéo.
 
le &.. c'est pas en Putty, mais dans le script start... /opt/Telly/Telly.sh

normal que quand tu fermes putty les scripts lancés dans cette session se tue également.. (on utilise screen généralement pour le multi-session)
 
Bonjour,

Quelqu’un pourrait faire un résumer de la procédure à mettre en place pour avoir telly au démarrage et le script qu'il faut mettre dans Telly.sh ?
S’il vous plait.
 
QoolBox a dit:
LennyM a dit:
Hello,

please update to telly 0.6

thanks
Lenny

where ? github is still in 0.5

https://github.com/tombowditch/telly/releases

ah, it looks like the build failed

https://github.com/tombowditch/telly/commits?author=tombowditch

Best regards
Lenny
 
bonjour @Qoolbox

peut tu m'expliquer comment tu modifier le fichier de config de telly pour qu'il marche au démarrage du nas.
merci
 
foXaCe a dit:
bonjour @Qoolbox

peut tu m'expliquer comment tu modifier le fichier de config de telly pour qu'il marche au démarrage du nas.
merci

c'est expliqué au debt du thread

ouvre le fichier /opt/Telly/Telly.sh

dans la partie start { }

ajoute ta commande telly ......

n'oublie dans le stop {}

le killall -9 telly
 
this app will probably be one of the best things which happened to plex in a long time :)

Just my two cents

Lenny
 
j'ai du louper un truc, voici mon script.
par contre ca fonctionne quand je fais ./Telly.sh start dans putty

Code:
#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="Telly"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
APACHE_ROOT=`/sbin/getcfg SHARE_DEF defWeb -d Qweb -f /etc/config/def_share.info`

export QNAP_QPKG=$QPKG_NAME

export QPKG_ROOT QPKG_NAME

case "$1" in
  start)
./telly -playlist=/share/Multimedia/IPTV/orangetv.m3u

    ENABLED=$(/sbin/getcfg $QPKG_NAME Enable -u -d FALSE -f $CONF)
    if [ "$ENABLED" != "TRUE" ]; then
        echo "$QPKG_NAME is disabled."
        exit 1
    fi

/bin/ln -sf $QPKG_ROOT /opt/$QPKG_NAME
/bin/ln -sf $QPKG_ROOT/telly /usr/bin/telly

    ;;

  stop)


killall -9 telly

rm -rf /usr/bin/telly
rm -rf /opt/$QPKG_NAME

    ;;

  restart)
    $0 stop
    $0 start
    ;;

  *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac

exit 0
 
Code:
#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="Telly"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
APACHE_ROOT=`/sbin/getcfg SHARE_DEF defWeb -d Qweb -f /etc/config/def_share.info`

export QNAP_QPKG=$QPKG_NAME

export QPKG_ROOT QPKG_NAME

case "$1" in
  start)
telly -playlist=/share/Multimedia/IPTV/orangetv.m3u

    ENABLED=$(/sbin/getcfg $QPKG_NAME Enable -u -d FALSE -f $CONF)
    if [ "$ENABLED" != "TRUE" ]; then
        echo "$QPKG_NAME is disabled."
        exit 1
    fi

/bin/ln -sf $QPKG_ROOT /opt/$QPKG_NAME
/bin/ln -sf $QPKG_ROOT/telly /usr/bin/telly

    ;;

  stop)


killall -9 telly

rm -rf /usr/bin/telly
rm -rf /opt/$QPKG_NAME

    ;;

  restart)
    $0 stop
    $0 start
    ;;

  *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac

exit 0

j'ai fais comme tu ma dit
j'ouvre putty dans le repertoire je lance ./Telly.sh start
localhost:6077 dans plex et tout marche nickel
par contre quand je ferme putty plus rien