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

Configuration for segment types #13

Closed
stephen304 opened this issue May 8, 2021 · 5 comments
Closed

Configuration for segment types #13

stephen304 opened this issue May 8, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@stephen304
Copy link
Contributor

It would be nice to be able to configure the segment types to skip, I like to skip a lot of them including unpaid self promotion, intros, and interaction reminders.

@erdnaxeli erdnaxeli added the enhancement New feature or request label May 10, 2021
@erdnaxeli
Copy link
Owner

Is there a list of all available segments type somewhere?

@stephen304
Copy link
Contributor Author

stephen304 commented May 10, 2021 via email

@stephen304
Copy link
Contributor Author

Since email responses don't support markdown:

     params = URI::Params.encode({
-      "category" => "sponsor",
+      "categories" => "[\"sponsor\",\"selfpromo\",\"interaction\"]",
       "videoID"  => content_id,
     })

Is how I'm currently using it

@erdnaxeli
Copy link
Owner

Thanks! The JSON format is weird, first time I see that in an URL parameter.

@erdnaxeli
Copy link
Owner

Fixed in 03c2c51.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants