Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 6 of 6

Thread: Help needed for adding multiple iptv.sh files and making them all autostart

  1. #1

    Title
    Junior Member
    Join Date
    Sep 2015
    Posts
    11
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Help needed for adding multiple iptv.sh files and making them all autostart

    Hi, I am using the latest vix image and I would like to add multiple iptv lists onto my VU+ reciever

    I am using the following script in putty to add m3u lines

    wget -O /etc/enigma2/iptv.sh "URL_HERE_&type=enigma22_script&output=mpegts" && chmod 777 /etc/enigma2/iptv.sh && /etc/enigma2/iptv.sh

    and

    wget -O /etc/enigma2/iptv2.sh "URL_HERE_&type=enigma22_script&output=mpegts" && chmod 777 /etc/enigma2/iptv2.sh && /etc/enigma2/iptv2.sh


    For some reason only IPTV.sh refreshes the playlist when I reboot, but how do I get the IPTV2.SH list to autostart also?

    thanks

  2. #2
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,338
    Thanks
    6,422
    Thanked 9,146 Times in 6,224 Posts
    you will need to look the scripts and see what they do, one may be overwriting the other or both doing the same thing with different user/url. you may need to edit one of them.

  3. #3
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,382
    Thanks
    987
    Thanked 2,888 Times in 2,243 Posts
    I am sure Abu is correct

    You would do better (and have far more control) by using one of the plugins to load up the bouquets eg e2m3u2bouquet or jedi.

    Using these scripts is (in my view) only for 1st time users - and for multiple providers only going to cause issues.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  4. #4

    Title
    Junior Member
    Join Date
    Sep 2015
    Posts
    11
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by twol View Post
    I am sure Abu is correct

    You would do better (and have far more control) by using one of the plugins to load up the bouquets eg e2m3u2bouquet or jedi.

    Using these scripts is (in my view) only for 1st time users - and for multiple providers only going to cause issues.
    Thanks for your suggestion, I have tried both e2m3u2bouquet and jedi but they both made my box crash alot. Neither of those apps were in the Vix plugins list, I had to download them and add them manually, which suggests maybe those apps don't run well on my model VU+. Maybe it's time for a better spec VU+?

    Using the scripts is quite stable for me, but as I mentioned before I can only get iptv.sh list to autostart when booting up and not iptv2.sh.

  5. #5
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,754
    Thanks
    472
    Thanked 607 Times in 433 Posts
    Try editing the pre_start.sh (maybe named differently) I think it's in usr/bin you may see it's already got the iptv.sh just copy the line and paste below and change every iptv.sh to iptv2.sh

    Edit this may not be as simple as the iptv.sh may may override the pre_start.sh on boot
    Last edited by dsayers; 28-09-19 at 22:16.

  6. #6

    Title
    Junior Member
    Join Date
    Sep 2015
    Posts
    11
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by dsayers View Post
    Try editing the pre_start.sh (maybe named differently) I think it's in usr/bin you may see it's already got the iptv.sh just copy the line and paste below and change every iptv.sh to iptv2.sh

    Edit this may not be as simple as the iptv.sh may may override the pre_start.sh on boot
    Hi, thanks for the suggestion.

    I added the second line to pre_start.sh but unfortunately you were correct, it got overridden after I added a new playlist.

    Fortunately I have found a work-around. I copied the pre_start.sh script to iptv.sh so that it evokes iptv1.sh and iptv2.sh on startup

    So iptv.sh now looks like this:

    /bin/sh /etc/enigma2/iptv1.sh > /dev/null 2>&1 &
    /bin/sh /etc/enigma2/iptv2.sh > /dev/null 2>&1 &

    This seems to do the job.

    Thanks guys

  7. The Following User Says Thank You to riom For This Useful Post:

    dsayers (29-09-19)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.