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

[workaround] Alias "PAL-M" to "MPAL" in get_format_parameters #174

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

Inky1003
Copy link

@Inky1003 Inky1003 commented Dec 7, 2024

PAL-M TBCs were not opening in filter_tune tool because .tbc.json file stores "PAL-M", but whatever reason the vhs-decode code calls PAL-M as "MPAL". This aliases "PAL-M" to "MPAL" and makes filter_tune work again.

For later: decide if PAL-M will be named only either "PAL-M", "MPAL" or "PALM".

I suggest calling It "PAL-M" because even though the entire code calls It "MPAL", It's a simple string with no more than 5 characters (in SECAM's case, no more than 8), and nobody calls PAL-M like that. Also, If so, you would need to change the TBC/JSON specifications, and that would break everything.

This fixes PAL-M TBCs not opening in filter_tune tool.
For later: decide if PAL-M will be named only either "PAL-M", "MPAL" or "PALM".
@oyvindln
Copy link
Owner

oyvindln commented Dec 8, 2024

Yeah I'm not sure why the code uses MPAL, can probably just change that. I'm not really fond of using a hyphen in the name since it's a symbol that tends to have a meaning in programming and markup languages and thus the name can't map easily to an enum variant so I would maybe prefer PALM or PAL_M to PAL-M.

@oyvindln oyvindln merged commit 4cec658 into oyvindln:vhs_decode Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants