Page 2 of 2

Re: The preview videos are not showing up

Posted: Mon Jan 13, 2020 6:14 pm
by billyc666
mgalaxy wrote:
SegaDoesWhatNintenDont wrote: The preview videos load and play fine, but only after a second. Every time I switch to another game the default "missing media" screen shows. Is there a way to make the previews seemless?
This is the normal behavior! :)
A screenshot is first shown for a couple seconds (to maximize scrolling list speed) then the video is played (if available)
The fact is that you're missing screenshots for those games, so the system first display a generic image then the video.

That said, there is a hidden feature allowing you to specify the video play delay. Try to set it to 0 and see if it's good for you!
mGalaxy folder > Data folder > Preferences.xml
Open this file with a text editor, then search for this line:

Code: Select all

<advanced_videoplaydelay>1</advanced_videoplaydelay>
change the value to 0

Code: Select all

<advanced_videoplaydelay>0</advanced_videoplaydelay>
Save :)
thanks for this tip.. is there anyway i can have a default image (static tv) that would work for all, or would i need to create an image for each rom.....Great frontend by the way

Re: The preview videos are not showing up

Posted: Mon Jan 13, 2020 7:40 pm
by billyc666
Ok i thought i would create a new reply as this is a soloution i've just come up with so you cant see the missing media text

first you need to create a bat file using notepad & containing

Code: Select all

dir /a /b/-p/o:gen >C:\WINDOWS\Temp\file_list.txt 
start notepad C:\WINDOWS\Temp\file_list.txt
save the name as .0 (dot+zero)
run it within you rom folder , it will then create a file_list.txt file delete the first line of the text file which will be the name of the bat file you just run (.0)
save the text file to your desktop keeping the same name (file_list)

now create a folder on your desktop and add the blank.png (640x480) image attached

now create another bat on your desktop (this will read the file_list.txt file

Code: Select all

@echo off
setLocal EnableDelayedExpansion

for /f "tokens=* delims= " %%a in (file_list.txt) do (
echo copy "Blank.png" "%%a.png">>run-me-in-folder-with-blank-png.bat
)
run this bat file, it will now create another bat file named (run-me-in-folder-with-blank-png) place this bat file in the folder with the blank png and run it, you will now have a new blank png for every rom, which you place in the screenshots folder
which will now hide the missing media text


Aquick edit i just realised the first batch file is leaving the extension in so ending up with a double ectension
, anyone know how to remove them within the batch

For now im using bulk rename utility to remove the double extension