Autostart Eurosport Player (Addon)

  • Hi guys. I read a lot about this topic in the net but it did not help me.

    Is there a possibility to start the Eurosport Player on startup?

    I read about creating files in user dictionary and stuff but i was not able to start it.

    Do you know an easy script or how to create it?

    Thanks in advance

    goldjungee

  • Thanks for your answer but that did not help me.

    1) Could you tell me the command to open the Plugin?

    import xbmc

    xbmc.executebuiltin('XBMC.RunScript(script.video.eurosportplayer)')

    That did not work


    xbmc.executebuiltin("RunAddon(script.eurosportplayer)")

    -sh: syntax error: unexpected word (expecting ")")

    -sh: syntax error: unexpected ")"


    This does not work either

  • I'm afraid nobody can can help without logs.

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • So, the above aroused my curiosity and I tried it... with youtube (plugin.video.youtube). According to the instructions on kodi's wiki,

    - I made the service.autoexec folder and inside it

    - I made the autoexec.xml file exactly as described on the wiki

    - I made the autoexec.py file like so

    Code
    import xbmc
    xbmc.executebuiltin('RunAddon(plugin.video.youtube)')

    Proof of the above

    Code
    letest:~/.kodi/addons # ls service.autoexec/
    autoexec.py   autoexec.xml

    But I failed at step 1.4 which says about enabling the autoexec addon because there is no autoexec addon listed in there!

    I also tried enabling it with

    Code
    kodi-send --action="EnableAddon(service.autoexec)"

    If it helps, running

    Code
    kodi-send --action="RunAddon(plugin.video.youtube)"

    does spawn youtube. There is nothing related to autoexec in the log.

    ---edit

    I need a new pair of glasses :P The right file name for the xml is addon.xml not autoexec.xml!

    I renamed it and now it works as it should.

    Edited 2 times, last by jim_p (July 13, 2022 at 1:21 PM).