General Category > General Discussion & Help

wav inhibits jpg

(1/2) > >>

lordbah:
Hello,
I don't know enough yet to know whether what I see is behavior of RetroFE or of the Ergo Proxy theme. Usually, the lower right corner is populated with a still image from the video folder, (romname).(jpg/png). However if I put (romname).wav in that folder, the wav is played, but no still image is loaded (see attached). This choice makes no sense to me. Can I get it to do both?

Pieter Hulshoff:
RetroFE only loads a single file per tag in the layout.xml file, and it does so with a certain priority. What you can do is copy the reloadableVideo tag, and setting the type for that tag to e.g. audio. You can then move the .wav file in the audio directory of your collection (just create one right next to your video directory), and it will find the wav file with the newly created second tag and the image with the original tag.

lordbah:
Apparently I'm not doing it correctly. It shows the jpg now but does not play the audio.

I created the folder 'audio' parallel to 'video', moved *.wav from video/ to ../audio, edited layouts/Ergo Proxy/layout.xml to add (says 'audio' where the other tag says 'screenshot')

  <reloadableVideo imageType="audio" alpha="1" x="center" y="center" yOrigin="center" xOrigin="center" yOffset="-67" xOffset="4" width="678" height="508" layer="5" >  ^M
  </reloadableVideo>

I didn't copy the onEnter, onMenuScroll, etc because the concept of animation didn't seem to mean anything for audio.

What tells it to look in the folder named 'audio' for imageType="audio"? Is that built-in? I ran strace ./RetroFE (I'm on Linux) and did not find any open() call on any path in the audio folder.

lordbah:
Poking around the documentation I saw there is a <reloadableAudio> tag. So I changed what I added to <reloadableAudio>. Same behavior, shows jpg but does not play audio.

lordbah:
Aside: the source code links on the download page aren't working.

Navigation

[0] Message Index

[#] Next page

Go to full version