Grayjay.Desktop icon indicating copy to clipboard operation
Grayjay.Desktop copied to clipboard

Export of downloaded files fails

Open Valnjes opened this issue 1 year ago • 8 comments

What happened?

  1. Download a video - in this example - this: https://www.youtube.com/watch?v=Mt5Uat93SOY
  2. Select the downloaded file to export
  3. Export fails 2024-12-26 23_25_14-Grayjay

I have tried to run GrayJay with Admin rights, and without, its the same.

Grayjay Version

2

What plugins are you seeing the problem on?

Youtube

Plugin Version

219

Which operating system are you using?

Windows

When do you experience the issue?

  • [ ] While logged in
  • [x] While logged out
  • [X] N/A

Are you using a VPN?

No

Relevant log output

i Directories:Base Directory: C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\
i Directories:User Directory: C:\Users\HP\Grayjay
i Directories:Temporary Directory: C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\temp_files
i Directories:Log file path: C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\/log.txt
i T:PortFile path: C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\port
i T:StartingUpFile path: C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\starting
i T:Created StartingUpFile, removed PortFile
i Program:Main: StateApp.Startup
i StateApp:Startup: Initializing PluginEncryptionProvider
i StateApp:Startup: Initializing DatabaseConnection
i StateApp:Startup: Ensuring Table DBSubscriptionCache
i StateApp:Startup: Ensuring Table DBHistory
i StateApp:Startup: Initializing Download Cycle
i StateDownloads:Started downloading cycle
i StateDownloads:Ended downloading cycle
i Program:Main: StateApp.Startup finished (356ms)
i Program:Extra args: 
i Program:Main: Starting DotCefProcess
i CEF:CEF directory 'C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\cef'.
i CEF:Working directory 'C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\cef'.
i CEF:CEF exe path 'C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\cef\dotcefnative.exe'.
i Keyring:Falling back to file keyring
i Program:Main: Starting DotCefProcess finished (20ms)
i Program:Main: Starting window.
i GrayjayServer:RunServerAsync: Called with (proxyUrl = ).
e CEF:[1226/233406.369:ERROR:chrome_main_delegate.cc(1200)] Web security may only be disabled if '--user-data-dir' is also specified with a non-default value.
i GrayjayServer:RunServerAsync: Static files path 'C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\wwwroot'.
i GrayjayServer:RunServerAsync: MapWhen Websocket.
i GrayjayServer:RunServerAsync: Start StateCasting.
i StateCasting:Casting listener starting
i T:Sync key pair initialized (public key = JPJAjO6ylPigII4w2j6ckMAJfaFiIVmpnE6yeWSnmyU=)
i T:Running on port 12315 (TCP)
i T:Running auto reconnector
i GrayjayServer:RunServerAsync: Server running on http://127.0.0.1:52925.
i StateDownloads:Started downloading cycle
i StateDownloads:Ended downloading cycle
i Plugin [Youtube]:ABR Enabled: false
i Plugin [Youtube]:{
    "id": "35ae969a-a7db-11ed-afa1-0242ac120002",
    "name": "Youtube",
    "description": "One of the biggest video platforms owned by Google",
    "version": 219,
    "author": "FUTO",
    "authorUrl": "https://futo.org",
    "iconUrl": "./youtube.png",
    "sourceUrl": "https://plugins.grayjay.app/Youtube/YoutubeConfig.json",
    "scriptUrl": "./YoutubeScript.js",
    "allowUrls": [
        "youtube.com",
        "m.youtube.com",
        "www.youtube.com",
        "youtu.be",
        "www.youtu.be",
        "m.youtu.be",
        "s.youtube.com",
        "consent.youtube.com",
        "suggestqueries-clients6.youtube.com",
        "youtubei.googleapis.com",
        "www.google.com",
        "google.com",
        "returnyoutubedislikeapi.com",
        "sponsor.ajay.app",
        ".googlevideo.com"
    ],
    "packages": [
        "Http",
        "Utilities",
        "DOMParser"
    ],
    "scriptSignature": "phRcizQtQQGOcobgd4x4TuLxY6D/50FmlKrbEHZByNnxUv84dpXEU1QYymR7jTHwWcmXve2o20ROF/2YvfmFvOl/G/hadoHEuhxul6rcHkz3HGWOVpiTpx31ubPsdOiw2NtyX3F1QbI8ZZSodG6g8pwMM52t9OEBkLvPQL/N0XhG3BGRfyqXauoX4rlCxAN9TR0W6krnXCgSw/WwwFymyYw9fh2EgWSv8KbqvYh/5Ve325tN4OA85e2Rt9aX4ySTAPxZU9UqoWIRkOs0L95VCOQ4DTuguYlXjfP5xEFRHLsAI+TZf1qoRVcEGWiYhZQhZLvoMaVDBR8aF5oJCZ3TGw==",
    "scriptPublicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsoFJU4AReDyUnSQI9A99UjLCwkY8OH+1o8cdtf2EjSb+fO2qmP8MGMTAvfvgmq5d2QBJE2XHRkRO3JKcTlcc1j0WlOlU8P9W272DYCeX6oYaavpKNqGKoGEuodp9wtiyNwyH46++JfpU/uIUacZbZKkHv9gIGchmNvpKYZQjFd/8pUqXGpcXZP54tGSC9PLcY+5TozZThK7Oy1+3YEf1bZ44UinRYYATbLk/wNuAfsupvlt6nxZOcJhABhdo9V+gY0FE6Ayg5+1cd1noWhnRtLF+sPdEr3z8Nt15JEK5a/524t25FMhwz8yKxlGW5qW3QLJHSUgLQncL6a1zlZ1s8QIDAQAB",
    "captcha": {
        "captchaUrl": null,
        "completionUrl": null,
        "cookiesToFind": [
            "GOOGLE_ABUSE_EXEMPTION"
        ],
        "userAgent": "Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.153 Mobile Safari/537.36",
        "cookiesExclOthers": false
    },
    "authentication": {
        "loginUrl": "https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252Fchannel_switcher&hl=en&ec=65620",
        "completionUrl": "https://m.youtube.com/youtubei/v1/guide?*",
        "allowedDomains": null,
        "headersToFind": [
            "authorization"
        ],
        "cookiesToFind": [
            "SIDCC"
        ],
        "cookiesExclOthers": false,
        "userAgent": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.230 Mobile Safari/537.36",
        "loginButton": null,
        "domainHeadersToFind": {
            ".youtube.com": [
                "authorization"
            ]
        }
    },
    "constants": null,
    "subscriptionRateLimit": 140,
    "enableInSearch": false,
    "enableInHome": false,
    "supportedClaimTypes": [
        2
    ],
    "primaryClaimFieldType": 1,
    "settings": [
        {
            "name": "Use Login for Channels",
            "description": "Use authenticated client for channel (videos) requests. (eg. for member videos)",
            "type": "Boolean",
            "default": "false",
            "variable": "authChannels",
            "dependency": null,
            "warningDialog": "Only enable this if you need it for channel membership content.\n\nTry disabling if you have issues when loading channels.",
            "options": null
        },
        {
            "name": "Use Login for video details",
            "description": "Use authenticated client for video requests. (eg. for member videos)",
            "type": "Boolean",
            "default": "false",
            "variable": "authDetails",
            "dependency": null,
            "warningDialog": "Only enable this if you need it for channel membership content.\n\nTry disabling if you have issues when loading videos and comments.",
            "options": null
        },
        {
            "name": "Allow Loginfallback",
            "description": "Allow usage of login in case where login required (eg. bot check)",
            "type": "Boolean",
            "default": "true",
            "variable": "allowLoginFallback",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Provide Youtube Activity",
            "description": "Use authenticated client for playback, telling Youtube what you watched.",
            "type": "Boolean",
            "default": "false",
            "variable": "youtubeActivity",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Allow Age Restricted",
            "description": "Allow watching of age restricted videos",
            "type": "Boolean",
            "default": "false",
            "variable": "allowAgeRestricted",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Allow Controversial Restricted",
            "description": "Allow watching of controversial restricted videos",
            "type": "Boolean",
            "default": "false",
            "variable": "allowControversialRestricted",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Force Experimental UMP Streams",
            "description": "Force usage of experimental implementation of UMP. May be unstable and cost more performance.",
            "type": "Boolean",
            "default": "false",
            "variable": "useUMP",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Show Verbose Messages",
            "description": "Show messages that give more information about what is happening, might be considered annoying for some.",
            "type": "Boolean",
            "default": "false",
            "variable": "showVerboseToasts",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Return Youtube Dislike",
            "description": "This is a third-party database of video dislikes that combines historic data, crowd-sourced data, and estimations, and may not be accurate.\n\n(Using https://returnyoutubedislike.com)",
            "type": "Header",
            "default": null,
            "variable": "youtubeDislikerHeader",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Enable",
            "description": "Use Return YoutubeDislike to provide dislikes for videos",
            "type": "Boolean",
            "default": "false",
            "variable": "youtubeDislikes",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "SponsorBlock",
            "description": "This is NOT Adblock. SponsorBlock allows you to (automatically) skip in-video sponsor segments.\nIt will harm creators.\n\n(Using https://sponsor.ajay.app)\n\nFUTO respects your decision to use SponsorBlock. But only if you're supporting creators in other ways.",
            "type": "Header",
            "default": null,
            "variable": "sponsorBlockHeader",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Enable",
            "description": "If enabled support creators in other ways.\nDo not freeload.",
            "type": "Boolean",
            "default": "false",
            "variable": "sponsorBlock",
            "dependency": null,
            "warningDialog": "SponsorBlock will harm creators.\nDo not freeload, support creators in other ways.",
            "options": null
        },
        {
            "name": "Allow No Vote Segments",
            "description": "Allow segments without votes, this may cause questionable video skips.",
            "type": "Boolean",
            "default": "false",
            "variable": "sponsorBlockNoVotes",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Skip Sponsors",
            "description": "Skip segments labeled as sponsors",
            "type": "Dropdown",
            "default": "1",
            "variable": "sponsorBlockCat_Sponsor",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Intros",
            "description": "Skip segments labeled as intros",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Intro",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Outros",
            "description": "Skip segments labeled as outros",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Outro",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Self-Promos",
            "description": "Skip segments labeled as self-promos",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Self",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Music-Offtopic",
            "description": "Skip segments labeled as music-offtopic",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Offtopic",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Preview",
            "description": "Skip segments labeled as previews",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Preview",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Fillers",
            "description": "Skip segments labeled as fillers",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Filler",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Advanced",
            "description": "These are settings not intended for most users, but may help development or power users.",
            "type": "Header",
            "default": null,
            "variable": "advanced",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Show Cipher every Video",
            "description": "Shows a toast with the cipher when loading a video",
            "type": "Boolean",
            "default": "false",
            "variable": "notify_cipher",
            "dependency": null,
            "warningDialog": null,
            "options": null
        }
    ],
    "absoluteIconUrl": "https://plugins.grayjay.app/Youtube/youtube.png",
    "absoluteScriptUrl": "https://plugins.grayjay.app/Youtube/YoutubeScript.js"
}
i Plugin [Youtube]:Settings:
{
   "authChannels": false,
   "authDetails": false,
   "allowLoginFallback": true,
   "youtubeActivity": false,
   "allowAgeRestricted": true,
   "allowControversialRestricted": true,
   "useUMP": false,
   "showVerboseToasts": false,
   "youtubeDislikes": true,
   "sponsorBlock": false,
   "sponsorBlockNoVotes": false,
   "sponsorBlockCat_Sponsor": 1,
   "sponsorBlockCat_Intro": 0,
   "sponsorBlockCat_Outro": 0,
   "sponsorBlockCat_Self": 0,
   "sponsorBlockCat_Offtopic": 0,
   "sponsorBlockCat_Preview": 0,
   "sponsorBlockCat_Filler": 0,
   "notify_cipher": false
}
i Program:Main: Starting window finished (1003ms)
i Program:Main: Waiting for ASP to start.
i Program:Main: Waiting for ASP to start finished (0ms)
i Program:Main: Readytime: 1382ms
i T:Created PortFile, removed StartingUpFile
i Program:Main: Navigate.
i Program:Main: Waiting for window exit.
i ManagedThreadPool:New threadpool created (6)
i Plugin [Youtube]:ABR Enabled: false
i Plugin [Youtube]:{
    "id": "35ae969a-a7db-11ed-afa1-0242ac120002",
    "name": "Youtube",
    "description": "One of the biggest video platforms owned by Google",
    "version": 219,
    "author": "FUTO",
    "authorUrl": "https://futo.org",
    "iconUrl": "./youtube.png",
    "sourceUrl": "https://plugins.grayjay.app/Youtube/YoutubeConfig.json",
    "scriptUrl": "./YoutubeScript.js",
    "allowUrls": [
        "youtube.com",
        "m.youtube.com",
        "www.youtube.com",
        "youtu.be",
        "www.youtu.be",
        "m.youtu.be",
        "s.youtube.com",
        "consent.youtube.com",
        "suggestqueries-clients6.youtube.com",
        "youtubei.googleapis.com",
        "www.google.com",
        "google.com",
        "returnyoutubedislikeapi.com",
        "sponsor.ajay.app",
        ".googlevideo.com"
    ],
    "packages": [
        "Http",
        "Utilities",
        "DOMParser"
    ],
    "scriptSignature": "phRcizQtQQGOcobgd4x4TuLxY6D/50FmlKrbEHZByNnxUv84dpXEU1QYymR7jTHwWcmXve2o20ROF/2YvfmFvOl/G/hadoHEuhxul6rcHkz3HGWOVpiTpx31ubPsdOiw2NtyX3F1QbI8ZZSodG6g8pwMM52t9OEBkLvPQL/N0XhG3BGRfyqXauoX4rlCxAN9TR0W6krnXCgSw/WwwFymyYw9fh2EgWSv8KbqvYh/5Ve325tN4OA85e2Rt9aX4ySTAPxZU9UqoWIRkOs0L95VCOQ4DTuguYlXjfP5xEFRHLsAI+TZf1qoRVcEGWiYhZQhZLvoMaVDBR8aF5oJCZ3TGw==",
    "scriptPublicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsoFJU4AReDyUnSQI9A99UjLCwkY8OH+1o8cdtf2EjSb+fO2qmP8MGMTAvfvgmq5d2QBJE2XHRkRO3JKcTlcc1j0WlOlU8P9W272DYCeX6oYaavpKNqGKoGEuodp9wtiyNwyH46++JfpU/uIUacZbZKkHv9gIGchmNvpKYZQjFd/8pUqXGpcXZP54tGSC9PLcY+5TozZThK7Oy1+3YEf1bZ44UinRYYATbLk/wNuAfsupvlt6nxZOcJhABhdo9V+gY0FE6Ayg5+1cd1noWhnRtLF+sPdEr3z8Nt15JEK5a/524t25FMhwz8yKxlGW5qW3QLJHSUgLQncL6a1zlZ1s8QIDAQAB",
    "captcha": {
        "captchaUrl": null,
        "completionUrl": null,
        "cookiesToFind": [
            "GOOGLE_ABUSE_EXEMPTION"
        ],
        "userAgent": "Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.153 Mobile Safari/537.36",
        "cookiesExclOthers": false
    },
    "authentication": {
        "loginUrl": "https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252Fchannel_switcher&hl=en&ec=65620",
        "completionUrl": "https://m.youtube.com/youtubei/v1/guide?*",
        "allowedDomains": null,
        "headersToFind": [
            "authorization"
        ],
        "cookiesToFind": [
            "SIDCC"
        ],
        "cookiesExclOthers": false,
        "userAgent": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.230 Mobile Safari/537.36",
        "loginButton": null,
        "domainHeadersToFind": {
            ".youtube.com": [
                "authorization"
            ]
        }
    },
    "constants": null,
    "subscriptionRateLimit": 140,
    "enableInSearch": false,
    "enableInHome": false,
    "supportedClaimTypes": [
        2
    ],
    "primaryClaimFieldType": 1,
    "settings": [
        {
            "name": "Use Login for Channels",
            "description": "Use authenticated client for channel (videos) requests. (eg. for member videos)",
            "type": "Boolean",
            "default": "false",
            "variable": "authChannels",
            "dependency": null,
            "warningDialog": "Only enable this if you need it for channel membership content.\n\nTry disabling if you have issues when loading channels.",
            "options": null
        },
        {
            "name": "Use Login for video details",
            "description": "Use authenticated client for video requests. (eg. for member videos)",
            "type": "Boolean",
            "default": "false",
            "variable": "authDetails",
            "dependency": null,
            "warningDialog": "Only enable this if you need it for channel membership content.\n\nTry disabling if you have issues when loading videos and comments.",
            "options": null
        },
        {
            "name": "Allow Loginfallback",
            "description": "Allow usage of login in case where login required (eg. bot check)",
            "type": "Boolean",
            "default": "true",
            "variable": "allowLoginFallback",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Provide Youtube Activity",
            "description": "Use authenticated client for playback, telling Youtube what you watched.",
            "type": "Boolean",
            "default": "false",
            "variable": "youtubeActivity",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Allow Age Restricted",
            "description": "Allow watching of age restricted videos",
            "type": "Boolean",
            "default": "false",
            "variable": "allowAgeRestricted",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Allow Controversial Restricted",
            "description": "Allow watching of controversial restricted videos",
            "type": "Boolean",
            "default": "false",
            "variable": "allowControversialRestricted",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Force Experimental UMP Streams",
            "description": "Force usage of experimental implementation of UMP. May be unstable and cost more performance.",
            "type": "Boolean",
            "default": "false",
            "variable": "useUMP",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Show Verbose Messages",
            "description": "Show messages that give more information about what is happening, might be considered annoying for some.",
            "type": "Boolean",
            "default": "false",
            "variable": "showVerboseToasts",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Return Youtube Dislike",
            "description": "This is a third-party database of video dislikes that combines historic data, crowd-sourced data, and estimations, and may not be accurate.\n\n(Using https://returnyoutubedislike.com)",
            "type": "Header",
            "default": null,
            "variable": "youtubeDislikerHeader",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Enable",
            "description": "Use Return YoutubeDislike to provide dislikes for videos",
            "type": "Boolean",
            "default": "false",
            "variable": "youtubeDislikes",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "SponsorBlock",
            "description": "This is NOT Adblock. SponsorBlock allows you to (automatically) skip in-video sponsor segments.\nIt will harm creators.\n\n(Using https://sponsor.ajay.app)\n\nFUTO respects your decision to use SponsorBlock. But only if you're supporting creators in other ways.",
            "type": "Header",
            "default": null,
            "variable": "sponsorBlockHeader",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Enable",
            "description": "If enabled support creators in other ways.\nDo not freeload.",
            "type": "Boolean",
            "default": "false",
            "variable": "sponsorBlock",
            "dependency": null,
            "warningDialog": "SponsorBlock will harm creators.\nDo not freeload, support creators in other ways.",
            "options": null
        },
        {
            "name": "Allow No Vote Segments",
            "description": "Allow segments without votes, this may cause questionable video skips.",
            "type": "Boolean",
            "default": "false",
            "variable": "sponsorBlockNoVotes",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Skip Sponsors",
            "description": "Skip segments labeled as sponsors",
            "type": "Dropdown",
            "default": "1",
            "variable": "sponsorBlockCat_Sponsor",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Intros",
            "description": "Skip segments labeled as intros",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Intro",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Outros",
            "description": "Skip segments labeled as outros",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Outro",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Self-Promos",
            "description": "Skip segments labeled as self-promos",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Self",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Music-Offtopic",
            "description": "Skip segments labeled as music-offtopic",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Offtopic",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Preview",
            "description": "Skip segments labeled as previews",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Preview",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Skip Fillers",
            "description": "Skip segments labeled as fillers",
            "type": "Dropdown",
            "default": "0",
            "variable": "sponsorBlockCat_Filler",
            "dependency": "sponsorBlock",
            "warningDialog": null,
            "options": [
                "No skip",
                "Manual",
                "Automatic"
            ]
        },
        {
            "name": "Advanced",
            "description": "These are settings not intended for most users, but may help development or power users.",
            "type": "Header",
            "default": null,
            "variable": "advanced",
            "dependency": null,
            "warningDialog": null,
            "options": null
        },
        {
            "name": "Show Cipher every Video",
            "description": "Shows a toast with the cipher when loading a video",
            "type": "Boolean",
            "default": "false",
            "variable": "notify_cipher",
            "dependency": null,
            "warningDialog": null,
            "options": null
        }
    ],
    "absoluteIconUrl": "https://plugins.grayjay.app/Youtube/youtube.png",
    "absoluteScriptUrl": "https://plugins.grayjay.app/Youtube/YoutubeScript.js"
}
i Plugin [Youtube]:Settings:
{
   "authChannels": false,
   "authDetails": false,
   "allowLoginFallback": true,
   "youtubeActivity": false,
   "allowAgeRestricted": true,
   "allowControversialRestricted": true,
   "useUMP": false,
   "showVerboseToasts": false,
   "youtubeDislikes": true,
   "sponsorBlock": false,
   "sponsorBlockNoVotes": false,
   "sponsorBlockCat_Sponsor": 1,
   "sponsorBlockCat_Intro": 0,
   "sponsorBlockCat_Outro": 0,
   "sponsorBlockCat_Self": 0,
   "sponsorBlockCat_Offtopic": 0,
   "sponsorBlockCat_Preview": 0,
   "sponsorBlockCat_Filler": 0,
   "notify_cipher": false
}
i Plugin [Youtube]:Using pre-fetched Home Page
i Plugin [Youtube]:Unknown shelf renderer in extractRichSectionRenderer_Shelf: feedNudgeRenderer
i Plugin [Youtube]:Unknown shelf renderer in extractRichSectionRenderer_Shelf: feedNudgeRenderer
i Plugin [Youtube]:Consent form required
i Plugin [Youtube]:Found new visitor (auth) data: CgtHbV9pTkZQWkpJcyjgs7e7BjIiCgJBVBIcEhgSFhMLFBUWFwwYGRobHB0eHw4PIBAREiEgPQ%3D%3D
i Plugin [Youtube]:Unknown shelf renderer in extractRichSectionRenderer_Shelf: searchBarEntryPointViewModel
i Plugin [Youtube]:Unknown shelf renderer in extractRichSectionRenderer_Shelf: feedNudgeRenderer
i Plugin [Youtube]:Unknown shelf renderer in extractRichSectionRenderer_Shelf: feedNudgeRenderer
i StatePlatform:Resolving 20 lazy results (550d79fc-8d06-4929-8d5c-df42285f9a3b)
i Program:No new updates
i DownloadController:Exporting with FFMPEG:
 -i "C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\Grayjay.Desktop-win-x64-v2\downloads\Mt5Uat93SOY__1920x1080_.mp4" -i "C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\Grayjay.Desktop-win-x64-v2\downloads\Mt5Uat93SOY__Unknown-53103_.mp4a" -map 0:v -map 1:a -c:v copy -c:a copy -y "C:\Temp\ANIME DATING SIMULATOR.avi"
