Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlay xml improved data comparisons #2067

Closed
Omertron opened this issue Mar 15, 2015 · 7 comments
Closed

Overlay xml improved data comparisons #2067

Omertron opened this issue Mar 15, 2015 · 7 comments

Comments

@Omertron
Copy link
Member

Original issue 2068 created by Omertron on 2011-08-16T06:14:33.000Z:

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

  • PCH C-200 (Networked media tank)

Please describe in as much detail as possible what new feature you want:

I have not been able to test all aspects of the OverlayXML functionality but some ideas of improvements are the following:

  • Overall
    Case-insensitive comparisons
  • Audiochannels
    Parsing of audiochannels to only return the first (primary) audiotrack channel i.e. "6 / 6 / 6 / 6 / 6 / 6 / 6 / 6" returns 6
  • Audiocodec
    Parsing of audiocodecs to only return the first (primary) audiotrack codec i.e. "AC3 (en) / AC3 (en) / AC3 (en) / AC3 (en) / AC3 (en) / AC3 (en) / AC3 (en) / AC3 (en)" returns AC3
    Possibly parse the language to the separate language tag
  • Other possible improvements
    Maintainable list of keywords similar to filename.scanner.source.keywords for videooutput, videocodecs, audioCodec, fps, aspect and containers to better be able to control comparisons. I.e.
    filename.scanner.videoputput.keywords.NTSC = NTSC 30, NTSC 30p
    filename.scanner.videocodec.keywords.mpeg2 = MPEG-2V,mpeg2
@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2011-08-22T06:47:56.000Z:

This issue was updated by revision r2632.

Overall case-insensitive comparisons.
Parsing of audiochannels to only return the first (primary) audiotrack channel.
Parsing of audiocodecs to only return the first (primary) audiotrack codec.
Maintainable list of keywords on next format: overlay.keywords.<rating/videosource/videoout/videocodec/audiocodec/audiochannels/container/aspect/fps/certification/keywords> = keyword1 / synonym1_1 / synonym1_2 ; keyword2 / synonym2_1
Example: overlay.keywords.videoout = NTSC / NTSC 30 / NTSC 30p ; PAL / PAL 24 / PAL 25 / PAL 24p

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2011-08-22T06:49:34.000Z:

<empty>

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2011-08-22T12:02:49.000Z:

This issue was updated by revision r2633.

Change the value of the imagetype.audiocodec and imagetype.audiochannels from true/false to true/false/block.
Value 'block' means to use all audiocodec and audiochannels instead the first (primary) only.
Block is used to describe a new data structure in the file overlay.xml.

name

[horizontal/vertical] [auto/number] [auto/number] [integer] [integer]

@Omertron
Copy link
Member Author

Comment #4 originally posted by Omertron on 2011-08-27T14:24:57.000Z:

This works for me. Thanks.
I will currently not use the block function, but I made some rudimentary
tests of it.

I think there is one attribute missing for the block?

<block>
   <name>audiochannels</name>
   <dir>false</dir>
  •   <size>false</size>*
    
    auto
    auto
    0
    0

@Omertron
Copy link
Member Author

Comment #5 originally posted by Omertron on 2011-08-27T14:55:30.000Z:

Attribute "Size" is designed, but not implemented yet. Its value: static/auto. Default value: auto.

@Omertron
Copy link
Member Author

Comment #6 originally posted by Omertron on 2011-09-22T11:24:04.000Z:

This issue was closed by revision r2650.

@Omertron
Copy link
Member Author

Comment #7 originally posted by Omertron on 2011-10-18T10:56:29.000Z:

This issue was updated by revision r2706.

ImageType.audiolang = false/true/block - parse the language to the separate language tag from audiocodecs.
ImageType.language = true/false/block - true - default rendering, block - render according tags images and block
ImageType.clones = false/true - remove identical picture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant