-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Вопросик #5
Comments
Проблемы с eslint, просто этот огромный кусок говнокода и линтер ругается. Если его оффнуть или игнорировать, то всё должно сбилдиться. |
Понятно, я его тестил думал как-то переписать, но после такой херни передумал xD, просто надоело смотреть анимешки на сайтах, когда есть приложение в которое ты можешь зайти и быстренько посмотреть какую-нибудь серию любимого аниме то это прикольно, кстати хотел спросить, вы сможете сделать чтобы можно было автоматом скипать опенинг, открывать новую серию и т.д. Чтобы можно было это включать и выключать, к примеру в настройках будет пункт авто скип опенинга и эндинга чтобы сразу открывалась новая серия, как на jut.su примерно |
Чтобы сделать скип оппенинга нужна бд с таймкодами к каждому аниме. Апи к сожелению я не видел для этого. Мб в будущем реализую, но нужно будет добавлять таймкоды. |
Переписывать не надо хд, я уже сам копаюсь в этом говне) |
готов 24/7 проставлять таймкоды за две сосиски в тесте в месяц |
У анилибрии уже прописаны тайминги к этому в их апи
пн, 23 окт. 2023 г., 14:30 Diablo ***@***.***>:
… Понятно, я его тестил думал как-то переписать, но после такой херни
передумал xD, просто надоело смотреть анимешки на сайтах, когда есть
приложение в которое ты можешь зайти и быстренько посмотреть какую-нибудь
серию любимого аниме то это прикольно, кстати хотел спросить, вы сможете
сделать чтобы можно было автоматом скипать опенинг, открывать новую серию и
т.д. Чтобы можно было это включать и выключать, к примеру в настройках
будет пункт авто скип опенинга и эндинга чтобы сразу открывалась новая
серия, как на jut.su примерно
Чтобы сделать скип оппенинга нужна бд с таймкодами к каждому аниме. Апи к
сожелению я не видел для этого. Мб в будущем реализую, но нужно будет
добавлять таймкоды.
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANTDFKSMEYYWPMQBNNDUVWLYAZIMXAVCNFSM6AAAAAA6K65HNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUHE4TANZVGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Далеко не везде |
Так то да, но у множества новых и на год-1.5 старше есть |
хорошо, попробовать можно добавить где есть |
у них они иногда криво проставлены, то лишнее обрезают, то часть опенинга оставляют |
Хз, у меня за все время только в 2х сериях такое попалось и то там секунд 10 оставалось до конца |
я подумаю над этим вообще, может сделаем свою базу) |
А вообще выносим это в отдельный issue |
|
Я хотел сбилдить приложение, и когда я пишу yarn install, то устанавливаются библиотеки, но потом выходит вот это. Можете подсказать почему так?
yarn run v1.22.19
$ yarn lint --fix
$ node_modules/.bin/eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter ./src -- fix
• electron-builder version=22.14.13
• rebuilding native dependencies dependencies=register-scheme@0.0.2 platform=linux arch=x64
• rebuilding native dependency name=register-scheme version=0.0.2
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "params" should define a t least its type
src/renderer/components/CardAnimeBlock.vue:40:11
⚠ https://google.com/#q=vue%2Fprop-name-casing Prop "watch_button" is not in camelCase
src/renderer/components/CardAnimeBlock.vue:40:21
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "watch_button" should de fine at least its type
src/renderer/components/CardAnimeBlock.vue:40:21
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "width" should define at least its type
src/renderer/components/CardAnimeBlock.vue:40:37
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "height" should define a t least its type
src/renderer/components/CardAnimeBlock.vue:40:46
⚠ https://google.com/#q=vue%2Fprop-name-casing Prop "shikimori_info" is not in camelCase
src/renderer/components/players/HlsPlayer.vue:76:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "shikimori_info" should define at least its type
src/renderer/components/players/HlsPlayer.vue:76:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "source" should define a t least its type
src/renderer/components/players/HlsPlayer.vue:76:29
⚠ https://google.com/#q=vue%2Fprop-name-casing Prop "shikimori_info" is not in camelCase
src/renderer/components/players/IframePlayer.vue:69:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "shikimori_info" should define at least its type
src/renderer/components/players/IframePlayer.vue:69:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "source" should define a t least its type
src/renderer/components/players/IframePlayer.vue:69:29
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "anime" should define at least its type
src/renderer/components/SetAnimeLists.vue:41:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "anime" should define at least its type
src/renderer/components/WatchAnimeSources.vue:31:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "params" should define a t least its type
src/renderer/components/WatchFranchiseAnime.vue:20:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "height" should define a t least its type
src/renderer/components/WatchScreenshotsCarousel.vue:17:11
⚠ https://google.com/#q=vue%2Fprop-name-casing Prop "anime_id" is not in cam elCase
src/renderer/components/WatchScreenshotsCarousel.vue:17:21
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "anime_id" should define at least its type
src/renderer/components/WatchScreenshotsCarousel.vue:17:21
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "id" should define at le ast its type
src/renderer/components/WatchSimilarAnimes.vue:21:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "height" should define a t least its type
src/renderer/components/WatchVideosCarousel.vue:14:11
⚠ https://google.com/#q=vue%2Frequire-prop-types Prop "videos" should define a t least its type
src/renderer/components/WatchVideosCarousel.vue:14:21
⚠ https://google.com/#q=vue%2Forder-in-components The "asyncData" property shou ld be above the "computed" property on line 36
src/renderer/pages/favorites.vue:51:3
⚠ https://google.com/#q=vue%2Forder-in-components The "data" property should be above the "computed" property on line 36
src/renderer/pages/favorites.vue:57:3
⚠ https://google.com/#q=vue%2Fno-v-html 'v-html' directive can lead t o XSS attack
src/renderer/pages/watch.vue:37:70
⚠ https://google.com/#q=vue%2Forder-in-components The "computed" property shoul d be above the "created" property on line 123
src/renderer/pages/watch.vue:133:3
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/extraResources/sources/anilibria/index.js:1:7
✘ http://eslint.org/docs/rules/no-unused-expressions Expected an assignment or fun ction call and instead saw an expression
src/extraResources/sources/anilibria/index.js:11:5
✘ http://eslint.org/docs/rules/no-sequences Unexpected use of comma opera tor
src/extraResources/sources/anilibria/index.js:14:6
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/extraResources/sources/anilibria/index.js:26:21
✘ http://eslint.org/docs/rules/max-len This line has a length of 155 . Maximum allowed is 120
src/extraResources/sources/anilibria/index.js:30:1
✘ http://eslint.org/docs/rules/camelcase Identifier 'new_quality' is n ot in camel case
src/extraResources/sources/anilibria/index.js:69:15
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/extraResources/sources/index.js:12:11
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/extraResources/sources/index.js:13:11
✘ http://eslint.org/docs/rules/max-len This line has a length of 146 . Maximum allowed is 120
src/extraResources/sources/kodik/index.js:15:1
✘ http://eslint.org/docs/rules/no-unused-expressions Expected an assignment or fun ction call and instead saw an expression
src/extraResources/sources/libs/index.js:4:5
✘ http://eslint.org/docs/rules/no-sequences Unexpected use of comma opera tor
src/extraResources/sources/libs/index.js:7:6
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/extraResources/sources/libs/index.js:13:23
✘ http://eslint.org/docs/rules/camelcase Identifier 'new_quality' is n ot in camel case
src/extraResources/sources/libs/player.js:37:15
✘ http://eslint.org/docs/rules/camelcase Identifier 'new_quality' is n ot in camel case
src/extraResources/sources/libs/player.js:38:27
✘ http://eslint.org/docs/rules/no-unused-vars 'rpc' is assigned a value but never used
src/main/rpc.js:26:7
✘ https://google.com/#q=import%2Forder
fs
import should occur befo re import ofappdata-path
src/renderer/assets/checkpaths.js:3:12
✘ http://eslint.org/docs/rules/camelcase Identifier 'User_rates' is no t in camel case
src/renderer/assets/shikimori/index.js:6:7
✘ http://eslint.org/docs/rules/no-unused-vars 'needle' is assigned a value but never used
src/renderer/assets/shikimori/lib/auth.js:1:7
✘ http://eslint.org/docs/rules/no-undef 'obj' is not defined
src/renderer/assets/shikimori/lib/v1/users.js:80:59
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/assets/shikimori/lib/v2/user_rates.js:3:7
✘ http://eslint.org/docs/rules/no-unused-vars 'apilink' is assigned a value but never used
src/renderer/assets/shikimori/lib/v2/user_rates.js:5:7
✘ http://eslint.org/docs/rules/camelcase Identifier 'User_rates' is no t in camel case
src/renderer/assets/shikimori/lib/v2/user_rates.js:6:7
✘ http://eslint.org/docs/rules/camelcase Identifier 'User_rates' is no t in camel case
src/renderer/assets/shikimori/lib/v2/user_rates.js:46:18
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/assets/shikimori/test.js:1:7
✘ http://eslint.org/docs/rules/max-len This line has a length of 204 . Maximum allowed is 120
src/renderer/components/AuthDialog.vue:31:1
✘ http://eslint.org/docs/rules/no-unused-vars 'mapGetters' is defined but n ever used
src/renderer/components/AuthDialog.vue:75:10
✘ https://google.com/#q=vue%2Fmulti-word-component-names Component name "Header" shoul d always be multi-word
src/renderer/components/Header.vue:49:9
✘ http://eslint.org/docs/rules/max-len This line has a length of 132 . Maximum allowed is 120
src/renderer/components/LeftMenu.vue:5:1
✘ http://eslint.org/docs/rules/no-unused-vars 'mapGetters' is defined but n ever used
src/renderer/components/LeftMenu.vue:42:10
✘ https://google.com/#q=vue%2Fvalid-v-for Expected 'v-bind:key' directi ve to use the variables which are defined by the 'v-for' directive
src/renderer/components/players/HlsPlayer.vue:14:54
✘ https://google.com/#q=vue%2Fno-duplicate-attributes Duplicate attribute 'color'
src/renderer/components/players/HlsPlayer.vue:18:62
✘ https://google.com/#q=vue%2Fvalid-v-for Expected 'v-bind:key' directi ve to use the variables which are defined by the 'v-for' directive
src/renderer/components/players/HlsPlayer.vue:47:50
✘ https://google.com/#q=vue%2Fno-duplicate-attributes Duplicate attribute 'color'
src/renderer/components/players/HlsPlayer.vue:51:49
✘ http://eslint.org/docs/rules/no-unused-vars 'api' is assigned a value but never used
src/renderer/components/players/HlsPlayer.vue:72:7
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/renderer/components/players/HlsPlayer.vue:97:24
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/renderer/components/players/IframePlayer.vue:83:19
✘ https://google.com/#q=vue%2Fno-useless-template-attributes Unexpected useless directive on
<template>
src/renderer/components/SetAnimeLists.vue:10:34
✘ http://eslint.org/docs/rules/no-unused-vars 'mapActions' is defined but n ever used
src/renderer/components/SetAnimeLists.vue:34:22
✘ https://google.com/#q=vue%2Fno-useless-template-attributes Unexpected useless directive on
<template>
src/renderer/components/WatchAnimeSources.vue:12:32
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/renderer/components/WatchAnimeSources.vue:39:19
✘ http://eslint.org/docs/rules/no-undef '$nuxt' is not defined
src/renderer/components/WatchAnimeSources.vue:50:7
✘ https://google.com/#q=node%2Fhandle-callback-err Expected error to be handled
src/renderer/components/WatchSimilarAnimes.vue:30:14
✘ https://google.com/#q=nuxt%2Fno-timing-in-fetch-data Unexpected setTimeout in fetc h
src/renderer/components/WatchSimilarAnimes.vue:31:7
✘ http://eslint.org/docs/rules/camelcase Identifier 'shikimori_franchi se' is not in camel case
src/renderer/components/WatchSimilarAnimes.vue:44:13
✘ http://eslint.org/docs/rules/camelcase Identifier 'shikimori_franchi se' is not in camel case
src/renderer/components/WatchSimilarAnimes.vue:47:9
✘ https://google.com/#q=nuxt%2Fno-cjs-in-config Unexpected require, please us e import instead
src/renderer/nuxt.config.js:6:28
✘ https://google.com/#q=nuxt%2Fno-cjs-in-config Unexpected module.exports, pl ease use export default instead
src/renderer/nuxt.config.js:8:1
✘ http://eslint.org/docs/rules/max-len This line has a length of 124 . Maximum allowed is 120
src/renderer/nuxt.config.js:38:1
✘ https://google.com/#q=vue%2Fvalid-v-for Expected 'v-bind:key' directi ve to use the variables which are defined by the 'v-for' directive
src/renderer/pages/calendar_ongoings.vue:19:62
✘ https://google.com/#q=vue%2Frequire-v-for-key Elements in iteration expect to have 'v-bind:key' directives
src/renderer/pages/calendar_ongoings.vue:22:15
✘ http://eslint.org/docs/rules/camelcase Identifier 'next_episode_at' is not in camel case
src/renderer/pages/calendar_ongoings.vue:91:11
✘ http://eslint.org/docs/rules/no-unused-vars 'next_episode_at' is defined but never used
src/renderer/pages/calendar_ongoings.vue:91:11
✘ http://eslint.org/docs/rules/camelcase Identifier 'next_episode_at' is not in camel case
src/renderer/pages/calendar_ongoings.vue:95:19
✘ http://eslint.org/docs/rules/camelcase Identifier 'next_episode_at' is not in camel case
src/renderer/pages/calendar_ongoings.vue:96:17
✘ http://eslint.org/docs/rules/camelcase Identifier 'next_episode_at' is not in camel case
src/renderer/pages/calendar_ongoings.vue:97:37
✘ http://eslint.org/docs/rules/camelcase Identifier 'next_episode_at' is not in camel case
src/renderer/pages/calendar_ongoings.vue:97:67
✘ http://eslint.org/docs/rules/camelcase Identifier 'next_episode_at' is not in camel case
src/renderer/pages/calendar_ongoings.vue:99:39
✘ https://google.com/#q=vue%2Fmulti-word-component-names Component name "Favorites" sh ould always be multi-word
src/renderer/pages/favorites.vue:35:9
✘ https://google.com/#q=vue%2Fmulti-word-component-names Component name "Index" should always be multi-word
src/renderer/pages/index.vue:31:9
✘ https://google.com/#q=vue%2Fmulti-word-component-names Component name "Navigation" s hould always be multi-word
src/renderer/pages/navigation.vue:30:9
✘ http://eslint.org/docs/rules/camelcase Identifier 'genres_resp' is n ot in camel case
src/renderer/pages/navigation.vue:34:11
✘ http://eslint.org/docs/rules/camelcase Identifier 'genres_resp' is n ot in camel case
src/renderer/pages/navigation.vue:36:5
✘ http://eslint.org/docs/rules/camelcase Identifier 'genres_resp' is n ot in camel case
src/renderer/pages/navigation.vue:43:15
✘ https://google.com/#q=vue%2Fmulti-word-component-names Component name "Settings" sho uld always be multi-word
src/renderer/pages/settings.vue:21:9
✘ https://google.com/#q=vue%2Fvalid-v-for Expected 'v-bind:key' directi ve to use the variables which are defined by the 'v-for' directive
src/renderer/pages/watch.vue:45:58
✘ http://eslint.org/docs/rules/no-unused-vars 'mapActions' is defined but n ever used
src/renderer/pages/watch.vue:93:22
✘ https://google.com/#q=vue%2Fmulti-word-component-names Component name "Watch" should always be multi-word
src/renderer/pages/watch.vue:99:9
✘ http://eslint.org/docs/rules/camelcase Identifier 'anime_info' is no t in camel case
src/renderer/pages/watch.vue:106:11
✘ http://eslint.org/docs/rules/camelcase Identifier 'shikimori_franchi se' is not in camel case
src/renderer/pages/watch.vue:107:11
✘ http://eslint.org/docs/rules/camelcase Identifier 'anime_info' is no t in camel case
src/renderer/pages/watch.vue:109:7
✘ http://eslint.org/docs/rules/camelcase Identifier 'shikimori_franchi se' is not in camel case
src/renderer/pages/watch.vue:110:7
✘ http://eslint.org/docs/rules/new-cap A constructor name should not start with a lowercase letter
src/renderer/pages/watch.vue:163:22
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/plugins/account.js:1:7
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/plugins/animes.js:1:7
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/plugins/calendar.js:1:7
✘ http://eslint.org/docs/rules/no-undef 'dark' is not defined
src/renderer/plugins/dark.js:3:16
✘ http://eslint.org/docs/rules/camelcase Identifier 'api_appdata' is n ot in camel case
src/renderer/plugins/sources.js:2:7
✘ http://eslint.org/docs/rules/no-unused-vars 'api_appdata' is assigned a v alue but never used
src/renderer/plugins/sources.js:2:7
✘ http://eslint.org/docs/rules/no-unused-vars 'getFiles' is assigned a valu e but never used
src/renderer/plugins/sources.js:5:7
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/store/animes.js:1:7
✘ http://eslint.org/docs/rules/no-unused-vars 'shiki' is assigned a value b ut never used
src/renderer/store/animes.js:3:7
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/store/calendar.js:1:7
✘ http://eslint.org/docs/rules/no-unused-vars 'shiki' is assigned a value b ut never used
src/renderer/store/calendar.js:3:7
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/store/index.js:1:7
✘ http://eslint.org/docs/rules/no-undef 'req' is not defined
src/renderer/store/index.js:27:17
✘ http://eslint.org/docs/rules/no-unused-vars 'axios' is assigned a value b ut never used
src/renderer/store/watch.js:1:7
✘ http://eslint.org/docs/rules/no-unused-vars 'shiki' is assigned a value b ut never used
src/renderer/store/watch.js:3:7
✘ 111 problems (87 errors, 24 warnings)
Errors:
24 http://eslint.org/docs/rules/no-unused-vars
22 http://eslint.org/docs/rules/camelcase
8 http://eslint.org/docs/rules/new-cap
6 https://google.com/#q=vue%2Fmulti-word-component-names
5 http://eslint.org/docs/rules/max-len
4 http://eslint.org/docs/rules/no-undef
4 https://google.com/#q=vue%2Fvalid-v-for
2 http://eslint.org/docs/rules/no-unused-expressions
2 http://eslint.org/docs/rules/no-sequences
2 https://google.com/#q=vue%2Fno-duplicate-attributes
2 https://google.com/#q=vue%2Fno-useless-template-attributes
2 https://google.com/#q=nuxt%2Fno-cjs-in-config
1 https://google.com/#q=import%2Forder
1 https://google.com/#q=node%2Fhandle-callback-err
1 https://google.com/#q=nuxt%2Fno-timing-in-fetch-data
1 https://google.com/#q=vue%2Frequire-v-for-key
Warnings:
16 https://google.com/#q=vue%2Frequire-prop-types
4 https://google.com/#q=vue%2Fprop-name-casing
3 https://google.com/#q=vue%2Forder-in-components
1 https://google.com/#q=vue%2Fno-v-html
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The text was updated successfully, but these errors were encountered: