mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 00:05:52 +03:00
[GH-ISSUE #666] [App Support]: Youtube #313
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#313
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @LilPupGimu on GitHub (Jan 3, 2023).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/666
App Store link
https://apps.apple.com/us/app/youtube-watch-listen-stream/id544007664
Current issues
More details
Here are shots of the same error done at different times. https://imgur.com/a/ZnMerQO
Crash log
Issue Language
@LilPupGimu commented on GitHub (Jan 3, 2023):
oh, got a funny number, fun stuff
@amirsaam commented on GitHub (Jan 3, 2023):
While there are better YouTube clients for macOS on Mac App Store, Devs won't put effort to fix its issues.
Please search through MAS for finding another client.
@avichou commented on GitHub (Jul 18, 2023):
could you please give some ideas ? im trying to install youtube music IPA on my mac but it wont work
sadly the web app is blocked by the hospital's wifi im in
@dlevi309 commented on GitHub (Aug 19, 2023):
@LilPupGimu @avichou Hiii. So I can across this issue when I initially was looking into this myself, and I figured out a solution (I personally did this for YouTube, but either way, should apply to YouTube Music)
all I did was create a shim for the missing function within AVKit on macOS.
AVKit.frameworkintoYouTube Music.app/Frameworks/cdintoYouTube Music.app/Frameworks/Module_Framework.framework/and run this command:Also, while I’m happy to help, if you don’t know what
install_name_toolis or how to install it, please look it up yourself because a google search will give you a good enough answer as any.P.S
If you were wondering what the “shim” code looks like, this is it:
compiling that into a framework + these flags did the trick:
-current_version 1 -compatibility_version 1 -Xlinker -reexport_library AVKit.tbd@avichou commented on GitHub (Aug 19, 2023):
I tried to do that but got prompted with "error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: “Module_Framework” (No such file or directory)".
searched on google but couldnt find much info about install name tool , expect that there is no need to isntall it (aka it's packed into macOS, if I got it right?).
If you can, i'd very VERY gladly take your youtube.ipa :)
and if you got some spare time (i understand if you don't wanna) , do you think you could do it with youtube Music ? and send the .ipa signed?
i'm not even sure it's gonna work but the reason of why I do this is because im hosptitalized, and the hospital's wifi blocks most songs and youtube videos...but only if you use the site , since every video and song works on phone (using the phone's apps)
@avichou commented on GitHub (Aug 19, 2023):
got youtube music from here https://decrypt.day/app/id1017492454
really if you don't feel like it I completely understand lol, but I'd definitely take your youtube.ipa if you don't mind...since you already signed it correctly, right?
@dlevi309 commented on GitHub (Aug 20, 2023):
@avichou Hi, sorry to hear about you being hospitalized, so I did you one better. Other than my YouTube fix, I also have it tweaked to allow signing in (because by default the app signs you out every-time you close and relaunch) and there are no longer any ads. I decrypted the latest version of YouTube and already tested it with my tweaks applied, so all you need to do is sign the ipa.
Here's the link to my version
@avichou commented on GitHub (Aug 21, 2023):
thank you so much for this ! oh you don't have to be sorry, but thanks for the sentiment :)
unfortunately the app crashes after the second time i open it. besides i wasnt able to go in my library, or in youtube preferences
i really gotta find out how to do this for youtube music, i need music so fucking bad right now, and this wifi blocks all kind of music besides mainstream crap hahaha
do you know of a tutorial of how to do it for noobs(all the stuff you've done with youtube), so that I will be able to tune it for youtube music (and potentially other apps in the future, though at the moment all i need is music rly lol)
@dlevi309 commented on GitHub (Aug 21, 2023):
@avichou try this one :) it won't stay signed in, but it should work like any other application https://www.dropbox.com/scl/fi/k8vjzjny2l9qlmzi79nlw/YouTube.tar.xz?rlkey=mxz56pj47zhu6joys7s534gta&dl=0
@avichou commented on GitHub (Aug 21, 2023):
thank you this one works pefectly ! god bless you
what happens once it stops being signed in ?
@dlevi309 commented on GitHub (Aug 21, 2023):
I'm glad I was able to help :) and nothing, my .ipa version has a tweak I applied that should preserve when you sign in (usually, every time I quit the app, it signs out of my youtube account) although now that I think about it, I hadn't actually tested it on the version I just sent you. Let me know if the app remains signed in when you quit it, i'd be curious to know whether or not my tweak still works
EDIT: I tested it, quitting the app signs you out every time. oh well, should be fine for your purposes (you could just leave the app open 24/7 to preserve your login)
@avichou commented on GitHub (Aug 29, 2023):
yeah i noticed that too..
listen man, I really am on the verge of suicide and need to immerse myself in music if possible . do you think you could do the trick for youtube music app for me ? i'll pay you for it (idk, 5 bucks?), and i really mean it, don't want you to refuse a compensation. tell me how long it takes, i'll give you 10 if needed , i just need this fucking playlist lol . and it's okay if you don't wanna, really.sorry for being annoying with this shit . and if you don't feel like it i swear i understand and you arent responsible for anything (if it wasn't obvious already) . idk how to say it
@dlevi309 commented on GitHub (Aug 29, 2023):
@avichou No problem. try this: https://www.dropbox.com/scl/fi/p60yify16w758rtbg0xvb/YouTubeMusic.tar.xz?rlkey=qny8je2mr9saozakdw0yhcnbd&dl=0
although there’s nothing I can do about the app keeping sign-in info when closed
@avichou commented on GitHub (Aug 29, 2023):
thank you...please let me offer you a coffee or something ...
@dlevi309 commented on GitHub (Aug 29, 2023):
@avichou don’t worry about it, it’s all good man :) lmk if it’s working well (and also, a bonus, I added my own tweak to block ads, limits, etc.)
@avichou commented on GitHub (Aug 29, 2023):
I'll make a "thorough" review tomforow when I wake up
Thank you so much
Do not hesitate if you want a buck or something , I knew you'd refuse but it's normal in my education to give a little something to strangers who helped us....you tell me
@avichou commented on GitHub (Sep 3, 2023):
Hello again . Had started writing but Im rly discombobulated... Gaining a lot of energy though . Music and rap sure as hell help pass through these hard moments....
As for the app itself, it works well, thank you ! (you didn't use the latest version tho right ? Doesn't have lice lyrics)
It does sporadically log you out (after a certain time which I haven't defined yet) , and obviously logs you out after you closed the app, too . Otherwise everything works fine (has to be kept in default window size otherwise it goes cray haha )
Rly I'm far from being rich, money is actually one of the issues lol, but if I can just offer you a coffee for your help , just a way to show thankfulness....don't refuse it please :)
@notarisj commented on GitHub (Oct 31, 2023):
@avichou Your issue with the command not running is the double quotes in "Module_Framework" being weirdly formatted. Rewrite the quotes and it should run like a charm. macOS sometimes automatically changes the plain double quotes
@neilyhy commented on GitHub (Jan 11, 2024):
Just want to add this method didn't work on Youtube Music not just because of the quotes, but also that
YouTube Music.app/Frameworks/Module_Framework.framework/does not exist underYouTube Music.app/Frameworks/.@dlevi309 commented on GitHub (Jan 11, 2024):
@neilyhy do everything I said in my instructions but replace the
Module_frameworkpath with the mainYouTubeMusicbinary instead:@phi-alek commented on GitHub (Feb 13, 2024):
thanks so much for this, i have already succesfully installed an older yt music app, but i really want to install a new one. i have done everything here. i have extracted the ipa, copied the framework file, and did the install name tool command with the youtube music binary. but how can i put the whole payload folder back to an ipa and resign it so i can install it?
im sorry, if this is a nooby question, but i was searching for days now for a solution to this problem and this is the closest i could get. thank in advance.
@kratos9394 commented on GitHub (Jul 6, 2024):
still crash,same error
@kadeschs commented on GitHub (Jul 6, 2024):
Turn off UHD and restart.