Seite 2 von 2 ErsteErste 12
Ergebnis 11 bis 20 von 20
  1. #11
    Anfänger
    Registriert seit
    22.10.2016
    Beiträge
    8
    Thanks (gegeben)
    0
    Thanks (bekommen)
    12
    Themenstarter
    Total Downloaded
    64,08 MB
    Total Downloaded
    64,08 MB
    ReceiverDanke
    Box 1:
    VU Solo 4K
     
     
    Box 2:
    Dream 500HD
     
     
    yep that's quite simple

    change line 93 from old:
    Code:
     if [ $wait -gt 0 ] ; then
    to new
    Code:
     if [ ! $wait == 0 ] ; then
    or download new version from first post

  2. Thanks Lucifer bedankten sich
    •   Alt Advertising

       

  3. #12
    Senior Mitglied Avatar von Lucifer
    Registriert seit
    01.02.2015
    Beiträge
    184
    Thanks (gegeben)
    134
    Thanks (bekommen)
    131
    Total Downloaded
    1,62 MB
    Total Downloaded
    1,62 MB
    ReceiverDanke
    Well Herr_Knödel, i think the script is complete now.

    i think your script is an asset for a lot of users.
    one of the reasons i use MQB is that it has the option to make button macro's. that's one of the things that i miss in the embedded plugins like: ButtonSetup/ Hot Key
    an other thing that is mis, is an easy way to make extra button functions.
    in MQB i add an extra button function in an .xml file, and i don't have to restart the box to test them.
    in the embedded plugins, it can be done, but it's not the most handy way, and i have to restart the box to test them.
    it's also limited, because i can't make combinations of starting a plugin and a button macro. i can do that with MQB.

    if you wan't to see some examples of what i mean, take a look overhere:
    Extra button options for MQB - Plugins - OpenXTA

    and this is a link to the embedded plugin ButtonSetup of the openatv image:
    enigma2/ButtonSetup.py at master * openatv/enigma2 * GitHub

    i understand python code much better than script code, and you seem to know a lot about script code, so i have an other question for you.
    in a python file it's possible to execute a script, do you know if it's also possible to start a plugin with a script ? (without a button script)
    and if so, do you know the code for that ?

    the benefit of starting a plugin this way, is, that it works for every user who has that plugin installed.
    and it would be easy to make combinations with your script, that would always work.
    if you start a plugin with a button macro, you can open the Plugin Browser + go .. times up or down + OK.
    but the amount of steps that you have to make, depends of how many plugins that are in the list.

    i have made some scripts for myself, and i have packed them in an ipk package.
    that way i can install them all at once, instead adding them to the box one by one, when i have flashed a new image.
    the same can be done with your script, and extra scripts with options to start a plugin, and make combinations with your script.
    it's more user friendly that way. a lot of users who have trouble to understand this, can make use of it, by installing the ipk package,
    and add the script(s) to a button with ButtonSetup/ Hot Key

    grt Lucifer
    Geändert von Lucifer (26.11.2016 um 14:02 Uhr) Grund: type error

  4. #13
    Anfänger
    Registriert seit
    22.10.2016
    Beiträge
    8
    Thanks (gegeben)
    0
    Thanks (bekommen)
    12
    Themenstarter
    Total Downloaded
    64,08 MB
    Total Downloaded
    64,08 MB
    ReceiverDanke
    Box 1:
    VU Solo 4K
     
     
    Box 2:
    Dream 500HD
     
     
    hi Lucifer,

    i think it's not possible to start a plugin directly out of a script (that's why i made fb.sh to start the integrated ATV Image Backup Plugin with cron)

    if the plugins in the extensions menu where sorted (with rc < or > ) then (and only then) after a gui reset or reboot in /etc/eingma2/settings exists the sorted order in line:
    Code:
    config.misc.pluginbrowser.plugin_order=Plugins/Extensions/Chromium,Plugins/Extensions/MediaPlayer,Plugins/Extensions/EnhancedMovieCenter,Plugins/Extensions/MediaScanner,Plugins/Extensions/MyMetrixLite,Plugins/Extensions/OpenWebif,Plugins/Extensions/PicturePlayer,Plugins/Extensions/ProgrammlistenUpdater,Plugins/SystemPlugins/TransCodingSetup,Plugins/Extensions/Chromium
    with this information and somehing like that:
    Code:
    grep 'plugin_order' /etc/enigma2/settings | sed 's/,/\n/g'  | awk  '{s=s+1 ;print s-1" "$1}'
    we get an output that could be further processed:
    Code:
    0 config.misc.pluginbrowser.plugin_order=Plugins/Extensions/Chromium
    1 Plugins/Extensions/MediaPlayer
    2 Plugins/Extensions/EnhancedMovieCenter
    3 Plugins/Extensions/MediaScanner
    4 Plugins/Extensions/MyMetrixLite
    5 Plugins/Extensions/OpenWebif
    6 Plugins/Extensions/PicturePlayer
    7 Plugins/Extensions/ProgrammlistenUpdater
    8 Plugins/SystemPlugins/TransCodingSetup
    9 Plugins/Extensions/Chromium
    to start MediaScanner at 4. place for example then needs just 4 rc down's + ok to fire up ( fb.sh menu 4 down down down down ok)
    but ok that's all not so very handy and requieres some groundwork (sort Pluigns, GUI Reset, etc.)
    but anyway, maybe i will give it a try and revise my script, to start plugins from script with something like this
    Code:
    fb.sh plugin:MediaScanner
    just for fun

  5. #14
    Anfänger
    Registriert seit
    22.10.2016
    Beiträge
    8
    Thanks (gegeben)
    0
    Thanks (bekommen)
    12
    Themenstarter
    Total Downloaded
    64,08 MB
    Total Downloaded
    64,08 MB
    ReceiverDanke
    Box 1:
    VU Solo 4K
     
     
    Box 2:
    Dream 500HD
     
     
    ok here it is
    new version in first post added
    you can now start plugins who are installed and listed under Extensions Menu with the fb.sh script.
    but be aware, order entry in /etc/enimga2/settings
    config.misc.pluginbrowser.plugin_order=
    is not available (or maybe wrong if you add or remove plugins) until you sort the plugins in Extension Menu (just make a dummy up and down with rc < or >) and after that a gui reset is needed
    if this ist not done output will shown as follow for example:
    Code:
    root@vusolo4k:~# fb.sh exit exit exit s:0.5 menu 4 s:2 plugin:Openwebif
    Plugin: Openwebif nicht gefunden
    
    Verfuegbare Plugins:
    if plugins are sorted and gui reset ist done then you can get a list of the plugins with:
    Code:
    root@vusolo4k:~#  fb.sh plugin:
    Plugin:  nicht gefunden
    
    Verfuegbare Plugins:
    
    0 ProgrammlistenUpdater
    1 MediaPlayer
    2 EnhancedMovieCenter
    3 MediaScanner
    4 MyMetrixLite
    5 OpenWebif
    6 PicturePlayer
    7 TransCodingSetup
    and to start OpenWebif (attention case sensitive) on 5. place in list for example
    Code:
    fb.sh exit exit exit exit s:0.5 menu 4 s:2 plugin:OpenWebif s:0.5 ok
    4 exit's to be shure no menu is open ;-) then a little sleep start main menu start Extension Menu ( on pos 4 in main menu) and at least make 4 down's to OpenWebif entry and after a short sleep ok to fire it up.
    As i said before this all needs a little bit groundwork and only works fpr plugins installed and listed under the extension menu, but what did the salesman from microsoft said? 'that's all we have but it work's'
    Miniaturansichten angehängter Grafiken Miniaturansichten angehängter Grafiken -webif.jpg  
    Geändert von Herr_Knödel (28.11.2016 um 20:10 Uhr)

  6. Thanks Heart, sgs bedankten sich
  7. #15
    Senior Mitglied Avatar von Lucifer
    Registriert seit
    01.02.2015
    Beiträge
    184
    Thanks (gegeben)
    134
    Thanks (bekommen)
    131
    Total Downloaded
    1,62 MB
    Total Downloaded
    1,62 MB
    ReceiverDanke
    so far, so good.
    i can't wait to test it, but tat will have to wait until tomorrow.

    grt Lucifer

  8. #16
    Senior Mitglied Avatar von Lucifer
    Registriert seit
    01.02.2015
    Beiträge
    184
    Thanks (gegeben)
    134
    Thanks (bekommen)
    131
    Total Downloaded
    1,62 MB
    Total Downloaded
    1,62 MB
    ReceiverDanke
    Hi Herr_Knödel,

    Just tested the script, and i think you made a clever solution there.
    it works fine if i select a plugin via: menu/ plugin-browser/ select plugin
    code: fb.sh exit exit exit exit s:0.5 menu down down ok s:1 plugin: DreamExplorer

    on my box the plugin-browser is under the green button. if i select a plugin via: green/ select plugin, then the download menu of the plugin-browser opens.
    code: /usr/script/fb.sh exit exit exit exit s:0.5 green s:1 plugin: DreamExplorer

    if i store the plugin-browser under the red button, and i select a plugin via: red/ select plugin, then the remove menu of the plugin-browser opens.
    code: /usr/script/fb.sh exit exit exit exit s:0.5 red s:1 plugin: DreamExplorer

    i tried several other buttons, but it looks like the last button that is chosen before the plugin selection, is repeated.
    i think it has to do with the 'flag' of the buttons in the enigma2 keymap. most buttons have flag 'b' (break)
    if the buttons in the scrips execute as a 'make', then the button react twice (first time on make, second time on brake)
    i know this effect, it can also happen when the flag of a button in the keymap of a plugin is an 'm' (make), and the flag in the enigma2 keymap is a 'b'

    grt Lucifer
    Geändert von Lucifer (29.11.2016 um 21:37 Uhr) Grund: adding spaces because combination of :D in the text becomes a smily

  9. #17
    +++Teletexter+++ Avatar von willy01
    Registriert seit
    05.04.2013
    Beiträge
    6.741
    Thanks (gegeben)
    1072
    Thanks (bekommen)
    1950
    Total Downloaded
    6,34 MB
    Total Downloaded
    6,34 MB
    ReceiverDanke
    Box 1:
    VuUno4kse
     
     
    Box 2:
    Octagon SX88 v2
     
     
    Box 3:
    Mutant HD60
     
     
    Ich suche nach folgender Lösung:
    Mehrere Tastenbefehle in einem script ausführen, und dieses script per hotkey auf eine Taste legen.


    VuUno4kse / Hisense H55MEC3050

    Unicable Dur-line DCR 5-1-8

  10. #18
    Pike_Bishop
    Gast
    Is schon gelöst mit ppanel, leider gehts nicht mit hotkey

  11. #19
    +++Teletexter+++ Avatar von willy01
    Registriert seit
    05.04.2013
    Beiträge
    6.741
    Thanks (gegeben)
    1072
    Thanks (bekommen)
    1950
    Total Downloaded
    6,34 MB
    Total Downloaded
    6,34 MB
    ReceiverDanke
    Box 1:
    VuUno4kse
     
     
    Box 2:
    Octagon SX88 v2
     
     
    Box 3:
    Mutant HD60
     
     
    Zitat Zitat von Pike_Bishop Beitrag anzeigen
    Is schon gelöst mit ppanel, leider gehts nicht mit hotkey
    Nun gehts ja mit hotkey zusammen mit ppanels wieder, also Problem gelöst.

    Gesendet von meinem SM-G900F mit Tapatalk


    VuUno4kse / Hisense H55MEC3050

    Unicable Dur-line DCR 5-1-8

  12. Thanks - bedankten sich
  13. #20
    Senior Mitglied
    Registriert seit
    01.09.2015
    Beiträge
    414
    Thanks (gegeben)
    364
    Thanks (bekommen)
    116
    Total Downloaded
    72,57 MB
    Total Downloaded
    72,57 MB
    ReceiverDanke
    Box 1:
    VU+ Uno 4K SE mit 6.4
     
     
    Box 2:
    Octagon SF8008 Mini mit 6.4
     
     
    Box 3:
    Edision OS Mini mit 6.4
     
     
    Gibt es auch eine Möglichkeit direkt über einen http Befehl zu einer bestimmten Sendernummer zu wechseln?
    Mit kann man ja z.B. zu ARD wechseln, ich möchte aber gerne zu einem IPTV Sender bzw. rtsp Stream wechseln den ich mit dreamboxEDIT in mein Bouquet eingefügt habe. Wenn ich jetzt aber aufrufe um direkt zum "Sender" zu schalten, schaltet die Box auf Radio.
    Wäre also gut wenn man direkt mit einem Link auf den Stream oder die Sendernummer schalten kann. Der Stream ist bei mir auf Nummer 66, könnte sonst auch mit einem Script zwei mal die 6 aufrufen. Ohne Script wäre es mir aber lieber.


Seite 2 von 2 ErsteErste 12

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:00 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,26%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com