Automatically get Youtube version from the ipa itself #100
No reviewers
Labels
No labels
YTLite
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/YTLitePlus#100
Loading…
Reference in a new issue
No description provided.
Delete branch "get-yt-ver"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!
I finnaly figured out my unrelated issue to this PR! It seems that i had two seperate bugs which i'm not sure is ytliteplus or ytlite (definitly need to check with only ytlite if this is the case)
It seems that automatically disable subtitles in the player section of ytlite doesn't work if a video goes full screen automatically.
And if VP9 is turned on withoud proper entitlements it causes video's with multiple audio tracks (e.g. mr beast video's) to choose the second language of the list (in this case bulgarian or something between those lines). (Sounds more like a ytuhd thing but i also have to test that somehow seperatly to properly submit an issue on that).
ANYHOW! back to the PR!
I want to make one day some sort of ios shortcut that triggers that workflow with only giving the ipa url as an input, but i saw the yt version needs to be supplied each time, i figured that info should be stored in the ipa itself and found it so!
So instead of specifying it manually, it now does so automatically!

Proof:
I did this by checking this within the unpacked ipa file: main/tmp/Payload/YouTube.app/Info.plist (main/tmp/ is the location when using it in this workflow). From there the xml file has a key named CFBundleVersion and the string contains the value we ussually manually insert!
Do note the wiki needs to be slightly updated to reflect this change if you want to merge it, i did test this out and believe it's working as expected.
Thank you! I though about doing this but didn't, I think the same could be done with the YTLite version that can be extracted from /Tweaks/YTLite/Makefile PACKAGE_VERSION = X.X.X
It would then be completly automatic
oh i didn't realised that one, i'll have a look at it and make a pr for it :)