i FFMPEG:Determining FFMPEG command
i FFMPEG:Verifying FFMPEG: ffmpeg.exe
i FFMPEG:FFMPEG Command: ffmpeg.exe
i FFMPEG:FFMPEG Version found: 2024-11-28-git-bc991ca048-essentials_build-www.gyan.dev
i FFMPEG:ffmpeg version 2024-11-28-git-bc991ca048-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
i FFMPEG:  built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
i FFMPEG:  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
i FFMPEG:  libavutil      59. 47.101 / 59. 47.101
i FFMPEG:  libavcodec     61. 26.100 / 61. 26.100
i FFMPEG:  libavformat    61.  9.100 / 61.  9.100
i FFMPEG:  libavdevice    61.  4.100 / 61.  4.100
i FFMPEG:  libavfilter    10.  6.101 / 10.  6.101
i FFMPEG:  libswscale      8. 12.100 /  8. 12.100
i FFMPEG:  libswresample   5.  4.100 /  5.  4.100
i FFMPEG:  libpostproc    58.  4.100 / 58.  4.100
i FFMPEG:[in#0 @ 000001456d0cf180] Error opening input: No such file or directory
i FFMPEG:Error opening input file C:\Users\HP\Downloads\Grayjay.Desktop-win-x64\Grayjay.Desktop-win-x64-v2\downloads\Mt5Uat93SOY__1920x1080_.mp4.
i FFMPEG:Error opening input files: No such file or directory
i FFMPEG:
i FFMPEG:
i StateCasting:Disposing.
e T:StateSync server socket had an unexpected error.
System.Net.Sockets.SocketException (10004): A blocking operation was interrupted by a call to WSACancelBlockingCall.
   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
   at System.Net.Sockets.Socket.Accept()
   at System.Net.Sockets.TcpListener.AcceptTcpClient()
   at Grayjay.ClientServer.States.StateSync.<StartAsync>b__23_0()
e WebSocketEndpoint:Failed to close socket
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Closed') for this operation. Valid states are: 'Open, CloseReceived'
   at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState(WebSocketState currentState, Boolean isDisposed, WebSocketState[] validStates)
   at System.Net.WebSockets.ManagedWebSocket.CloseOutputAsyncCore(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
   at Grayjay.ClientServer.WebSockets.WebSocketClient.Handle()
i WebSocketEndpoint:Removed disconnected client 95b720a0-abd2-4a05-afd7-72e6987bdbfc

Valnjes avatar Dec 26 '24 22:12 Valnjes

The same Video that cant be exported, after it is deleted from the "Downloads" Tab, the Video and the Audio File still remains in the "Downloads" Folder.

When i Download another Video from Youtube, and Export it (Success), and when i delete it from the "Downloads" Tab, it is deleted from the "Downloads" Folder too. 07 08

Then i have tried to download the same Video, but with the smaller size (now under 1GB file), and the exporting works, and deleting the Video in the "Downloads" Tab, deletes the Audio and Video File in the "Downloads" Folder.

Then i have tried this Video: https://www.youtube.com/watch?v=UbQVf2Mrg5I

Full Quality, size over 1GB, and the exporting fails again!

09

I guess there is an issue with decoder, when the file size is over "some" limit (1GB or more).

Valnjes avatar Dec 28 '24 11:12 Valnjes

The title that is suggested for the file name is taken from the video title. This is troublesome for localized characters (ä ü ö ó ł etc) as well as special characters such as smileys, quotes, (back)slashes, bars, hashes, what have you. Grayjay will complain about some of them but not all, depending (I guess) on what the local file system will allow. But when I move files to SMB shares that are more strict, I have to sanitize the names all over again.

It would be better to do very harsh sanitization, even replacing or omitting all potentially troubling characters, rather than throw an incomplete error.

itsonlyaudio avatar Mar 14 '25 13:03 itsonlyaudio

I found some solutions to fix this:

  1. If the system (Linux/Windows/macOS) prevents you to export your video due to ExFAT's prohibition of use of letters like <>:"!?*.
  2. The export to .webm is flawed and results in this error, change it into .mp4. I mark this issue as solved.

BSDnux avatar Sep 08 '25 22:09 BSDnux

Your problem is easily fixed. Show me a screenshot when you're choosing a file destination. The problem is that upon clicking a folder for exporting, it takes the folders name instead of the nameofvideo.mp4 and because the .mp4 is missing it gives you "invalid data". Just add the .mp4 before clicking okay.

TL:DR: When you click "save", it tries to save a non .mp4 file, and returns you "invalid data". Add a .mp4 before clicking "save" to export a video.

Pro Tip: Copy the files name, "musivideo.mp4" then click a destination. When it is overwritten, paste the original video naem

Image Image

Please notify me

Gitama-Senjou avatar Jul 05 '26 00:07 Gitama-Senjou

Fixed in v19

Zvonimir-FUTO avatar Oct 12 '26 17:10 Zvonimir-FUTO

Problem persists, when choosing another export location other than the default one. File name and extension gets replaced with file destination and thus will break. E.g "youtube.mp4" will turn "VideoFolder"

Zorin 18, Version 19

Gitama-Senjou avatar Oct 12 '26 23:10 Gitama-Senjou

My mistake, I confused this one with another issue. Reopening.

Zvonimir-FUTO avatar Oct 13 '26 07:10 Zvonimir-FUTO

Fixed in v20. There are still some issues here that we have to deal it but this bug should be fixed now.

Zvonimir-FUTO avatar Oct 13 '26 15:10 Zvonimir-FUTO