-
Notifications
You must be signed in to change notification settings - Fork 64
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
Simulation of skipping ads #214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put it behind a setting and extract the function 😄
Playerctl is not an issue i.m.o, mpris doesn't offer the control you need IIRC. |
- add new button in settings with requirement mpris service - remove mutedArtists as not needed anymore - split adblock code to new function - add muted functionality to new function - reduce interval time for song changes to 400ms from 1000ms
Yes, I do not disagree. The problem is not the command line option, but the issue that |
Also, I removed muted Artists option as it is not needed anymore. It just adds workload to the loop without reason, and it causes conflicts with ad blocking. Now it is ok, less than one second, to skip the ad. I also set the interval time to 400ms so that options get updated more quickly. |
Ready for merge for now. Sometime later, we will have to look for playerctl player option I said above to have more precise results. |
do it after load and at preinjection as it had problems, like tidal server errors
I am attending Kubecon right now so this merge will have to wait until next week. Thanks for the changes! |
Closed for real ad blocking in #218. |
After issue #197, I tried to implement skipping ads by going forward to 29.9th second (it is constant always) using playerctl. It seems to work well.
However, there are some issues that should be fixed (if @Mastermindzh could help):
playerctl --player=tidal-hifi position 29.9
,I get the errorit does nothing yet.Could not execute command: Could not get track id to set position
. There something goes wrong. Track id is not set at all: