{"action":"created","issue":{"url":"https://api.github.com/repos/YePpHa/maia-yt/issues/60","repository_url":"https://api.github.com/repos/YePpHa/maia-yt","labels_url":"https://api.github.com/repos/YePpHa/maia-yt/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/YePpHa/maia-yt/issues/60/comments","events_url":"https://api.github.com/repos/YePpHa/maia-yt/issues/60/events","html_url":"https://github.com/YePpHa/maia-yt/issues/60","id":263124667,"number":60,"title":"Getting \"An error occurred. Please try again later. [...]\" frequently.","user":{"login":"mzso","id":4479090,"avatar_url":"https://avatars1.githubusercontent.com/u/4479090?v=4","gravatar_id":"","url":"https://api.github.com/users/mzso","html_url":"https://github.com/mzso","followers_url":"https://api.github.com/users/mzso/followers","following_url":"https://api.github.com/users/mzso/following{/other_user}","gists_url":"https://api.github.com/users/mzso/gists{/gist_id}","starred_url":"https://api.github.com/users/mzso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzso/subscriptions","organizations_url":"https://api.github.com/users/mzso/orgs","repos_url":"https://api.github.com/users/mzso/repos","events_url":"https://api.github.com/users/mzso/events{/privacy}","received_events_url":"https://api.github.com/users/mzso/received_events","type":"User","site_admin":false},"labels":[{"id":598170661,"url":"https://api.github.com/repos/YePpHa/maia-yt/labels/bug","name":"bug","color":"ee0701","default":true},{"id":711441026,"url":"https://api.github.com/repos/YePpHa/maia-yt/labels/needs%20investigation","name":"needs investigation","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-10-05T13:26:35Z","updated_at":"2017-10-07T18:14:32Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nI've been getting this recently, maybe maia-yt has a hand in it, because I started experiencing it in roughly the same timeframe as I've been using maia.\r\nIt seems to happen after a youtube tab was idle for a while. Either a video page or after opening a video from an idle search page.\r\n\r\nHere's an example of YT's debug info:\r\n\r\n```\r\n{\r\n  \"ns\": \"yt\",\r\n  \"el\": \"detailpage\",\r\n  \"cpn\": \"NRNsCIK4jCwxH__e\",\r\n  \"ver\": 2,\r\n  \"cmt\": \"0\",\r\n  \"fs\": \"0\",\r\n  \"rt\": \"22.407\",\r\n  \"euri\": \"\",\r\n  \"lact\": 5,\r\n  \"cl\": \"\",\r\n  \"mos\": 0,\r\n  \"state\": \"80\",\r\n  \"volume\": 21,\r\n  \"c\": \"WEB\",\r\n  \"cver\": \"1.20171004\",\r\n  \"cplayer\": \"UNIPLAYER\",\r\n  \"cbr\": \"Firefox\",\r\n  \"cbrver\": \"56.0\",\r\n  \"cos\": \"Windows\",\r\n  \"cosver\": \"6.3\",\r\n  \"hl\": \"en_US\",\r\n  \"cr\": \"HU\",\r\n  \"len\": \"0\",\r\n  \"fexp\": \"23700224,23700451,23700586,23702322,23702700,23703266,23703840,23704161,23704248,23704745,23705218,23705739,23706129,9410705,9422596,9431754,9441152,9449243,9463611,9463830,9466594,9467502,9471239,9474594,9476026,9476327,9477103,9477113,9480475,9483010,9484238,9484473,9485000,9488038\",\r\n  \"vct\": \"0.000\",\r\n  \"vd\": \"NaN\",\r\n  \"vpl\": \"\",\r\n  \"vbu\": \"\",\r\n  \"vpa\": \"true\",\r\n  \"vsk\": \"false\",\r\n  \"ven\": \"false\",\r\n  \"vpr\": \"1\",\r\n  \"vrs\": \"0\",\r\n  \"vns\": \"0\",\r\n  \"vec\": \"null\",\r\n  \"vvol\": \"0.21\",\r\n  \"creationTime\": 3084666.865,\r\n  \"totalVideoFrames\": 0,\r\n  \"droppedVideoFrames\": 0,\r\n  \"corruptedVideoFrames\": 0,\r\n  \"debug_error\": {\r\n    \"errorCode\": \"api.invalidparam\",\r\n    \"errorDetail\": \"invalidVideodata.1\",\r\n    \"message\": \"An error occurred. Please try again later.\",\r\n    \"messageKey\": \"YTP_ERROR_GENERIC_WITHOUT_LINK\"\r\n  },\r\n  \"relative_loudness\": \"NaN\",\r\n  \"user_qual\": \"small\",\r\n  \"0sz\": false,\r\n  \"op\": \"\",\r\n  \"yof\": false,\r\n  \"dis\": \"\",\r\n  \"gpu\": \"ANGLE_(NVIDIA_GeForce_GTS_450_Direct3D11_vs_5_0_ps_5_0)\",\r\n  \"cgr\": true,\r\n  \"debug_playbackQuality\": \"unknown\",\r\n  \"debug_date\": \"Thu Oct 05 2017 15:20:51 GMT+0200\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/YePpHa/maia-yt/issues/comments/334955641","html_url":"https://github.com/YePpHa/maia-yt/issues/60#issuecomment-334955641","issue_url":"https://api.github.com/repos/YePpHa/maia-yt/issues/60","id":334955641,"user":{"login":"mzso","id":4479090,"avatar_url":"https://avatars1.githubusercontent.com/u/4479090?v=4","gravatar_id":"","url":"https://api.github.com/users/mzso","html_url":"https://github.com/mzso","followers_url":"https://api.github.com/users/mzso/followers","following_url":"https://api.github.com/users/mzso/following{/other_user}","gists_url":"https://api.github.com/users/mzso/gists{/gist_id}","starred_url":"https://api.github.com/users/mzso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzso/subscriptions","organizations_url":"https://api.github.com/users/mzso/orgs","repos_url":"https://api.github.com/users/mzso/repos","events_url":"https://api.github.com/users/mzso/events{/privacy}","received_events_url":"https://api.github.com/users/mzso/received_events","type":"User","site_admin":false},"created_at":"2017-10-07T18:14:32Z","updated_at":"2017-10-07T18:14:32Z","author_association":"NONE","body":"[**@YePpHa**](https://github.com/YePpHa) commented on [2017. okt. 7. 19:49 CEST](https://github.com/YePpHa/maia-yt/issues/60#issuecomment-334953766 \"2017-10-07T17:49:01Z - Replied by Github Reply Comments\"):\r\n> It seems like I intercept the `updateVideoData` API call and pass the first argument to the rest of Maia. All the modules will then modify the data and return the modified data that will be sent to the YouTube player. In most cases it will contain the video data as in what in `ytplayer.config.args`. However, in some cases it will just contain `{ 'rvs': ... }` as it updates the video feed on the right side.\r\n> \r\n> I will be making some restriction so that the data will only be modified if `video_id` is defined in the data object. Hopefully, this will fix the issue, but I have currently no way of testing this.\r\n> \r\n> Test version with the restriction: [maia.user.js.zip](https://github.com/YePpHa/maia-yt/files/1366323/maia.user.js.zip)\r\n\r\nCool. I'll check back if it happens again."}}
{"actor":{"display_login":"mzso"}}