[Recalbox 6.1] Splash Video Fade Out?
-
Hello there,
it's been a while. You could help me with a little problem I have: Where did the fade out option from the Splash Screen go?
Older versions had this in S02Splash:
if [[ $? -eq 0 && $videolength -gt -1 ]]; then recallog "Let's play the video for $videolength seconds" # Wait for emulationstation or Kodi, but not more than $videolength seconds count=0 while [[ ! -f "/tmp/emulationstation.ready" && ! -e "/var/run/kodi.msg" && $count -lt $videolength ]]; do sleep 1 ((count++)) done # Finish with a one second fade out. sleep 30 audio_fade=1 video_fade=250 while [[ $video_fade -gt 0 ]]; do sleep .02 dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Volume double:$audio_fade >/dev/null dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.SetAlpha objpath:/not/used int64:$video_fade >/dev/null audio_fade=`echo "$audio_fade .02" | awk '{printf "%.2f", $1-$2}'` ((video_fade=video_fade-5)) done # Ready flag set or timeout occured; stop video process. dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Action int32:15 >/dev/null else recallog "Let's play the video entirely" fi
After updating I found that It's now S03Splash without the fadeout:
function stopPlayerWhenFrontendReady() { local playerPID="$1" local timeout="$2" local count=0 [ ${timeout} -eq -1 ] && return until [ -f "/tmp/emulationstation.ready" ] || [ -e "/var/run/kodi.msg" ] || [ ${count} -ge ${timeout} ]; do sleep 1 let count++ done kill -9 ${playerPID} }
With the fadeout the transition from splash video to menu looks WAY better, so I'd like it back.
Is it possible to add it somewhere there?
Thanks for your help! -
@The_Mole I was wondering that too... Maybe you can fix it, will you share it please?
-
This post is deleted!