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

    change **** 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
    108
    Total Downloaded
    1,62 MB
    Total Downloaded
    1,62 MB
    ReceiverDankeAktivitäten
    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
    Themenstarter
    Total Downloaded
    64,08 MB
    Total Downloaded
    64,08 MB
    ReceiverDankeAktivitäten
    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 ****:
    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
    Themenstarter
    Total Downloaded
    64,08 MB
    Total Downloaded
    64,08 MB
    ReceiverDankeAktivitäten
    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
    108
    Total Downloaded
    1,62 MB
    Total Downloaded
    1,62 MB
    ReceiverDankeAktivitäten
    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
    108
    Total Downloaded
    1,62 MB
    Total Downloaded
    1,62 MB
    ReceiverDankeAktivitäten
    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
    5.243
    Total Downloaded
    6,34 MB
    Total Downloaded
    6,34 MB
    ReceiverDankeAktivitäten
    Box 1:
    VuUno4K SE
     
     
    Box 2:
    Dinobot 4K
     
     
    Ich suche nach folgender Lösung:
    Mehrere Tastenbefehle in einem script ausführen, und dieses script per hotkey auf eine Taste legen.





  10. #18
    Avatar von Pike_Bishop
    Registriert seit
    05.09.2013
    Ort
    here and there
    Beiträge
    3.326
    Total Downloaded
    155,15 MB
    Total Downloaded
    155,15 MB
    ReceiverDankeAktivitäten
    Box 1:
    Mutant HD 2400
     
     
    Box 2:
    VU+ Ultimo 4K
     
     
    Box 3:
    VDR
     
     
    Box 4:
    VDR
     
     
    Is schon gelöst mit ppanel, leider gehts nicht mit hotkey
    OpenATV-6.2

    Script Collection

  11. #19
    +++Teletexter+++ Avatar von willy01
    Registriert seit
    05.04.2013
    Beiträge
    5.243
    Total Downloaded
    6,34 MB
    Total Downloaded
    6,34 MB
    ReceiverDankeAktivitäten
    Box 1:
    VuUno4K SE
     
     
    Box 2:
    Dinobot 4K
     
     
    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





  12. Thanks Pike_Bishop bedankten sich
  13. #20
    Senior Mitglied
    Registriert seit
    01.09.2015
    Beiträge
    134
    Total Downloaded
    72,57 MB
    Total Downloaded
    72,57 MB
    ReceiverDankeAktivitäten
    Box 1:
    VU+ Uno 4K SE mit 6.2
     
     
    Box 2:
    Edision OS mini mit 6.1
     
     
    Box 3:
    Golden Interstar XPEED LX1 mit 5.3
     
     
    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
  •  
Diese Website benutzt Cookies
Wir benutzen Cookies um Sitzungsinformationen zu speichern. Dies erleichtert es uns z.B. Dich an Deine Login zu erinnern, Einstellungen der Webseite zu speichern, Inhalte und Werbung zu personalisieren, Social Media Funktionen anzubieten und unser Datenaufkommen zu analysieren. Wir teilen diese Informationen ebenfalls mit unseren Social Media-, Werbe- und Analysepartnern.
     
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:39 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2018 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 10,53%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com