HaseebKhalid1507 / AudioLine

A Youtube audio player for your terminal
MIT License
25 stars 1 forks source link

[Feature Request] Some audio is too loud. #7

Open TheoCGaming opened 2 years ago

TheoCGaming commented 2 years ago

This program needs an audio control of some kind, because some music is played too loud.

I've tried hard-coding volume to about 70 in an earlier release, which worked, but I tried to do the same thing in the newest version and now it just complains "stale plugins cache" on startup. I remove the patch (which crashed the program as soon as audio was played, so not really a fix, it just broke the program more :P ) and it complains the same thing, but it happens when it plays audio.

TheoCGaming commented 2 years ago

update: I got it to work, I just had to put it in the "INITIALIZE VIDEO" section. Issue with that is it's hard coded and I don't know how to allow people to change it other than just asking them to change the programming :/

...and now for some reason playlists won't work.... sometimes? idk

TheoCGaming commented 2 years ago

Well there's your problem! image Youtube's removal of the dislike count screwed it up! That's why videos sometimes crash the program!

TheoCGaming commented 2 years ago

fixed the thing with the thing not working right just had to patch %APPDATA%\Python\Python39\site-packages\pafy\backend_youtube_dl.py by commenting out line 54, the one that handles dislikes.

TheoCGaming commented 1 year ago

@ handles break yt-dl now, recommended to use nightly instead