YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

Overlay XML audiochannels compares to wrong data (audiocodecs) #2066

Closed Omertron closed 9 years ago

Omertron commented 9 years ago

Original issue 2067 created by Omertron on 2011-08-16T05:47:04.000Z:

What steps will reproduce the problem?

  1. Define overlay xml file with the following: <layer after="true"> <name>audiochannels</name> <left>157</left> <top>380</top> <align>left</align> <valign>top</valign> <images> <image name="audiochannels" value="0" filename="p_ACH_0.png"/> <image name="audiochannels" value="1" filename="p_ACH_1.png"/> <image name="audiochannels" value="2" filename="p_ACH_2.png"/> <image name="audiochannels" value="3" filename="p_ACH_3.png"/> <image name="audiochannels" value="4" filename="p_ACH_4.png"/> <image name="audiochannels" value="5" filename="p_ACH_5.png"/> <image name="audiochannels" value="6" filename="p_ACH_6.png"/> <image name="audiochannels" value="7" filename="p_ACH_7.png"/> <image name="audiochannels" value="8" filename="p_ACH_8.png"/> <image name="audiochannels" value="10" filename="p_ACH_10.png"/> <image name="audiochannels" value="default" filename="p_default.png"/>
    </images> </layer>
  2. Run YAMJ
  3. Look at the resulting files all channels will be default even though the files have correct channels.

What is the expected output? What do you see instead? Pictures represeting the channels. If I change the channels to a list of audiocodecs (i.e. AC3) I will get these. Thus the comparison is done with audiocodec instead of channels.

What version/revision of YAMJ are you using? On what operating system?

What skin are you using?

What device are you using YAMJ on? Networked Media Tank, PlayonHD, Other?

Please provide any additional information below.

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2011-08-22T03:26:54.000Z:

This issue was closed by revision r2630.