Skip to content

[Bug]## Exception * __User Action:__ play stream * __Request:__ Player error[type=ERROR_CODE_IO_NETWORK_CONNECTION_TIMEOUT] occurred while playing https://www.youtube.com/watch?v=-x3TpU4lYbw * __Content Country:__ IT * __Content Language:__ en-GB * __App Language:__ en_GB * __Service:__ YouTube (Anonymous) * __Version:__ 4.2.1 * __OS:__ Linux samsung/a71naeea/a71:13/TP1A.220624.014/A715FXXUADWH4:user/release-keys 13 - 33 <details><summary><b>Crash log </b></summary><p> ``` #312

[Bug]## Exception * __User Action:__ play stream * __Request:__ Player error[type=ERROR_CODE_IO_NETWORK_CONNECTION_TIMEOUT] occurred while playing https://www.youtube.com/watch?v=-x3TpU4lYbw * __Content Country:__ IT * __Content Language:__ en-GB * __App Language:__ en_GB * __Service:__ YouTube (Anonymous) * __Version:__ 4.2.1 * __OS:__ Linux samsung/a71naeea/a71:13/TP1A.220624.014/A715FXXUADWH4:user/release-keys 13 - 33 <details><summary><b>Crash log </b></summary><p> ```

[Bug]## Exception * __User Action:__ play stream * __Request:__ Player error[type=ERROR_CODE_IO_NETWORK_CONNECTION_TIMEOUT] occurred while playing https://www.youtube.com/watch?v=-x3TpU4lYbw * __Content Country:__ IT * __Content Language:__ en-GB * __App Language:__ en_GB * __Service:__ YouTube (Anonymous) * __Version:__ 4.2.1 * __OS:__ Linux samsung/a71naeea/a71:13/TP1A.220624.014/A715FXXUADWH4:user/release-keys 13 - 33 <details><summary><b>Crash log </b></summary><p> ``` #312

Workflow file for this run

name: Close Issues if Template Ignored
on:
issues:
types: [opened]
permissions:
issues: write
contents: read
jobs:
close_issues:
runs-on: ubuntu-latest
steps:
- name: Check issue body and creation date
uses: actions/github-script@v6
with:
script: |
const issueBody = context.payload.issue.body;
const issueNumber = context.payload.issue.number;
const issueCreatedAt = new Date(context.payload.issue.created_at);
const templateKeyword = "**Checklist "; // Change this to a unique part of your template
// Define the cutoff date (year, month - 1, day)
const cutoffDate = new Date(2024, 11, 2); // December is month 11 (0-based index)
// Check if the issue was created after the cutoff date
if (issueCreatedAt > cutoffDate) {
// Check if the issue body contains the template keyword
if (!issueBody.includes(templateKeyword)) {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
body: "This issue does not follow the template and will be closed. Please update the issue following the template and reopen it."
});
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
state: "closed",
state_reason: "not_planned"
});
}
}