Kodi/OpenElec/xbmc Slideshow mit Video abspielen

in #raspberry7 years ago

Hallo!

Für die Umsetzung eines Projektes war es nötig, dass ein Raspberry Pi Videos und Bilder via Dauerschleife von einem USB Stick abspielt.
Zum Thema Slideshow gibt es bereits sehr viele Einträge, jedoch bin für die Kombination aus Bilder & Videos nicht fündig geworden. Durch probieren/testen konnte ich mein Project folgend umsetzen.

1.) OpenElec downloaden
Achtung: mit der derzeitg aktuellen Version (8.0.4) klappt es nicht! Ihr müsst die vorherige Version 7.0.1 dafür verwenden.
Download: http://openelec.tv/get-openelec

2.) Datei autoexec.py unter ~/.kodi/userdata anlegen.

3.) Quellcode:

import xbmc

xbmc.executebuiltin("PlayMedia(/var/media/KINGSTON,isdir)")
xbmc.executebuiltin("RecursiveSlideShow(/var/media/KINGSTON,isdir)")
xbmc.executebuiltin("PlayerControl(RepeatAll)")
xbmc.executebuiltin("Action(Fullscreen)")

Wünsche euch viel Erfolg beim Nachbauen und testen!

LG
ildottore

Sort:  

Congratulations @ildottore09, you have decided to take the next big step with your first post! The Steem Network Team wishes you a great time among this awesome community.


Thumbs up for Steem Network´s strategy

The proven road to boost your personal success in this amazing Steem Network

Do you already know that awesome content will get great profits by following these simple steps, that have been worked out by experts?

Congratulations @ildottore09! You received a personal award!

1 Year on Steemit

Click here to view your Board

Do not miss the last post from @steemitboard:

SteemWhales has officially moved to SteemitBoard Ranking
SteemitBoard - Witness Update

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @ildottore09! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 60944.89
ETH 2608.11
USDT 1.00
SBD 2.67